Skip to content

Commit

Permalink
Merge pull request #99 from lioncash/ir-nitpicking
Browse files Browse the repository at this point in the history
isSameValue in IR.cpp/.h should be returning a boolean value.
  • Loading branch information
delroth committed Feb 23, 2014
2 parents 080a83e + e3e7812 commit 5313954
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Core/Core/PowerPC/JitILCommon/IR.cpp
Expand Up @@ -1075,7 +1075,7 @@ bool IRBuilder::IsMarkUsed(InstLoc I) const {
return MarkUsed[i];
}

unsigned IRBuilder::isSameValue(InstLoc Op1, InstLoc Op2) const {
bool IRBuilder::isSameValue(InstLoc Op1, InstLoc Op2) const {
if (Op1 == Op2) {
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Core/PowerPC/JitILCommon/IR.h
Expand Up @@ -566,7 +566,7 @@ class IRBuilder {

private:
IRBuilder(IRBuilder&); // DO NOT IMPLEMENT
unsigned isSameValue(InstLoc Op1, InstLoc Op2) const;
bool isSameValue(InstLoc Op1, InstLoc Op2) const;
unsigned getComplexity(InstLoc I) const;
unsigned getNumberOfOperands(InstLoc I) const;
void simplifyCommutative(unsigned Opcode, InstLoc& Op1, InstLoc& Op2);
Expand Down

0 comments on commit 5313954

Please sign in to comment.