Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 211ef11c42a8a9901a5634e7c248fc3148f44bc5..918e74dde9a0187c0916e00c7c951e9603dede1c 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -522,7 +522,7 @@ PipelineStatistics* CreatePipelineStatistics(CompilationInfo* info, |
ZonePool* zone_pool) { |
PipelineStatistics* pipeline_statistics = nullptr; |
- if (FLAG_turbo_stats) { |
+ if (FLAG_turbo_stats || FLAG_turbo_stats_nvp) { |
pipeline_statistics = new PipelineStatistics(info, zone_pool); |
pipeline_statistics->BeginPhaseKind("initializing"); |
} |
@@ -1504,7 +1504,7 @@ Handle<Code> Pipeline::GenerateCodeForCodeStub(Isolate* isolate, |
ZonePool zone_pool(isolate->allocator()); |
PipelineData data(&zone_pool, &info, graph, schedule); |
base::SmartPointer<PipelineStatistics> pipeline_statistics; |
- if (FLAG_turbo_stats) { |
+ if (FLAG_turbo_stats || FLAG_turbo_stats_nvp) { |
pipeline_statistics.Reset(new PipelineStatistics(&info, &zone_pool)); |
pipeline_statistics->BeginPhaseKind("stub codegen"); |
} |
@@ -1558,7 +1558,7 @@ Handle<Code> Pipeline::GenerateCodeForTesting(CompilationInfo* info, |
ZonePool zone_pool(info->isolate()->allocator()); |
PipelineData data(&zone_pool, info, graph, schedule); |
base::SmartPointer<PipelineStatistics> pipeline_statistics; |
- if (FLAG_turbo_stats) { |
+ if (FLAG_turbo_stats || FLAG_turbo_stats_nvp) { |
pipeline_statistics.Reset(new PipelineStatistics(info, &zone_pool)); |
pipeline_statistics->BeginPhaseKind("test codegen"); |
} |