mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-30 12:19:28 +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
|
let vmctx_ptr_ptr = builder
|
||||||
.build_struct_gep(
|
.build_struct_gep(
|
||||||
vmfunction_import_ptr,
|
vmfunction_import_ptr,
|
||||||
intrinsics.vmfunction_import_body_element,
|
intrinsics.vmfunction_import_vmctx_element,
|
||||||
"",
|
"",
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
Reference in New Issue
Block a user