Helper function for getting the WASI module.
| 37 | |
| 38 | /// Helper function for getting the WASI module. |
| 39 | const Instance::ModuleInstance *getWASIModule() const noexcept { |
| 40 | if (Module) { |
| 41 | return Module->getWASIModule(); |
| 42 | } |
| 43 | return nullptr; |
| 44 | } |
| 45 | |
| 46 | /// Helper function for getting the memory instance by index from the module. |
| 47 | Instance::MemoryInstance *getMemoryByIndex(uint32_t Index) const noexcept { |
no outgoing calls
no test coverage detected