Add stubs for `NDS::IsJITEnabled` and `SetJITArgs` for when the JIT is excluded
This commit is contained in:
parent
f4377e4f0f
commit
644d190e98
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue