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

Unified Diff: src/ast/modules.cc

Issue 2212383003: Revert of Separate Scope into DeclarationScope and Scope (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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/modules.h ('k') | src/ast/prettyprinter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/modules.cc
diff --git a/src/ast/modules.cc b/src/ast/modules.cc
index 3c04847a5fdaa0d6f21129f009cc8e248d150e9f..286a117b3f506791c5ce1c02cd1100e1532dfdbb 100644
--- a/src/ast/modules.cc
+++ b/src/ast/modules.cc
@@ -79,9 +79,10 @@
exports_.Add(entry, zone);
}
-bool ModuleDescriptor::Validate(DeclarationScope* module_scope,
- PendingCompilationErrorHandler* error_handler,
- Zone* zone) const {
+
+bool ModuleDescriptor::Validate(
+ Scope* module_scope, PendingCompilationErrorHandler* error_handler,
+ Zone* zone) const {
DCHECK(module_scope->is_module_scope());
DCHECK_EQ(this, module_scope->module());
DCHECK_NOT_NULL(error_handler);
« no previous file with comments | « src/ast/modules.h ('k') | src/ast/prettyprinter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698