Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 103bb25c2b778d2be042a8d6fb34b125af89a144..e16999ea375dc03b6deb07033718cbec5a7e6b85 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -46,7 +46,7 @@ void FastNewClosureStub::InitializeInterfaceDescriptor( |
descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]); |
descriptor->register_params_ = registers; |
descriptor->deoptimization_handler_ = |
- Runtime::FunctionForId(Runtime::kNewClosureFromStubFailure)->entry; |
+ Runtime::FunctionForId(Runtime::kHiddenNewClosureFromStubFailure)->entry; |
} |
@@ -94,7 +94,8 @@ void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( |
descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]); |
descriptor->register_params_ = registers; |
descriptor->deoptimization_handler_ = |
- Runtime::FunctionForId(Runtime::kCreateArrayLiteralStubBailout)->entry; |
+ Runtime::FunctionForId( |
+ Runtime::kHiddenCreateArrayLiteralStubBailout)->entry; |
} |
@@ -109,7 +110,7 @@ void FastCloneShallowObjectStub::InitializeInterfaceDescriptor( |
descriptor->register_param_count_ = sizeof(registers) / sizeof(registers[0]); |
descriptor->register_params_ = registers; |
descriptor->deoptimization_handler_ = |
- Runtime::FunctionForId(Runtime::kCreateObjectLiteral)->entry; |
+ Runtime::FunctionForId(Runtime::kHiddenCreateObjectLiteral)->entry; |
} |
@@ -275,7 +276,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; |
} |
@@ -325,7 +326,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; |
} |
@@ -2248,7 +2249,7 @@ void ArgumentsAccessStub::GenerateNewSloppySlow(MacroAssembler* masm) { |
__ Poke(x10, 1 * kXRegSize); |
__ Bind(&runtime); |
- __ TailCallRuntime(Runtime::kNewArgumentsFast, 3, 1); |
+ __ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1); |
} |
@@ -2520,7 +2521,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::kNewArgumentsFast, 3, 1); |
+ __ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1); |
} |
@@ -2653,7 +2654,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) { |
// Do the runtime call to allocate the arguments object. |
__ Bind(&runtime); |
__ Push(function, params, param_count_smi); |
- __ TailCallRuntime(Runtime::kNewStrictArgumentsFast, 3, 1); |
+ __ TailCallRuntime(Runtime::kHiddenNewStrictArgumentsFast, 3, 1); |
} |
@@ -3527,7 +3528,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 |
// have a chance to overwrite it. |