Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index b5185b8f2a938782ab5fbfdaefff79b8119af067..281c9994b70dc2ebc118e9339c0284d02a1a4b65 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -76,6 +76,7 @@ class PipelineData { |
// For main entry point. |
void Initialize(PipelineStatistics* pipeline_statistics) { |
+ PhaseScope scope(pipeline_statistics, "init pipeline data"); |
outer_zone_ = info()->zone(); |
pipeline_statistics_ = pipeline_statistics; |
graph_zone_ = graph_zone_scope_.zone(); |
@@ -715,6 +716,7 @@ Handle<Code> Pipeline::GenerateCode() { |
if (FLAG_turbo_stats) { |
pipeline_statistics.Reset(new PipelineStatistics(info(), &zone_pool)); |
+ pipeline_statistics->BeginPhaseKind("initializing"); |
} |
PipelineData data(&zone_pool, info()); |