mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
Merge pull request #4675 from lioncash/jitil
JitILBase: Make the IRBuilder protected
This commit is contained in:
commit
f785d7f869
@ -12,16 +12,9 @@
|
|||||||
|
|
||||||
class JitILBase : public Jitx86Base
|
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:
|
public:
|
||||||
JitILBase() : code_buffer(32000) {}
|
JitILBase() : code_buffer(32000) {}
|
||||||
~JitILBase() {}
|
~JitILBase() {}
|
||||||
IREmitter::IRBuilder ibuild;
|
|
||||||
|
|
||||||
virtual void Jit(u32 em_address) = 0;
|
virtual void Jit(u32 em_address) = 0;
|
||||||
|
|
||||||
virtual const CommonAsmRoutinesBase* GetAsmRoutines() = 0;
|
virtual const CommonAsmRoutinesBase* GetAsmRoutines() = 0;
|
||||||
@ -128,4 +121,10 @@ public:
|
|||||||
void subfcx(UGeckoInstruction inst);
|
void subfcx(UGeckoInstruction inst);
|
||||||
void subfx(UGeckoInstruction inst);
|
void subfx(UGeckoInstruction inst);
|
||||||
void subfex(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;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user