diff --git a/Source/Core/Core/PowerPC/JitILCommon/IR.cpp b/Source/Core/Core/PowerPC/JitILCommon/IR.cpp index 5470a6eaa0..7e4624ea06 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 d15b379f1c..b8eed3791c 100644 --- a/Source/Core/Core/PowerPC/JitILCommon/IR.h +++ b/Source/Core/Core/PowerPC/JitILCommon/IR.h @@ -566,7 +566,7 @@ public: 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);