Index: runtime/vm/flow_graph_builder.cc |
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc |
index 30c2a807b8fbd02ae7f20af2ea2d143eeaeb6679..d056d3458c6ea6ba6800be012b2d4be19e7094f4 100644 |
--- a/runtime/vm/flow_graph_builder.cc |
+++ b/runtime/vm/flow_graph_builder.cc |
@@ -1626,7 +1626,8 @@ void EffectGraphVisitor::VisitClosureNode(ClosureNode* node) { |
} |
PushArgumentInstr* push_type_arguments = PushArgument(type_arguments); |
arguments->Add(push_type_arguments); |
- ReturnDefinition(new CreateClosureInstr(node, arguments)); |
+ ReturnDefinition( |
+ new CreateClosureInstr(node->function(), arguments, node->token_pos())); |
} |