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 1b004e51e3f24f4782a5e8d227b842b59e2586bc..6605bd3589cf6503617e1d36696ab5af27ce276c 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -462,6 +462,16 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kMipsPush: |
__ Push(i.InputRegister(0)); |
break; |
+ case kMipsStackClaim: { |
+ int words = MiscField::decode(instr->opcode()); |
+ __ Subu(sp, sp, Operand(words << kPointerSizeLog2)); |
+ break; |
+ } |
+ case kMipsStoreToStackSlot: { |
+ int slot = MiscField::decode(instr->opcode()); |
+ __ sw(i.InputRegister(0), MemOperand(sp, slot << kPointerSizeLog2)); |
+ break; |
+ } |
case kMipsStoreWriteBarrier: { |
Register object = i.InputRegister(0); |
Register index = i.InputRegister(1); |