Index: src/compiler/mips64/code-generator-mips64.cc |
diff --git a/src/compiler/mips64/code-generator-mips64.cc b/src/compiler/mips64/code-generator-mips64.cc |
index adf890679d9ca2d4d3c59343753aa1d7d8c4a05a..3edf6e36bebf5ef1c8ff751b2eb1e9eb053b75c2 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -789,13 +789,11 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ Push(i.InputRegister(0)); |
break; |
case kMips64StackClaim: { |
- int words = MiscField::decode(instr->opcode()); |
- __ Dsubu(sp, sp, Operand(words << kPointerSizeLog2)); |
+ __ Dsubu(sp, sp, Operand(i.InputInt32(0))); |
break; |
} |
case kMips64StoreToStackSlot: { |
- int slot = MiscField::decode(instr->opcode()); |
- __ sd(i.InputRegister(0), MemOperand(sp, slot << kPointerSizeLog2)); |
+ __ sd(i.InputRegister(0), MemOperand(sp, i.InputInt32(1))); |
break; |
} |
case kMips64StoreWriteBarrier: { |