| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index e334b2896eb2f6a3aeee4a9baf6f76d034d3f0fa..f053c7942cb4acef733139aac2f8246ee9b54360 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -78,7 +78,7 @@ void FastCloneShallowArrayStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_count_ = 3;
|
| descriptor->register_params_ = registers;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kCreateArrayLiteralShallow)->entry;
|
| + Runtime::FunctionForId(Runtime::kCreateArrayLiteral)->entry;
|
| }
|
|
|
|
|
| @@ -291,6 +291,17 @@ void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor(
|
| }
|
|
|
|
|
| +void NewStringAddStub::InitializeInterfaceDescriptor(
|
| + Isolate* isolate,
|
| + CodeStubInterfaceDescriptor* descriptor) {
|
| + static Register registers[] = { a1, a0 };
|
| + descriptor->register_param_count_ = 2;
|
| + descriptor->register_params_ = registers;
|
| + descriptor->deoptimization_handler_ =
|
| + Runtime::FunctionForId(Runtime::kStringAdd)->entry;
|
| +}
|
| +
|
| +
|
| #define __ ACCESS_MASM(masm)
|
|
|
|
|
| @@ -5156,8 +5167,7 @@ void ICCompareStub::GenerateMiss(MacroAssembler* masm) {
|
| ExternalReference(IC_Utility(IC::kCompareIC_Miss), masm->isolate());
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
| __ Push(a1, a0);
|
| - __ push(ra);
|
| - __ Push(a1, a0);
|
| + __ Push(ra, a1, a0);
|
| __ li(t0, Operand(Smi::FromInt(op_)));
|
| __ addiu(sp, sp, -kPointerSize);
|
| __ CallExternalReference(miss, 3, USE_DELAY_SLOT);
|
|
|