diff options
Diffstat (limited to 'test/passes/remove-unused-names_merge-blocks_all-features.txt')
-rw-r--r-- | test/passes/remove-unused-names_merge-blocks_all-features.txt | 34 |
1 files changed, 21 insertions, 13 deletions
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 ac7647507..05f27ea4c 100644 --- a/test/passes/remove-unused-names_merge-blocks_all-features.txt +++ b/test/passes/remove-unused-names_merge-blocks_all-features.txt @@ -767,14 +767,16 @@ (local.get $0) (local.get $1) ) - (nop) + (then + (nop) + ) ) ) (func $do-reorder (type $i) (param $x i32) (local $y i32) (if (i32.const 1) - (block + (then (local.set $y (i32.const 5) ) @@ -791,14 +793,16 @@ (local $y i32) (if (i32.const 1) - (local.set $x - (i32.le_u - (local.get $y) - (block (result i32) - (local.set $y - (i32.const 5) + (then + (local.set $x + (i32.le_u + (local.get $y) + (block (result i32) + (local.set $y + (i32.const 5) + ) + (i32.const 10) ) - (i32.const 10) ) ) ) @@ -959,8 +963,10 @@ (block $l5 (if (i32.const 10) - (br_if $l5 - (i32.const 11) + (then + (br_if $l5 + (i32.const 11) + ) ) ) (drop @@ -1100,8 +1106,10 @@ (loop $l5 (if (i32.const 10) - (br_if $l5 - (i32.const 11) + (then + (br_if $l5 + (i32.const 11) + ) ) ) ) |