diff options
author | Jesse Talavera-Greenberg <jesse@jesse.tg> | 2023-12-06 09:12:56 -0500 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2023-12-08 17:19:00 +0100 |
commit | 644d190e985521fc337b0612391de2c3fd679340 (patch) | |
tree | c9f6090b0f4eb7ab37710f79e6ae4df54b4fc904 /src | |
parent | f4377e4f0f512f02805994e51c2e95a0022ff1f7 (diff) |
Add stubs for `NDS::IsJITEnabled` and `SetJITArgs` for when the JIT is excluded
Diffstat (limited to 'src')
-rw-r--r-- | src/NDS.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -437,6 +437,9 @@ public: #ifdef JIT_ENABLED [[nodiscard]] bool IsJITEnabled() const noexcept { return EnableJIT; } void SetJITArgs(std::optional<JITArgs> args) noexcept; +#else + [[nodiscard]] bool IsJITEnabled() const noexcept { return false; } + void SetJITArgs(std::optional<JITArgs> args) noexcept {} #endif private: |