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

Unified Diff: src/ast/modules.h

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
Index: src/ast/modules.h
diff --git a/src/ast/modules.h b/src/ast/modules.h
index c672f2494917b60bbc310638c7786024410642a5..087b57426bcd8cc4031b8063d81534445e47e956 100644
--- a/src/ast/modules.h
+++ b/src/ast/modules.h
@@ -63,10 +63,9 @@ class ModuleDescriptor : public ZoneObject {
Zone* zone);
// Check if module is well-formed and report error if not.
- bool Validate(
- Scope* module_scope, PendingCompilationErrorHandler* error_handler,
- Zone* zone) const;
-
+ bool Validate(DeclarationScope* module_scope,
+ PendingCompilationErrorHandler* error_handler,
+ Zone* zone) const;
private:
struct ModuleEntry : public ZoneObject {
« no previous file with comments | « src/ast/ast-traversal-visitor.h ('k') | src/ast/modules.cc » ('j') | src/ast/scopes.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698