summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-05-19 15:40:23 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-05-19 15:46:18 -0700
commitfe1bda7da797e5586d39122aec931a8a84df4ac7 (patch)
treeee056db222a948610839ae204e0311b0854c36fe /test/unit.fromasm.imprecise
parent322e89791721ce5130242c87eb1c01163f0ad21d (diff)
downloadbinaryen-fe1bda7da797e5586d39122aec931a8a84df4ac7.tar.gz
binaryen-fe1bda7da797e5586d39122aec931a8a84df4ac7.tar.bz2
binaryen-fe1bda7da797e5586d39122aec931a8a84df4ac7.zip
vacuum after passes that create garbage; this makes the total time better
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 77ce73239..b8e781f09 100644
--- a/test/unit.fromasm.imprecise
+++ b/test/unit.fromasm.imprecise
@@ -96,11 +96,10 @@
)
(func $conversions
(local $0 i32)
- (local $1 f64)
- (local $2 f32)
+ (local $1 f32)
(set_local $0
(i32.trunc_s/f32
- (get_local $2)
+ (get_local $1)
)
)
)
@@ -226,17 +225,13 @@
)
)
(func $fr (param $0 f32)
- (local $1 f64)
(nop)
)
(func $negZero (result f64)
(f64.const -0)
)
(func $abs
- (local $0 i32)
- (set_local $0
- (i32.const 0)
- )
+ (i32.const 0)
)
(func $neg
(local $0 f32)
@@ -371,7 +366,6 @@
)
)
(func $bitcasts (param $0 i32) (param $1 f32)
- (local $2 f64)
(nop)
)
(func $z