Index: src/s390/macro-assembler-s390.h |
diff --git a/src/s390/macro-assembler-s390.h b/src/s390/macro-assembler-s390.h |
index 8d4ca9014166544acd34ebc5d92e03a6cd4c4185..d1eff2c47dd5e64dc5c9d683ffcdc88cf3a0f7dd 100644 |
--- a/src/s390/macro-assembler-s390.h |
+++ b/src/s390/macro-assembler-s390.h |
@@ -1788,13 +1788,15 @@ class MacroAssembler : public Assembler { |
// If allocation info is present, condition flags are set to eq. |
void TestJSArrayForAllocationMemento(Register receiver_reg, |
Register scratch_reg, |
+ Register scratch2_reg, |
Label* no_memento_found); |
void JumpIfJSArrayHasAllocationMemento(Register receiver_reg, |
Register scratch_reg, |
+ Register scratch2_reg, |
Label* memento_found) { |
Label no_memento_found; |
- TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, |
+ TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, scratch2_reg, |
&no_memento_found); |
beq(memento_found); |
bind(&no_memento_found); |