| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index 0287a9a616f4599746a377ddfbc1d136ceb546c4..56a37123914516966f9d39000beb197bc63253c1 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -22,7 +22,7 @@ void FastNewClosureStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_count_ = 1;
|
| descriptor->register_params_ = registers;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kHiddenNewClosureFromStubFailure)->entry;
|
| + Runtime::FunctionForId(Runtime::kNewClosureFromStubFailure)->entry;
|
| }
|
|
|
|
|
| @@ -50,7 +50,7 @@ void NumberToStringStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_count_ = 1;
|
| descriptor->register_params_ = registers;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kHiddenNumberToString)->entry;
|
| + Runtime::FunctionForId(Runtime::kNumberToString)->entry;
|
| }
|
|
|
|
|
| @@ -66,7 +66,7 @@ void FastCloneShallowArrayStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_representations_ = representations;
|
| descriptor->deoptimization_handler_ =
|
| Runtime::FunctionForId(
|
| - Runtime::kHiddenCreateArrayLiteralStubBailout)->entry;
|
| + Runtime::kCreateArrayLiteralStubBailout)->entry;
|
| }
|
|
|
|
|
| @@ -76,7 +76,7 @@ void FastCloneShallowObjectStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_count_ = 4;
|
| descriptor->register_params_ = registers;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kHiddenCreateObjectLiteral)->entry;
|
| + Runtime::FunctionForId(Runtime::kCreateObjectLiteral)->entry;
|
| }
|
|
|
|
|
| @@ -115,7 +115,7 @@ void RegExpConstructResultStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_count_ = 3;
|
| descriptor->register_params_ = registers;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kHiddenRegExpConstructResult)->entry;
|
| + Runtime::FunctionForId(Runtime::kRegExpConstructResult)->entry;
|
| }
|
|
|
|
|
| @@ -227,7 +227,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::kHiddenArrayConstructor)->entry;
|
| + Runtime::FunctionForId(Runtime::kArrayConstructor)->entry;
|
| }
|
|
|
|
|
| @@ -258,7 +258,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::kHiddenInternalArrayConstructor)->entry;
|
| + Runtime::FunctionForId(Runtime::kInternalArrayConstructor)->entry;
|
| }
|
|
|
|
|
| @@ -357,7 +357,7 @@ void StringAddStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_count_ = 2;
|
| descriptor->register_params_ = registers;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kHiddenStringAdd)->entry;
|
| + Runtime::FunctionForId(Runtime::kStringAdd)->entry;
|
| }
|
|
|
|
|
| @@ -1484,7 +1484,7 @@ void MathPowStub::Generate(MacroAssembler* masm) {
|
| if (exponent_type_ == ON_STACK) {
|
| // The arguments are still on the stack.
|
| __ bind(&call_runtime);
|
| - __ TailCallRuntime(Runtime::kHiddenMathPow, 2, 1);
|
| + __ TailCallRuntime(Runtime::kMathPow, 2, 1);
|
|
|
| // The stub is called from non-optimized code, which expects the result
|
| // as heap number in exponent.
|
| @@ -2178,7 +2178,7 @@ void ArgumentsAccessStub::GenerateNewSloppySlow(MacroAssembler* masm) {
|
| __ sw(a3, MemOperand(sp, 1 * kPointerSize));
|
|
|
| __ bind(&runtime);
|
| - __ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
|
| + __ TailCallRuntime(Runtime::kNewSloppyArguments, 3, 1);
|
| }
|
|
|
|
|
| @@ -2397,7 +2397,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) {
|
| // a2 = argument count (tagged)
|
| __ bind(&runtime);
|
| __ sw(a2, MemOperand(sp, 0 * kPointerSize)); // Patch argument count.
|
| - __ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
|
| + __ TailCallRuntime(Runtime::kNewSloppyArguments, 3, 1);
|
| }
|
|
|
|
|
| @@ -2495,7 +2495,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) {
|
|
|
| // Do the runtime call to allocate the arguments object.
|
| __ bind(&runtime);
|
| - __ TailCallRuntime(Runtime::kHiddenNewStrictArguments, 3, 1);
|
| + __ TailCallRuntime(Runtime::kNewStrictArguments, 3, 1);
|
| }
|
|
|
|
|
| @@ -2504,7 +2504,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) {
|
| // time or if regexp entry in generated code is turned off runtime switch or
|
| // at compilation.
|
| #ifdef V8_INTERPRETED_REGEXP
|
| - __ TailCallRuntime(Runtime::kHiddenRegExpExec, 4, 1);
|
| + __ TailCallRuntime(Runtime::kRegExpExec, 4, 1);
|
| #else // V8_INTERPRETED_REGEXP
|
|
|
| // Stack frame on entry.
|
| @@ -2894,7 +2894,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) {
|
|
|
| // Do the runtime call to execute the regexp.
|
| __ bind(&runtime);
|
| - __ TailCallRuntime(Runtime::kHiddenRegExpExec, 4, 1);
|
| + __ TailCallRuntime(Runtime::kRegExpExec, 4, 1);
|
|
|
| // Deferred code for string handling.
|
| // (6) Not a long external string? If yes, go to (8).
|
| @@ -3419,7 +3419,7 @@ void StringCharCodeAtGenerator::GenerateSlow(
|
| } else {
|
| ASSERT(index_flags_ == STRING_INDEX_IS_ARRAY_INDEX);
|
| // NumberToSmi discards numbers that are not exact integers.
|
| - __ CallRuntime(Runtime::kHiddenNumberToSmi, 1);
|
| + __ CallRuntime(Runtime::kNumberToSmi, 1);
|
| }
|
|
|
| // Save the conversion result before the pop instructions below
|
| @@ -3443,7 +3443,7 @@ void StringCharCodeAtGenerator::GenerateSlow(
|
| call_helper.BeforeCall(masm);
|
| __ sll(index_, index_, kSmiTagSize);
|
| __ Push(object_, index_);
|
| - __ CallRuntime(Runtime::kHiddenStringCharCodeAt, 2);
|
| + __ CallRuntime(Runtime::kStringCharCodeAt, 2);
|
|
|
| __ Move(result_, v0);
|
|
|
| @@ -3807,7 +3807,7 @@ void SubStringStub::Generate(MacroAssembler* masm) {
|
|
|
| // Just jump to runtime to create the sub string.
|
| __ bind(&runtime);
|
| - __ TailCallRuntime(Runtime::kHiddenSubString, 3, 1);
|
| + __ TailCallRuntime(Runtime::kSubString, 3, 1);
|
|
|
| __ bind(&single_char);
|
| // v0: original string
|
| @@ -3972,7 +3972,7 @@ void StringCompareStub::Generate(MacroAssembler* masm) {
|
| GenerateCompareFlatAsciiStrings(masm, a1, a0, a2, a3, t0, t1);
|
|
|
| __ bind(&runtime);
|
| - __ TailCallRuntime(Runtime::kHiddenStringCompare, 2, 1);
|
| + __ TailCallRuntime(Runtime::kStringCompare, 2, 1);
|
| }
|
|
|
|
|
| @@ -4282,7 +4282,7 @@ void ICCompareStub::GenerateStrings(MacroAssembler* masm) {
|
| if (equality) {
|
| __ TailCallRuntime(Runtime::kStringEquals, 2, 1);
|
| } else {
|
| - __ TailCallRuntime(Runtime::kHiddenStringCompare, 2, 1);
|
| + __ TailCallRuntime(Runtime::kStringCompare, 2, 1);
|
| }
|
|
|
| __ bind(&miss);
|
|
|