Index: runtime/vm/flow_graph_builder.cc |
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc |
index c9e02e7c683fc4b3893c9fa30c1fe13de30d6914..4e019db57b0d44820289a4b712b40a5a78a679e0 100644 |
--- a/runtime/vm/flow_graph_builder.cc |
+++ b/runtime/vm/flow_graph_builder.cc |
@@ -4613,7 +4613,7 @@ void EffectGraphVisitor::VisitStopNode(StopNode* node) { |
FlowGraph* FlowGraphBuilder::BuildGraph() { |
- VMTagScope tagScope(Thread::Current(), |
+ VMTagScope tagScope(thread(), |
VMTag::kCompileFlowGraphBuilderTagId, |
FLAG_profile_vm); |
if (FLAG_support_ast_printer && FLAG_print_ast) { |