diff --git a/js/src/ion/Lowering.cpp b/js/src/ion/Lowering.cpp index 4f794bfb17d..da99c91e2bf 100644 --- a/js/src/ion/Lowering.cpp +++ b/js/src/ion/Lowering.cpp @@ -2299,7 +2299,7 @@ LIRGenerator::visitGetPropertyPolymorphic(MGetPropertyPolymorphic *ins) if (ins->type() == MIRType_Value) { LGetPropertyPolymorphicV *lir = new LGetPropertyPolymorphicV(useRegister(ins->obj())); - return assignSnapshot(lir) && defineBox(lir, ins); + return assignSnapshot(lir, Bailout_CachedShapeGuard) && defineBox(lir, ins); } LDefinition maybeTemp = (ins->type() == MIRType_Double) ? temp() : LDefinition::BogusTemp(); @@ -2322,7 +2322,7 @@ LIRGenerator::visitSetPropertyPolymorphic(MSetPropertyPolymorphic *ins) LAllocation value = useRegisterOrConstant(ins->value()); LSetPropertyPolymorphicT *lir = new LSetPropertyPolymorphicT(useRegister(ins->obj()), value, ins->value()->type(), temp()); - return assignSnapshot(lir) && add(lir, ins); + return assignSnapshot(lir, Bailout_CachedShapeGuard) && add(lir, ins); } bool