#if !V8_ENABLE_WEBASSEMBLY
#error This header should only be included if WebAssembly is enabled.
#endif
#ifndef V8_WASM_GRAPH_BUILDER_INTERFACE_H_
#define V8_WASM_GRAPH_BUILDER_INTERFACE_H_
#include "src/wasm/decoder.h"
#include "src/wasm/wasm-result.h"
namespace v8 {
namespace internal {
class AccountingAllocator;
namespace compiler {
class Node;
class NodeOriginTable;
class WasmGraphBuilder;
struct WasmLoopInfo;
}
namespace wasm {
class AssumptionsJournal;
struct FunctionBody;
class WasmDetectedFeatures;
class WasmEnabledFeatures;
struct WasmModule;
enum InlinedStatus { … };
struct DanglingExceptions { … };
V8_EXPORT_PRIVATE void BuildTFGraph(
AccountingAllocator* allocator, WasmEnabledFeatures enabled,
const WasmModule* module, compiler::WasmGraphBuilder* builder,
WasmDetectedFeatures* detected, const FunctionBody& body,
std::vector<compiler::WasmLoopInfo>* loop_infos,
DanglingExceptions* dangling_exceptions,
compiler::NodeOriginTable* node_origins, int func_index,
AssumptionsJournal* assumptions, InlinedStatus inlined_status);
}
}
}
#endif