diff options
author | Jesse Talavera-Greenberg <jesse@jesse.tg> | 2023-12-06 09:19:24 -0500 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2023-12-08 17:19:00 +0100 |
commit | 53e5aa62983dd2db68ac78c2a1272aba456362e6 (patch) | |
tree | 105554ff0d4fac24d5d70f31b8db3f57796b8b75 /src/ARMJIT_A64 | |
parent | 733769303c8f6f422b0e837add453406b9da6720 (diff) |
Exclude JIT-related declarations more aggressively
Diffstat (limited to 'src/ARMJIT_A64')
-rw-r--r-- | src/ARMJIT_A64/ARMJIT_Compiler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ARMJIT_A64/ARMJIT_Compiler.h b/src/ARMJIT_A64/ARMJIT_Compiler.h index 7765690..54e6054 100644 --- a/src/ARMJIT_A64/ARMJIT_Compiler.h +++ b/src/ARMJIT_A64/ARMJIT_Compiler.h @@ -19,6 +19,8 @@ #ifndef ARMJIT_A64_COMPILER_H #define ARMJIT_A64_COMPILER_H +#if defined(JIT_ENABLED) && defined(__aarch64__) + #include "../ARM.h" #include "../dolphin/Arm64Emitter.h" @@ -96,11 +98,7 @@ class Compiler : public Arm64Gen::ARM64XEmitter public: typedef void (Compiler::*CompileFunc)(); -#ifdef JIT_ENABLED explicit Compiler(melonDS::NDS& nds); -#else - explicit Compiler(melonDS::NDS& nds) : XEmitter(), NDS(nds) {} -#endif ~Compiler() override; void PushRegs(bool saveHiRegs, bool saveRegsToBeChanged, bool allowUnload = true); @@ -291,3 +289,5 @@ public: } #endif + +#endif |