EmuCodeBlock: Make farcode and nearcode protected
This is the only context they're used in.
This commit is contained in:
parent
2c8cc0f648
commit
e373a48a51
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue