diff options
author | Ben Smith <binjimin@gmail.com> | 2017-10-26 14:09:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 14:09:28 -0700 |
commit | b230d2f7d23d1c03aa4acf5f7de11e3865bb3727 (patch) | |
tree | 9a4fa284fc19f8bbd400fd9094b4640d6fb5bbbf /test/interp | |
parent | 2adfb2bf04c1fd47a5a556779f76c799cf15e5a5 (diff) | |
download | wabt-b230d2f7d23d1c03aa4acf5f7de11e3865bb3727.tar.gz wabt-b230d2f7d23d1c03aa4acf5f7de11e3865bb3727.tar.bz2 wabt-b230d2f7d23d1c03aa4acf5f7de11e3865bb3727.zip |
Change shared memory text syntax (#661)
This used to be `(shared <min> <max>)` and is now `<min> <max> shared`.
See https://github.com/WebAssembly/threads/pull/74.
Diffstat (limited to 'test/interp')
-rw-r--r-- | test/interp/atomic-load.txt | 2 | ||||
-rw-r--r-- | test/interp/atomic-rmw-add.txt | 2 | ||||
-rw-r--r-- | test/interp/atomic-rmw-and.txt | 2 | ||||
-rw-r--r-- | test/interp/atomic-rmw-cmpxchg.txt | 2 | ||||
-rw-r--r-- | test/interp/atomic-rmw-or.txt | 2 | ||||
-rw-r--r-- | test/interp/atomic-rmw-sub.txt | 2 | ||||
-rw-r--r-- | test/interp/atomic-rmw-xchg.txt | 2 | ||||
-rw-r--r-- | test/interp/atomic-rmw-xor.txt | 2 | ||||
-rw-r--r-- | test/interp/atomic-store.txt | 2 | ||||
-rw-r--r-- | test/interp/logging-all-opcodes.txt | 2 | ||||
-rw-r--r-- | test/interp/tracing-all-opcodes.txt | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/test/interp/atomic-load.txt b/test/interp/atomic-load.txt index 75d186ce..b37a82f0 100644 --- a/test/interp/atomic-load.txt +++ b/test/interp/atomic-load.txt @@ -1,7 +1,7 @@ ;;; TOOL: run-interp ;;; FLAGS: --enable-threads (module - (memory (shared 1 1)) + (memory 1 1 shared) (data (i32.const 0) "\ff\ff\ff\ff") (data (i32.const 4) "\00\00\ce\41") (data (i32.const 8) "\00\00\00\00\00\ff\8f\40") diff --git a/test/interp/atomic-rmw-add.txt b/test/interp/atomic-rmw-add.txt index 0a04e7c6..42238dbd 100644 --- a/test/interp/atomic-rmw-add.txt +++ b/test/interp/atomic-rmw-add.txt @@ -1,7 +1,7 @@ ;;; TOOL: run-interp ;;; FLAGS: --enable-threads (module - (memory (shared 1 1)) + (memory 1 1 shared) ;; i32 diff --git a/test/interp/atomic-rmw-and.txt b/test/interp/atomic-rmw-and.txt index d69b1899..ce553489 100644 --- a/test/interp/atomic-rmw-and.txt +++ b/test/interp/atomic-rmw-and.txt @@ -1,7 +1,7 @@ ;;; TOOL: run-interp ;;; FLAGS: --enable-threads (module - (memory (shared 1 1)) + (memory 1 1 shared) ;; i32 diff --git a/test/interp/atomic-rmw-cmpxchg.txt b/test/interp/atomic-rmw-cmpxchg.txt index 83c9e7a5..bddc935a 100644 --- a/test/interp/atomic-rmw-cmpxchg.txt +++ b/test/interp/atomic-rmw-cmpxchg.txt @@ -1,7 +1,7 @@ ;;; FLAGS: --enable-threads ;;; TOOL: run-interp (module - (memory (shared 1 1)) + (memory 1 1 shared) ;; i32 diff --git a/test/interp/atomic-rmw-or.txt b/test/interp/atomic-rmw-or.txt index 24945640..3f31fd6b 100644 --- a/test/interp/atomic-rmw-or.txt +++ b/test/interp/atomic-rmw-or.txt @@ -1,7 +1,7 @@ ;;; TOOL: run-interp ;;; FLAGS: --enable-threads (module - (memory (shared 1 1)) + (memory 1 1 shared) ;; i32 diff --git a/test/interp/atomic-rmw-sub.txt b/test/interp/atomic-rmw-sub.txt index 27e6c325..3d4f05d5 100644 --- a/test/interp/atomic-rmw-sub.txt +++ b/test/interp/atomic-rmw-sub.txt @@ -1,7 +1,7 @@ ;;; TOOL: run-interp ;;; FLAGS: --enable-threads (module - (memory (shared 1 1)) + (memory 1 1 shared) ;; i32 diff --git a/test/interp/atomic-rmw-xchg.txt b/test/interp/atomic-rmw-xchg.txt index 40b0de70..cf7b763c 100644 --- a/test/interp/atomic-rmw-xchg.txt +++ b/test/interp/atomic-rmw-xchg.txt @@ -1,7 +1,7 @@ ;;; TOOL: run-interp ;;; FLAGS: --enable-threads (module - (memory (shared 1 1)) + (memory 1 1 shared) ;; i32 diff --git a/test/interp/atomic-rmw-xor.txt b/test/interp/atomic-rmw-xor.txt index a2839b1d..cb8a2482 100644 --- a/test/interp/atomic-rmw-xor.txt +++ b/test/interp/atomic-rmw-xor.txt @@ -1,7 +1,7 @@ ;;; TOOL: run-interp ;;; FLAGS: --enable-threads (module - (memory (shared 1 1)) + (memory 1 1 shared) ;; i32 diff --git a/test/interp/atomic-store.txt b/test/interp/atomic-store.txt index 45107d8a..4f3c4315 100644 --- a/test/interp/atomic-store.txt +++ b/test/interp/atomic-store.txt @@ -1,7 +1,7 @@ ;;; TOOL: run-interp ;;; FLAGS: --enable-threads (module - (memory (shared 1 1)) + (memory 1 1 shared) (func (export "i32.atomic.store8") (result i32) i32.const 0 i32.const 0xfb i32.atomic.store8 diff --git a/test/interp/logging-all-opcodes.txt b/test/interp/logging-all-opcodes.txt index 2756c42c..341b2171 100644 --- a/test/interp/logging-all-opcodes.txt +++ b/test/interp/logging-all-opcodes.txt @@ -6,7 +6,7 @@ (type $empty (func)) (func $empty) - (memory (shared 1 1)) + (memory 1 1 shared) (table anyfunc (elem $empty $empty)) (global $g (mut i32) (i32.const 0)) diff --git a/test/interp/tracing-all-opcodes.txt b/test/interp/tracing-all-opcodes.txt index d23cf538..2d112822 100644 --- a/test/interp/tracing-all-opcodes.txt +++ b/test/interp/tracing-all-opcodes.txt @@ -6,7 +6,7 @@ (type $empty (func)) (func $empty) - (memory (shared 1 1)) + (memory 1 1 shared) (table anyfunc (elem $empty $empty)) (global $g (mut i32) (i32.const 0)) |