From be52fcf651369e730e57aa522ee7ec9e7873b066 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 26 Jan 2017 19:53:04 -0500 Subject: [PATCH] DSPEmitter: Make most public variables private Dispatchers and m_unresolved_jumps is utilized in code outside of the emitter, so these are left as is for the time being. --- Source/Core/Core/DSP/Jit/DSPEmitter.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Source/Core/Core/DSP/Jit/DSPEmitter.h b/Source/Core/Core/DSP/Jit/DSPEmitter.h index 6318824e4b..6aa72c7dc1 100644 --- a/Source/Core/Core/DSP/Jit/DSPEmitter.h +++ b/Source/Core/Core/DSP/Jit/DSPEmitter.h @@ -250,13 +250,8 @@ public: const u8* m_reenter_dispatcher; const u8* m_stub_entry_point; const u8* m_return_dispatcher; - u16 m_compile_pc; - u16 m_start_address; - std::vector m_block_links; - std::vector m_block_size; - std::list m_unresolved_jumps[MAX_BLOCKS]; - DSPJitRegCache m_gpr{*this}; + std::list m_unresolved_jumps[MAX_BLOCKS]; private: void WriteBranchExit(); @@ -288,9 +283,16 @@ private: void get_ax_h(int _reg, Gen::X64Reg acc = Gen::EAX); void get_long_acc(int _reg, Gen::X64Reg acc = Gen::EAX); - std::vector m_blocks; - Block m_block_link_entry; + DSPJitRegCache m_gpr{*this}; + + u16 m_compile_pc; u16 m_compile_status_register; + u16 m_start_address; + + std::vector m_blocks; + std::vector m_block_size; + std::vector m_block_links; + Block m_block_link_entry; // The index of the last stored ext value (compile time). int m_store_index = -1;