chromium/v8/src/compiler/pipeline-statistics.cc

// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/compiler/pipeline-statistics.h"

#include <memory>

#include "src/codegen/optimized-compilation-info.h"
#include "src/compiler/turboshaft/phase.h"
#include "src/compiler/zone-stats.h"
#include "src/objects/shared-function-info.h"

namespace v8 {
namespace internal {
namespace compiler {

void PipelineStatisticsBase::CommonStats::Begin(
    PipelineStatisticsBase* pipeline_stats) {}

void PipelineStatisticsBase::CommonStats::End(
    PipelineStatisticsBase* pipeline_stats,
    CompilationStatistics::BasicStats* diff) {}

PipelineStatisticsBase::PipelineStatisticsBase(
    Zone* outer_zone, ZoneStats* zone_stats,
    std::shared_ptr<CompilationStatistics> compilation_stats,
    CodeKind code_kind)
    :{}

PipelineStatisticsBase::~PipelineStatisticsBase() {}

void PipelineStatisticsBase::BeginPhaseKind(const char* phase_kind_name) {}

void PipelineStatisticsBase::EndPhaseKind(
    CompilationStatistics::BasicStats* diff) {}

void PipelineStatisticsBase::BeginPhase(const char* phase_name) {}

void PipelineStatisticsBase::EndPhase(CompilationStatistics::BasicStats* diff) {}

constexpr char TurbofanPipelineStatistics::kTraceCategory[];

TurbofanPipelineStatistics::TurbofanPipelineStatistics(
    OptimizedCompilationInfo* info,
    std::shared_ptr<CompilationStatistics> compilation_stats,
    ZoneStats* zone_stats)
    :{}

TurbofanPipelineStatistics::~TurbofanPipelineStatistics() {}

void TurbofanPipelineStatistics::BeginPhaseKind(const char* name) {}

void TurbofanPipelineStatistics::EndPhaseKind() {}

void TurbofanPipelineStatistics::BeginPhase(const char* name) {}

void TurbofanPipelineStatistics::EndPhase() {}

}  // namespace compiler
}  // namespace internal
}  // namespace v8