| 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..da8b62607c6181f8c559e5fc816aac84f4500c59 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -2251,7 +2251,7 @@ void AstGraphBuilder::VisitAssignment(Assignment* expr) {
|
|
|
|
|
| void AstGraphBuilder::VisitYield(Yield* expr) {
|
| - // TODO(turbofan): Implement yield here.
|
| + // Generator functions are supported only by going through Ignition first.
|
| SetStackOverflow();
|
| ast_context()->ProduceValue(jsgraph()->UndefinedConstant());
|
| }
|
|
|