V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
graph-builder-interface.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_GRAPH_BUILDER_INTERFACE_H_
6 #define V8_WASM_GRAPH_BUILDER_INTERFACE_H_
7 
8 #include "src/wasm/decoder.h"
9 #include "src/wasm/wasm-opcodes.h"
10 #include "src/wasm/wasm-result.h"
11 
12 namespace v8 {
13 namespace internal {
14 
15 namespace compiler { // external declarations from compiler.
16 class NodeOriginTable;
17 class WasmGraphBuilder;
18 } // namespace compiler
19 
20 namespace wasm {
21 
22 struct FunctionBody;
23 struct WasmModule;
24 struct WasmFeatures;
25 
26 DecodeResult BuildTFGraph(AccountingAllocator* allocator,
27  const WasmFeatures& enabled, const WasmModule* module,
28  compiler::WasmGraphBuilder* builder,
29  WasmFeatures* detected, const FunctionBody& body,
30  compiler::NodeOriginTable* node_origins);
31 
32 } // namespace wasm
33 } // namespace internal
34 } // namespace v8
35 
36 #endif // V8_WASM_GRAPH_BUILDER_INTERFACE_H_
Definition: libplatform.h:13