Skip to content

Commit

Permalink
Merge pull request #4954 from lioncash/jitbase
Browse files Browse the repository at this point in the history
JitBase: Put constructor and destructor in the cpp file
  • Loading branch information
degasus committed Feb 24, 2017
2 parents 4e93002 + 359528b commit 25fc7ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Core/Core/PowerPC/JitCommon/JitBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ u32 Helper_Mask(u8 mb, u8 me)
return mb > me ? ~mask : mask;
}

JitBase::JitBase() = default;

JitBase::~JitBase() = default;

bool JitBase::MergeAllowedNextInstructions(int count)
{
if (CPU::GetState() == CPU::CPU_STEPPING || js.instructionsLeft < count)
Expand Down
3 changes: 3 additions & 0 deletions Source/Core/Core/PowerPC/JitCommon/JitBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ class JitBase : public CPUCoreBase
JitOptions jo;
JitState js;

JitBase();
~JitBase() override;

static const u8* Dispatch() { return g_jit->GetBlockCache()->Dispatch(); };
virtual JitBaseBlockCache* GetBlockCache() = 0;

Expand Down

0 comments on commit 25fc7ed

Please sign in to comment.