Index: runtime/vm/intermediate_language_x64.cc |
diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc |
index ec108a80cd809b4443fc46d752c15181663882e4..35b6a5934ca74341cfeeebdbd3b94709afa73a45 100644 |
--- a/runtime/vm/intermediate_language_x64.cc |
+++ b/runtime/vm/intermediate_language_x64.cc |
@@ -6130,7 +6130,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 |