summaryrefslogtreecommitdiff
path: root/test/passes/safe-heap_enable-threads_enable-simd.txt
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-01-03 14:59:38 -0800
committerGitHub <noreply@github.com>2024-01-03 14:59:38 -0800
commit0ed42cf976ce9a3dfbe9cbb0885122e8fb6a377b (patch)
treeb7969243a22e1878f37a8d02336ac81fd5fb7e33 /test/passes/safe-heap_enable-threads_enable-simd.txt
parent1878403ec9c4382ab51ca72257f4d97a23a1fc0d (diff)
downloadbinaryen-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/passes/safe-heap_enable-threads_enable-simd.txt')
-rw-r--r--test/passes/safe-heap_enable-threads_enable-simd.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/passes/safe-heap_enable-threads_enable-simd.txt b/test/passes/safe-heap_enable-threads_enable-simd.txt
index 3d00dc96d..c1f811007 100644
--- a/test/passes/safe-heap_enable-threads_enable-simd.txt
+++ b/test/passes/safe-heap_enable-threads_enable-simd.txt
@@ -14,7 +14,7 @@
(import "env" "emscripten_get_sbrk_ptr" (func $emscripten_get_sbrk_ptr (result i32)))
(import "env" "segfault" (func $segfault))
(import "env" "alignfault" (func $alignfault))
- (memory $0 (shared 100 100))
+ (memory $0 100 100 shared)
(func $loads
(drop
(call $SAFE_HEAP_LOAD_i32_4_4
@@ -5441,7 +5441,7 @@
(import "env" "segfault" (func $segfault))
(import "env" "alignfault" (func $alignfault))
(import "env" "emscripten_get_sbrk_ptr" (func $emscripten_get_sbrk_ptr (result i32)))
- (memory $0 (shared 100 100))
+ (memory $0 100 100 shared)
(func $actions
(drop
(call $SAFE_HEAP_LOAD_i32_4_4