| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index 55020a2aac5b3d673d108dc9e6e452f625353756..39d6dd2f8cb0acf632759e3f0c413b633d228313 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -2928,26 +2928,20 @@ void CallICStub::Generate(MacroAssembler* masm) {
|
|
|
|
|
| void CallICStub::GenerateMiss(MacroAssembler* masm) {
|
| - // Get the receiver of the function from the stack.
|
| - __ lw(t0, MemOperand(sp, arg_count() * kPointerSize));
|
| + FrameScope scope(masm, StackFrame::INTERNAL);
|
|
|
| - {
|
| - FrameScope scope(masm, StackFrame::INTERNAL);
|
| + // Push the receiver and the function and feedback info.
|
| + __ Push(a1, a2, a3);
|
|
|
| - // Push the receiver and the function and feedback info.
|
| - __ Push(t0, a1, a2, a3);
|
| + // Call the entry.
|
| + IC::UtilityId id = GetICState() == DEFAULT ? IC::kCallIC_Miss
|
| + : IC::kCallIC_Customization_Miss;
|
|
|
| - // 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);
|
|
|
| - ExternalReference miss = ExternalReference(IC_Utility(id),
|
| - masm->isolate());
|
| - __ CallExternalReference(miss, 4);
|
| -
|
| - // Move result to a1 and exit the internal frame.
|
| - __ mov(a1, v0);
|
| - }
|
| + // Move result to a1 and exit the internal frame.
|
| + __ mov(a1, v0);
|
| }
|
|
|
|
|
|
|