summaryrefslogtreecommitdiff
path: root/test/atomics.wast.fromBinary
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2020-11-13 15:54:08 -0800
committerGitHub <noreply@github.com>2020-11-13 15:54:08 -0800
commit75e61204b67e921464af14fd13ff768d88755e8c (patch)
tree969ddb2e4e2870fef662375914f16fc50713cd4c /test/atomics.wast.fromBinary
parentcc2b3e4175a6edc53487eec06da13b39eb66716b (diff)
downloadbinaryen-75e61204b67e921464af14fd13ff768d88755e8c.tar.gz
binaryen-75e61204b67e921464af14fd13ff768d88755e8c.tar.bz2
binaryen-75e61204b67e921464af14fd13ff768d88755e8c.zip
Rename atomic.notify and *.atomic.wait (#3353)
- atomic.notify -> memory.atomic.notify - i32.atomic.wait -> memory.atomic.wait32 - i64.atomic.wait -> memory.atomic.wait64 See WebAssembly/threads#149. This renames instruction name printing but not the internal data structure names, such as `AtomicNotify`, which are not always the same as printed instruction names anyway. This also does not modify C API. But this fixes interface functions in binaryen.js because it seems binaryen.js's interface functions all follow the corresponding instruction names.
Diffstat (limited to 'test/atomics.wast.fromBinary')
-rw-r--r--test/atomics.wast.fromBinary12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/atomics.wast.fromBinary b/test/atomics.wast.fromBinary
index 2710c58d5..c9ce94c70 100644
--- a/test/atomics.wast.fromBinary
+++ b/test/atomics.wast.fromBinary
@@ -138,40 +138,40 @@
(local $0 i32)
(local $1 i64)
(drop
- (i32.atomic.wait
+ (memory.atomic.wait32
(local.get $0)
(local.get $0)
(local.get $1)
)
)
(drop
- (i32.atomic.wait offset=4
+ (memory.atomic.wait32 offset=4
(local.get $0)
(local.get $0)
(local.get $1)
)
)
(drop
- (atomic.notify
+ (memory.atomic.notify
(local.get $0)
(local.get $0)
)
)
(drop
- (atomic.notify offset=24
+ (memory.atomic.notify offset=24
(local.get $0)
(local.get $0)
)
)
(drop
- (i64.atomic.wait
+ (memory.atomic.wait64
(local.get $0)
(local.get $1)
(local.get $1)
)
)
(drop
- (i64.atomic.wait offset=16
+ (memory.atomic.wait64 offset=16
(local.get $0)
(local.get $1)
(local.get $1)