diff options
author | Sam Clegg <sbc@chromium.org> | 2017-06-12 16:50:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-12 16:50:28 -0700 |
commit | 68dc2eddc24844c7582cafa85afeb4023a47888f (patch) | |
tree | fcaedc839420fe43c555166420865d5aeef0dbfa /test/passes/remove-unused-brs_shrink-level=1.txt | |
parent | 93c65f98b7a9b0977578dbf55778529efec646f1 (diff) | |
download | binaryen-68dc2eddc24844c7582cafa85afeb4023a47888f.tar.gz binaryen-68dc2eddc24844c7582cafa85afeb4023a47888f.tar.bz2 binaryen-68dc2eddc24844c7582cafa85afeb4023a47888f.zip |
Support new result syntax for if/loop/block (#1047)
Support both syntax formats in input since the old spec
tests still need to be parsable.
Diffstat (limited to 'test/passes/remove-unused-brs_shrink-level=1.txt')
-rw-r--r-- | test/passes/remove-unused-brs_shrink-level=1.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/passes/remove-unused-brs_shrink-level=1.txt b/test/passes/remove-unused-brs_shrink-level=1.txt index 1f837ab0c..09e727ea5 100644 --- a/test/passes/remove-unused-brs_shrink-level=1.txt +++ b/test/passes/remove-unused-brs_shrink-level=1.txt @@ -6,17 +6,17 @@ (func $b14 (type $2) (result i32) (drop (select - (block $block1 i32 + (block $block1 (result i32) (i32.const 12) ) - (block $block3 i32 + (block $block3 (result i32) (i32.const 27) ) (i32.const 1) ) ) (drop - (if i32 + (if (result i32) (i32.const 1) (i32.load (i32.const 10) @@ -25,7 +25,7 @@ ) ) (drop - (if i32 + (if (result i32) (i32.const 1) (i32.rem_s (i32.const 11) @@ -35,7 +35,7 @@ ) ) (drop - (if i32 + (if (result i32) (i32.const 1) (i32.trunc_u/f64 (f64.const 12.34) |