Index: src/compiler/ast-loop-assignment-analyzer.cc |
diff --git a/src/compiler/ast-loop-assignment-analyzer.cc b/src/compiler/ast-loop-assignment-analyzer.cc |
index a20f13f529d2f67f89c6d374813c23eb54c904f9..05a4ceb873145447220c10d2a38ac8f0404d547a 100644 |
--- a/src/compiler/ast-loop-assignment-analyzer.cc |
+++ b/src/compiler/ast-loop-assignment-analyzer.cc |
@@ -55,11 +55,8 @@ void ALAA::Exit(IterationStatement* loop) { |
void ALAA::VisitVariableDeclaration(VariableDeclaration* leaf) {} |
void ALAA::VisitFunctionDeclaration(FunctionDeclaration* leaf) {} |
-void ALAA::VisitModuleDeclaration(ModuleDeclaration* leaf) {} |
void ALAA::VisitImportDeclaration(ImportDeclaration* leaf) {} |
void ALAA::VisitExportDeclaration(ExportDeclaration* leaf) {} |
-void ALAA::VisitModulePath(ModulePath* leaf) {} |
-void ALAA::VisitModuleUrl(ModuleUrl* leaf) {} |
void ALAA::VisitEmptyStatement(EmptyStatement* leaf) {} |
void ALAA::VisitContinueStatement(ContinueStatement* leaf) {} |
void ALAA::VisitBreakStatement(BreakStatement* leaf) {} |
@@ -76,9 +73,6 @@ void ALAA::VisitSuperReference(SuperReference* leaf) {} |
// --------------------------------------------------------------------------- |
// -- Pass-through nodes------------------------------------------------------ |
// --------------------------------------------------------------------------- |
-void ALAA::VisitModuleLiteral(ModuleLiteral* e) { Visit(e->body()); } |
- |
- |
void ALAA::VisitBlock(Block* stmt) { VisitStatements(stmt->statements()); } |
@@ -207,12 +201,6 @@ void ALAA::VisitCaseClause(CaseClause* cc) { |
// --------------------------------------------------------------------------- |
// -- Interesting nodes------------------------------------------------------- |
// --------------------------------------------------------------------------- |
-void ALAA::VisitModuleStatement(ModuleStatement* stmt) { |
- // TODO(turbofan): can a module appear in a loop? |
- Visit(stmt->body()); |
-} |
- |
- |
void ALAA::VisitTryCatchStatement(TryCatchStatement* stmt) { |
Visit(stmt->try_block()); |
Visit(stmt->catch_block()); |