Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index ceea7890b46837ed1fd6ceeaf0d9966fefeb5ce4..fe64fd585757955e4d284bfc0008e1cd9df55687 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -2575,6 +2575,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(); |