summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2017-01-26 19:53:04 -0500
committerLioncash <mathew1800@gmail.com>2017-01-26 20:32:57 -0500
commitbe52fcf651369e730e57aa522ee7ec9e7873b066 (patch)
tree45b064a7d22be70df66d24e2f86b7115d4849670 /Source
parent970d969f63e12b10a2b85990ce15ceee4c6cdd28 (diff)
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.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/DSP/Jit/DSPEmitter.h16
1 files changed, 9 insertions, 7 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<Block> m_block_links;
- std::vector<u16> m_block_size;
- std::list<u16> m_unresolved_jumps[MAX_BLOCKS];
- DSPJitRegCache m_gpr{*this};
+ std::list<u16> 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);
+ DSPJitRegCache m_gpr{*this};
+
+ u16 m_compile_pc;
+ u16 m_compile_status_register;
+ u16 m_start_address;
+
std::vector<DSPCompiledCode> m_blocks;
+ std::vector<u16> m_block_size;
+ std::vector<Block> m_block_links;
Block m_block_link_entry;
- u16 m_compile_status_register;
// The index of the last stored ext value (compile time).
int m_store_index = -1;