diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-09-07 14:38:41 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-07 18:42:48 -0700 |
commit | 443d7a8e39c4ccfaeab6066160aae17e1fee8cc8 (patch) | |
tree | f0d5a9b48d65edbc5514ba25ff2db2f969f49b2f /test/emcc_hello_world.fromasm | |
parent | d8af68954309ef2cd34449a50b4d82d3bb96c7e7 (diff) | |
download | binaryen-443d7a8e39c4ccfaeab6066160aae17e1fee8cc8.tar.gz binaryen-443d7a8e39c4ccfaeab6066160aae17e1fee8cc8.tar.bz2 binaryen-443d7a8e39c4ccfaeab6066160aae17e1fee8cc8.zip |
vacuum drops better
Diffstat (limited to 'test/emcc_hello_world.fromasm')
-rw-r--r-- | test/emcc_hello_world.fromasm | 56 |
1 files changed, 20 insertions, 36 deletions
diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm index 4c032627d..3b93c26fd 100644 --- a/test/emcc_hello_world.fromasm +++ b/test/emcc_hello_world.fromasm @@ -3325,21 +3325,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) ) ) ) @@ -3702,21 +3698,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) ) ) ) @@ -4539,12 +4531,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) @@ -4606,12 +4594,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) |