#if !V8_ENABLE_WEBASSEMBLY
#error This header should only be included if WebAssembly is enabled.
#endif
#ifndef V8_COMPILER_TURBOSHAFT_WASM_TURBOSHAFT_COMPILER_H_
#define V8_COMPILER_TURBOSHAFT_WASM_TURBOSHAFT_COMPILER_H_
#include "src/codegen/compiler.h"
#include "src/codegen/optimized-compilation-info.h"
namespace v8::internal::wasm {
struct CompilationEnv;
struct WasmCompilationResult;
class WasmDetectedFeatures;
}
namespace v8::internal::compiler {
struct WasmCompilationData;
namespace turboshaft {
wasm::WasmCompilationResult ExecuteTurboshaftWasmCompilation(
wasm::CompilationEnv* env, WasmCompilationData& data,
wasm::WasmDetectedFeatures* detected);
class TurboshaftCompilationJob : public OptimizedCompilationJob { … };
}
}
#endif