| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index a2f63202b3296d5a0f30538b4818d908c164036e..922ae44bb4f2d989934053d1cda3afd46d47f1e4 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -1933,7 +1933,7 @@ HValue* HGraphBuilder::BuildNumberToString(HValue* object, Type* type) {
|
| Add<HPushArguments>(object);
|
| Push(Add<HCallRuntime>(
|
| isolate()->factory()->empty_string(),
|
| - Runtime::FunctionForId(Runtime::kHiddenNumberToStringSkipCache),
|
| + Runtime::FunctionForId(Runtime::kNumberToStringSkipCache),
|
| 1));
|
| }
|
| if_found.End();
|
| @@ -2257,7 +2257,7 @@ HValue* HGraphBuilder::BuildUncheckedStringAdd(
|
| Add<HPushArguments>(left, right);
|
| Push(Add<HCallRuntime>(
|
| isolate()->factory()->empty_string(),
|
| - Runtime::FunctionForId(Runtime::kHiddenStringAdd),
|
| + Runtime::FunctionForId(Runtime::kStringAdd),
|
| 2));
|
| }
|
| if_sameencodingandsequential.End();
|
| @@ -5483,7 +5483,7 @@ void HOptimizedGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) {
|
| // TODO(mvstanton): Add a flag to turn off creation of any
|
| // AllocationMementos for this call: we are in crankshaft and should have
|
| // learned enough about transition behavior to stop emitting mementos.
|
| - Runtime::FunctionId function_id = Runtime::kHiddenCreateObjectLiteral;
|
| + Runtime::FunctionId function_id = Runtime::kCreateObjectLiteral;
|
| literal = Add<HCallRuntime>(isolate()->factory()->empty_string(),
|
| Runtime::FunctionForId(function_id),
|
| 4);
|
| @@ -5641,7 +5641,7 @@ void HOptimizedGraphBuilder::VisitArrayLiteral(ArrayLiteral* expr) {
|
| // TODO(mvstanton): Consider a flag to turn off creation of any
|
| // AllocationMementos for this call: we are in crankshaft and should have
|
| // learned enough about transition behavior to stop emitting mementos.
|
| - Runtime::FunctionId function_id = Runtime::kHiddenCreateArrayLiteral;
|
| + Runtime::FunctionId function_id = Runtime::kCreateArrayLiteral;
|
| literal = Add<HCallRuntime>(isolate()->factory()->empty_string(),
|
| Runtime::FunctionForId(function_id),
|
| 4);
|
| @@ -6653,7 +6653,7 @@ void HOptimizedGraphBuilder::VisitThrow(Throw* expr) {
|
| if (!FLAG_hydrogen_track_positions) SetSourcePosition(expr->position());
|
| Add<HPushArguments>(value);
|
| Add<HCallRuntime>(isolate()->factory()->empty_string(),
|
| - Runtime::FunctionForId(Runtime::kHiddenThrow), 1);
|
| + Runtime::FunctionForId(Runtime::kThrow), 1);
|
| Add<HSimulate>(expr->id());
|
|
|
| // If the throw definitely exits the function, we can finish with a dummy
|
|
|