summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-12-19 17:36:26 -0500
committerLioncash <mathew1800@gmail.com>2016-12-19 17:36:29 -0500
commite373a48a5175c4e32b8b09d8ed009384869ccd4e (patch)
tree9f41c53acdc355443feb5a120f7a377d194c7964
parent2c8cc0f6481ed61f0e960f5b898b43305f2f34c2 (diff)
EmuCodeBlock: Make farcode and nearcode protected
This is the only context they're used in.
-rw-r--r--Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.h b/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.h
index 066d6b446d..702f93f207 100644
--- a/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.h
+++ b/Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.h
@@ -22,9 +22,6 @@ class Mapping;
class EmuCodeBlock : public Gen::X64CodeBlock
{
public:
- FarCodeCache farcode;
- u8* nearcode; // Backed up when we switch to far code.
-
void MemoryExceptionCheck();
// Simple functions to switch between near and far code emitting
@@ -108,6 +105,9 @@ public:
void Clear();
protected:
+ FarCodeCache farcode;
+ u8* nearcode; // Backed up when we switch to far code.
+
std::unordered_map<u8*, TrampolineInfo> backPatchInfo;
std::unordered_map<u8*, u8*> exceptionHandlerAtLoc;
};