Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 1147f85a6377c5978b39a5701438d789779b1aab..5a5fcdc47d5cbb738c8bd707b2b83159b318e735 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -2544,8 +2544,9 @@ void AstGraphBuilder::VisitCallRuntime(CallRuntime* expr) { |
if (functionId == Runtime::kInlineGeneratorNext) SetStackOverflow(); |
if (functionId == Runtime::kInlineGeneratorThrow) SetStackOverflow(); |
const Operator* call = javascript()->CallRuntime(functionId, args->length()); |
+ FrameStateBeforeAndAfter states(this, expr->CallId()); |
Node* value = ProcessArguments(call, args->length()); |
- PrepareFrameState(value, expr->id(), ast_context()->GetStateCombine()); |
+ states.AddToNode(value, expr->id(), ast_context()->GetStateCombine()); |
ast_context()->ProduceValue(value); |
} |