| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 49e9a81db0ce63f42a4225f0538c00ed6ba9274a..89bd02bf02c584dff183a1f00efcaa18e05b6b8a 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -2211,7 +2211,7 @@ Block* Parser::ParseVariableDeclarations(
|
| // the number of arguments (1 or 2).
|
| initialize = factory()->NewCallRuntime(
|
| isolate()->factory()->InitializeConstGlobal_string(),
|
| - Runtime::FunctionForId(Runtime::kHiddenInitializeConstGlobal),
|
| + Runtime::FunctionForId(Runtime::kInitializeConstGlobal),
|
| arguments, pos);
|
| } else {
|
| // Add strict mode.
|
| @@ -3668,7 +3668,7 @@ ZoneList<Statement*>* Parser::ParseEagerFunctionBody(
|
| new(zone()) ZoneList<Expression*>(0, zone());
|
| CallRuntime* allocation = factory()->NewCallRuntime(
|
| isolate()->factory()->empty_string(),
|
| - Runtime::FunctionForId(Runtime::kHiddenCreateJSGeneratorObject),
|
| + Runtime::FunctionForId(Runtime::kCreateJSGeneratorObject),
|
| arguments, pos);
|
| VariableProxy* init_proxy = factory()->NewVariableProxy(
|
| function_state_->generator_object_variable());
|
|
|