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

Unified Diff: src/factory.h

Issue 705663004: harmony_scoping: Implement lexical bindings at top level (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: CR feedback Created 6 years, 1 month 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
« src/contexts.cc ('K') | « src/contexts.cc ('k') | src/factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index 9f9813cae0b2d9a41649f578a91baa5a32f9f91b..593fb90e89c2ce479e368c952258a4b9425232b9 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -229,6 +229,9 @@ class Factory FINAL {
Handle<Context> NewGlobalContext(Handle<JSFunction> function,
Handle<ScopeInfo> scope_info);
+ // Create an empty global context table.
+ Handle<GlobalContextTable> NewEmptyGlobalContextTable();
rossberg 2014/11/07 13:22:38 Nit: Drop the 'Empty', unless there is another ver
Dmitry Lomov (no reviews) 2014/11/07 14:29:00 Done.
+
// Create a module context.
Handle<Context> NewModuleContext(Handle<ScopeInfo> scope_info);
« src/contexts.cc ('K') | « src/contexts.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698