mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-29 00:59: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_X64_COMPILER_H
|
||||
#define ARMJIT_X64_COMPILER_H
|
||||
|
||||
#if defined(JIT_ENABLED) && defined(__x86_64__)
|
||||
|
||||
#include "../dolphin/x64Emitter.h"
|
||||
|
||||
#include "../ARMJIT_Internal.h"
|
||||
@ -81,11 +83,7 @@ struct Op2
|
||||
class Compiler : public Gen::XEmitter
|
||||
{
|
||||
public:
|
||||
#ifdef JIT_ENABLED
|
||||
explicit Compiler(melonDS::NDS& nds);
|
||||
#else
|
||||
explicit Compiler(melonDS::NDS& nds) : XEmitter(), NDS(nds) {}
|
||||
#endif
|
||||
|
||||
void Reset();
|
||||
|
||||
@ -284,5 +282,6 @@ public:
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user