#include "third_party/blink/renderer/bindings/core/v8/v8_local_compile_hints_producer.h"
#include <utility>
#include "base/containers/heap_array.h"
#include "base/containers/span.h"
#include "base/metrics/histogram_functions.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/common/page/v8_compile_hints_histograms.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_code_cache.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_compile_hints_common.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/script/classic_script.h"
namespace blink::v8_compile_hints {
V8LocalCompileHintsProducer::V8LocalCompileHintsProducer(LocalFrame* frame)
: … { … }
void V8LocalCompileHintsProducer::RecordScript(
ExecutionContext* execution_context,
const v8::Local<v8::Script> script,
ClassicScript* classic_script) { … }
void V8LocalCompileHintsProducer::GenerateData(bool final_data) { … }
v8::ScriptCompiler::CachedData*
V8LocalCompileHintsProducer::CreateCompileHintsCachedDataForScript(
std::vector<int>& compile_hints,
uint64_t prefix) { … }
void V8LocalCompileHintsProducer::Trace(Visitor* visitor) const { … }
}