chromium/v8/src/codegen/optimized-compilation-info.cc

// Copyright 2016 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/codegen/optimized-compilation-info.h"

#include "src/api/api.h"
#include "src/builtins/builtins.h"
#include "src/codegen/source-position.h"
#include "src/debug/debug.h"
#include "src/execution/isolate.h"
#include "src/objects/objects-inl.h"
#include "src/objects/shared-function-info.h"
#include "src/tracing/trace-event.h"
#include "src/tracing/traced-value.h"

#if V8_ENABLE_WEBASSEMBLY
#include "src/wasm/function-compiler.h"
#endif  // V8_ENABLE_WEBASSEMBLY

namespace v8 {
namespace internal {

OptimizedCompilationInfo::OptimizedCompilationInfo(
    Zone* zone, Isolate* isolate, Handle<SharedFunctionInfo> shared,
    Handle<JSFunction> closure, CodeKind code_kind, BytecodeOffset osr_offset)
    :{}

OptimizedCompilationInfo::OptimizedCompilationInfo(
    base::Vector<const char> debug_name, Zone* zone, CodeKind code_kind,
    Builtin builtin)
    :{}

void OptimizedCompilationInfo::ConfigureFlags() {}

OptimizedCompilationInfo::~OptimizedCompilationInfo() {}

void OptimizedCompilationInfo::ReopenAndCanonicalizeHandlesInNewScope(
    Isolate* isolate) {}

void OptimizedCompilationInfo::AbortOptimization(BailoutReason reason) {}

void OptimizedCompilationInfo::RetryOptimization(BailoutReason reason) {}

std::unique_ptr<char[]> OptimizedCompilationInfo::GetDebugName() const {}

StackFrame::Type OptimizedCompilationInfo::GetOutputStackFrameType() const {}

void OptimizedCompilationInfo::SetCode(Handle<Code> code) {}

#if V8_ENABLE_WEBASSEMBLY
void OptimizedCompilationInfo::SetWasmCompilationResult(
    std::unique_ptr<wasm::WasmCompilationResult> wasm_compilation_result) {}

std::unique_ptr<wasm::WasmCompilationResult>
OptimizedCompilationInfo::ReleaseWasmCompilationResult() {}
#endif  // V8_ENABLE_WEBASSEMBLY

bool OptimizedCompilationInfo::has_context() const {}

Tagged<Context> OptimizedCompilationInfo::context() const {}

bool OptimizedCompilationInfo::has_native_context() const {}

Tagged<NativeContext> OptimizedCompilationInfo::native_context() const {}

bool OptimizedCompilationInfo::has_global_object() const {}

Tagged<JSGlobalObject> OptimizedCompilationInfo::global_object() const {}

int OptimizedCompilationInfo::AddInlinedFunction(
    Handle<SharedFunctionInfo> inlined_function,
    Handle<BytecodeArray> inlined_bytecode, SourcePosition pos) {}

void OptimizedCompilationInfo::SetTracingFlags(bool passes_filter) {}

OptimizedCompilationInfo::InlinedFunctionHolder::InlinedFunctionHolder(
    Handle<SharedFunctionInfo> inlined_shared_info,
    Handle<BytecodeArray> inlined_bytecode, SourcePosition pos)
    :{}

}  // namespace internal
}  // namespace v8