mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 07:39:56 -06:00
Exclude JIT-related declarations more aggressively
This commit is contained in:

committed by
Nadia Holmquist Pedersen

parent
733769303c
commit
53e5aa6298
@ -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
|
||||
|
Reference in New Issue
Block a user