From 4af3e726ee8b4f27390040132c040981727e9529 Mon Sep 17 00:00:00 2001 From: Jan de Mooij Date: Thu, 18 Jul 2013 14:22:53 +0200 Subject: [PATCH] Bug 894852 - Fix LSetPropertyPolymorphicT and LGetPropertyPolymorphicV bailout kind. r=bhackett --- js/src/ion/Lowering.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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