diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-08-27 16:40:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-27 16:40:59 -0700 |
commit | cb0b31a2d185f18662814c9f3c9158b2eea74760 (patch) | |
tree | 4fe23ff2abb08af7a804f6e6755b07454f79f45d /test/binaryen.js/exception-handling.js.txt | |
parent | f070e8c10a15a02735fbd9b88c4c569a8c786933 (diff) | |
download | binaryen-cb0b31a2d185f18662814c9f3c9158b2eea74760.tar.gz binaryen-cb0b31a2d185f18662814c9f3c9158b2eea74760.tar.bz2 binaryen-cb0b31a2d185f18662814c9f3c9158b2eea74760.zip |
Add atomic.fence instruction (#2307)
This adds `atomic.fence` instruction:
https://github.com/WebAssembly/threads/blob/master/proposals/threads/Overview.md#fence-operator
This also fix bugs in `atomic.wait` and `atomic.notify` instructions in
binaryen.js and adds tests for them.
Diffstat (limited to 'test/binaryen.js/exception-handling.js.txt')
-rw-r--r-- | test/binaryen.js/exception-handling.js.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/binaryen.js/exception-handling.js.txt b/test/binaryen.js/exception-handling.js.txt index cdf45aeaa..463743ff6 100644 --- a/test/binaryen.js/exception-handling.js.txt +++ b/test/binaryen.js/exception-handling.js.txt @@ -26,7 +26,7 @@ ) ) -getExpressionInfo(throw) = {"id":39,"type":8,"event":"e"} -getExpressionInfo(br_on_exn) = {"id":41,"type":7,"name":"l","event":"e"} -getExpressionInfo(rethrow) = {"id":40,"type":8} -getExpressionInfo(try) = {"id":38,"type":0} +getExpressionInfo(throw) = {"id":40,"type":8,"event":"e"} +getExpressionInfo(br_on_exn) = {"id":42,"type":7,"name":"l","event":"e"} +getExpressionInfo(rethrow) = {"id":41,"type":8} +getExpressionInfo(try) = {"id":39,"type":0} |