mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1048046 - Remove non-observed instructions, even if they might be recovered on bailout. r=h4writer
This commit is contained in:
parent
aaa3b2b0da
commit
cde276f497
@ -427,8 +427,10 @@ jit::EliminateDeadResumePointOperands(MIRGenerator *mir, MIRGraph &graph)
|
|||||||
// TypedObject, ArrayState and its allocation, may be legitimately
|
// TypedObject, ArrayState and its allocation, may be legitimately
|
||||||
// dead in Ion code, but are still needed if we bail out. They can
|
// dead in Ion code, but are still needed if we bail out. They can
|
||||||
// recover on bailout.
|
// recover on bailout.
|
||||||
if (ins->canRecoverOnBailout())
|
if (ins->isNewDerivedTypedObject() || ins->isRecoveredOnBailout()) {
|
||||||
|
MOZ_ASSERT(ins->canRecoverOnBailout());
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// If the instruction's behavior has been constant folded into a
|
// If the instruction's behavior has been constant folded into a
|
||||||
// separate instruction, we can't determine precisely where the
|
// separate instruction, we can't determine precisely where the
|
||||||
|
Loading…
Reference in New Issue
Block a user