Skip to content

Commit

Permalink
Fixed an (old) issue with MemoryNotify helper function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Sep 29, 2023
1 parent fe14ee0 commit 7f2d168
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions lib/compiler-llvm/src/translator/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1110,19 +1110,34 @@ impl<'ctx> Intrinsics<'ctx> {
memory_notify: module.add_function(
"wasmer_vm_memory32_atomic_notify",
i32_ty.fn_type(
&[ctx_ptr_ty_basic_md, i32_ty_basic_md, i32_ty_basic_md],
&[
ctx_ptr_ty_basic_md,
i32_ty_basic_md,
i32_ty_basic_md,
i32_ty_basic_md,
],
false,
),
None,
),
memory_notify_ty: i32_ty.fn_type(
&[ctx_ptr_ty_basic_md, i32_ty_basic_md, i32_ty_basic_md],
&[
ctx_ptr_ty_basic_md,
i32_ty_basic_md,
i32_ty_basic_md,
i32_ty_basic_md,
],
false,
),
imported_memory_notify: module.add_function(
"wasmer_vm_imported_memory32_atomic_notify",
i32_ty.fn_type(
&[ctx_ptr_ty_basic_md, i32_ty_basic_md, i32_ty_basic_md],
&[
ctx_ptr_ty_basic_md,
i32_ty_basic_md,
i32_ty_basic_md,
i32_ty_basic_md,
],
false,
),
None,
Expand Down

0 comments on commit 7f2d168

Please sign in to comment.