Fix WebAssembly Atomic intrinsic names (#1093)
Due to commit 902ea588eab849e7254d3bc76abf32d833ac0dd6 in the llvm-project i32.atomic.wait and i64.atomic.wait got renamed to memory.atomic.wait32 and memory.atomic.wait64.
This commit is contained in:
parent
63facc4b68
commit
c987d91239
1 changed files with 2 additions and 2 deletions
|
|
@ -12,9 +12,9 @@
|
|||
use stdarch_test::assert_instr;
|
||||
|
||||
extern "C" {
|
||||
#[link_name = "llvm.wasm.memory.atomic.wait.i32"]
|
||||
#[link_name = "llvm.wasm.memory.atomic.wait32"]
|
||||
fn llvm_atomic_wait_i32(ptr: *mut i32, exp: i32, timeout: i64) -> i32;
|
||||
#[link_name = "llvm.wasm.memory.atomic.wait.i64"]
|
||||
#[link_name = "llvm.wasm.memory.atomic.wait64"]
|
||||
fn llvm_atomic_wait_i64(ptr: *mut i64, exp: i64, timeout: i64) -> i32;
|
||||
#[link_name = "llvm.wasm.memory.atomic.notify"]
|
||||
fn llvm_atomic_notify(ptr: *mut i32, cnt: i32) -> i32;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue