v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
maglev.h
Go to the documentation of this file.
1
// Copyright 2022 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
#ifndef V8_MAGLEV_MAGLEV_H_
6
#define V8_MAGLEV_MAGLEV_H_
7
8
#ifdef V8_ENABLE_MAGLEV
9
10
#include "
src/handles/handles.h
"
11
12
namespace
v8
{
13
namespace
internal
{
14
15
class
BytecodeOffset;
16
class
Isolate;
17
class
JSFunction;
18
19
class
Maglev :
public
AllStatic {
20
public
:
21
// TODO(v8:7700): This entry point is only used for testing. Consider
22
// removing it once BenchMaglev runtime functions are no longer useful.
23
static
MaybeHandle<Code> Compile(Isolate* isolate,
24
Handle<JSFunction> function,
25
BytecodeOffset osr_offset);
26
};
27
28
}
// namespace internal
29
}
// namespace v8
30
31
#endif
// V8_ENABLE_MAGLEV
32
#endif
// V8_MAGLEV_MAGLEV_H_
handles.h
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
src
maglev
maglev.h
Generated on Sun Apr 6 2025 21:08:55 for v8 by
1.12.0