diff options
Diffstat (limited to 'test/merge')
28 files changed, 72 insertions, 72 deletions
diff --git a/test/merge/basics.wast.combined b/test/merge/basics.wast.combined index f0654ec7a..ec322b100 100644 --- a/test/merge/basics.wast.combined +++ b/test/merge/basics.wast.combined @@ -26,7 +26,7 @@ (export "exp-collide2" (func $willCollide)) (export "exp-b" (func $only-b)) (export "exp-b-nameCollided" (func $willCollide$0)) - (func $only-a (type $FUNCSIG$v) + (func $only-a (; 4 ;) (type $FUNCSIG$v) (drop (i32.const 100) ) @@ -54,13 +54,13 @@ (i32.const 1234) ) ) - (func $willCollide (type $FUNCSIG$v) + (func $willCollide (; 5 ;) (type $FUNCSIG$v) (drop (i32.const 200) ) (call $willCollide) ) - (func $only-b (type $FUNCSIG$v$0) + (func $only-b (; 6 ;) (type $FUNCSIG$v$0) (drop (i32.const 111) ) @@ -124,7 +124,7 @@ (i32.const 5678) ) ) - (func $willCollide$0 (type $FUNCSIG$v$0) + (func $willCollide$0 (; 7 ;) (type $FUNCSIG$v$0) (drop (i32.const 222) ) diff --git a/test/merge/basics.wast.combined.finalized b/test/merge/basics.wast.combined.finalized index 7637b787b..ffa18e9f8 100644 --- a/test/merge/basics.wast.combined.finalized +++ b/test/merge/basics.wast.combined.finalized @@ -26,7 +26,7 @@ (export "exp-collide2" (func $willCollide)) (export "exp-b" (func $only-b)) (export "exp-b-nameCollided" (func $willCollide$0)) - (func $only-a (type $FUNCSIG$v) + (func $only-a (; 4 ;) (type $FUNCSIG$v) (drop (i32.const 100) ) @@ -54,13 +54,13 @@ (i32.const 1234) ) ) - (func $willCollide (type $FUNCSIG$v) + (func $willCollide (; 5 ;) (type $FUNCSIG$v) (drop (i32.const 200) ) (call $willCollide) ) - (func $only-b (type $FUNCSIG$v$0) + (func $only-b (; 6 ;) (type $FUNCSIG$v$0) (drop (i32.const 111) ) @@ -124,7 +124,7 @@ (i32.const 5678) ) ) - (func $willCollide$0 (type $FUNCSIG$v$0) + (func $willCollide$0 (; 7 ;) (type $FUNCSIG$v$0) (drop (i32.const 222) ) diff --git a/test/merge/basics.wast.combined.finalized.opt b/test/merge/basics.wast.combined.finalized.opt index 7f57d67da..978e57dc8 100644 --- a/test/merge/basics.wast.combined.finalized.opt +++ b/test/merge/basics.wast.combined.finalized.opt @@ -20,7 +20,7 @@ (export "exp-collide2" (func $willCollide)) (export "exp-b" (func $only-b)) (export "exp-b-nameCollided" (func $willCollide$0)) - (func $only-a (type $FUNCSIG$v) + (func $only-a (; 4 ;) (type $FUNCSIG$v) (nop) (call $only-a) (call $some-func) @@ -42,11 +42,11 @@ (i32.const 1234) ) ) - (func $willCollide (type $FUNCSIG$v) + (func $willCollide (; 5 ;) (type $FUNCSIG$v) (nop) (call $willCollide) ) - (func $only-b (type $FUNCSIG$v) + (func $only-b (; 6 ;) (type $FUNCSIG$v) (nop) (call $only-b) (call $some-func-b) @@ -77,7 +77,7 @@ (i32.const 5678) ) ) - (func $willCollide$0 (type $FUNCSIG$v) + (func $willCollide$0 (; 7 ;) (type $FUNCSIG$v) (nop) (call $willCollide$0) ) diff --git a/test/merge/basics.wast.combined.opt b/test/merge/basics.wast.combined.opt index c595d00da..447b8affc 100644 --- a/test/merge/basics.wast.combined.opt +++ b/test/merge/basics.wast.combined.opt @@ -24,7 +24,7 @@ (export "exp-collide2" (func $willCollide)) (export "exp-b" (func $only-b)) (export "exp-b-nameCollided" (func $willCollide$0)) - (func $only-a (type $FUNCSIG$v) + (func $only-a (; 4 ;) (type $FUNCSIG$v) (nop) (call $only-a) (call $some-func) @@ -50,11 +50,11 @@ (i32.const 1234) ) ) - (func $willCollide (type $FUNCSIG$v) + (func $willCollide (; 5 ;) (type $FUNCSIG$v) (nop) (call $willCollide) ) - (func $only-b (type $FUNCSIG$v) + (func $only-b (; 6 ;) (type $FUNCSIG$v) (nop) (call $only-b) (call $some-func-b) @@ -113,7 +113,7 @@ (i32.const 5678) ) ) - (func $willCollide$0 (type $FUNCSIG$v) + (func $willCollide$0 (; 7 ;) (type $FUNCSIG$v) (nop) (call $willCollide$0) ) diff --git a/test/merge/dylib.wasm.combined b/test/merge/dylib.wasm.combined index eea90db8e..90905ac0c 100644 --- a/test/merge/dylib.wasm.combined +++ b/test/merge/dylib.wasm.combined @@ -25,7 +25,7 @@ (export "runPostSets" (func $runPostSets)) (export "_str" (global $global$2)) (export "_foo" (func $_foo)) - (func $_main (type $2) (result i32) + (func $_main (; 1 ;) (type $2) (result i32) (block $label$1 (result i32) (block $label$2 (result i32) (drop @@ -37,12 +37,12 @@ ) ) ) - (func $runPostSets (type $3) + (func $runPostSets (; 2 ;) (type $3) (block $label$1 (nop) ) ) - (func $__post_instantiate (type $3) + (func $__post_instantiate (; 3 ;) (type $3) (call $__post_instantiate$0) (block $label$1 (block $label$2 @@ -62,7 +62,7 @@ ) ) ) - (func $_foo (type $1$0) (result i32) + (func $_foo (; 4 ;) (type $1$0) (result i32) (local $var$0 i32) (block $label$1 (result i32) (block $label$2 (result i32) @@ -73,12 +73,12 @@ ) ) ) - (func $runPostSets$0 (type $2$0) + (func $runPostSets$0 (; 5 ;) (type $2$0) (block $label$1 (nop) ) ) - (func $__post_instantiate$0 (type $2$0) + (func $__post_instantiate$0 (; 6 ;) (type $2$0) (block $label$1 (block $label$2 (set_global $global$0$0 diff --git a/test/merge/dylib.wasm.combined.finalized b/test/merge/dylib.wasm.combined.finalized index 1a6ae5400..ce81b7652 100644 --- a/test/merge/dylib.wasm.combined.finalized +++ b/test/merge/dylib.wasm.combined.finalized @@ -25,7 +25,7 @@ (export "runPostSets" (func $runPostSets)) (export "_str" (global $global$2)) (export "_foo" (func $_foo)) - (func $_main (type $2) (result i32) + (func $_main (; 1 ;) (type $2) (result i32) (block $label$1 (result i32) (block $label$2 (result i32) (drop @@ -37,12 +37,12 @@ ) ) ) - (func $runPostSets (type $3) + (func $runPostSets (; 2 ;) (type $3) (block $label$1 (nop) ) ) - (func $__post_instantiate (type $3) + (func $__post_instantiate (; 3 ;) (type $3) (call $__post_instantiate$0) (block $label$1 (block $label$2 @@ -62,7 +62,7 @@ ) ) ) - (func $_foo (type $1$0) (result i32) + (func $_foo (; 4 ;) (type $1$0) (result i32) (local $var$0 i32) (block $label$1 (result i32) (block $label$2 (result i32) @@ -73,12 +73,12 @@ ) ) ) - (func $runPostSets$0 (type $2$0) + (func $runPostSets$0 (; 5 ;) (type $2$0) (block $label$1 (nop) ) ) - (func $__post_instantiate$0 (type $2$0) + (func $__post_instantiate$0 (; 6 ;) (type $2$0) (block $label$1 (block $label$2 (set_global $global$0$0 diff --git a/test/merge/dylib.wasm.combined.finalized.opt b/test/merge/dylib.wasm.combined.finalized.opt index fa3f7bd70..61896fd78 100644 --- a/test/merge/dylib.wasm.combined.finalized.opt +++ b/test/merge/dylib.wasm.combined.finalized.opt @@ -17,7 +17,7 @@ (export "runPostSets" (func $runPostSets)) (export "_str" (global $global$2)) (export "_foo" (func $_foo)) - (func $_main (type $2) (result i32) + (func $_main (; 1 ;) (type $2) (result i32) (block $label$1 (result i32) (block $label$2 (result i32) (drop @@ -29,10 +29,10 @@ ) ) ) - (func $runPostSets (type $3) + (func $runPostSets (; 2 ;) (type $3) (nop) ) - (func $__post_instantiate (type $3) + (func $__post_instantiate (; 3 ;) (type $3) (call $__post_instantiate$0) (block $label$1 (block $label$2 @@ -49,7 +49,7 @@ ) ) ) - (func $_foo (type $2) (result i32) + (func $_foo (; 4 ;) (type $2) (result i32) (local $var$0 i32) (block $label$1 (result i32) (block $label$2 (result i32) @@ -60,10 +60,10 @@ ) ) ) - (func $runPostSets$0 (type $3) + (func $runPostSets$0 (; 5 ;) (type $3) (nop) ) - (func $__post_instantiate$0 (type $3) + (func $__post_instantiate$0 (; 6 ;) (type $3) (block $label$1 (block $label$2 (set_global $global$0$0 diff --git a/test/merge/dylib.wasm.combined.opt b/test/merge/dylib.wasm.combined.opt index 046fe9e48..a2c98417b 100644 --- a/test/merge/dylib.wasm.combined.opt +++ b/test/merge/dylib.wasm.combined.opt @@ -20,7 +20,7 @@ (export "runPostSets" (func $runPostSets)) (export "_str" (global $global$2)) (export "_foo" (func $_foo)) - (func $_main (type $2) (result i32) + (func $_main (; 1 ;) (type $2) (result i32) (block $label$1 (result i32) (block $label$2 (result i32) (drop @@ -32,10 +32,10 @@ ) ) ) - (func $runPostSets (type $3) + (func $runPostSets (; 2 ;) (type $3) (nop) ) - (func $__post_instantiate (type $3) + (func $__post_instantiate (; 3 ;) (type $3) (call $__post_instantiate$0) (block $label$1 (block $label$2 @@ -55,7 +55,7 @@ ) ) ) - (func $_foo (type $2) (result i32) + (func $_foo (; 4 ;) (type $2) (result i32) (local $var$0 i32) (block $label$1 (result i32) (block $label$2 (result i32) @@ -66,10 +66,10 @@ ) ) ) - (func $runPostSets$0 (type $3) + (func $runPostSets$0 (; 5 ;) (type $3) (nop) ) - (func $__post_instantiate$0 (type $3) + (func $__post_instantiate$0 (; 6 ;) (type $3) (block $label$1 (block $label$2 (set_global $global$0$0 diff --git a/test/merge/fusing.wast.combined b/test/merge/fusing.wast.combined index 2a7adf6e2..37f0358ec 100644 --- a/test/merge/fusing.wast.combined +++ b/test/merge/fusing.wast.combined @@ -15,7 +15,7 @@ (export "aglobal" (global $a-global)) (export "bar" (func $bar-func)) (export "bglobal" (global $b-global)) - (func $foo-func (type $FUNCSIG$v) + (func $foo-func (; 0 ;) (type $FUNCSIG$v) (drop (i32.const 1337) ) @@ -27,10 +27,10 @@ (get_global $b-global) ) ) - (func $b (type $FUNCSIG$v$0) + (func $b (; 1 ;) (type $FUNCSIG$v$0) (call $foo-func) ) - (func $bar-func (type $FUNCSIG$v$0) + (func $bar-func (; 2 ;) (type $FUNCSIG$v$0) (drop (f64.const 3.14159) ) diff --git a/test/merge/fusing.wast.combined.finalized b/test/merge/fusing.wast.combined.finalized index 7896e448d..2675454bd 100644 --- a/test/merge/fusing.wast.combined.finalized +++ b/test/merge/fusing.wast.combined.finalized @@ -15,7 +15,7 @@ (export "aglobal" (global $a-global)) (export "bar" (func $bar-func)) (export "bglobal" (global $b-global)) - (func $foo-func (type $FUNCSIG$v) + (func $foo-func (; 0 ;) (type $FUNCSIG$v) (drop (i32.const 1337) ) @@ -27,10 +27,10 @@ (get_global $b-global) ) ) - (func $b (type $FUNCSIG$v$0) + (func $b (; 1 ;) (type $FUNCSIG$v$0) (call $foo-func) ) - (func $bar-func (type $FUNCSIG$v$0) + (func $bar-func (; 2 ;) (type $FUNCSIG$v$0) (drop (f64.const 3.14159) ) diff --git a/test/merge/fusing.wast.combined.finalized.opt b/test/merge/fusing.wast.combined.finalized.opt index 9df0a5cdc..2e8a19ebf 100644 --- a/test/merge/fusing.wast.combined.finalized.opt +++ b/test/merge/fusing.wast.combined.finalized.opt @@ -9,7 +9,7 @@ (export "aglobal" (global $a-global)) (export "bar" (func $bar-func)) (export "bglobal" (global $b-global)) - (func $foo-func (type $FUNCSIG$v) + (func $foo-func (; 0 ;) (type $FUNCSIG$v) (nop) (call $bar-func) (drop @@ -19,7 +19,7 @@ (get_global $b-global) ) ) - (func $bar-func (type $FUNCSIG$v) + (func $bar-func (; 1 ;) (type $FUNCSIG$v) (nop) (drop (get_global $a-global) diff --git a/test/merge/fusing.wast.combined.opt b/test/merge/fusing.wast.combined.opt index c8d58890e..b48bc0534 100644 --- a/test/merge/fusing.wast.combined.opt +++ b/test/merge/fusing.wast.combined.opt @@ -12,7 +12,7 @@ (export "aglobal" (global $a-global)) (export "bar" (func $bar-func)) (export "bglobal" (global $b-global)) - (func $foo-func (type $FUNCSIG$v) + (func $foo-func (; 0 ;) (type $FUNCSIG$v) (nop) (call $bar-func) (drop @@ -22,7 +22,7 @@ (get_global $b-global) ) ) - (func $bar-func (type $FUNCSIG$v) + (func $bar-func (; 1 ;) (type $FUNCSIG$v) (nop) (drop (get_global $a-global) diff --git a/test/merge/main-lacks-segments.wast.combined b/test/merge/main-lacks-segments.wast.combined index 33eb89435..91fcde27d 100644 --- a/test/merge/main-lacks-segments.wast.combined +++ b/test/merge/main-lacks-segments.wast.combined @@ -8,7 +8,7 @@ (import "env" "tableBase" (global $tableBase$0 i32)) (elem (get_global $tableBase) $foo $foo) (data (get_global $memoryBase) "hello, this is some data!\00\00\00\00\00\00\00") - (func $foo (type $0) + (func $foo (; 0 ;) (type $0) (drop (i32.add (get_global $tableBase$0) diff --git a/test/merge/main-lacks-segments.wast.combined.finalized b/test/merge/main-lacks-segments.wast.combined.finalized index 923ffd34d..dd180662d 100644 --- a/test/merge/main-lacks-segments.wast.combined.finalized +++ b/test/merge/main-lacks-segments.wast.combined.finalized @@ -8,7 +8,7 @@ (import "env" "tableBase" (global $tableBase$0 i32)) (elem (i32.const 8) $foo $foo) (data (i32.const 1024) "hello, this is some data!\00\00\00\00\00\00\00") - (func $foo (type $0) + (func $foo (; 0 ;) (type $0) (drop (i32.add (i32.const 8) diff --git a/test/merge/main-lacks-segments.wast.combined.finalized.opt b/test/merge/main-lacks-segments.wast.combined.finalized.opt index 0aeb4c62d..d37e26438 100644 --- a/test/merge/main-lacks-segments.wast.combined.finalized.opt +++ b/test/merge/main-lacks-segments.wast.combined.finalized.opt @@ -4,7 +4,7 @@ (import "env" "table" (table 10 anyfunc)) (elem (i32.const 8) $foo $foo) (data (i32.const 1024) "hello, this is some data!") - (func $foo (type $0) + (func $foo (; 0 ;) (type $0) (nop) ) ) diff --git a/test/merge/main-lacks-segments.wast.combined.opt b/test/merge/main-lacks-segments.wast.combined.opt index 4ea294a8e..6fb489574 100644 --- a/test/merge/main-lacks-segments.wast.combined.opt +++ b/test/merge/main-lacks-segments.wast.combined.opt @@ -8,7 +8,7 @@ (import "env" "tableBase" (global $tableBase$0 i32)) (elem (get_global $tableBase) $foo $foo) (data (get_global $memoryBase) "hello, this is some data!") - (func $foo (type $0) + (func $foo (; 0 ;) (type $0) (drop (get_global $tableBase$0) ) diff --git a/test/merge/post-instantiate-a.wast.combined b/test/merge/post-instantiate-a.wast.combined index 725e1df28..23ff598af 100644 --- a/test/merge/post-instantiate-a.wast.combined +++ b/test/merge/post-instantiate-a.wast.combined @@ -8,12 +8,12 @@ (memory $0 0) (data (get_global $memoryBase) "") (export "__post_instantiate" (func $0)) - (func $0 (type $0) + (func $0 (; 0 ;) (type $0) (drop (i32.const 1000) ) ) - (func $0$0 (type $0$0) + (func $0$0 (; 1 ;) (type $0$0) (nop) ) ) diff --git a/test/merge/post-instantiate-a.wast.combined.finalized b/test/merge/post-instantiate-a.wast.combined.finalized index e50f84e79..edd0d85e3 100644 --- a/test/merge/post-instantiate-a.wast.combined.finalized +++ b/test/merge/post-instantiate-a.wast.combined.finalized @@ -8,12 +8,12 @@ (memory $0 1) (data (i32.const 1024) "") (export "__post_instantiate" (func $0)) - (func $0 (type $0) + (func $0 (; 0 ;) (type $0) (drop (i32.const 1000) ) ) - (func $0$0 (type $0$0) + (func $0$0 (; 1 ;) (type $0$0) (nop) ) ) diff --git a/test/merge/post-instantiate-a.wast.combined.finalized.opt b/test/merge/post-instantiate-a.wast.combined.finalized.opt index d0a9b4a6a..38b293167 100644 --- a/test/merge/post-instantiate-a.wast.combined.finalized.opt +++ b/test/merge/post-instantiate-a.wast.combined.finalized.opt @@ -3,7 +3,7 @@ (memory $0 1) (data (i32.const 1024) "") (export "__post_instantiate" (func $0)) - (func $0 (type $0) + (func $0 (; 0 ;) (type $0) (nop) ) ) diff --git a/test/merge/post-instantiate-a.wast.combined.opt b/test/merge/post-instantiate-a.wast.combined.opt index b4ecf737b..8d0f05db2 100644 --- a/test/merge/post-instantiate-a.wast.combined.opt +++ b/test/merge/post-instantiate-a.wast.combined.opt @@ -5,7 +5,7 @@ (memory $0 0) (data (get_global $memoryBase) "") (export "__post_instantiate" (func $0)) - (func $0 (type $0) + (func $0 (; 0 ;) (type $0) (nop) ) ) diff --git a/test/merge/post-instantiate-b.wast.combined b/test/merge/post-instantiate-b.wast.combined index df4bfe76d..74f4ede17 100644 --- a/test/merge/post-instantiate-b.wast.combined +++ b/test/merge/post-instantiate-b.wast.combined @@ -8,10 +8,10 @@ (memory $0 0) (data (get_global $memoryBase) "") (export "__post_instantiate" (func $0$0)) - (func $0 (type $0) + (func $0 (; 0 ;) (type $0) (nop) ) - (func $0$0 (type $0$0) + (func $0$0 (; 1 ;) (type $0$0) (drop (i32.const 2000) ) diff --git a/test/merge/post-instantiate-b.wast.combined.finalized b/test/merge/post-instantiate-b.wast.combined.finalized index a6f2d309b..b9ec7cba5 100644 --- a/test/merge/post-instantiate-b.wast.combined.finalized +++ b/test/merge/post-instantiate-b.wast.combined.finalized @@ -8,10 +8,10 @@ (memory $0 1) (data (i32.const 1024) "") (export "__post_instantiate" (func $0$0)) - (func $0 (type $0) + (func $0 (; 0 ;) (type $0) (nop) ) - (func $0$0 (type $0$0) + (func $0$0 (; 1 ;) (type $0$0) (drop (i32.const 2000) ) diff --git a/test/merge/post-instantiate-b.wast.combined.finalized.opt b/test/merge/post-instantiate-b.wast.combined.finalized.opt index 367bd834b..749a6a74e 100644 --- a/test/merge/post-instantiate-b.wast.combined.finalized.opt +++ b/test/merge/post-instantiate-b.wast.combined.finalized.opt @@ -3,7 +3,7 @@ (memory $0 1) (data (i32.const 1024) "") (export "__post_instantiate" (func $0$0)) - (func $0$0 (type $0$0) + (func $0$0 (; 0 ;) (type $0$0) (nop) ) ) diff --git a/test/merge/post-instantiate-b.wast.combined.opt b/test/merge/post-instantiate-b.wast.combined.opt index b847fc5e8..f52546012 100644 --- a/test/merge/post-instantiate-b.wast.combined.opt +++ b/test/merge/post-instantiate-b.wast.combined.opt @@ -5,7 +5,7 @@ (memory $0 0) (data (get_global $memoryBase) "") (export "__post_instantiate" (func $0$0)) - (func $0$0 (type $0$0) + (func $0$0 (; 0 ;) (type $0$0) (nop) ) ) diff --git a/test/merge/printf.wast.combined b/test/merge/printf.wast.combined index f8dcc3d0c..6ea657750 100644 --- a/test/merge/printf.wast.combined +++ b/test/merge/printf.wast.combined @@ -14,10 +14,10 @@ (data (get_global $memoryBase) "") (export "_printf" (func $625)) - (func $625 (type $FUNCSIG$iii) (param $var$0 i32) (param $var$1 i32) (result i32) + (func $625 (; 1 ;) (type $FUNCSIG$iii) (param $var$0 i32) (param $var$1 i32) (result i32) (i32.const 102030) ) - (func $b (type $1) + (func $b (; 2 ;) (type $1) (drop (call $625 (i32.const 11) diff --git a/test/merge/printf.wast.combined.finalized b/test/merge/printf.wast.combined.finalized index c72f0d28f..7ec67f602 100644 --- a/test/merge/printf.wast.combined.finalized +++ b/test/merge/printf.wast.combined.finalized @@ -14,10 +14,10 @@ (data (i32.const 1024) "") (export "_printf" (func $625)) - (func $625 (type $FUNCSIG$iii) (param $var$0 i32) (param $var$1 i32) (result i32) + (func $625 (; 1 ;) (type $FUNCSIG$iii) (param $var$0 i32) (param $var$1 i32) (result i32) (i32.const 102030) ) - (func $b (type $1) + (func $b (; 2 ;) (type $1) (drop (call $625 (i32.const 11) diff --git a/test/merge/printf.wast.combined.finalized.opt b/test/merge/printf.wast.combined.finalized.opt index a801ab875..52276eed8 100644 --- a/test/merge/printf.wast.combined.finalized.opt +++ b/test/merge/printf.wast.combined.finalized.opt @@ -4,7 +4,7 @@ (import "env" "table" (table 8 anyfunc)) (export "_printf" (func $625)) - (func $625 (type $FUNCSIG$iii) (param $var$0 i32) (param $var$1 i32) (result i32) + (func $625 (; 0 ;) (type $FUNCSIG$iii) (param $var$0 i32) (param $var$1 i32) (result i32) (i32.const 102030) ) ) diff --git a/test/merge/printf.wast.combined.opt b/test/merge/printf.wast.combined.opt index ae913e40e..e3471d636 100644 --- a/test/merge/printf.wast.combined.opt +++ b/test/merge/printf.wast.combined.opt @@ -7,7 +7,7 @@ (data (get_global $memoryBase) "") (export "_printf" (func $625)) - (func $625 (type $FUNCSIG$iii) (param $var$0 i32) (param $var$1 i32) (result i32) + (func $625 (; 0 ;) (type $FUNCSIG$iii) (param $var$0 i32) (param $var$1 i32) (result i32) (i32.const 102030) ) ) |