Index: runtime/vm/intermediate_language_ia32.cc |
diff --git a/runtime/vm/intermediate_language_ia32.cc b/runtime/vm/intermediate_language_ia32.cc |
index bebb56142723f09efbe7505f46877e6ebd60ce5e..557fcac8e21044c200f9bbb1eb6a2dce8803912b 100644 |
--- a/runtime/vm/intermediate_language_ia32.cc |
+++ b/runtime/vm/intermediate_language_ia32.cc |
@@ -6507,7 +6507,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 |