summaryrefslogtreecommitdiff
path: root/test/min.wast
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-22 10:34:50 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-22 10:35:32 -0800
commitac1d0f855f3fde65753aeea546c6781dbfd331ba (patch)
treecb67da35b95df91b7b14e5a55cda73605ec0aeee /test/min.wast
parentf9764009d8df47eeddf9e542705bb6a5e7d397b0 (diff)
downloadbinaryen-ac1d0f855f3fde65753aeea546c6781dbfd331ba.tar.gz
binaryen-ac1d0f855f3fde65753aeea546c6781dbfd331ba.tar.bz2
binaryen-ac1d0f855f3fde65753aeea546c6781dbfd331ba.zip
fix detectSign on recursive calls that need minified fround
Diffstat (limited to 'test/min.wast')
-rw-r--r--test/min.wast16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/min.wast b/test/min.wast
index fc67d2505..6a1b5a1f0 100644
--- a/test/min.wast
+++ b/test/min.wast
@@ -8,4 +8,20 @@
(get_local $f)
)
)
+ (func $neg (param $k i32) (param $p i32)
+ (local $n f32)
+ (set_local $n
+ (f32.neg
+ (block
+ (i32.store align=4
+ (get_local $k)
+ (get_local $p)
+ )
+ (f32.load align=4
+ (get_local $k)
+ )
+ )
+ )
+ )
+ )
)