#include <intrinsic_module.hpp>
Definition at line 19 of file intrinsic_module.hpp.
kagome::runtime::wavm::IntrinsicModule::IntrinsicModule |
( |
std::shared_ptr< CompartmentWrapper > |
compartment, |
|
|
WAVM::IR::MemoryType |
intrinsic_memory_type |
|
) |
| |
|
inlineexplicit |
kagome::runtime::wavm::IntrinsicModule::IntrinsicModule |
( |
IntrinsicModule & |
module, |
|
|
WAVM::IR::MemoryType |
intrinsic_memory_type |
|
) |
| |
|
inline |
template<typename Ret , typename... Args>
void kagome::runtime::wavm::IntrinsicModule::addFunction |
( |
std::string_view |
name, |
|
|
Ret(*)(WAVM::Runtime::ContextRuntimeData *, Args...) |
f, |
|
|
WAVM::IR::FunctionType |
type |
|
) |
| |
|
inline |
std::unordered_map<std::string, std::unique_ptr<WAVM::Intrinsics::Function> > kagome::runtime::wavm::IntrinsicModule::functions_ |
|
private |
WAVM::IR::MemoryType kagome::runtime::wavm::IntrinsicModule::intrinsic_memory_type_ |
|
private |
constexpr std::string_view kagome::runtime::wavm::IntrinsicModule::kIntrinsicMemoryName = "Runtime Memory" |
|
static |
WAVM::Intrinsics::Memory kagome::runtime::wavm::IntrinsicModule::memory_ |
|
private |
WAVM::Intrinsics::Module kagome::runtime::wavm::IntrinsicModule::module_ |
|
private |
The documentation for this class was generated from the following file: