chromium/v8/src/baseline/baseline-batch-compiler.cc

// Copyright 2021 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/baseline/baseline-batch-compiler.h"

#include <algorithm>

#include "src/baseline/baseline-compiler.h"
#include "src/codegen/compiler.h"
#include "src/execution/isolate.h"
#include "src/handles/global-handles-inl.h"
#include "src/heap/factory-inl.h"
#include "src/heap/heap-inl.h"
#include "src/heap/local-heap-inl.h"
#include "src/heap/parked-scope.h"
#include "src/objects/fixed-array-inl.h"
#include "src/objects/js-function-inl.h"
#include "src/utils/locked-queue-inl.h"

namespace v8 {
namespace internal {
namespace baseline {

static bool CanCompileWithConcurrentBaseline(Tagged<SharedFunctionInfo> shared,
                                             Isolate* isolate) {}

class BaselineCompilerTask {};

class BaselineBatchCompilerJob {};

class ConcurrentBaselineCompiler {};

BaselineBatchCompiler::BaselineBatchCompiler(Isolate* isolate)
    :{}

BaselineBatchCompiler::~BaselineBatchCompiler() {}

bool BaselineBatchCompiler::concurrent() const {}

void BaselineBatchCompiler::EnqueueFunction(DirectHandle<JSFunction> function) {}

void BaselineBatchCompiler::EnqueueSFI(Tagged<SharedFunctionInfo> shared) {}

void BaselineBatchCompiler::Enqueue(DirectHandle<SharedFunctionInfo> shared) {}

void BaselineBatchCompiler::InstallBatch() {}

void BaselineBatchCompiler::EnsureQueueCapacity() {}

void BaselineBatchCompiler::CompileBatch(DirectHandle<JSFunction> function) {}

void BaselineBatchCompiler::CompileBatchConcurrent(
    Tagged<SharedFunctionInfo> shared) {}

bool BaselineBatchCompiler::ShouldCompileBatch(
    Tagged<SharedFunctionInfo> shared) {}

bool BaselineBatchCompiler::MaybeCompileFunction(
    Tagged<MaybeObject> maybe_sfi) {}

void BaselineBatchCompiler::ClearBatch() {}

}  // namespace baseline
}  // namespace internal
}  // namespace v8