Index: src/compiler/mips/code-generator-mips.cc |
diff --git a/src/compiler/mips/code-generator-mips.cc b/src/compiler/mips/code-generator-mips.cc |
index f9068644bb31c231718fac4589ca448e53678d63..b23734a191d82f5a0fa2b90f04c89cc3162187c7 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -721,13 +721,11 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ Push(i.InputRegister(0)); |
break; |
case kMipsStackClaim: { |
- int words = MiscField::decode(instr->opcode()); |
- __ Subu(sp, sp, Operand(words << kPointerSizeLog2)); |
+ __ Subu(sp, sp, Operand(i.InputInt32(0))); |
break; |
} |
case kMipsStoreToStackSlot: { |
- int slot = MiscField::decode(instr->opcode()); |
- __ sw(i.InputRegister(0), MemOperand(sp, slot << kPointerSizeLog2)); |
+ __ sw(i.InputRegister(0), MemOperand(sp, i.InputInt32(1))); |
break; |
} |
case kMipsStoreWriteBarrier: { |