#if !V8_ENABLE_WEBASSEMBLY
#error This header should only be included if WebAssembly is enabled.
#endif
#ifndef V8_COMPILER_TURBOSHAFT_WASM_ASSEMBLER_HELPERS_H_
#define V8_COMPILER_TURBOSHAFT_WASM_ASSEMBLER_HELPERS_H_
#include "src/compiler/turboshaft/operations.h"
#include "src/roots/roots.h"
namespace v8::internal::compiler::turboshaft {
struct RootTypes { … };
template <typename AssemblerT>
OpIndex LoadRootHelper(AssemblerT&& assembler, RootIndex index) { … }
#define LOAD_INSTANCE_FIELD …
#define LOAD_PROTECTED_INSTANCE_FIELD(instance, name, type) …
#define LOAD_IMMUTABLE_PROTECTED_INSTANCE_FIELD(instance, name, type) …
#define LOAD_IMMUTABLE_INSTANCE_FIELD …
#define LOAD_ROOT …
}
#endif