Index: src/compiler/s390/code-generator-s390.cc |
diff --git a/src/compiler/s390/code-generator-s390.cc b/src/compiler/s390/code-generator-s390.cc |
index d2d6a17746f4c5a653e1a2c936a019c091038a6a..ffd962e9f1ef3581f83edfbb52f19b2b3b969871 100644 |
--- a/src/compiler/s390/code-generator-s390.cc |
+++ b/src/compiler/s390/code-generator-s390.cc |
@@ -71,12 +71,19 @@ class S390OperandConverter final : public InstructionOperandConverter { |
switch (AddressingModeField::decode(instr_->opcode())) { |
case kMode_None: |
break; |
+ case kMode_MR: |
+ *first_index += 1; |
+ return MemOperand(InputRegister(index + 0), 0); |
case kMode_MRI: |
*first_index += 2; |
return MemOperand(InputRegister(index + 0), InputInt32(index + 1)); |
case kMode_MRR: |
*first_index += 2; |
return MemOperand(InputRegister(index + 0), InputRegister(index + 1)); |
+ case kMode_MRRI: |
+ *first_index += 3; |
+ return MemOperand(InputRegister(index + 0), InputRegister(index + 1), |
+ InputInt32(index + 2)); |
} |
UNREACHABLE(); |
return MemOperand(r0); |