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 d9ec109e40ecbaebdaf86b69169c10cc1e818367..c0b5634d97d702d6f7aa5633405f2cf32b3eae13 100644 |
--- a/src/compiler/ast-loop-assignment-analyzer.cc |
+++ b/src/compiler/ast-loop-assignment-analyzer.cc |
@@ -77,6 +77,12 @@ void ALAA::VisitSuperCallReference(SuperCallReference* leaf) {} |
void ALAA::VisitBlock(Block* stmt) { VisitStatements(stmt->statements()); } |
+void ALAA::VisitDoExpression(DoExpression* expr) { |
+ Visit(expr->block()); |
+ Visit(expr->result()); |
+} |
+ |
+ |
void ALAA::VisitExpressionStatement(ExpressionStatement* stmt) { |
Visit(stmt->expression()); |
} |