diff --git a/Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.h b/Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.h index 5579d03328..d767073cc8 100644 --- a/Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.h +++ b/Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.h @@ -56,6 +56,7 @@ public: bool IsImm() const; s32 SImm32() const; u32 Imm32() const; + bool IsZero() const { return IsImm() && Imm32() == 0; } private: friend class RegCache;