diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-09-16 17:55:58 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-16 18:28:28 -0700 |
commit | 0a9df805f688d5eab8be380ab7c9dde115d88852 (patch) | |
tree | 23f956226f783d2a72abfce8cf186909c7256367 /test/unit.fromasm.imprecise | |
parent | f0546a0c8322a4e2f1777c8a749207a70cdca681 (diff) | |
download | binaryen-0a9df805f688d5eab8be380ab7c9dde115d88852.tar.gz binaryen-0a9df805f688d5eab8be380ab7c9dde115d88852.tar.bz2 binaryen-0a9df805f688d5eab8be380ab7c9dde115d88852.zip |
br_if returns its value
Diffstat (limited to 'test/unit.fromasm.imprecise')
-rw-r--r-- | test/unit.fromasm.imprecise | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise index 5ea81aad3..8752f179a 100644 --- a/test/unit.fromasm.imprecise +++ b/test/unit.fromasm.imprecise @@ -474,10 +474,12 @@ ) (func $phi (result i32) (block $do-once$0 i32 - (br_if $do-once$0 - (i32.const 0) - (call $lb - (i32.const 1) + (drop + (br_if $do-once$0 + (i32.const 0) + (call $lb + (i32.const 1) + ) ) ) (i32.const 1) |