diff options
Diffstat (limited to 'test/dot_s')
-rw-r--r-- | test/dot_s/alias.wast | 4 | ||||
-rw-r--r-- | test/dot_s/asm_const.wast | 6 | ||||
-rw-r--r-- | test/dot_s/basics.wast | 6 | ||||
-rw-r--r-- | test/dot_s/bcp-1.wast | 26 | ||||
-rw-r--r-- | test/dot_s/exit.wast | 6 | ||||
-rw-r--r-- | test/dot_s/fix_em_ehsjlj_names.wast | 14 | ||||
-rw-r--r-- | test/dot_s/indirect-import.wast | 86 | ||||
-rw-r--r-- | test/dot_s/local_align.wast | 6 | ||||
-rw-r--r-- | test/dot_s/memops.wast | 54 | ||||
-rw-r--r-- | test/dot_s/symbolic-offset.wast | 8 | ||||
-rw-r--r-- | test/dot_s/text_before_type.wast | 4 |
11 files changed, 79 insertions, 141 deletions
diff --git a/test/dot_s/alias.wast b/test/dot_s/alias.wast index af613b4ea..b9c98b661 100644 --- a/test/dot_s/alias.wast +++ b/test/dot_s/alias.wast @@ -21,9 +21,7 @@ ) ) (func $__needs_exit (result i32) - (drop - (call $__exit) - ) + (call $__exit) (return (i32.const 1) ) diff --git a/test/dot_s/asm_const.wast b/test/dot_s/asm_const.wast index 5e84d771e..b5d2aa949 100644 --- a/test/dot_s/asm_const.wast +++ b/test/dot_s/asm_const.wast @@ -6,10 +6,8 @@ (export "memory" (memory $0)) (export "main" (func $main)) (func $main (result i32) - (drop - (call $emscripten_asm_const_vi - (i32.const 0) - ) + (call $emscripten_asm_const_vi + (i32.const 0) ) (return (i32.const 0) diff --git a/test/dot_s/basics.wast b/test/dot_s/basics.wast index 77c1e1ab3..cb945abba 100644 --- a/test/dot_s/basics.wast +++ b/test/dot_s/basics.wast @@ -13,10 +13,8 @@ (table 2 2 anyfunc) (elem (i32.const 0) $__wasm_nullptr $main) (func $main (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32) - (drop - (call $puts - (i32.const 16) - ) + (call $puts + (i32.const 16) ) (block $label$0 (block $label$1 diff --git a/test/dot_s/bcp-1.wast b/test/dot_s/bcp-1.wast index 89fc2807f..b6223707f 100644 --- a/test/dot_s/bcp-1.wast +++ b/test/dot_s/bcp-1.wast @@ -287,36 +287,24 @@ (i32.const 0) ) ) - (drop - (call $exit - (get_local $0) - ) + (call $exit + (get_local $0) ) (unreachable) ) - (drop - (call $abort) - ) - (unreachable) - ) - (drop (call $abort) + (unreachable) ) - (unreachable) - ) - (drop (call $abort) + (unreachable) ) - (unreachable) - ) - (drop (call $abort) + (unreachable) ) - (unreachable) - ) - (drop (call $abort) + (unreachable) ) + (call $abort) (unreachable) ) (func $__wasm_nullptr (type $FUNCSIG$v) diff --git a/test/dot_s/exit.wast b/test/dot_s/exit.wast index a6abcbdf0..a45fb5453 100644 --- a/test/dot_s/exit.wast +++ b/test/dot_s/exit.wast @@ -6,10 +6,8 @@ (export "main" (func $main)) (func $main (result i32) (local $0 i32) - (drop - (call $exit - (i32.const 0) - ) + (call $exit + (i32.const 0) ) (unreachable) ) diff --git a/test/dot_s/fix_em_ehsjlj_names.wast b/test/dot_s/fix_em_ehsjlj_names.wast index 912716524..2ce1603d9 100644 --- a/test/dot_s/fix_em_ehsjlj_names.wast +++ b/test/dot_s/fix_em_ehsjlj_names.wast @@ -37,10 +37,8 @@ (local $1 i32) (local $2 i32) (local $3 i32) - (drop - (call $invoke_v - (i32.const 1) - ) + (call $invoke_v + (i32.const 1) ) (drop (call $invoke_iiii @@ -70,11 +68,9 @@ ) ) ) - (drop - (call $emscripten_longjmp - (i32.const 5) - (i32.const 6) - ) + (call $emscripten_longjmp + (i32.const 5) + (i32.const 6) ) (i32.const 0) ) diff --git a/test/dot_s/indirect-import.wast b/test/dot_s/indirect-import.wast index ff1550a12..b93059da3 100644 --- a/test/dot_s/indirect-import.wast +++ b/test/dot_s/indirect-import.wast @@ -22,50 +22,36 @@ (func $bar (result i32) (local $0 i32) (local $1 i32) - (drop - (i32.store offset=4 - (i32.const 0) - (tee_local $1 - (i32.sub - (i32.load offset=4 - (i32.const 0) - ) - (i32.const 32) + (i32.store offset=4 + (i32.const 0) + (tee_local $1 + (i32.sub + (i32.load offset=4 + (i32.const 0) ) + (i32.const 32) ) ) ) - (drop - (i32.store offset=28 - (get_local $1) - (i32.const 1) - ) - ) - (drop - (i32.store offset=24 - (get_local $1) - (i32.const 2) - ) + (i32.store offset=28 + (get_local $1) + (i32.const 1) ) - (drop - (call $extern_vj - (i64.const 1) - ) + (i32.store offset=24 + (get_local $1) + (i32.const 2) ) - (drop - (i32.store offset=20 - (get_local $1) - (i32.const 3) - ) + (call $extern_vj + (i64.const 1) ) - (drop - (call $extern_v) + (i32.store offset=20 + (get_local $1) + (i32.const 3) ) - (drop - (i32.store offset=16 - (get_local $1) - (i32.const 4) - ) + (call $extern_v) + (i32.store offset=16 + (get_local $1) + (i32.const 4) ) (drop (call $extern_ijidf @@ -75,30 +61,24 @@ (f32.const 4) ) ) - (drop - (i32.store offset=12 - (get_local $1) - (i32.const 5) - ) + (i32.store offset=12 + (get_local $1) + (i32.const 5) ) - (drop - (i32.store offset=8 - (get_local $1) - (i32.const 6) - ) + (i32.store offset=8 + (get_local $1) + (i32.const 6) ) (set_local $0 (i32.load offset=28 (get_local $1) ) ) - (drop - (i32.store offset=4 - (i32.const 0) - (i32.add - (get_local $1) - (i32.const 32) - ) + (i32.store offset=4 + (i32.const 0) + (i32.add + (get_local $1) + (i32.const 32) ) ) (get_local $0) diff --git a/test/dot_s/local_align.wast b/test/dot_s/local_align.wast index 05363615c..5304dd5e4 100644 --- a/test/dot_s/local_align.wast +++ b/test/dot_s/local_align.wast @@ -5,10 +5,8 @@ (func $foo (param $0 i32) ) (func $main (result i32) - (drop - (call $foo - (i32.const 16) - ) + (call $foo + (i32.const 16) ) (i32.const 0) ) diff --git a/test/dot_s/memops.wast b/test/dot_s/memops.wast index fc6d21fa8..a254e7779 100644 --- a/test/dot_s/memops.wast +++ b/test/dot_s/memops.wast @@ -6,16 +6,12 @@ (export "memory" (memory $0)) (export "main" (func $main)) (func $_Z6reporti (param $0 i32) - (drop - (i32.store - (i32.const 8) - (get_local $0) - ) + (i32.store + (i32.const 8) + (get_local $0) ) - (drop - (call $emscripten_asm_const_vi - (i32.const 0) - ) + (call $emscripten_asm_const_vi + (i32.const 0) ) (return) ) @@ -53,11 +49,9 @@ (set_local $8 (i32.const 0) ) - (drop - (i32.store - (get_local $8) - (get_local $12) - ) + (i32.store + (get_local $8) + (get_local $12) ) (set_local $1 (i32.const 0) @@ -84,16 +78,14 @@ (get_local $10) ) ) - (drop - (i32.store8 - (i32.add - (get_local $10) - (get_local $4) - ) - (i32.add - (get_local $6) - (get_local $4) - ) + (i32.store8 + (i32.add + (get_local $10) + (get_local $4) + ) + (i32.add + (get_local $6) + (get_local $4) ) ) (set_local $2 @@ -190,10 +182,8 @@ ) ) ) - (drop - (call $_Z6reporti - (get_local $6) - ) + (call $_Z6reporti + (get_local $6) ) (set_local $9 (i32.const 1048576) @@ -207,11 +197,9 @@ (set_local $9 (i32.const 0) ) - (drop - (i32.store - (get_local $9) - (get_local $12) - ) + (i32.store + (get_local $9) + (get_local $12) ) (return (i32.const 0) diff --git a/test/dot_s/symbolic-offset.wast b/test/dot_s/symbolic-offset.wast index 462b7971a..cd2205cee 100644 --- a/test/dot_s/symbolic-offset.wast +++ b/test/dot_s/symbolic-offset.wast @@ -4,11 +4,9 @@ (export "memory" (memory $0)) (export "f" (func $f)) (func $f (param $0 i32) (param $1 i32) - (drop - (i32.store offset=16 - (get_local $0) - (get_local $1) - ) + (i32.store offset=16 + (get_local $0) + (get_local $1) ) (return) ) diff --git a/test/dot_s/text_before_type.wast b/test/dot_s/text_before_type.wast index d80360b21..8537b83da 100644 --- a/test/dot_s/text_before_type.wast +++ b/test/dot_s/text_before_type.wast @@ -3,9 +3,7 @@ (export "memory" (memory $0)) (export "main" (func $main)) (func $main (result i32) - (drop - (call $foo) - ) + (call $foo) (i32.const 0) ) (func $foo |