| Index: src/compiler/pipeline-statistics.cc
|
| diff --git a/src/compiler/pipeline-statistics.cc b/src/compiler/pipeline-statistics.cc
|
| index a032c3dac2cf3b4dec8a1c79710dbf8bb67ecfa2..2b6ffe418c6ff4307e2076be811fc01217b41793 100644
|
| --- a/src/compiler/pipeline-statistics.cc
|
| +++ b/src/compiler/pipeline-statistics.cc
|
| @@ -6,7 +6,7 @@
|
|
|
| #include "src/compilation-info.h"
|
| #include "src/compiler/pipeline-statistics.h"
|
| -#include "src/compiler/zone-pool.h"
|
| +#include "src/compiler/zone-stats.h"
|
| #include "src/isolate.h"
|
|
|
| namespace v8 {
|
| @@ -16,13 +16,13 @@ namespace compiler {
|
| void PipelineStatistics::CommonStats::Begin(
|
| PipelineStatistics* pipeline_stats) {
|
| DCHECK(!scope_);
|
| - scope_.reset(new ZonePool::StatsScope(pipeline_stats->zone_pool_));
|
| + scope_.reset(new ZoneStats::StatsScope(pipeline_stats->zone_stats_));
|
| timer_.Start();
|
| outer_zone_initial_size_ = pipeline_stats->OuterZoneSize();
|
| allocated_bytes_at_start_ =
|
| outer_zone_initial_size_ -
|
| pipeline_stats->total_stats_.outer_zone_initial_size_ +
|
| - pipeline_stats->zone_pool_->GetCurrentAllocatedBytes();
|
| + pipeline_stats->zone_stats_->GetCurrentAllocatedBytes();
|
| }
|
|
|
|
|
| @@ -43,12 +43,11 @@ void PipelineStatistics::CommonStats::End(
|
| timer_.Stop();
|
| }
|
|
|
| -
|
| PipelineStatistics::PipelineStatistics(CompilationInfo* info,
|
| - ZonePool* zone_pool)
|
| + ZoneStats* zone_stats)
|
| : isolate_(info->isolate()),
|
| outer_zone_(info->zone()),
|
| - zone_pool_(zone_pool),
|
| + zone_stats_(zone_stats),
|
| compilation_stats_(isolate_->GetTurboStatistics()),
|
| source_size_(0),
|
| phase_kind_name_(nullptr),
|
|
|