mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 23:40:29 +02:00
arm64jit: Fix spilling for more than one temp reg.
Otherwise we hang trying to spill the same reg over and over.
This commit is contained in:
1 parent
ee236743f0
commit
98ed6fab3f
1 file changed
+2
@@ -275,6 +275,8 @@ ARM64Reg Arm64RegCache::FindBestToSpill(bool unusedOnly, bool *clobbered) {
|
||||
ARM64Reg reg = allocOrder[i];
|
||||
if (ar[reg].mipsReg != MIPS_REG_INVALID && mr[ar[reg].mipsReg].spillLock)
|
||||
continue;
|
||||
if (ar[reg].tempLocked)
|
||||
continue;
|
||||
|
||||
// As it's in alloc-order, we know it's not static so we don't need to check for that.
|
||||
|
||||
|
||||
Reference in new issue
Block a user