Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #713 from lioncash/cast
Core: Remove now redundant assert conditions in some DSPJitRegCache functions
  • Loading branch information
lioncash committed Aug 2, 2014
2 parents 77c2b68 + 899bc84 commit b8e6471
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Core/Core/DSP/Jit/DSPJitRegCache.cpp
Expand Up @@ -599,7 +599,7 @@ X64Reg DSPJitRegCache::makeABICallSafe(X64Reg reg)

void DSPJitRegCache::movToHostReg(size_t reg, X64Reg host_reg, bool load)
{
_assert_msg_(DSPLLE, reg >= 0 && reg <= DSP_REG_MAX_MEM_BACKED,
_assert_msg_(DSPLLE, reg <= DSP_REG_MAX_MEM_BACKED,
"bad register name %x", reg);
_assert_msg_(DSPLLE, regs[reg].parentReg == DSP_REG_NONE,
"register %x is proxy for %x", reg, regs[reg].parentReg);
Expand Down Expand Up @@ -647,7 +647,7 @@ void DSPJitRegCache::movToHostReg(size_t reg, X64Reg host_reg, bool load)

void DSPJitRegCache::movToHostReg(size_t reg, bool load)
{
_assert_msg_(DSPLLE, reg >= 0 && reg <= DSP_REG_MAX_MEM_BACKED,
_assert_msg_(DSPLLE, reg <= DSP_REG_MAX_MEM_BACKED,
"bad register name %x", reg);
_assert_msg_(DSPLLE, regs[reg].parentReg == DSP_REG_NONE,
"register %x is proxy for %x", reg, regs[reg].parentReg);
Expand Down Expand Up @@ -679,7 +679,7 @@ void DSPJitRegCache::movToHostReg(size_t reg, bool load)

void DSPJitRegCache::rotateHostReg(size_t reg, int shift, bool emit)
{
_assert_msg_(DSPLLE, reg >= 0 && reg <= DSP_REG_MAX_MEM_BACKED,
_assert_msg_(DSPLLE, reg <= DSP_REG_MAX_MEM_BACKED,
"bad register name %x", reg);
_assert_msg_(DSPLLE, regs[reg].parentReg == DSP_REG_NONE,
"register %x is proxy for %x", reg, regs[reg].parentReg);
Expand Down Expand Up @@ -727,7 +727,7 @@ void DSPJitRegCache::rotateHostReg(size_t reg, int shift, bool emit)

void DSPJitRegCache::movToMemory(size_t reg)
{
_assert_msg_(DSPLLE, reg >= 0 && reg <= DSP_REG_MAX_MEM_BACKED,
_assert_msg_(DSPLLE, reg <= DSP_REG_MAX_MEM_BACKED,
"bad register name %x", reg);
_assert_msg_(DSPLLE, regs[reg].parentReg == DSP_REG_NONE,
"register %x is proxy for %x", reg, regs[reg].parentReg);
Expand Down

0 comments on commit b8e6471

Please sign in to comment.