| Index: src/arm64/code-stubs-arm64.cc
|
| diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc
|
| index 70ead443fd647ffb12c72933996a5857305dd01e..5c75ab4353dc769f8ccd17dc103ef3b18c601e0f 100644
|
| --- a/src/arm64/code-stubs-arm64.cc
|
| +++ b/src/arm64/code-stubs-arm64.cc
|
| @@ -22,7 +22,7 @@ void FastNewClosureStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]);
|
| descriptor->register_params_ = registers;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kHiddenNewClosureFromStubFailure)->entry;
|
| + Runtime::FunctionForId(Runtime::kNewClosureFromStubFailure)->entry;
|
| }
|
|
|
|
|
| @@ -53,7 +53,7 @@ void NumberToStringStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]);
|
| descriptor->register_params_ = registers;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kHiddenNumberToString)->entry;
|
| + Runtime::FunctionForId(Runtime::kNumberToStringRT)->entry;
|
| }
|
|
|
|
|
| @@ -71,8 +71,7 @@ void FastCloneShallowArrayStub::InitializeInterfaceDescriptor(
|
| Representation::Tagged() };
|
| descriptor->register_param_representations_ = representations;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(
|
| - Runtime::kHiddenCreateArrayLiteralStubBailout)->entry;
|
| + Runtime::FunctionForId(Runtime::kCreateArrayLiteralStubBailout)->entry;
|
| }
|
|
|
|
|
| @@ -86,7 +85,7 @@ void FastCloneShallowObjectStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]);
|
| descriptor->register_params_ = registers;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kHiddenCreateObjectLiteral)->entry;
|
| + Runtime::FunctionForId(Runtime::kCreateObjectLiteral)->entry;
|
| }
|
|
|
|
|
| @@ -144,7 +143,7 @@ void RegExpConstructResultStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]);
|
| descriptor->register_params_ = registers;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kHiddenRegExpConstructResult)->entry;
|
| + Runtime::FunctionForId(Runtime::kRegExpConstructResult)->entry;
|
| }
|
|
|
|
|
| @@ -255,7 +254,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;
|
| }
|
|
|
|
|
| @@ -305,7 +304,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;
|
| }
|
|
|
|
|
| @@ -400,7 +399,7 @@ void StringAddStub::InitializeInterfaceDescriptor(
|
| descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]);
|
| descriptor->register_params_ = registers;
|
| descriptor->deoptimization_handler_ =
|
| - Runtime::FunctionForId(Runtime::kHiddenStringAdd)->entry;
|
| + Runtime::FunctionForId(Runtime::kStringAdd)->entry;
|
| }
|
|
|
|
|
| @@ -1356,7 +1355,7 @@ void MathPowStub::Generate(MacroAssembler* masm) {
|
| __ Bind(&call_runtime);
|
| // Put the arguments back on the stack.
|
| __ Push(base_tagged, exponent_tagged);
|
| - __ TailCallRuntime(Runtime::kHiddenMathPow, 2, 1);
|
| + __ TailCallRuntime(Runtime::kMathPowRT, 2, 1);
|
|
|
| // Return.
|
| __ Bind(&done);
|
| @@ -2121,7 +2120,7 @@ void ArgumentsAccessStub::GenerateNewSloppySlow(MacroAssembler* masm) {
|
| __ Poke(x10, 1 * kXRegSize);
|
|
|
| __ Bind(&runtime);
|
| - __ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
|
| + __ TailCallRuntime(Runtime::kNewSloppyArguments, 3, 1);
|
| }
|
|
|
|
|
| @@ -2393,7 +2392,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) {
|
| // Do the runtime call to allocate the arguments object.
|
| __ Bind(&runtime);
|
| __ Push(function, recv_arg, arg_count_smi);
|
| - __ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
|
| + __ TailCallRuntime(Runtime::kNewSloppyArguments, 3, 1);
|
| }
|
|
|
|
|
| @@ -2526,13 +2525,13 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) {
|
| // Do the runtime call to allocate the arguments object.
|
| __ Bind(&runtime);
|
| __ Push(function, params, param_count_smi);
|
| - __ TailCallRuntime(Runtime::kHiddenNewStrictArguments, 3, 1);
|
| + __ TailCallRuntime(Runtime::kNewStrictArguments, 3, 1);
|
| }
|
|
|
|
|
| void RegExpExecStub::Generate(MacroAssembler* masm) {
|
| #ifdef V8_INTERPRETED_REGEXP
|
| - __ TailCallRuntime(Runtime::kHiddenRegExpExec, 4, 1);
|
| + __ TailCallRuntime(Runtime::kRegExpExec, 4, 1);
|
| #else // V8_INTERPRETED_REGEXP
|
|
|
| // Stack frame on entry.
|
| @@ -3006,7 +3005,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) {
|
|
|
| __ Bind(&runtime);
|
| __ PopCPURegList(used_callee_saved_registers);
|
| - __ TailCallRuntime(Runtime::kHiddenRegExpExec, 4, 1);
|
| + __ TailCallRuntime(Runtime::kRegExpExecRT, 4, 1);
|
|
|
| // Deferred code for string handling.
|
| // (6) Not a long external string? If yes, go to (8).
|
| @@ -3557,7 +3556,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
|
| // have a chance to overwrite it.
|
| @@ -3580,7 +3579,7 @@ void StringCharCodeAtGenerator::GenerateSlow(
|
| call_helper.BeforeCall(masm);
|
| __ SmiTag(index_);
|
| __ Push(object_, index_);
|
| - __ CallRuntime(Runtime::kHiddenStringCharCodeAt, 2);
|
| + __ CallRuntime(Runtime::kStringCharCodeAtRT, 2);
|
| __ Mov(result_, x0);
|
| call_helper.AfterCall(masm);
|
| __ B(&exit_);
|
| @@ -3862,7 +3861,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);
|
| @@ -4252,7 +4251,7 @@ void SubStringStub::Generate(MacroAssembler* masm) {
|
| __ Ret();
|
|
|
| __ Bind(&runtime);
|
| - __ TailCallRuntime(Runtime::kHiddenSubString, 3, 1);
|
| + __ TailCallRuntime(Runtime::kSubString, 3, 1);
|
|
|
| __ bind(&single_char);
|
| // x1: result_length
|
| @@ -4429,7 +4428,7 @@ void StringCompareStub::Generate(MacroAssembler* masm) {
|
|
|
| // Call the runtime.
|
| // Returns -1 (less), 0 (equal), or 1 (greater) tagged as a small integer.
|
| - __ TailCallRuntime(Runtime::kHiddenStringCompare, 2, 1);
|
| + __ TailCallRuntime(Runtime::kStringCompare, 2, 1);
|
| }
|
|
|
|
|
|
|