Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #685 from lioncash/invalid-reg
Core: Use the enum constant for an invalid reg in JitRegCache
  • Loading branch information
lioncash committed Jul 27, 2014
2 parents 83c2c99 + 0bb84a1 commit e225e36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/Core/PowerPC/Jit64/JitRegCache.h
Expand Up @@ -86,8 +86,9 @@ class RegCache
{
if (IsBound(preg))
return regs[preg].location.GetSimpleReg();

PanicAlert("Not so simple - %i", preg);
return (X64Reg)-1;
return INVALID_REG;
}
virtual OpArg GetDefaultLocation(size_t reg) const = 0;

Expand Down

0 comments on commit e225e36

Please sign in to comment.