mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-14 17:31:20 +00:00
State representation.
This commit is contained in:
@ -4,6 +4,7 @@ use crate::{
|
||||
typed_func::Wasm,
|
||||
types::{LocalFuncIndex, SigIndex},
|
||||
vm,
|
||||
state::FunctionStateMap,
|
||||
};
|
||||
|
||||
use crate::{
|
||||
@ -84,6 +85,11 @@ pub trait RunnableModule: Send + Sync {
|
||||
local_func_index: LocalFuncIndex,
|
||||
) -> Option<NonNull<vm::Func>>;
|
||||
|
||||
fn get_func_statemap(
|
||||
&self,
|
||||
_local_func_index: LocalFuncIndex,
|
||||
) -> Option<FunctionStateMap> { None }
|
||||
|
||||
/// A wasm trampoline contains the necesarry data to dynamically call an exported wasm function.
|
||||
/// Given a particular signature index, we are returned a trampoline that is matched with that
|
||||
/// signature and an invoke function that can call the trampoline.
|
||||
|
Reference in New Issue
Block a user