From 0ed42cf976ce9a3dfbe9cbb0885122e8fb6a377b Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Wed, 3 Jan 2024 14:59:38 -0800 Subject: 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. --- test/lit/passes/code-folding_enable-threads.wast | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/lit/passes/code-folding_enable-threads.wast') diff --git a/test/lit/passes/code-folding_enable-threads.wast b/test/lit/passes/code-folding_enable-threads.wast index 15b83f71b..487fbd3ac 100644 --- a/test/lit/passes/code-folding_enable-threads.wast +++ b/test/lit/passes/code-folding_enable-threads.wast @@ -262,8 +262,8 @@ (module ;; CHECK: (type $0 (func (result i32))) - ;; CHECK: (memory $0 (shared 1 1)) - (memory $0 (shared 1 1)) + ;; CHECK: (memory $0 1 1 shared) + (memory $0 1 1 shared) ;; CHECK: (export "func_2224" (func $0)) (export "func_2224" (func $0)) ;; CHECK: (func $0 (result i32) @@ -420,4 +420,3 @@ ) ) ) - -- cgit v1.2.3