summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-09-07 14:38:41 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-09-07 18:42:48 -0700
commit443d7a8e39c4ccfaeab6066160aae17e1fee8cc8 (patch)
treef0d5a9b48d65edbc5514ba25ff2db2f969f49b2f /test/emcc_hello_world.fromasm.imprecise
parentd8af68954309ef2cd34449a50b4d82d3bb96c7e7 (diff)
downloadbinaryen-443d7a8e39c4ccfaeab6066160aae17e1fee8cc8.tar.gz
binaryen-443d7a8e39c4ccfaeab6066160aae17e1fee8cc8.tar.bz2
binaryen-443d7a8e39c4ccfaeab6066160aae17e1fee8cc8.zip
vacuum drops better
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r--test/emcc_hello_world.fromasm.imprecise56
1 files changed, 20 insertions, 36 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index d5dd39c95..0d1653a62 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -3318,21 +3318,17 @@
)
(i32.const 10)
)
- (drop
- (i32.load offset=4
- (tee_local $1
+ (set_local $1
+ (i32.add
+ (get_local $3)
+ (i32.shl
(i32.add
- (get_local $3)
- (i32.shl
- (i32.add
- (i32.load8_s
- (get_local $6)
- )
- (i32.const -48)
- )
- (i32.const 3)
+ (i32.load8_s
+ (get_local $6)
)
+ (i32.const -48)
)
+ (i32.const 3)
)
)
)
@@ -3695,21 +3691,17 @@
)
(i32.const 10)
)
- (drop
- (i32.load offset=4
- (tee_local $1
+ (set_local $1
+ (i32.add
+ (get_local $3)
+ (i32.shl
(i32.add
- (get_local $3)
- (i32.shl
- (i32.add
- (i32.load8_s
- (get_local $6)
- )
- (i32.const -48)
- )
- (i32.const 3)
+ (i32.load8_s
+ (get_local $6)
)
+ (i32.const -48)
)
+ (i32.const 3)
)
)
)
@@ -4532,12 +4524,8 @@
)
(br $switch$24)
)
- (drop
- (i32.load offset=4
- (tee_local $1
- (get_local $18)
- )
- )
+ (set_local $1
+ (get_local $18)
)
(i32.store8
(get_local $71)
@@ -4599,12 +4587,8 @@
)
(br $switch$24)
)
- (drop
- (i32.load offset=4
- (tee_local $1
- (get_local $18)
- )
- )
+ (set_local $1
+ (get_local $18)
)
(i32.store
(get_local $72)