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/simplify-locals-notee.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/simplify-locals-notee.txt')
-rw-r--r-- | test/passes/simplify-locals-notee.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/passes/simplify-locals-notee.txt b/test/passes/simplify-locals-notee.txt index 36978eacf..7677bfc6d 100644 --- a/test/passes/simplify-locals-notee.txt +++ b/test/passes/simplify-locals-notee.txt @@ -20,7 +20,7 @@ ) (nop) (drop - (if i32 + (if (result i32) (i32.const 2) (i32.const 3) (i32.const 4) @@ -28,19 +28,19 @@ ) (nop) (drop - (block $block i32 + (block $block (result i32) (i32.const 5) ) ) (nop) (drop - (if i32 + (if (result i32) (i32.const 6) - (block i32 + (block (result i32) (nop) (i32.const 7) ) - (block i32 + (block (result i32) (nop) (i32.const 8) ) @@ -48,7 +48,7 @@ ) (nop) (drop - (block $val i32 + (block $val (result i32) (if (i32.const 10) (block $block4 |