diff options
Diffstat (limited to 'test/passes')
11 files changed, 20 insertions, 20 deletions
diff --git a/test/passes/dwarf_with_exceptions.bin.txt b/test/passes/dwarf_with_exceptions.bin.txt index ebd6be03d..3878ba54e 100644 --- a/test/passes/dwarf_with_exceptions.bin.txt +++ b/test/passes/dwarf_with_exceptions.bin.txt @@ -8,7 +8,7 @@ (import "env" "_ZSt9terminatev" (func $std::terminate\28\29)) (global $__stack_pointer (mut i32) (i32.const 66560)) (memory $0 2) - (tag $tag$0 (attr 0) (param i32)) + (tag $tag$0 (param i32)) (export "memory" (memory $0)) (func $__wasm_call_ctors ) @@ -429,7 +429,7 @@ file_names[ 1]: (import "env" "_ZSt9terminatev" (func $std::terminate\28\29)) (global $__stack_pointer (mut i32) (i32.const 66560)) (memory $0 2) - (tag $tag$0 (attr 0) (param i32)) + (tag $tag$0 (param i32)) (export "memory" (memory $0)) (func $__wasm_call_ctors ) diff --git a/test/passes/metrics_all-features.txt b/test/passes/metrics_all-features.txt index d58bd54f9..255e809c2 100644 --- a/test/passes/metrics_all-features.txt +++ b/test/passes/metrics_all-features.txt @@ -23,8 +23,8 @@ total (data (i32.const 0) "\ff\ef\0f\1f 0@P\99") (table $0 256 256 funcref) (elem (i32.const 0) $ifs $ifs $ifs) - (tag $e0 (attr 0) (param i32)) - (tag $e1 (attr 0) (param i32 i32)) + (tag $e0 (param i32)) + (tag $e1 (param i32 i32)) (func $ifs (param $x i32) (local $y f32) (block $block0 diff --git a/test/passes/metrics_all-features.wast b/test/passes/metrics_all-features.wast index c5894fd67..68c13b9c2 100644 --- a/test/passes/metrics_all-features.wast +++ b/test/passes/metrics_all-features.wast @@ -5,8 +5,8 @@ (data (i32.const 0) "\ff\ef\0f\1f\20\30\40\50\99") (type $0 (func (param i32))) (global $glob i32 (i32.const 1337)) - (tag $e0 (attr 0) (param i32)) - (tag $e1 (attr 0) (param i32 i32)) + (tag $e0 (param i32)) + (tag $e1 (param i32 i32)) (func $ifs (type $0) (param $x i32) (local $y f32) (block $block0 diff --git a/test/passes/minify-imports-and-exports_all-features.txt b/test/passes/minify-imports-and-exports_all-features.txt index 8336e47c6..8d99fbbf2 100644 --- a/test/passes/minify-imports-and-exports_all-features.txt +++ b/test/passes/minify-imports-and-exports_all-features.txt @@ -10014,8 +10014,8 @@ longname4880 => zza (import "other" "anything" (func $internalInfinity)) (import "wasi_unstable" "f" (func $internal3_wasi)) (import "wasi_unstable" "LBa" (func $internal3_wasi_only)) - (import "env" "MBa" (tag $tagname1 (attr 0) (param i32))) - (tag $tag1 (attr 0) (param i32 i32)) + (import "env" "MBa" (tag $tagname1 (param i32))) + (tag $tag1 (param i32 i32)) (export "NBa" (func $foo1)) (export "OBa" (func $foo2)) (export "PBa" (tag $tag1)) diff --git a/test/passes/minify-imports-and-exports_all-features.wast b/test/passes/minify-imports-and-exports_all-features.wast index 169bb881d..308b8bde4 100644 --- a/test/passes/minify-imports-and-exports_all-features.wast +++ b/test/passes/minify-imports-and-exports_all-features.wast @@ -5002,7 +5002,7 @@ (import "env" "__memory_base" (global i32)) (import "env" "__table_base" (global i32)) (import "other" "anything" (func $internalInfinity)) - (import "env" "tagname1" (tag $tagname1 (attr 0) (param i32))) + (import "env" "tagname1" (tag $tagname1 (param i32))) (import "wasi_unstable" "longname3" (func $internal3_wasi)) ;; overlapping base (import "wasi_unstable" "longname3-only" (func $internal3_wasi_only)) (export "exp1" (func $foo1)) @@ -5010,5 +5010,5 @@ (func $foo1) (func $foo2) (export "tag1" (tag $tag1)) - (tag $tag1 (attr 0) (param i32 i32)) + (tag $tag1 (param i32 i32)) ) diff --git a/test/passes/minify-imports_all-features.txt b/test/passes/minify-imports_all-features.txt index 529fac5be..8b5d93c81 100644 --- a/test/passes/minify-imports_all-features.txt +++ b/test/passes/minify-imports_all-features.txt @@ -10008,8 +10008,8 @@ longname4880 => zza (import "env" "JBa" (func $internal4998)) (import "env" "KBa" (func $internal4999)) (import "other" "anything" (func $internalInfinity)) - (import "env" "LBa" (tag $tagname1 (attr 0) (param i32))) - (tag $tag1 (attr 0) (param i32 i32)) + (import "env" "LBa" (tag $tagname1 (param i32))) + (tag $tag1 (param i32 i32)) (export "foo1" (func $foo1)) (export "foo2" (func $foo2)) (export "tag1" (tag $tag1)) diff --git a/test/passes/minify-imports_all-features.wast b/test/passes/minify-imports_all-features.wast index ba16241cf..1cb07de62 100644 --- a/test/passes/minify-imports_all-features.wast +++ b/test/passes/minify-imports_all-features.wast @@ -5002,11 +5002,11 @@ (import "env" "__memory_base" (global i32)) (import "env" "__table_base" (global i32)) (import "other" "anything" (func $internalInfinity)) - (import "env" "tagname1" (tag $tagname1 (attr 0) (param i32))) + (import "env" "tagname1" (tag $tagname1 (param i32))) (export "foo1" (func $foo1)) (export "foo2" (func $foo2)) (export "tag1" (tag $tag1)) (func $foo1) (func $foo2) - (tag $tag1 (attr 0) (param i32 i32)) + (tag $tag1 (param i32 i32)) ) diff --git a/test/passes/remove-unused-names_merge-blocks_all-features.txt b/test/passes/remove-unused-names_merge-blocks_all-features.txt index 206373db6..13836b3e0 100644 --- a/test/passes/remove-unused-names_merge-blocks_all-features.txt +++ b/test/passes/remove-unused-names_merge-blocks_all-features.txt @@ -1700,7 +1700,7 @@ (module (type $none_=>_none (func)) (type $i32_=>_none (func (param i32))) - (tag $e (attr 0) (param i32)) + (tag $e (param i32)) (func $foo (nop) ) diff --git a/test/passes/remove-unused-names_merge-blocks_all-features.wast b/test/passes/remove-unused-names_merge-blocks_all-features.wast index 2e9af253c..3ec2768e0 100644 --- a/test/passes/remove-unused-names_merge-blocks_all-features.wast +++ b/test/passes/remove-unused-names_merge-blocks_all-features.wast @@ -1558,7 +1558,7 @@ ) (module - (tag $e (attr 0) (param i32)) + (tag $e (param i32)) (func $foo) ;; 'nop' within 'block' of `throw' can be hoisted diff --git a/test/passes/remove-unused-nonfunction-module-elements_all-features.txt b/test/passes/remove-unused-nonfunction-module-elements_all-features.txt index f124d5c04..a767fccb1 100644 --- a/test/passes/remove-unused-nonfunction-module-elements_all-features.txt +++ b/test/passes/remove-unused-nonfunction-module-elements_all-features.txt @@ -332,7 +332,7 @@ (module (type $i64_=>_none (func (param i64))) (type $0 (func (param i32))) - (tag $e1 (attr 0) (param i64)) + (tag $e1 (param i64)) (export "e1" (tag $e1)) (func $f (param $0 i32) (nop) diff --git a/test/passes/remove-unused-nonfunction-module-elements_all-features.wast b/test/passes/remove-unused-nonfunction-module-elements_all-features.wast index 346acf432..057088798 100644 --- a/test/passes/remove-unused-nonfunction-module-elements_all-features.wast +++ b/test/passes/remove-unused-nonfunction-module-elements_all-features.wast @@ -263,9 +263,9 @@ ) (module ;; non-exported tags can be removed (type $0 (func (param i32))) - (tag $e0 (attr 0) (type $0)) - (tag $e1 (attr 0) (param i64)) + (tag $e0 (type $0)) + (tag $e1 (param i64)) (export "e1" (tag $e1)) - (import "env" "e" (tag $e2 (attr 0) (param i32))) + (import "env" "e" (tag $e2 (param i32))) (func $f (; 0 ;) (type $0)) ) |