| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index ee49b25f45d5d4c1d9d20f8284caeee56df8d696..0589bf01624997e680c44c851a5f68ec48e1efe0 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -2795,9 +2795,8 @@ void CEntryStub::GenerateCore(MacroAssembler* masm,
|
| if (do_gc) {
|
| // Move result passed in v0 into a0 to call PerformGC.
|
| __ mov(a0, v0);
|
| - __ PrepareCallCFunction(2, 0, a1);
|
| - __ li(a1, Operand(ExternalReference::isolate_address(masm->isolate())));
|
| - __ CallCFunction(ExternalReference::perform_gc_function(isolate), 2, 0);
|
| + __ PrepareCallCFunction(1, 0, a1);
|
| + __ CallCFunction(ExternalReference::perform_gc_function(isolate), 1, 0);
|
| }
|
|
|
| ExternalReference scope_depth =
|
| @@ -2876,7 +2875,7 @@ void CEntryStub::GenerateCore(MacroAssembler* masm,
|
| // v0:v1: result
|
| // sp: stack pointer
|
| // fp: frame pointer
|
| - __ LeaveExitFrame(save_doubles_, s0, true, EMIT_RETURN);
|
| + __ LeaveExitFrame(save_doubles_, s0, true);
|
|
|
| // Check if we should retry or throw exception.
|
| Label retry;
|
| @@ -3409,7 +3408,8 @@ void StringLengthStub::Generate(MacroAssembler* masm) {
|
| receiver = a0;
|
| }
|
|
|
| - StubCompiler::GenerateLoadStringLength(masm, receiver, a3, t0, &miss);
|
| + StubCompiler::GenerateLoadStringLength(masm, receiver, a3, t0, &miss,
|
| + support_wrapper_);
|
|
|
| __ bind(&miss);
|
| StubCompiler::TailCallBuiltin(
|
| @@ -4156,7 +4156,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) {
|
| DirectCEntryStub stub;
|
| stub.GenerateCall(masm, t9);
|
|
|
| - __ LeaveExitFrame(false, no_reg, true);
|
| + __ LeaveExitFrame(false, no_reg);
|
|
|
| // v0: result
|
| // subject: subject string (callee saved)
|
|
|