diff options
Diffstat (limited to 'test/merge')
28 files changed, 28 insertions, 28 deletions
diff --git a/test/merge/basics.wast.combined b/test/merge/basics.wast.combined index 11ba04715..96ea89cfd 100644 --- a/test/merge/basics.wast.combined +++ b/test/merge/basics.wast.combined @@ -5,7 +5,7 @@ (type $FUNCSIG$v$0 (func)) (import "env" "memory" (memory $0 256)) (data (get_global $memoryBase) "hello, A!\n\00\00\00\00\00\00hello, B!\n\00\00\00\00\00\00") - (import "env" "table" (table 10 anyfunc)) + (import "env" "table" (table $0 10 anyfunc)) (elem (get_global $tableBase) $only-a $willCollide $some-func $some-collide $only-a $some-func $only-b $willCollide$0 $some-func-b $some-collide$0) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) diff --git a/test/merge/basics.wast.combined.finalized b/test/merge/basics.wast.combined.finalized index 899df6d61..d3530fe58 100644 --- a/test/merge/basics.wast.combined.finalized +++ b/test/merge/basics.wast.combined.finalized @@ -5,7 +5,7 @@ (type $FUNCSIG$v$0 (func)) (import "env" "memory" (memory $0 256)) (data (i32.const 1024) "hello, A!\n\00\00\00\00\00\00hello, B!\n\00\00\00\00\00\00") - (import "env" "table" (table 18 anyfunc)) + (import "env" "table" (table $0 18 anyfunc)) (elem (i32.const 8) $only-a $willCollide $some-func $some-collide $only-a $some-func $only-b $willCollide$0 $some-func-b $some-collide$0) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) diff --git a/test/merge/basics.wast.combined.finalized.opt b/test/merge/basics.wast.combined.finalized.opt index 7f11954ae..bb7475c45 100644 --- a/test/merge/basics.wast.combined.finalized.opt +++ b/test/merge/basics.wast.combined.finalized.opt @@ -3,7 +3,7 @@ (type $FUNCSIG$v (func)) (import "env" "memory" (memory $0 256)) (data (i32.const 1024) "hello, A!\n\00\00\00\00\00\00hello, B!\n") - (import "env" "table" (table 18 anyfunc)) + (import "env" "table" (table $0 18 anyfunc)) (elem (i32.const 8) $only-a $willCollide $some-func $some-collide $only-a $some-func $only-b $willCollide$0 $some-func-b $some-collide$0) (import "env" "some-func" (func $some-func)) (import "env" "some-collide" (func $some-collide)) diff --git a/test/merge/basics.wast.combined.opt b/test/merge/basics.wast.combined.opt index b533d4d2f..2a83b355e 100644 --- a/test/merge/basics.wast.combined.opt +++ b/test/merge/basics.wast.combined.opt @@ -3,7 +3,7 @@ (type $FUNCSIG$v (func)) (import "env" "memory" (memory $0 256)) (data (get_global $memoryBase) "hello, A!\n\00\00\00\00\00\00hello, B!\n") - (import "env" "table" (table 10 anyfunc)) + (import "env" "table" (table $0 10 anyfunc)) (elem (get_global $tableBase) $only-a $willCollide $some-func $some-collide $only-a $some-func $only-b $willCollide$0 $some-func-b $some-collide$0) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) diff --git a/test/merge/dylib.wasm.combined b/test/merge/dylib.wasm.combined index 32c886d34..0b97f4af4 100644 --- a/test/merge/dylib.wasm.combined +++ b/test/merge/dylib.wasm.combined @@ -8,7 +8,7 @@ (type $2$0 (func)) (import "env" "memory" (memory $2 256)) (data (get_global $gimport$0) "hello, world!\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") - (import "env" "table" (table 0 anyfunc)) + (import "env" "table" (table $timport$3 0 anyfunc)) (import "env" "memoryBase" (global $gimport$0 i32)) (import "env" "tableBase" (global $gimport$4 i32)) (import "env" "memoryBase" (global $gimport$0$0 i32)) diff --git a/test/merge/dylib.wasm.combined.finalized b/test/merge/dylib.wasm.combined.finalized index e52c5b849..4e82b433b 100644 --- a/test/merge/dylib.wasm.combined.finalized +++ b/test/merge/dylib.wasm.combined.finalized @@ -8,7 +8,7 @@ (type $2$0 (func)) (import "env" "memory" (memory $2 256)) (data (i32.const 1024) "hello, world!\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") - (import "env" "table" (table 8 anyfunc)) + (import "env" "table" (table $timport$3 8 anyfunc)) (import "env" "memoryBase" (global $gimport$0 i32)) (import "env" "tableBase" (global $gimport$4 i32)) (import "env" "memoryBase" (global $gimport$0$0 i32)) diff --git a/test/merge/dylib.wasm.combined.finalized.opt b/test/merge/dylib.wasm.combined.finalized.opt index bac5abbc6..4598e194a 100644 --- a/test/merge/dylib.wasm.combined.finalized.opt +++ b/test/merge/dylib.wasm.combined.finalized.opt @@ -4,7 +4,7 @@ (type $3 (func)) (import "env" "memory" (memory $2 256)) (data (i32.const 1024) "hello, world!") - (import "env" "table" (table 8 anyfunc)) + (import "env" "table" (table $timport$3 8 anyfunc)) (import "env" "_puts" (func $import$1 (param i32) (result i32))) (global $global$0 (mut i32) (i32.const 0)) (global $global$1 (mut i32) (i32.const 0)) diff --git a/test/merge/dylib.wasm.combined.opt b/test/merge/dylib.wasm.combined.opt index 2aa6075be..7545510a3 100644 --- a/test/merge/dylib.wasm.combined.opt +++ b/test/merge/dylib.wasm.combined.opt @@ -4,7 +4,7 @@ (type $3 (func)) (import "env" "memory" (memory $2 256)) (data (get_global $gimport$0) "hello, world!") - (import "env" "table" (table 0 anyfunc)) + (import "env" "table" (table $timport$3 0 anyfunc)) (import "env" "memoryBase" (global $gimport$0 i32)) (import "env" "tableBase" (global $gimport$4 i32)) (import "env" "memoryBase" (global $gimport$0$0 i32)) diff --git a/test/merge/fusing.wast.combined b/test/merge/fusing.wast.combined index 9510bb02e..e664a39ed 100644 --- a/test/merge/fusing.wast.combined +++ b/test/merge/fusing.wast.combined @@ -3,7 +3,7 @@ (type $FUNCSIG$v$0 (func)) (import "env" "memory" (memory $0 256)) (data (get_global $memoryBase) "") - (import "env" "table" (table 0 anyfunc)) + (import "env" "table" (table $0 0 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) (import "env" "memoryBase" (global $memoryBase$0 i32)) diff --git a/test/merge/fusing.wast.combined.finalized b/test/merge/fusing.wast.combined.finalized index 658fdd716..edb5c4309 100644 --- a/test/merge/fusing.wast.combined.finalized +++ b/test/merge/fusing.wast.combined.finalized @@ -3,7 +3,7 @@ (type $FUNCSIG$v$0 (func)) (import "env" "memory" (memory $0 256)) (data (i32.const 1024) "") - (import "env" "table" (table 8 anyfunc)) + (import "env" "table" (table $0 8 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) (import "env" "memoryBase" (global $memoryBase$0 i32)) diff --git a/test/merge/fusing.wast.combined.finalized.opt b/test/merge/fusing.wast.combined.finalized.opt index 4d96b29fe..5b581aeb1 100644 --- a/test/merge/fusing.wast.combined.finalized.opt +++ b/test/merge/fusing.wast.combined.finalized.opt @@ -1,7 +1,7 @@ (module (type $FUNCSIG$v (func)) (import "env" "memory" (memory $0 256)) - (import "env" "table" (table 8 anyfunc)) + (import "env" "table" (table $0 8 anyfunc)) (global $a-global i32 (i32.const 0)) (global $b-global$0 f64 (f64.const 2.14281428)) (export "foo" (func $foo-func)) diff --git a/test/merge/fusing.wast.combined.opt b/test/merge/fusing.wast.combined.opt index 903fd65e0..e8bac5d8c 100644 --- a/test/merge/fusing.wast.combined.opt +++ b/test/merge/fusing.wast.combined.opt @@ -2,7 +2,7 @@ (type $FUNCSIG$v (func)) (import "env" "memory" (memory $0 256)) (data (get_global $memoryBase) "") - (import "env" "table" (table 0 anyfunc)) + (import "env" "table" (table $0 0 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) (global $a-global i32 (i32.const 0)) diff --git a/test/merge/global-init.wast.combined b/test/merge/global-init.wast.combined index b45babeef..453de1079 100644 --- a/test/merge/global-init.wast.combined +++ b/test/merge/global-init.wast.combined @@ -1,7 +1,7 @@ (module (import "env" "memory" (memory $0 256)) (data (get_global $memoryBase) "") - (import "env" "table" (table 0 anyfunc)) + (import "env" "table" (table $0 0 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) (import "env" "globally" (global $i-collide i32)) diff --git a/test/merge/global-init.wast.combined.finalized b/test/merge/global-init.wast.combined.finalized index 87e21a05e..89c969ea4 100644 --- a/test/merge/global-init.wast.combined.finalized +++ b/test/merge/global-init.wast.combined.finalized @@ -1,7 +1,7 @@ (module (import "env" "memory" (memory $0 256)) (data (i32.const 1024) "") - (import "env" "table" (table 8 anyfunc)) + (import "env" "table" (table $0 8 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) (import "env" "globally" (global $i-collide i32)) diff --git a/test/merge/global-init.wast.combined.finalized.opt b/test/merge/global-init.wast.combined.finalized.opt index f6e309c94..cd3ab7e98 100644 --- a/test/merge/global-init.wast.combined.finalized.opt +++ b/test/merge/global-init.wast.combined.finalized.opt @@ -1,4 +1,4 @@ (module (import "env" "memory" (memory $0 256)) - (import "env" "table" (table 8 anyfunc)) + (import "env" "table" (table $0 8 anyfunc)) ) diff --git a/test/merge/global-init.wast.combined.opt b/test/merge/global-init.wast.combined.opt index 3f91f9bc9..725827c88 100644 --- a/test/merge/global-init.wast.combined.opt +++ b/test/merge/global-init.wast.combined.opt @@ -1,7 +1,7 @@ (module (import "env" "memory" (memory $0 256)) (data (get_global $memoryBase) "") - (import "env" "table" (table 0 anyfunc)) + (import "env" "table" (table $0 0 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) ) diff --git a/test/merge/main-lacks-segments.wast.combined b/test/merge/main-lacks-segments.wast.combined index 0bd5d2d4f..f07f75177 100644 --- a/test/merge/main-lacks-segments.wast.combined +++ b/test/merge/main-lacks-segments.wast.combined @@ -2,7 +2,7 @@ (type $0 (func)) (import "env" "memory" (memory $0 256)) (data (get_global $memoryBase) "hello, this is some data!\00\00\00\00\00\00\00") - (import "env" "table" (table 2 anyfunc)) + (import "env" "table" (table $0 2 anyfunc)) (elem (get_global $tableBase) $foo $foo) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) diff --git a/test/merge/main-lacks-segments.wast.combined.finalized b/test/merge/main-lacks-segments.wast.combined.finalized index 65bc5f1ad..f37f9efe1 100644 --- a/test/merge/main-lacks-segments.wast.combined.finalized +++ b/test/merge/main-lacks-segments.wast.combined.finalized @@ -2,7 +2,7 @@ (type $0 (func)) (import "env" "memory" (memory $0 256)) (data (i32.const 1024) "hello, this is some data!\00\00\00\00\00\00\00") - (import "env" "table" (table 10 anyfunc)) + (import "env" "table" (table $0 10 anyfunc)) (elem (i32.const 8) $foo $foo) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) diff --git a/test/merge/main-lacks-segments.wast.combined.finalized.opt b/test/merge/main-lacks-segments.wast.combined.finalized.opt index e3ceb0ce1..c98706332 100644 --- a/test/merge/main-lacks-segments.wast.combined.finalized.opt +++ b/test/merge/main-lacks-segments.wast.combined.finalized.opt @@ -2,7 +2,7 @@ (type $0 (func)) (import "env" "memory" (memory $0 256)) (data (i32.const 1024) "hello, this is some data!") - (import "env" "table" (table 10 anyfunc)) + (import "env" "table" (table $0 10 anyfunc)) (elem (i32.const 8) $foo $foo) (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 fe652d9cd..c121593c7 100644 --- a/test/merge/main-lacks-segments.wast.combined.opt +++ b/test/merge/main-lacks-segments.wast.combined.opt @@ -2,7 +2,7 @@ (type $0 (func)) (import "env" "memory" (memory $0 256)) (data (get_global $memoryBase) "hello, this is some data!") - (import "env" "table" (table 2 anyfunc)) + (import "env" "table" (table $0 2 anyfunc)) (elem (get_global $tableBase) $foo $foo) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) diff --git a/test/merge/noBases.wast.combined b/test/merge/noBases.wast.combined index a7753043a..18c63fffc 100644 --- a/test/merge/noBases.wast.combined +++ b/test/merge/noBases.wast.combined @@ -7,7 +7,7 @@ (data (i32.const 100) "hello, A!\n") (data (get_global $memoryBase) "") (data (i32.const 200) "hello, B!\n") - (import "env" "table" (table 1000 anyfunc)) + (import "env" "table" (table $0 1000 anyfunc)) (elem (i32.const 10) $only-a $willCollide $some-func $some-collide $only-a) (elem (i32.const 20) $only-b $willCollide $some-func-b $some-collide) (import "env" "memoryBase" (global $memoryBase i32)) diff --git a/test/merge/noBases.wast.combined.finalized b/test/merge/noBases.wast.combined.finalized index b31aa6909..72f221017 100644 --- a/test/merge/noBases.wast.combined.finalized +++ b/test/merge/noBases.wast.combined.finalized @@ -7,7 +7,7 @@ (data (i32.const 100) "hello, A!\n") (data (i32.const 1024) "") (data (i32.const 200) "hello, B!\n") - (import "env" "table" (table 1000 anyfunc)) + (import "env" "table" (table $0 1000 anyfunc)) (elem (i32.const 10) $only-a $willCollide $some-func $some-collide $only-a) (elem (i32.const 20) $only-b $willCollide $some-func-b $some-collide) (import "env" "memoryBase" (global $memoryBase i32)) diff --git a/test/merge/noBases.wast.combined.finalized.opt b/test/merge/noBases.wast.combined.finalized.opt index 935a8f326..8504d0d98 100644 --- a/test/merge/noBases.wast.combined.finalized.opt +++ b/test/merge/noBases.wast.combined.finalized.opt @@ -4,7 +4,7 @@ (import "env" "memory" (memory $0 256)) (data (i32.const 100) "hello, A!\n") (data (i32.const 200) "hello, B!\n") - (import "env" "table" (table 1000 anyfunc)) + (import "env" "table" (table $0 1000 anyfunc)) (elem (i32.const 10) $only-a $willCollide $some-func $some-collide $only-a) (elem (i32.const 20) $only-b $willCollide $some-func-b $some-collide) (import "env" "some-func" (func $some-func)) diff --git a/test/merge/noBases.wast.combined.opt b/test/merge/noBases.wast.combined.opt index 106ba475e..08becc2cf 100644 --- a/test/merge/noBases.wast.combined.opt +++ b/test/merge/noBases.wast.combined.opt @@ -5,7 +5,7 @@ (data (i32.const 100) "hello, A!\n") (data (get_global $memoryBase) "") (data (i32.const 200) "hello, B!\n") - (import "env" "table" (table 1000 anyfunc)) + (import "env" "table" (table $0 1000 anyfunc)) (elem (i32.const 10) $only-a $willCollide $some-func $some-collide $only-a) (elem (i32.const 20) $only-b $willCollide $some-func-b $some-collide) (import "env" "memoryBase" (global $memoryBase i32)) diff --git a/test/merge/printf.wast.combined b/test/merge/printf.wast.combined index 5183cd442..a33e63fba 100644 --- a/test/merge/printf.wast.combined +++ b/test/merge/printf.wast.combined @@ -4,7 +4,7 @@ (type $1 (func)) (import "env" "memory" (memory $0 256)) (data (get_global $memoryBase) "") - (import "env" "table" (table 0 anyfunc)) + (import "env" "table" (table $0 0 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) (import "env" "globally" (global $i-collide i32)) diff --git a/test/merge/printf.wast.combined.finalized b/test/merge/printf.wast.combined.finalized index 99751c51c..a66825dbf 100644 --- a/test/merge/printf.wast.combined.finalized +++ b/test/merge/printf.wast.combined.finalized @@ -4,7 +4,7 @@ (type $1 (func)) (import "env" "memory" (memory $0 256)) (data (i32.const 1024) "") - (import "env" "table" (table 8 anyfunc)) + (import "env" "table" (table $0 8 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) (import "env" "globally" (global $i-collide i32)) diff --git a/test/merge/printf.wast.combined.finalized.opt b/test/merge/printf.wast.combined.finalized.opt index 8d191bb39..2eb0cbf2a 100644 --- a/test/merge/printf.wast.combined.finalized.opt +++ b/test/merge/printf.wast.combined.finalized.opt @@ -1,7 +1,7 @@ (module (type $FUNCSIG$iii (func (param i32 i32) (result i32))) (import "env" "memory" (memory $0 256)) - (import "env" "table" (table 8 anyfunc)) + (import "env" "table" (table $0 8 anyfunc)) (export "_printf" (func $625)) (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 da8b8fd29..7cb267ec2 100644 --- a/test/merge/printf.wast.combined.opt +++ b/test/merge/printf.wast.combined.opt @@ -2,7 +2,7 @@ (type $FUNCSIG$iii (func (param i32 i32) (result i32))) (import "env" "memory" (memory $0 256)) (data (get_global $memoryBase) "") - (import "env" "table" (table 0 anyfunc)) + (import "env" "table" (table $0 0 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) (export "_printf" (func $625)) |