V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
liftoff-compiler.h
1
// Copyright 2018 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_WASM_BASELINE_LIFTOFF_COMPILER_H_
6
#define V8_WASM_BASELINE_LIFTOFF_COMPILER_H_
7
8
#include "src/base/macros.h"
9
10
namespace
v8
{
11
namespace
internal {
12
13
class
Counters;
14
15
namespace
wasm {
16
17
struct
CompilationEnv;
18
struct
FunctionBody;
19
class
WasmCompilationUnit;
20
struct
WasmFeatures;
21
22
class
LiftoffCompilationUnit
final {
23
public
:
24
explicit
LiftoffCompilationUnit
(
WasmCompilationUnit
* wasm_unit)
25
: wasm_unit_(wasm_unit) {}
26
27
bool
ExecuteCompilation(
CompilationEnv
*,
const
FunctionBody
&,
Counters
*,
28
WasmFeatures
* detected);
29
30
private
:
31
WasmCompilationUnit
*
const
wasm_unit_;
32
33
DISALLOW_COPY_AND_ASSIGN(
LiftoffCompilationUnit
);
34
};
35
36
}
// namespace wasm
37
}
// namespace internal
38
}
// namespace v8
39
40
#endif // V8_WASM_BASELINE_LIFTOFF_COMPILER_H_
v8::internal::wasm::WasmFeatures
Definition:
wasm-features.h:29
v8::internal::wasm::CompilationEnv
Definition:
compilation-environment.h:29
v8
Definition:
libplatform.h:13
v8::internal::wasm::WasmCompilationUnit
Definition:
function-compiler.h:31
v8::internal::wasm::LiftoffCompilationUnit
Definition:
liftoff-compiler.h:22
v8::internal::wasm::FunctionBody
Definition:
function-body-decoder.h:26
v8::internal::Counters
Definition:
counters.h:1477
v8
src
wasm
baseline
liftoff-compiler.h
Generated on Tue Dec 25 2018 14:39:58 by
1.8.14