diff --git a/Source/Core/Core/PowerPC/JitILCommon/IR.cpp b/Source/Core/Core/PowerPC/JitILCommon/IR.cpp index 5470a6eaa0d3..7e4624ea0685 100644 --- a/Source/Core/Core/PowerPC/JitILCommon/IR.cpp +++ b/Source/Core/Core/PowerPC/JitILCommon/IR.cpp @@ -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; } diff --git a/Source/Core/Core/PowerPC/JitILCommon/IR.h b/Source/Core/Core/PowerPC/JitILCommon/IR.h index d15b379f1cbf..b8eed3791c9c 100644 --- a/Source/Core/Core/PowerPC/JitILCommon/IR.h +++ b/Source/Core/Core/PowerPC/JitILCommon/IR.h @@ -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);