diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-07-27 19:29:52 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-07-27 19:29:52 -0400 |
| commit | 0bb84a1f65298b26eac110f8ed028fa3d0a7e0bf (patch) | |
| tree | 8bc8c32dafe219a108b93ab46b0a310d959eafa7 /Source/Core | |
| parent | 96cfbd1bb0e03cfdd58c6c9ffa96a5bd17f850f4 (diff) | |
Core: Use the enum constant for an invalid reg in JitRegCache
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/PowerPC/Jit64/JitRegCache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/Jit64/JitRegCache.h b/Source/Core/Core/PowerPC/Jit64/JitRegCache.h index 563302cae9..5aa9c0c33e 100644 --- a/Source/Core/Core/PowerPC/Jit64/JitRegCache.h +++ b/Source/Core/Core/PowerPC/Jit64/JitRegCache.h @@ -86,8 +86,9 @@ public: { 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; |
