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 e6764d0eb02f42feda6ed2caff172b46424f830e..c81d5483bf7893d328cf907dd048e45b64a94bf1 100644 |
--- a/src/compiler/ast-loop-assignment-analyzer.cc |
+++ b/src/compiler/ast-loop-assignment-analyzer.cc |
@@ -57,7 +57,6 @@ void ALAA::VisitFunctionDeclaration(FunctionDeclaration* leaf) {} |
void ALAA::VisitModuleDeclaration(ModuleDeclaration* leaf) {} |
void ALAA::VisitImportDeclaration(ImportDeclaration* leaf) {} |
void ALAA::VisitExportDeclaration(ExportDeclaration* leaf) {} |
-void ALAA::VisitModuleVariable(ModuleVariable* leaf) {} |
void ALAA::VisitModulePath(ModulePath* leaf) {} |
void ALAA::VisitModuleUrl(ModuleUrl* leaf) {} |
void ALAA::VisitEmptyStatement(EmptyStatement* leaf) {} |
@@ -205,9 +204,8 @@ void ALAA::VisitCaseClause(CaseClause* cc) { |
// -- Interesting nodes------------------------------------------------------- |
// --------------------------------------------------------------------------- |
void ALAA::VisitModuleStatement(ModuleStatement* stmt) { |
- Visit(stmt->body()); |
// TODO(turbofan): can a module appear in a loop? |
- AnalyzeAssignment(stmt->proxy()->var()); |
+ Visit(stmt->body()); |
} |