Add stubs for `NDS::IsJITEnabled` and `SetJITArgs` for when the JIT is excluded

This commit is contained in:
Jesse Talavera-Greenberg 2023-12-06 09:12:56 -05:00 committed by Nadia Holmquist Pedersen
parent f4377e4f0f
commit 644d190e98
1 changed files with 3 additions and 0 deletions

View File

@ -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: