Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 648bb734538681ea2307499f4511005aa6da3dff..a9e1f5ae8ceb1a1a733a9bd15217908abe20c307 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -4813,8 +4813,10 @@ void LCodeGen::DoStoreKeyedGeneric(LStoreKeyedGeneric* instr) { |
void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) { |
Register object = ToRegister(instr->object()); |
Register temp = ToRegister(instr->temp()); |
- __ TestJSArrayForAllocationMemento(object, temp); |
+ Label no_memento_found; |
+ __ TestJSArrayForAllocationMemento(object, temp, &no_memento_found); |
DeoptimizeIf(equal, instr->environment()); |
+ __ bind(&no_memento_found); |
} |