mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1182060 - IsObjectEscaped: Handle UnboxedPlainObject in guard shape. r=bhackett
This commit is contained in:
parent
8eacdaee29
commit
435ef0ddcd
@ -220,7 +220,7 @@ IsObjectEscaped(MInstruction* ins, JSObject* objDefault)
|
||||
case MDefinition::Op_GuardShape: {
|
||||
MGuardShape* guard = def->toGuardShape();
|
||||
MOZ_ASSERT(!ins->isGuardShape());
|
||||
if (obj->as<NativeObject>().lastProperty() != guard->shape()) {
|
||||
if (obj->maybeShape() != guard->shape()) {
|
||||
JitSpewDef(JitSpew_Escape, "has a non-matching guard shape\n", guard);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user