mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
Merge pull request #685 from lioncash/invalid-reg
Core: Use the enum constant for an invalid reg in JitRegCache
This commit is contained in:
commit
e225e3679a
1 changed files with 2 additions and 1 deletions
|
@ -86,8 +86,9 @@ public:
|
||||||
{
|
{
|
||||||
if (IsBound(preg))
|
if (IsBound(preg))
|
||||||
return regs[preg].location.GetSimpleReg();
|
return regs[preg].location.GetSimpleReg();
|
||||||
|
|
||||||
PanicAlert("Not so simple - %i", preg);
|
PanicAlert("Not so simple - %i", preg);
|
||||||
return (X64Reg)-1;
|
return INVALID_REG;
|
||||||
}
|
}
|
||||||
virtual OpArg GetDefaultLocation(size_t reg) const = 0;
|
virtual OpArg GetDefaultLocation(size_t reg) const = 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue