JitBase: Make MergeAllowedNextInstructions a const member function

This commit is contained in:
Lioncash committed 2017-03-21 13:45:18 -04:00
1 parent f03fa54bcb
commit f98211bfcf
2 files changed
+2 -2

No files matched your search

@@ -27,7 +27,7 @@ JitBase::JitBase() = default;
JitBase::~JitBase() = default;
bool JitBase::MergeAllowedNextInstructions(int count)
bool JitBase::MergeAllowedNextInstructions(int count) const
{
if (CPU::GetState() == CPU::CPU_STEPPING || js.instructionsLeft < count)
return false;
+1 -1
View File
@@ -104,7 +104,7 @@ protected:
PPCAnalyst::CodeBlock code_block;
PPCAnalyst::PPCAnalyzer analyzer;
bool MergeAllowedNextInstructions(int count);
bool MergeAllowedNextInstructions(int count) const;
void UpdateMemoryOptions();