Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 1c8bbbe28d05654e4d39de8d664e1d5fa17b9998..b95ac3a25232974e96b03763a452e75356d1c54b 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -4257,8 +4257,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(equal, instr->environment()); |
+ __ bind(&no_memento_found); |
} |