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

Unified Diff: src/bootstrapper.cc

Issue 2387593002: Revert of Reland: [modules] Properly initialize declared variables. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « src/ast/scopes.cc ('k') | src/contexts.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index df02a3248ea3e232e4ee8013cba92d292ad7b455..16e77300a03ab6ba622b11a0d403dee8fa7bb42e 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -702,12 +702,6 @@
Builtins::kGeneratorPrototypeReturn, 1, true);
SimpleInstallFunction(generator_object_prototype, "throw",
Builtins::kGeneratorPrototypeThrow, 1, true);
-
- // Internal version of generator_prototype_next, flagged as non-native.
- Handle<JSFunction> generator_next_internal =
- SimpleCreateFunction(isolate(), factory()->next_string(),
- Builtins::kGeneratorPrototypeNext, 1, true);
- native_context()->set_generator_next_internal(*generator_next_internal);
// Create maps for generator functions and their prototypes. Store those
// maps in the native context. The "prototype" property descriptor is
« no previous file with comments | « src/ast/scopes.cc ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698