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

Unified Diff: src/ast/modules.cc

Issue 2209573002: Separate Scope into DeclarationScope and Scope (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move has_simple_parameters_ to DeclarationScope 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') | src/ast/scopes.h » ('J')
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 286a117b3f506791c5ce1c02cd1100e1532dfdbb..3c04847a5fdaa0d6f21129f009cc8e248d150e9f 100644
--- a/src/ast/modules.cc
+++ b/src/ast/modules.cc
@@ -79,10 +79,9 @@ void ModuleDescriptor::AddStarExport(
exports_.Add(entry, zone);
}
-
-bool ModuleDescriptor::Validate(
- Scope* module_scope, PendingCompilationErrorHandler* error_handler,
- Zone* zone) const {
+bool ModuleDescriptor::Validate(DeclarationScope* 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') | src/ast/scopes.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698