v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
turbofan-disabled.cc
Go to the documentation of this file.
1
// Copyright 2023 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
//
5
// This file stubs out the Turbofan API when TF is disabled.
6
// See also v8_enable_turbofan in BUILD.gn.
7
8
#include "
src/codegen/compiler.h
"
9
#include "
src/compiler/turbofan.h
"
10
11
namespace
v8
{
12
namespace
internal
{
13
namespace
compiler {
14
15
std::unique_ptr<TurbofanCompilationJob>
NewCompilationJob
(
16
Isolate
* isolate,
Handle<JSFunction>
function,
IsScriptAvailable
has_script,
17
BytecodeOffset
osr_offset) {
18
FATAL
(
19
"compiler::NewCompilationJob must not be called when Turbofan is "
20
"disabled (`v8_enable_turbofan = false`)"
);
21
}
22
23
}
// namespace compiler
24
}
// namespace internal
25
}
// namespace v8
v8::internal::BytecodeOffset
Definition
utils.h:670
v8::internal::Handle
Definition
handles.h:149
v8::internal::Isolate
Definition
isolate.h:586
compiler.h
v8::internal::compiler::NewCompilationJob
std::unique_ptr< TurbofanCompilationJob > NewCompilationJob(Isolate *isolate, Handle< JSFunction > function, IsScriptAvailable has_script, BytecodeOffset osr_offset)
Definition
turbofan-disabled.cc:15
v8::internal::compiler::IsScriptAvailable
IsScriptAvailable
Definition
turbofan.h:26
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
FATAL
#define FATAL(...)
Definition
logging.h:47
turbofan.h
src
compiler
turbofan-disabled.cc
Generated on Sun Apr 6 2025 21:08:52 for v8 by
1.12.0