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

Unified Diff: src/scopes.cc

Issue 881623002: Begin modernization of --harmony-modules (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Dealt with rossberg comments Created 5 years, 11 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/parser.cc ('k') | test/cctest/cctest.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scopes.cc
diff --git a/src/scopes.cc b/src/scopes.cc
index 7687a4cbb6dc69fe12dcf5e6285a4321100d5052..01e311e292d05be9801948a7fd6758b2861d8d88 100644
--- a/src/scopes.cc
+++ b/src/scopes.cc
@@ -77,10 +77,8 @@ Scope::Scope(Isolate* isolate, Zone* zone, Scope* outer_scope,
params_(4, zone),
unresolved_(16, zone),
decls_(4, zone),
- interface_(FLAG_harmony_modules && (scope_type == MODULE_SCOPE ||
- scope_type == SCRIPT_SCOPE)
- ? Interface::NewModule(zone)
- : NULL),
+ interface_(scope_type == MODULE_SCOPE ? Interface::NewModule(zone)
+ : NULL),
already_resolved_(false),
ast_value_factory_(ast_value_factory),
zone_(zone) {
« no previous file with comments | « src/parser.cc ('k') | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698