| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index 7ca78f6ad72ab5abd65825bb0e1a8a2e5645bb90..cded21fd42df209991dd35cce0b0e75164cb173f 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -3538,7 +3538,7 @@ void CEntryStub::GenerateCore(MacroAssembler* masm,
|
| const int kNumInstructionsToJump = 6;
|
| masm->Addu(ra, ra, kNumInstructionsToJump * kPointerSize);
|
| masm->sw(ra, MemOperand(sp)); // This spot was reserved in EnterExitFrame.
|
| - masm->Subu(sp, sp, StandardFrameConstants::kCArgsSlotsSize);
|
| + masm->Subu(sp, sp, kCArgsSlotsSize);
|
| // Stack is still aligned.
|
|
|
| // Call the C routine.
|
| @@ -3551,7 +3551,7 @@ void CEntryStub::GenerateCore(MacroAssembler* masm,
|
| }
|
|
|
| // Restore stack (remove arg slots).
|
| - __ Addu(sp, sp, StandardFrameConstants::kCArgsSlotsSize);
|
| + __ Addu(sp, sp, kCArgsSlotsSize);
|
|
|
| if (always_allocate) {
|
| // It's okay to clobber a2 and a3 here. v0 & v1 contain result.
|
| @@ -3707,8 +3707,7 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) {
|
| offset_to_argv += kNumCalleeSavedFPU * kDoubleSize;
|
| }
|
|
|
| - __ lw(s0, MemOperand(sp, offset_to_argv +
|
| - StandardFrameConstants::kCArgsSlotsSize));
|
| + __ lw(s0, MemOperand(sp, offset_to_argv + kCArgsSlotsSize));
|
|
|
| // We build an EntryFrame.
|
| __ li(t3, Operand(-1)); // Push a bad frame pointer to fail if it is used.
|
|
|