| Index: runtime/vm/flow_graph_inliner.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_inliner.cc (revision 45719)
|
| +++ runtime/vm/flow_graph_inliner.cc (working copy)
|
| @@ -682,7 +682,7 @@
|
| ParsedFunction* parsed_function;
|
| {
|
| TimerScope timer(FLAG_compiler_stats,
|
| - &CompilerStats::graphinliner_parse_timer,
|
| + &CSTAT_TIMER(graphinliner_parse_timer),
|
| isolate());
|
| const Error& error = Error::Handle(Z,
|
| Compiler::EnsureUnoptimizedCode(Thread::Current(), function));
|
| @@ -708,7 +708,7 @@
|
| FlowGraph* callee_graph;
|
| {
|
| TimerScope timer(FLAG_compiler_stats,
|
| - &CompilerStats::graphinliner_build_timer,
|
| + &CSTAT_TIMER(graphinliner_build_timer),
|
| isolate());
|
| callee_graph = builder.BuildGraph();
|
| }
|
| @@ -764,7 +764,7 @@
|
|
|
| {
|
| TimerScope timer(FLAG_compiler_stats,
|
| - &CompilerStats::graphinliner_ssa_timer,
|
| + &CSTAT_TIMER(graphinliner_ssa_timer),
|
| isolate());
|
| // Compute SSA on the callee graph, catching bailouts.
|
| callee_graph->ComputeSSA(caller_graph_->max_virtual_register_number(),
|
| @@ -774,7 +774,7 @@
|
|
|
| {
|
| TimerScope timer(FLAG_compiler_stats,
|
| - &CompilerStats::graphinliner_opt_timer,
|
| + &CSTAT_TIMER(graphinliner_opt_timer),
|
| isolate());
|
| // TODO(zerny): Do more optimization passes on the callee graph.
|
| FlowGraphOptimizer optimizer(callee_graph);
|
| @@ -954,7 +954,7 @@
|
|
|
| void InlineCall(InlinedCallData* call_data) {
|
| TimerScope timer(FLAG_compiler_stats,
|
| - &CompilerStats::graphinliner_subst_timer,
|
| + &CSTAT_TIMER(graphinliner_subst_timer),
|
| Isolate::Current());
|
| FlowGraph* callee_graph = call_data->callee_graph;
|
| TargetEntryInstr* callee_entry =
|
|
|