Function wasmer_vm::instance::build_funcrefs

source ยท
fn build_funcrefs(
    module_info: &ModuleInfo,
    ctx: &StoreObjects,
    imports: &Imports,
    finished_functions: &BoxedSlice<LocalFunctionIndex, FunctionBodyPtr>,
    vmshared_signatures: &BoxedSlice<SignatureIndex, VMSharedSignatureIndex>,
    function_call_trampolines: &BoxedSlice<SignatureIndex, VMTrampoline>,
    vmctx_ptr: *mut VMContext,
) -> (BoxedSlice<LocalFunctionIndex, VMCallerCheckedAnyfunc>, BoxedSlice<FunctionIndex, NonNull<VMCallerCheckedAnyfunc>>)
Expand description

Eagerly builds all the VMFuncRefs for imported and local functions so that all future funcref operations are just looking up this data.