Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index cccb6ba079524fb6d4a00bdd202a604c8f965ede..3d725a1262e9c1cf02a9993b72e315e93b1e4950 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -814,6 +814,7 @@ Node* AstGraphBuilder::Environment::Checkpoint( |
Node* result = graph()->NewNode(op, parameters_node_, locals_node_, |
stack_node_, builder()->current_context(), |
+ builder()->GetFunctionClosure(), |
builder()->jsgraph()->UndefinedConstant()); |
if (FLAG_analyze_environment_liveness) { |
liveness_block()->Checkpoint(result); |