| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index 6f9d54d76ffddff50d591a59869a62f857147a94..ea7ab8e1ff2fa228cb1bbf8b0679b94d9d5838ba 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -2207,8 +2207,7 @@ void AstGraphBuilder::VisitAssignment(Assignment* expr) {
|
|
|
| void AstGraphBuilder::VisitYield(Yield* expr) {
|
| // Generator functions are supported only by going through Ignition first.
|
| - SetStackOverflow();
|
| - ast_context()->ProduceValue(expr, jsgraph()->UndefinedConstant());
|
| + UNREACHABLE();
|
| }
|
|
|
|
|
|
|