| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index 3dd86f7f84ed8a65b32f930c5569b903f5605182..c119c8e17bc5944380ec60291373e0cd75fd3d41 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -46,7 +46,7 @@ void FastNewClosureStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_count_ = 1;
|
| descriptor->register_params_ = registers;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kNewClosureFromStubFailure)->entry;
|
| + Runtime::FunctionForId(Runtime::kHiddenNewClosureFromStubFailure)->entry;
|
| }
|
|
|
|
|
| @@ -88,7 +88,8 @@ void FastCloneShallowArrayStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_count_ = 3;
|
| descriptor->register_params_ = registers;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kCreateArrayLiteralStubBailout)->entry;
|
| + Runtime::FunctionForId(
|
| + Runtime::kHiddenCreateArrayLiteralStubBailout)->entry;
|
| }
|
|
|
|
|
| @@ -99,7 +100,7 @@ void FastCloneShallowObjectStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_count_ = 4;
|
| descriptor->register_params_ = registers;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kCreateObjectLiteral)->entry;
|
| + Runtime::FunctionForId(Runtime::kHiddenCreateObjectLiteral)->entry;
|
| }
|
|
|
|
|
| @@ -247,7 +248,7 @@ static void InitializeArrayConstructorDescriptor(
|
| descriptor->hint_stack_parameter_count_ = constant_stack_parameter_count;
|
| descriptor->function_mode_ = JS_FUNCTION_STUB_MODE;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kArrayConstructor)->entry;
|
| + Runtime::FunctionForId(Runtime::kHiddenArrayConstructor)->entry;
|
| }
|
|
|
|
|
| @@ -275,7 +276,7 @@ static void InitializeInternalArrayConstructorDescriptor(
|
| descriptor->hint_stack_parameter_count_ = constant_stack_parameter_count;
|
| descriptor->function_mode_ = JS_FUNCTION_STUB_MODE;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kInternalArrayConstructor)->entry;
|
| + Runtime::FunctionForId(Runtime::kHiddenInternalArrayConstructor)->entry;
|
| }
|
|
|
|
|
| @@ -2263,7 +2264,7 @@ void ArgumentsAccessStub::GenerateNewSloppySlow(MacroAssembler* masm) {
|
| __ sw(a3, MemOperand(sp, 1 * kPointerSize));
|
|
|
| __ bind(&runtime);
|
| - __ TailCallRuntime(Runtime::kNewArgumentsFast, 3, 1);
|
| + __ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1);
|
| }
|
|
|
|
|
| @@ -2482,7 +2483,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) {
|
| // a2 = argument count (tagged)
|
| __ bind(&runtime);
|
| __ sw(a2, MemOperand(sp, 0 * kPointerSize)); // Patch argument count.
|
| - __ TailCallRuntime(Runtime::kNewArgumentsFast, 3, 1);
|
| + __ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1);
|
| }
|
|
|
|
|
| @@ -2580,7 +2581,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) {
|
|
|
| // Do the runtime call to allocate the arguments object.
|
| __ bind(&runtime);
|
| - __ TailCallRuntime(Runtime::kNewStrictArgumentsFast, 3, 1);
|
| + __ TailCallRuntime(Runtime::kHiddenNewStrictArgumentsFast, 3, 1);
|
| }
|
|
|
|
|
| @@ -3364,7 +3365,7 @@ void StringCharCodeAtGenerator::GenerateSlow(
|
| } else {
|
| ASSERT(index_flags_ == STRING_INDEX_IS_ARRAY_INDEX);
|
| // NumberToSmi discards numbers that are not exact integers.
|
| - __ CallRuntime(Runtime::kNumberToSmi, 1);
|
| + __ CallRuntime(Runtime::kHiddenNumberToSmi, 1);
|
| }
|
|
|
| // Save the conversion result before the pop instructions below
|
|
|