Index: runtime/vm/flow_graph_inliner.cc |
diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc |
index d6942638b1c8dcfed0f895ffa76c5a2caeb417d4..14f333d15599792a6054cc0b095bd743dfa32a93 100644 |
--- a/runtime/vm/flow_graph_inliner.cc |
+++ b/runtime/vm/flow_graph_inliner.cc |
@@ -828,6 +828,7 @@ class CallSiteInliner : public ValueObject { |
// TODO(fschneider): Improve suppression of speculative inlining. |
// Deopt-ids overlap between caller and callee. |
if (FLAG_precompiled_mode) { |
+#ifdef DART_PRECOMPILER |
AotOptimizer optimizer(callee_graph, |
inliner_->use_speculative_inlining_, |
inliner_->inlining_black_list_); |
@@ -846,6 +847,9 @@ class CallSiteInliner : public ValueObject { |
// before 'SelectRepresentations' which inserts conversion nodes. |
callee_graph->TryOptimizePatterns(); |
DEBUG_ASSERT(callee_graph->VerifyUseLists()); |
+#else |
+ UNREACHABLE(); |
+#endif // DART_PRECOMPILER |
} else { |
JitOptimizer optimizer(callee_graph); |