mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1054974 - Don't recover instructions which have the Guard flag, r=nbp
This commit is contained in:
parent
01a9c34e1b
commit
f7a57cc5e2
@ -553,8 +553,8 @@ jit::EliminateDeadCode(MIRGenerator *mir, MIRGraph &graph)
|
||||
!inst->isControlInstruction())
|
||||
{
|
||||
inst = block->discardAt(inst);
|
||||
} else if (!inst->isRecoveredOnBailout() && !inst->hasLiveDefUses() &&
|
||||
inst->canRecoverOnBailout())
|
||||
} else if (!inst->isRecoveredOnBailout() && !inst->isGuard() &&
|
||||
!inst->hasLiveDefUses() && inst->canRecoverOnBailout())
|
||||
{
|
||||
inst->setRecoveredOnBailout();
|
||||
inst++;
|
||||
|
Loading…
Reference in New Issue
Block a user