diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-12-19 17:36:26 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-12-19 17:36:29 -0500 |
| commit | e373a48a5175c4e32b8b09d8ed009384869ccd4e (patch) | |
| tree | 9f41c53acdc355443feb5a120f7a377d194c7964 /Source | |
| parent | 2c8cc0f6481ed61f0e960f5b898b43305f2f34c2 (diff) | |
EmuCodeBlock: Make farcode and nearcode protected
This is the only context they're used in.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.h | 6 |
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; }; |
