#if !V8_ENABLE_WEBASSEMBLY
#error This header should only be included if WebAssembly is enabled.
#endif
#ifndef V8_WASM_WASM_CODE_MANAGER_H_
#define V8_WASM_WASM_CODE_MANAGER_H_
#include <atomic>
#include <map>
#include <memory>
#include <set>
#include <utility>
#include <vector>
#include "src/base/address-region.h"
#include "src/base/bit-field.h"
#include "src/base/macros.h"
#include "src/base/vector.h"
#include "src/builtins/builtins.h"
#include "src/codegen/safepoint-table.h"
#include "src/codegen/source-position.h"
#include "src/handles/handles.h"
#include "src/tasks/operations-barrier.h"
#include "src/trap-handler/trap-handler.h"
#include "src/wasm/compilation-environment.h"
#include "src/wasm/wasm-features.h"
#include "src/wasm/wasm-limits.h"
#include "src/wasm/wasm-module-sourcemap.h"
#include "src/wasm/wasm-tier.h"
namespace v8 {
class CFunctionInfo;
namespace internal {
class InstructionStream;
class CodeDesc;
class Isolate;
namespace wasm {
class AssumptionsJournal;
class DebugInfo;
class NamesProvider;
class NativeModule;
struct WasmCompilationResult;
class WasmEngine;
class WasmImportWrapperCache;
struct WasmModule;
enum class WellKnownImport : uint8_t;
class V8_EXPORT_PRIVATE DisjointAllocationPool final { … };
class V8_EXPORT_PRIVATE WasmCode final { … };
WasmCode::Kind GetCodeKind(const WasmCompilationResult& result);
const char* GetWasmCodeKindAsString(WasmCode::Kind);
class WasmCodeAllocator { … };
class V8_EXPORT_PRIVATE NativeModule final { … };
class V8_EXPORT_PRIVATE WasmCodeManager final { … };
class V8_EXPORT_PRIVATE V8_NODISCARD WasmCodeRefScope { … };
class GlobalWasmCodeRef { … };
class WasmCodeLookupCache final { … };
}
}
}
#endif