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 8e5dbd3e61d1b3797123bb7ce43fd71eb9404a4c..00ca1b341b6f8ecfd68d1101a807b17e25003bec 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()); |
} |