diff --git a/src/core/arm/jit_x64/jit_x64.h b/src/core/arm/jit_x64/jit_x64.h index d76c78368..4f3921e21 100644 --- a/src/core/arm/jit_x64/jit_x64.h +++ b/src/core/arm/jit_x64/jit_x64.h @@ -37,14 +37,6 @@ struct LocationDescriptorHash { }; class JitX64 final : private ArmDecoder::Visitor { -private: - Gen::XEmitter* code = nullptr; - - RegAlloc reg_alloc; - - /// ARM pc -> x64 code block - std::unordered_map basic_blocks; - public: JitX64() = delete; explicit JitX64(Gen::XEmitter* code); @@ -57,6 +49,14 @@ public: /// Returns a pointer to the compiled basic block. CodePtr Compile(u32 pc, bool TFlag, bool EFlag); +private: + Gen::XEmitter* code = nullptr; + + RegAlloc reg_alloc; + + /// ARM pc -> x64 code block + std::unordered_map basic_blocks; + private: LocationDescriptor current = { 0, false, false }; unsigned instructions_compiled = 0;