JitRegCache: Add IsZero to RCOpArg

This commit is contained in:
MerryMage 2018-10-15 21:00:54 +01:00
parent 2e955012b2
commit 5e46c16e4f
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ public:
bool IsImm() const; bool IsImm() const;
s32 SImm32() const; s32 SImm32() const;
u32 Imm32() const; u32 Imm32() const;
bool IsZero() const { return IsImm() && Imm32() == 0; }
private: private:
friend class RegCache; friend class RegCache;