Index: runtime/vm/intermediate_language_arm64.cc |
diff --git a/runtime/vm/intermediate_language_arm64.cc b/runtime/vm/intermediate_language_arm64.cc |
index 79296b39ff373429e50d0a7592f852edc3b1c02e..0e001d1b5f65bd75c71ce9bb57d7d4fb038349bd 100644 |
--- a/runtime/vm/intermediate_language_arm64.cc |
+++ b/runtime/vm/intermediate_language_arm64.cc |
@@ -5367,7 +5367,7 @@ LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone, |
void GotoInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
if (!compiler->is_optimizing()) { |
- if (FLAG_emit_edge_counters) { |
+ if (FLAG_reorder_basic_blocks) { |
compiler->EmitEdgeCounter(block()->preorder_number()); |
} |
// Add a deoptimization descriptor for deoptimizing instructions that |