Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index f3b0ff65db54fed4dc16da98529312f7b0a8027b..377702bdb4537ea96f849ae37fbdd02b6ecf8a6a 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -257,7 +257,7 @@ bool LCodeGen::GenerateDeferredCode() { |
__ MultiPush(cp.bit() | fp.bit() | ra.bit()); |
__ li(scratch0(), Operand(Smi::FromInt(StackFrame::STUB))); |
__ push(scratch0()); |
- __ Addu(fp, sp, Operand(2 * kPointerSize)); |
+ __ Addu(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); |
Comment(";;; Deferred code"); |
} |
code->Generate(); |
@@ -309,7 +309,7 @@ bool LCodeGen::GenerateDeoptJumpTable() { |
ASSERT(info()->IsStub()); |
__ li(scratch0(), Operand(Smi::FromInt(StackFrame::STUB))); |
__ push(scratch0()); |
- __ Addu(fp, sp, Operand(2 * kPointerSize)); |
+ __ Addu(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); |
__ Call(t9); |
} |
} else { |