Index: runtime/vm/intermediate_language_arm.cc |
diff --git a/runtime/vm/intermediate_language_arm.cc b/runtime/vm/intermediate_language_arm.cc |
index df31e317c6267b0d927a4e87158a2c5304202317..13ad1238565f128cc5bdccb721024af9d4e0c645 100644 |
--- a/runtime/vm/intermediate_language_arm.cc |
+++ b/runtime/vm/intermediate_language_arm.cc |
@@ -6608,7 +6608,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 |