From e373a48a5175c4e32b8b09d8ed009384869ccd4e Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 19 Dec 2016 17:36:26 -0500 Subject: [PATCH] EmuCodeBlock: Make farcode and nearcode protected This is the only context they're used in. --- Source/Core/Core/PowerPC/Jit64Common/EmuCodeBlock.h | 6 +++--- 1 file 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 backPatchInfo; std::unordered_map exceptionHandlerAtLoc; };