Index: runtime/vm/flow_graph_optimizer.cc |
diff --git a/runtime/vm/flow_graph_optimizer.cc b/runtime/vm/flow_graph_optimizer.cc |
index b37b654e9206d25da89e68caad4b76648ce0cc95..429cff6b56e6120234df1e212a298e8cd6193d52 100644 |
--- a/runtime/vm/flow_graph_optimizer.cc |
+++ b/runtime/vm/flow_graph_optimizer.cc |
@@ -250,6 +250,7 @@ bool FlowGraphOptimizer::TryCreateICData(InstanceCallInstr* call) { |
return true; |
} |
+#ifdef DART_PRECOMPILER |
if (FLAG_precompilation && |
(isolate()->object_store()->unique_dynamic_targets() != Array::null())) { |
// Check if the target is unique. |
@@ -270,6 +271,7 @@ bool FlowGraphOptimizer::TryCreateICData(InstanceCallInstr* call) { |
return true; |
} |
} |
+#endif |
// Check if getter or setter in function's class and class is currently leaf. |
if (FLAG_guess_icdata_cid && |