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 334c5978a86f4088f80cb6af17d9b828980fae21..40898162518939bb93435f5dfe0dae02eec4444c 100644 |
--- a/src/compiler/ast-loop-assignment-analyzer.cc |
+++ b/src/compiler/ast-loop-assignment-analyzer.cc |
@@ -151,10 +151,7 @@ void ALAA::VisitObjectLiteral(ObjectLiteral* e) { |
void ALAA::VisitArrayLiteral(ArrayLiteral* e) { VisitExpressions(e->values()); } |
-void ALAA::VisitYield(Yield* stmt) { |
- Visit(stmt->generator_object()); |
- Visit(stmt->expression()); |
-} |
+void ALAA::VisitYield(Yield* stmt) { UNREACHABLE(); } |
Michael Starzinger
2016/05/17 15:49:32
Likewise, this runs before the AstGrpahBuilder, le
|
void ALAA::VisitThrow(Throw* stmt) { Visit(stmt->exception()); } |