// 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. #ifndef V8_COMPILER_BASIC_BLOCK_INSTRUMENTOR_H_ #define V8_COMPILER_BASIC_BLOCK_INSTRUMENTOR_H_ #include "src/diagnostics/basic-block-profiler.h" #include "src/utils/allocation.h" namespace v8 { namespace internal { class OptimizedCompilationInfo; namespace compiler { class Graph; class Schedule; namespace turboshaft { class Graph; } // namespace turboshaft class BasicBlockInstrumentor : public AllStatic { … }; // A profiler which works when reorder_builtins flag was set as true, it will // store the call graph between builtins, the call graph will be used to reorder // builtins. class BasicBlockCallGraphProfiler : public AllStatic { … }; } // namespace compiler } // namespace internal } // namespace v8 #endif // V8_COMPILER_BASIC_BLOCK_INSTRUMENTOR_H_