Permalink
Browse files

JitRegCache: Add IsZero to RCOpArg

  • Loading branch information...
MerryMage committed Oct 15, 2018
1 parent 2e95501 commit 5e46c16e4f2906ec653a4f7b2798e2e8172f7616
Showing with 1 addition and 0 deletions.
  1. +1 −0 Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.h
@@ -56,6 +56,7 @@ class RCOpArg
bool IsImm() const;
s32 SImm32() const;
u32 Imm32() const;
bool IsZero() const { return IsImm() && Imm32() == 0; }

private:
friend class RegCache;

0 comments on commit 5e46c16

Please sign in to comment.