Index: runtime/vm/flow_graph_builder.cc |
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc |
index a942b496e6c0a11db361462e7870726e0d2853c1..47a51d8cb7494a7540a693aa8b3e7732dd7a619d 100644 |
--- a/runtime/vm/flow_graph_builder.cc |
+++ b/runtime/vm/flow_graph_builder.cc |
@@ -1549,7 +1549,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())); |
} |