From bbeb7c02957c0dbcfe02f9ee20e3b12408da90d0 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Wed, 6 Apr 2016 23:53:00 +0100 Subject: [PATCH] fixup! Move public interface of JitX64 class to the top --- src/core/arm/jit_x64/jit_x64.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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;