| Index: runtime/vm/code_generator.cc
|
| diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc
|
| index a93487b3fbb544fb28703169671e3596efab3018..58dcc7e9019ee3021c0286fc9d5428209b95961d 100644
|
| --- a/runtime/vm/code_generator.cc
|
| +++ b/runtime/vm/code_generator.cc
|
| @@ -60,6 +60,7 @@ DEFINE_FLAG(bool, trace_type_checks, false, "Trace runtime type checks.");
|
| DECLARE_FLAG(int, deoptimization_counter_threshold);
|
| DECLARE_FLAG(bool, enable_inlining_annotations);
|
| DECLARE_FLAG(bool, trace_compiler);
|
| +DECLARE_FLAG(bool, trace_optimizing_compiler);
|
| DECLARE_FLAG(bool, warn_on_javascript_compatibility);
|
| DECLARE_FLAG(int, max_polymorphic_checks);
|
|
|
| @@ -1498,7 +1499,7 @@ DEFINE_RUNTIME_ENTRY(OptimizeInvokedFunction, 1) {
|
| // Reset usage counter for reoptimization before calling optimizer to
|
| // prevent recursive triggering of function optimization.
|
| function.set_usage_counter(0);
|
| - if (FLAG_trace_compiler) {
|
| + if (FLAG_trace_compiler || FLAG_trace_optimizing_compiler) {
|
| if (function.HasOptimizedCode()) {
|
| THR_Print("ReCompiling function: '%s' \n",
|
| function.ToFullyQualifiedCString());
|
|
|