mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-15 09:51:21 +00:00
Add implementations for typed func errors to cranelift and llvm
This commit is contained in:
@ -3,7 +3,8 @@ use crate::{
|
||||
error::CompileResult,
|
||||
error::RuntimeResult,
|
||||
module::ModuleInner,
|
||||
types::{FuncIndex, LocalFuncIndex, Value},
|
||||
typed_func::Wasm,
|
||||
types::{FuncIndex, LocalFuncIndex, SigIndex, Value},
|
||||
vm,
|
||||
};
|
||||
|
||||
@ -95,6 +96,8 @@ pub trait ProtectedCaller: Send + Sync {
|
||||
_: Token,
|
||||
) -> RuntimeResult<Vec<Value>>;
|
||||
|
||||
fn get_wasm_trampoline(&self, module: &ModuleInner, sig_index: SigIndex) -> Option<Wasm>;
|
||||
|
||||
fn get_early_trapper(&self) -> Box<dyn UserTrapper>;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user