Index: runtime/vm/intermediate_language_mips.cc |
diff --git a/runtime/vm/intermediate_language_mips.cc b/runtime/vm/intermediate_language_mips.cc |
index f4b80321d69d84a879dbc9e2c59b2d9c4b24f802..e82bb3d3c29c12d82cb32b18250b20b2a29d71f3 100644 |
--- a/runtime/vm/intermediate_language_mips.cc |
+++ b/runtime/vm/intermediate_language_mips.cc |
@@ -5383,7 +5383,7 @@ LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone, |
void GotoInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
__ Comment("GotoInstr"); |
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 |