diff --git a/Source/Core/Core/PowerPC/JitCommon/JitBase.h b/Source/Core/Core/PowerPC/JitCommon/JitBase.h index fa2fdd167f..50c840a2b9 100644 --- a/Source/Core/Core/PowerPC/JitCommon/JitBase.h +++ b/Source/Core/Core/PowerPC/JitCommon/JitBase.h @@ -178,6 +178,14 @@ protected: void CleanUpAfterStackFault(); bool CanMergeNextInstructions(int count) const; + bool HasConstantCarry() const + { +#ifdef _M_ARM_64 + return js.carryFlag == CarryFlag::ConstantTrue || js.carryFlag == CarryFlag::ConstantFalse; +#else + return false; +#endif + } bool ShouldHandleFPExceptionForInstruction(const PPCAnalyst::CodeOp* op);