summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-05-19 16:13:08 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-05-19 16:13:08 -0700
commit579010855a134a78cab8ed129cbbbe52bd52a380 (patch)
tree7b9da5de9331ccc2f6084209e136701a80026138 /test/unit.fromasm.imprecise
parentfe1bda7da797e5586d39122aec931a8a84df4ac7 (diff)
downloadbinaryen-579010855a134a78cab8ed129cbbbe52bd52a380.tar.gz
binaryen-579010855a134a78cab8ed129cbbbe52bd52a380.tar.bz2
binaryen-579010855a134a78cab8ed129cbbbe52bd52a380.zip
vacuum the top of functions too
Diffstat (limited to 'test/unit.fromasm.imprecise')
-rw-r--r--test/unit.fromasm.imprecise21
1 files changed, 4 insertions, 17 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise
index b8e781f09..240cc0bd5 100644
--- a/test/unit.fromasm.imprecise
+++ b/test/unit.fromasm.imprecise
@@ -86,13 +86,7 @@
)
)
(func $hexLiterals
- (i32.add
- (i32.add
- (i32.const 0)
- (i32.const 313249263)
- )
- (i32.const -19088752)
- )
+ (nop)
)
(func $conversions
(local $0 i32)
@@ -104,10 +98,7 @@
)
)
(func $seq
- (f64.sub
- (f64.const 5.1)
- (f64.const 4.2)
- )
+ (nop)
)
(func $switcher (param $0 i32) (result i32)
(block $switch-default$3
@@ -231,7 +222,7 @@
(f64.const -0)
)
(func $abs
- (i32.const 0)
+ (nop)
)
(func $neg
(local $0 f32)
@@ -261,11 +252,7 @@
)
)
(func $___syscall_ret
- (local $0 i32)
- (i32.gt_u
- (get_local $0)
- (i32.const -4096)
- )
+ (nop)
)
(func $smallCompare (result i32)
(local $0 i32)