| Index: runtime/vm/flow_graph_inliner.cc
|
| diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc
|
| index 1f2393f6eaa7ca42ccc1798297ce7cb43cd9c5bb..9c720a378130aab78966fb97ea608ea8d91a47dc 100644
|
| --- a/runtime/vm/flow_graph_inliner.cc
|
| +++ b/runtime/vm/flow_graph_inliner.cc
|
| @@ -62,7 +62,6 @@ DEFINE_FLAG(bool, enable_inlining_annotations, false,
|
|
|
| DECLARE_FLAG(bool, compiler_stats);
|
| DECLARE_FLAG(int, max_deoptimization_counter_threshold);
|
| -DECLARE_FLAG(bool, precompilation);
|
| DECLARE_FLAG(bool, print_flow_graph);
|
| DECLARE_FLAG(bool, print_flow_graph_optimized);
|
| DECLARE_FLAG(bool, verify_compiler);
|
| @@ -632,7 +631,7 @@ class CallSiteInliner : public ValueObject {
|
|
|
| // Function has no type feedback. With precompilation we don't rely on
|
| // type feedback.
|
| - if (!FLAG_precompilation &&
|
| + if (!FLAG_precompiled_mode &&
|
| function.ic_data_array() == Object::null()) {
|
| TRACE_INLINING(THR_Print(" Bailout: not compiled yet\n"));
|
| PRINT_INLINING_TREE("Not compiled",
|
| @@ -790,7 +789,7 @@ class CallSiteInliner : public ValueObject {
|
| CSTAT_TIMER_SCOPE(thread(), graphinliner_opt_timer);
|
| // TODO(fschneider): Improve suppression of speculative inlining.
|
| // Deopt-ids overlap between caller and callee.
|
| - if (FLAG_precompilation) {
|
| + if (FLAG_precompiled_mode) {
|
| AotOptimizer optimizer(callee_graph,
|
| inliner_->use_speculative_inlining_,
|
| inliner_->inlining_black_list_);
|
| @@ -930,7 +929,7 @@ class CallSiteInliner : public ValueObject {
|
| // Propagate a compile-time error. Only in precompilation do we attempt to
|
| // inline functions that have never been compiled before; when JITing we
|
| // should only see compile-time errors in unoptimized compilation.
|
| - ASSERT(FLAG_precompilation);
|
| + ASSERT(FLAG_precompiled_mode);
|
| Thread::Current()->long_jump_base()->Jump(1, error);
|
| UNREACHABLE();
|
| return false;
|
|
|