diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-08-05 11:10:04 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-07 09:54:55 -0700 |
commit | f48690ceeea66cf44e8f64be6543d6ed6b9e6bb5 (patch) | |
tree | 842a46db2cb9cac4089e39c1ebc9920158c0d901 /test | |
parent | 42155057a56a979eccb6d811671cfbf290cf429e (diff) | |
download | binaryen-f48690ceeea66cf44e8f64be6543d6ed6b9e6bb5.tar.gz binaryen-f48690ceeea66cf44e8f64be6543d6ed6b9e6bb5.tar.bz2 binaryen-f48690ceeea66cf44e8f64be6543d6ed6b9e6bb5.zip |
select values must be valid
Diffstat (limited to 'test')
-rw-r--r-- | test/passes/remove-unused-brs.txt | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/passes/remove-unused-brs.txt b/test/passes/remove-unused-brs.txt index de6dc4779..1c5c8e713 100644 --- a/test/passes/remove-unused-brs.txt +++ b/test/passes/remove-unused-brs.txt @@ -117,7 +117,8 @@ ) (func $b12-yes (type $1) (block $topmost - (select + (if + (i32.const 1) (block $block1 (drop (i32.const 12) @@ -138,7 +139,6 @@ ) ) ) - (i32.const 1) ) ) ) @@ -221,42 +221,42 @@ ) (func $b17 (type $1) (block $a - (select + (if + (i32.const 0) (block $block1 ) (block $block3 ) - (i32.const 0) ) ) (block $a - (select + (if + (i32.const 0) (drop (i32.const 1) ) (block $block6 ) - (i32.const 0) ) ) (block $a - (select + (if + (i32.const 0) (block $block8 ) (drop (i32.const 1) ) - (i32.const 0) ) ) (block $c (block $b - (select + (if + (i32.const 0) (block $block11 ) (block $block13 ) - (i32.const 0) ) ) ) @@ -272,11 +272,11 @@ ) (func $ret-3 (type $1) (block $block0 - (select + (if + (i32.const 0) (nop) (block $block3 ) - (i32.const 0) ) ) ) @@ -340,7 +340,10 @@ (i32.const 1) ) ) - (select + (if + (block $a + (i32.const 0) + ) (block $a (block $block11 (drop @@ -355,9 +358,6 @@ ) ) ) - (block $a - (i32.const 0) - ) ) ) ) |