diff --git a/Source/Core/Core/PowerPC/JitILCommon/JitILBase.h b/Source/Core/Core/PowerPC/JitILCommon/JitILBase.h index 228ccd269d..bd38bc4b8e 100644 --- a/Source/Core/Core/PowerPC/JitILCommon/JitILBase.h +++ b/Source/Core/Core/PowerPC/JitILCommon/JitILBase.h @@ -12,16 +12,9 @@ class JitILBase : public Jitx86Base { -protected: - // The default code buffer. We keep it around to not have to alloc/dealloc a - // large chunk of memory for each recompiled block. - PPCAnalyst::CodeBuffer code_buffer; - public: JitILBase() : code_buffer(32000) {} ~JitILBase() {} - IREmitter::IRBuilder ibuild; - virtual void Jit(u32 em_address) = 0; virtual const CommonAsmRoutinesBase* GetAsmRoutines() = 0; @@ -128,4 +121,10 @@ public: void subfcx(UGeckoInstruction inst); void subfx(UGeckoInstruction inst); void subfex(UGeckoInstruction inst); + +protected: + // The default code buffer. We keep it around to not have to alloc/dealloc a + // large chunk of memory for each recompiled block. + PPCAnalyst::CodeBuffer code_buffer; + IREmitter::IRBuilder ibuild; };