Skip to content
Permalink
Browse files
Merge pull request #6572 from lioncash/const
Jit64: Make CheckMergedBranch() a const member function
  • Loading branch information
JosJuice committed Apr 1, 2018
2 parents 76e1a5b + a4420d6 commit 40f3af2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -87,7 +87,7 @@ class Jit64 : public Jitx86Base
// Use to extract bytes from a register using the regcache. offset is in bytes.
Gen::OpArg ExtractFromReg(int reg, int offset);
void AndWithMask(Gen::X64Reg reg, u32 mask);
bool CheckMergedBranch(u32 crf);
bool CheckMergedBranch(u32 crf) const;
void DoMergedBranch();
void DoMergedBranchCondition();
void DoMergedBranchImmediate(s64 val);
@@ -350,7 +350,7 @@ void Jit64::reg_imm(UGeckoInstruction inst)
}
}

bool Jit64::CheckMergedBranch(u32 crf)
bool Jit64::CheckMergedBranch(u32 crf) const
{
if (!analyzer.HasOption(PPCAnalyst::PPCAnalyzer::OPTION_BRANCH_MERGE))
return false;

0 comments on commit 40f3af2

Please sign in to comment.