diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-09-13 17:50:17 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-13 17:50:17 -0700 |
commit | da407c06333857f153f9fd1dba780dfbc64677bc (patch) | |
tree | 81de6f348b5f21831a608732bcb304618b9a188d /test/unit.fromasm.imprecise | |
parent | 6cb6d65dd0c19dc5cba43d9367bcbdf691f80df3 (diff) | |
download | binaryen-da407c06333857f153f9fd1dba780dfbc64677bc.tar.gz binaryen-da407c06333857f153f9fd1dba780dfbc64677bc.tar.bz2 binaryen-da407c06333857f153f9fd1dba780dfbc64677bc.zip |
drop if-else arms as necessary
Diffstat (limited to 'test/unit.fromasm.imprecise')
-rw-r--r-- | test/unit.fromasm.imprecise | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise index 80e34dfb9..d007a4d82 100644 --- a/test/unit.fromasm.imprecise +++ b/test/unit.fromasm.imprecise @@ -983,9 +983,20 @@ ) ) ) - (call $lb - (i32.const 1) + (drop + (call $lb + (i32.const 1) + ) ) ) ) + (func $jumpThreadDrop (result i32) + (local $0 i32) + (set_local $0 + (call_import $return_int) + ) + (block $jumpthreading$outer$2 + ) + (get_local $0) + ) ) |