Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Unified Diff: runtime/vm/flow_graph_inliner.cc

Issue 1127383008: Fix CompilerStats info (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 =

Powered by Google App Engine
This is Rietveld 408576698