Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index a46686b65e7ebf0e4ed87b7e77c7b57d8f4e65f1..c59ce2ec786c1b9d246df81ba6bd16ec1eeef641 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -157,7 +157,7 @@ Handle<Code> Pipeline::GenerateCode() { |
SmartPointer<PipelineStatistics> pipeline_statistics; |
if (FLAG_turbo_stats) { |
pipeline_statistics.Reset(new PipelineStatistics(info(), &zone_pool)); |
- pipeline_statistics->BeginPhaseKind("create graph"); |
+ pipeline_statistics->BeginPhaseKind("graph creation"); |
} |
if (FLAG_trace_turbo) { |
@@ -326,7 +326,7 @@ Handle<Code> Pipeline::GenerateCode() { |
} |
if (!pipeline_statistics.is_empty()) { |
- pipeline_statistics->BeginPhaseKind("code generation"); |
+ pipeline_statistics->BeginPhaseKind("block building"); |
} |
source_positions.RemoveDecorator(); |
@@ -430,6 +430,10 @@ Handle<Code> Pipeline::GenerateCode(PipelineStatistics* pipeline_statistics, |
tcf << AsC1V("CodeGen", schedule, source_positions, &sequence); |
} |
+ if (pipeline_statistics != NULL) { |
+ pipeline_statistics->BeginPhaseKind("register allocation"); |
+ } |
+ |
// Allocate registers. |
Frame frame; |
{ |
@@ -457,6 +461,10 @@ Handle<Code> Pipeline::GenerateCode(PipelineStatistics* pipeline_statistics, |
<< sequence; |
} |
+ if (pipeline_statistics != NULL) { |
+ pipeline_statistics->BeginPhaseKind("code generation"); |
+ } |
+ |
// Generate native sequence. |
Handle<Code> code; |
{ |