summaryrefslogtreecommitdiff
path: root/test/min.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-04-11 19:43:58 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-04-11 19:43:58 -0700
commit73c606a04d01dc7018d028eed3216a507ab03ee9 (patch)
treebf4255d2fead5fdf721ea178607abfc408cd6ac8 /test/min.fromasm.imprecise
parent65d9334b3066bae667e729f3202f7aa2d7c11530 (diff)
parent1044d6cbca6d279d457cdd1cf7000671ec48e841 (diff)
downloadbinaryen-73c606a04d01dc7018d028eed3216a507ab03ee9.tar.gz
binaryen-73c606a04d01dc7018d028eed3216a507ab03ee9.tar.bz2
binaryen-73c606a04d01dc7018d028eed3216a507ab03ee9.zip
Merge pull request #334 from WebAssembly/opts2
More optimizations
Diffstat (limited to 'test/min.fromasm.imprecise')
-rw-r--r--test/min.fromasm.imprecise18
1 files changed, 8 insertions, 10 deletions
diff --git a/test/min.fromasm.imprecise b/test/min.fromasm.imprecise
index f4c170b62..389094f09 100644
--- a/test/min.fromasm.imprecise
+++ b/test/min.fromasm.imprecise
@@ -14,16 +14,14 @@
(func $neg (param $k i32) (param $p i32) (result f32)
(local $n f32)
(return
- (set_local $n
- (f32.neg
- (block
- (i32.store
- (get_local $k)
- (get_local $p)
- )
- (f32.load
- (get_local $k)
- )
+ (f32.neg
+ (block
+ (i32.store
+ (get_local $k)
+ (get_local $p)
+ )
+ (f32.load
+ (get_local $k)
)
)
)