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

Unified Diff: src/ast/ast-numbering.cc

Issue 2108193003: [modules] AST and parser rework. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@anonymous-declarations
Patch Set: . Created 4 years, 5 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/ast-numbering.cc
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc
index e2ee8657976518ede891e3cd126108d1f223a214..ba341e116d01352678bae057ae9edd67d2be4df5 100644
--- a/src/ast/ast-numbering.cc
+++ b/src/ast/ast-numbering.cc
@@ -192,13 +192,6 @@ void AstNumberingVisitor::VisitSuperCallReference(SuperCallReference* node) {
}
-void AstNumberingVisitor::VisitImportDeclaration(ImportDeclaration* node) {
- IncrementNodeCount();
- DisableOptimization(kImportDeclaration);
- VisitVariableProxy(node->proxy());
-}
-
-
void AstNumberingVisitor::VisitExpressionStatement(ExpressionStatement* node) {
IncrementNodeCount();
Visit(node->expression());
« no previous file with comments | « src/ast/ast-literal-reindexer.cc ('k') | src/ast/modules.h » ('j') | src/ast/modules.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698