Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 60cc836e980108bfbf7ba2be00078f9e020b9b0e..8138142a01dbd57facc5f8bcc74ac995a662e5e6 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -2564,6 +2564,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(); |