Index: src/ast/ast-expression-visitor.cc |
diff --git a/src/ast/ast-expression-visitor.cc b/src/ast/ast-expression-visitor.cc |
index 6ee2d5988ce83c8d5ee013a75c73b4328373a9be..6b2550c5418f7262e9fae7ec25bd95b32317f26a 100644 |
--- a/src/ast/ast-expression-visitor.cc |
+++ b/src/ast/ast-expression-visitor.cc |
@@ -171,6 +171,11 @@ void AstExpressionVisitor::VisitForInStatement(ForInStatement* stmt) { |
void AstExpressionVisitor::VisitForOfStatement(ForOfStatement* stmt) { |
RECURSE(Visit(stmt->iterable())); |
+ RECURSE(Visit(stmt->each())); |
+ RECURSE(Visit(stmt->assign_iterator())); |
+ RECURSE(Visit(stmt->next_result())); |
+ RECURSE(Visit(stmt->result_done())); |
+ RECURSE(Visit(stmt->assign_each())); |
RECURSE(Visit(stmt->body())); |
} |