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 2b59bc70367006ac803f572a041f7470fa22d36a..9d47f299640c0da0e49632844688ed78bc0b35e0 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -459,6 +459,16 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kMips64Push: |
__ Push(i.InputRegister(0)); |
break; |
+ case kMips64StackClaim: { |
+ int words = MiscField::decode(instr->opcode()); |
+ __ Dsubu(sp, sp, Operand(words << kPointerSizeLog2)); |
+ break; |
+ } |
+ case kMips64StoreToStackSlot: { |
+ int slot = MiscField::decode(instr->opcode()); |
+ __ sd(i.InputRegister(0), MemOperand(sp, slot << kPointerSizeLog2)); |
+ break; |
+ } |
case kMips64StoreWriteBarrier: |
Register object = i.InputRegister(0); |
Register index = i.InputRegister(1); |