summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-09-24 14:00:56 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-09-24 14:05:06 -0700
commitf28bba29833bad06a76c7aabf31cf0257e12f5ba (patch)
tree0543eefbbd616d8c2e830bd623643de27f16ee9b /test/unit.fromasm.imprecise
parent49ddf2f8ba2439f767cdbeb656c6ff42d5530cf8 (diff)
downloadbinaryen-f28bba29833bad06a76c7aabf31cf0257e12f5ba.tar.gz
binaryen-f28bba29833bad06a76c7aabf31cf0257e12f5ba.tar.bz2
binaryen-f28bba29833bad06a76c7aabf31cf0257e12f5ba.zip
precompute void expressions too
Diffstat (limited to 'test/unit.fromasm.imprecise')
-rw-r--r--test/unit.fromasm.imprecise12
1 files changed, 3 insertions, 9 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise
index b170c8b82..1e50ad731 100644
--- a/test/unit.fromasm.imprecise
+++ b/test/unit.fromasm.imprecise
@@ -339,7 +339,7 @@
(i32.const 5)
)
(br_if $unlikely-continue$3
- (i32.const 0)
+ (call $return_int)
)
)
(call $print
@@ -500,7 +500,7 @@
)
(func $dropCall (result i32)
(if
- (i32.const 0)
+ (call $return_int)
(block
(drop
(call $phi)
@@ -994,13 +994,7 @@
)
)
(func $jumpThreadDrop (result i32)
- (local $0 i32)
- (set_local $0
- (call $return_int)
- )
- (block $jumpthreading$outer$2
- )
- (get_local $0)
+ (call $return_int)
)
(func $dropIgnoredImportInIf (param $0 i32) (param $1 i32) (param $2 i32)
(if