Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(881)

Unified Diff: src/parser.cc

Issue 346413004: Remove distinction between hidden and normal runtime functions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix natives fuzzing Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698