| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index 91e10f5dd6b09d88457ea8b2edf101619180119a..d65d8e2e110baf173ed624936db66a6f27e90b9d 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -1943,10 +1943,7 @@ void LoadIndexedInterceptorStub::Generate(MacroAssembler* masm) {
|
| __ Push(receiver, key); // Receiver, key.
|
|
|
| // Perform tail call to the entry.
|
| - __ TailCallExternalReference(
|
| - ExternalReference(IC_Utility(IC::kLoadElementWithInterceptor),
|
| - masm->isolate()),
|
| - 2, 1);
|
| + __ TailCallRuntime(Runtime::kLoadElementWithInterceptor, 2, 1);
|
|
|
| __ bind(&slow);
|
| PropertyAccessCompiler::TailCallBuiltin(
|
| @@ -3042,11 +3039,10 @@ void CallICStub::GenerateMiss(MacroAssembler* masm) {
|
| __ Push(a1, a2, a3);
|
|
|
| // Call the entry.
|
| - IC::UtilityId id = GetICState() == DEFAULT ? IC::kCallIC_Miss
|
| - : IC::kCallIC_Customization_Miss;
|
| -
|
| - ExternalReference miss = ExternalReference(IC_Utility(id), masm->isolate());
|
| - __ CallExternalReference(miss, 3);
|
| + Runtime::FunctionId id = GetICState() == DEFAULT
|
| + ? Runtime::kCallIC_Miss
|
| + : Runtime::kCallIC_Customization_Miss;
|
| + __ CallRuntime(id, 3);
|
|
|
| // Move result to a1 and exit the internal frame.
|
| __ mov(a1, v0);
|
| @@ -4008,14 +4004,13 @@ void CompareICStub::GenerateKnownObjects(MacroAssembler* masm) {
|
| void CompareICStub::GenerateMiss(MacroAssembler* masm) {
|
| {
|
| // Call the runtime system in a fresh internal frame.
|
| - ExternalReference miss =
|
| - ExternalReference(IC_Utility(IC::kCompareIC_Miss), isolate());
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
| __ Push(a1, a0);
|
| __ Push(ra, a1, a0);
|
| __ li(t0, Operand(Smi::FromInt(op())));
|
| __ addiu(sp, sp, -kPointerSize);
|
| - __ CallExternalReference(miss, 3, USE_DELAY_SLOT);
|
| + __ CallRuntime(Runtime::kCompareIC_Miss, 3, kDontSaveFPRegs,
|
| + USE_DELAY_SLOT);
|
| __ sw(t0, MemOperand(sp)); // In the delay slot.
|
| // Compute the entry point of the rewritten stub.
|
| __ Addu(a2, v0, Operand(Code::kHeaderSize - kHeapObjectTag));
|
|
|