mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-17 10:51:21 +00:00
Fix more compiling issues
Specifically: - Don't truncate the list of local parameters. - If the default destination in a br_table instruction is a loop, don't pop any results.
This commit is contained in:
@ -266,7 +266,6 @@ impl FuncResolver for LLVMBackend {
|
||||
module: &ModuleInner,
|
||||
local_func_index: LocalFuncIndex,
|
||||
) -> Option<NonNull<vm::Func>> {
|
||||
unimplemented!();
|
||||
self.get_func(&module.info, local_func_index)
|
||||
}
|
||||
}
|
||||
@ -290,7 +289,6 @@ impl ProtectedCaller for LLVMProtectedCaller {
|
||||
vmctx: *mut vm::Ctx,
|
||||
_: Token,
|
||||
) -> RuntimeResult<Vec<Value>> {
|
||||
unimplemented!();
|
||||
let (func_ptr, ctx, signature, sig_index) =
|
||||
get_func_from_index(&module, import_backing, func_index);
|
||||
|
||||
|
Reference in New Issue
Block a user