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 2074c944e6237bf85ed44b65c1fcf8d93827320b..11b24475c0d9d7af597a64ee15b12871fcb9791b 100644 |
--- a/src/compiler/ast-loop-assignment-analyzer.cc |
+++ b/src/compiler/ast-loop-assignment-analyzer.cc |
@@ -198,7 +198,7 @@ void ALAA::VisitCompareOperation(CompareOperation* e) { |
} |
-void ALAA::VisitSpread(Spread* e) { Visit(e->expression()); } |
+void ALAA::VisitSpread(Spread* e) { UNREACHABLE(); } |
void ALAA::VisitEmptyParentheses(EmptyParentheses* e) { UNREACHABLE(); } |
@@ -266,7 +266,6 @@ void ALAA::VisitForOfStatement(ForOfStatement* loop) { |
Visit(loop->assign_iterator()); |
Enter(loop); |
Visit(loop->assign_each()); |
- Visit(loop->each()); |
Visit(loop->subject()); |
Visit(loop->body()); |
Exit(loop); |