Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index ebf4c31bfe3794bc1aaa4e4d98ae78b6e0e25588..5616c0e6547bfb57d77e3cd71ae469f417301db8 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.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; |
} |
@@ -233,7 +234,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; |
} |
@@ -261,7 +262,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; |
} |
@@ -1203,7 +1204,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) { |
__ bind(&runtime); |
__ Integer32ToSmi(rcx, rcx); |
__ movp(args.GetArgumentOperand(2), rcx); // Patch argument count. |
- __ TailCallRuntime(Runtime::kNewArgumentsFast, 3, 1); |
+ __ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1); |
} |
@@ -1230,7 +1231,7 @@ void ArgumentsAccessStub::GenerateNewSloppySlow(MacroAssembler* masm) { |
__ movp(args.GetArgumentOperand(1), rdx); |
__ bind(&runtime); |
- __ TailCallRuntime(Runtime::kNewArgumentsFast, 3, 1); |
+ __ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1); |
} |
@@ -1331,7 +1332,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); |
} |
@@ -3009,7 +3010,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); |
} |
if (!index_.is(rax)) { |
// Save the conversion result before the pop instructions below |