Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index ddd8610b902f1a7db1371e148259aa3fefdfbea2..36a6e99b17c782e0f5048b8e57a69eb5cd8b6a91 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -2250,11 +2250,7 @@ void AstGraphBuilder::VisitAssignment(Assignment* expr) { |
} |
-void AstGraphBuilder::VisitYield(Yield* expr) { |
- // TODO(turbofan): Implement yield here. |
- SetStackOverflow(); |
- ast_context()->ProduceValue(jsgraph()->UndefinedConstant()); |
-} |
+void AstGraphBuilder::VisitYield(Yield* expr) { UNREACHABLE(); } |
Michael Starzinger
2016/05/17 15:49:32
As discussed offline: I think we still need this b
|
void AstGraphBuilder::VisitThrow(Throw* expr) { |