| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index e4f68f9d43077827379dc3b0688dc5b3dbc9bc01..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 =
|
| @@ -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(
|
|
|