mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 02:59:49 +01:00
Merge pull request #17942 from unknownbrackets/irjit-clobber
irjit: Fix regalloc clobber on exit
This commit is contained in:
1 file changed
+2
-2
@@ -42,9 +42,9 @@ static bool IRReadsFrom(const IRInst &inst, int reg, char type, bool *directly)
|
||||
|
||||
if (directly)
|
||||
*directly = false;
|
||||
if (inst.op == IROp::Interpret || inst.op == IROp::CallReplacement || inst.op == IROp::Syscall || inst.op == IROp::Break)
|
||||
if (inst.op == IROp::Interpret || inst.op == IROp::CallReplacement)
|
||||
return true;
|
||||
if (inst.op == IROp::Breakpoint || inst.op == IROp::MemoryCheck)
|
||||
if ((m->flags & IRFLAG_EXIT) != 0)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user