Index: src/crankshaft/s390/lithium-codegen-s390.cc |
diff --git a/src/crankshaft/s390/lithium-codegen-s390.cc b/src/crankshaft/s390/lithium-codegen-s390.cc |
index 83d0b2c732a449ff4120ecc8fe591799956fcd42..e9fc3118c52b0c879744e428e9aad972cf42fa92 100644 |
--- a/src/crankshaft/s390/lithium-codegen-s390.cc |
+++ b/src/crankshaft/s390/lithium-codegen-s390.cc |
@@ -4440,9 +4440,10 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) { |
Register object = ToRegister(instr->object()); |
- Register temp = ToRegister(instr->temp()); |
+ Register temp1 = ToRegister(instr->temp1()); |
+ Register temp2 = ToRegister(instr->temp2()); |
Label no_memento_found; |
- __ TestJSArrayForAllocationMemento(object, temp, &no_memento_found); |
+ __ TestJSArrayForAllocationMemento(object, temp1, temp2, &no_memento_found); |
DeoptimizeIf(eq, instr, Deoptimizer::kMementoFound); |
__ bind(&no_memento_found); |
} |