Merge pull request #4954 from lioncash/jitbase
JitBase: Put constructor and destructor in the cpp file
This commit is contained in:
commit
25fc7ed8c1
|
@ -23,6 +23,10 @@ u32 Helper_Mask(u8 mb, u8 me)
|
||||||
return mb > me ? ~mask : mask;
|
return mb > me ? ~mask : mask;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
JitBase::JitBase() = default;
|
||||||
|
|
||||||
|
JitBase::~JitBase() = default;
|
||||||
|
|
||||||
bool JitBase::MergeAllowedNextInstructions(int count)
|
bool JitBase::MergeAllowedNextInstructions(int count)
|
||||||
{
|
{
|
||||||
if (CPU::GetState() == CPU::CPU_STEPPING || js.instructionsLeft < count)
|
if (CPU::GetState() == CPU::CPU_STEPPING || js.instructionsLeft < count)
|
||||||
|
|
|
@ -114,6 +114,9 @@ public:
|
||||||
JitOptions jo;
|
JitOptions jo;
|
||||||
JitState js;
|
JitState js;
|
||||||
|
|
||||||
|
JitBase();
|
||||||
|
~JitBase() override;
|
||||||
|
|
||||||
static const u8* Dispatch() { return g_jit->GetBlockCache()->Dispatch(); };
|
static const u8* Dispatch() { return g_jit->GetBlockCache()->Dispatch(); };
|
||||||
virtual JitBaseBlockCache* GetBlockCache() = 0;
|
virtual JitBaseBlockCache* GetBlockCache() = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue