Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 801c30bbdf606a466758fae3c54d8ec35c003e05..6979442ab5dd8ac3c41f5973f3166ba1175831f8 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -4536,8 +4536,10 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* 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(eq, instr->environment()); |
+ __ bind(&no_memento_found); |
} |