summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-04-07 19:09:05 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-04-07 19:09:05 -0700
commit0a03aacd4ea32476714066eebe0cded77c87ca66 (patch)
tree4ec1b99e7dae8f43cdcf4f2baccf5dee0b5e6a11 /test/emcc_hello_world.fromasm.imprecise
parente98b5a7d1866a9f29c5bf06a9b231894222ad30b (diff)
downloadbinaryen-0a03aacd4ea32476714066eebe0cded77c87ca66.tar.gz
binaryen-0a03aacd4ea32476714066eebe0cded77c87ca66.tar.bz2
binaryen-0a03aacd4ea32476714066eebe0cded77c87ca66.zip
blocks must mark as branching in effects analyzer, as control flow can join there if the end of the block was branched to
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r--test/emcc_hello_world.fromasm.imprecise19
1 files changed, 10 insertions, 9 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index 343ab13a6..fc4418930 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -297,9 +297,9 @@
)
)
(func $_frexp (param $$x f64) (param $$e i32) (result f64)
+ (local $$retval$0 f64)
(local $$x$addr$0 f64)
(local $$storemerge i32)
- (local $$retval$0 f64)
(local $$1 i32)
(local $$0 i32)
(local $$sub8 i32)
@@ -461,19 +461,20 @@
)
(get_local $$6)
)
- )
- )
- (return
- (set_local $$retval$0
- (set_local $$7
- (f64.load
- (i32.load
- (i32.const 24)
+ (set_local $$retval$0
+ (set_local $$7
+ (f64.load
+ (i32.load
+ (i32.const 24)
+ )
)
)
)
)
)
+ (return
+ (get_local $$retval$0)
+ )
)
(func $_frexpl (param $$x f64) (param $$e i32) (result f64)
(local $sp i32)