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/debugInfo.fromasm.imprecise | |
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/debugInfo.fromasm.imprecise')
-rw-r--r-- | test/debugInfo.fromasm.imprecise | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/debugInfo.fromasm.imprecise b/test/debugInfo.fromasm.imprecise index 638911cfc..824ade74e 100644 --- a/test/debugInfo.fromasm.imprecise +++ b/test/debugInfo.fromasm.imprecise @@ -123,10 +123,10 @@ (func $switch_reach (param $0 i32) (result i32) (local $1 i32) (set_local $1 - (block $__rjto$0 i32 + (block $__rjto$0 (result i32) (block $__rjti$0 (br $__rjto$0 - (if i32 + (if (result i32) (i32.lt_s (tee_local $1 (i32.add @@ -136,7 +136,7 @@ ) (i32.const 1369188723) ) - (block $switch i32 + (block $switch (result i32) (block $switch-default (block $switch-case (br_table $switch-case $switch-default @@ -150,7 +150,7 @@ ) (i32.const 0) ) - (block $switch0 i32 + (block $switch0 (result i32) (block $switch-default2 (block $switch-case1 (br_table $switch-case1 $switch-default2 |