diff options
author | Thomas Lively <tlively@google.com> | 2024-01-03 14:59:38 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-03 14:59:38 -0800 |
commit | 0ed42cf976ce9a3dfbe9cbb0885122e8fb6a377b (patch) | |
tree | b7969243a22e1878f37a8d02336ac81fd5fb7e33 /test/lit/passes/optimize-instructions-atomics.wast | |
parent | 1878403ec9c4382ab51ca72257f4d97a23a1fc0d (diff) | |
download | binaryen-0ed42cf976ce9a3dfbe9cbb0885122e8fb6a377b.tar.gz binaryen-0ed42cf976ce9a3dfbe9cbb0885122e8fb6a377b.tar.bz2 binaryen-0ed42cf976ce9a3dfbe9cbb0885122e8fb6a377b.zip |
Use the standard shared memory text format (#6200)
Update the legacy text parser and all tests to use the standard text format for shared memories, e.g. `(memory $m 1 1 shared)` rather than `(memory $m (shared 1 1))`. Also remove support for non-standard in-line "data" or "segment" declarations.
This change makes the tests more compatible with the new text parser, which only supports the standard format.
Diffstat (limited to 'test/lit/passes/optimize-instructions-atomics.wast')
-rw-r--r-- | test/lit/passes/optimize-instructions-atomics.wast | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lit/passes/optimize-instructions-atomics.wast b/test/lit/passes/optimize-instructions-atomics.wast index 29037186d..e59c6a4e7 100644 --- a/test/lit/passes/optimize-instructions-atomics.wast +++ b/test/lit/passes/optimize-instructions-atomics.wast @@ -2,8 +2,8 @@ ;; RUN: wasm-opt %s --optimize-instructions --enable-threads -S -o - | filecheck %s (module - ;; CHECK: (import "env" "memory" (memory $0 (shared 256 256))) - (import "env" "memory" (memory $0 (shared 256 256))) + ;; CHECK: (import "env" "memory" (memory $0 256 256 shared)) + (import "env" "memory" (memory $0 256 256 shared)) ;; CHECK: (func $x ;; CHECK-NEXT: (drop |