Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index a95e6d818656ce0b849ba5f619afd385c885c31f..0dfcb00017b8ab6ace649d8e59040c6767e60d5e 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -2587,6 +2587,7 @@ void AstGraphBuilder::VisitCallRuntime(CallRuntime* expr) { |
// TODO(mstarzinger): This bailout is a gigantic hack, the owner is ashamed. |
if (function->function_id == Runtime::kInlineGeneratorNext || |
+ function->function_id == Runtime::kInlineGeneratorReturn || |
function->function_id == Runtime::kInlineGeneratorThrow) { |
ast_context()->ProduceValue(jsgraph()->TheHoleConstant()); |
return SetStackOverflow(); |