mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-25 01:39:26 +00:00
Fix vmctx passed to direct calls of imported functions.
This commit is contained in:
@ -2335,7 +2335,7 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
|
||||
let vmctx_ptr_ptr = builder
|
||||
.build_struct_gep(
|
||||
vmfunction_import_ptr,
|
||||
intrinsics.vmfunction_import_body_element,
|
||||
intrinsics.vmfunction_import_vmctx_element,
|
||||
"",
|
||||
)
|
||||
.unwrap();
|
||||
|
Reference in New Issue
Block a user