8 #include <WAVM/Runtime/Intrinsics.h> 17 WAVM::Runtime::GCPointer<WAVM::Runtime::Instance> module_instance,
18 std::shared_ptr<const CompartmentWrapper> compartment,
19 WAVM::IR::MemoryType intrinsic_memory_type)
20 : module_instance_{std::move(module_instance)},
34 const std::string &name, WAVM::IR::FunctionType
const &type)
const {
36 WAVM::IR::FunctionType wasm_type{type.results(), type.params()};
IntrinsicModuleInstance(WAVM::Runtime::GCPointer< WAVM::Runtime::Instance > module_instance, std::shared_ptr< const CompartmentWrapper > compartment, WAVM::IR::MemoryType intrinsic_memory_type)
WAVM::Runtime::Function * getExportedFunction(const std::string &name, WAVM::IR::FunctionType const &type) const
const std::shared_ptr< const CompartmentWrapper > compartment_
WAVM::Runtime::GCPointer< WAVM::Runtime::Instance > module_instance_
WAVM::Runtime::Memory * getExportedMemory() const
static constexpr std::string_view kIntrinsicMemoryName
WAVM::IR::MemoryType intrinsic_memory_type_