diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-23 21:50:20 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-24 09:36:08 -0700 |
commit | 186765307f12e6c7628ad6da11b332c2bfbcaa07 (patch) | |
tree | 21198adc85ef67e92c71529e00603af6d61e9e70 /test | |
parent | 7dcb613e392757bd5a442c89f45f885a63d7b1dd (diff) | |
download | binaryen-186765307f12e6c7628ad6da11b332c2bfbcaa07.tar.gz binaryen-186765307f12e6c7628ad6da11b332c2bfbcaa07.tar.bz2 binaryen-186765307f12e6c7628ad6da11b332c2bfbcaa07.zip |
run multiple cycles of RemoveUnusedBrs
Diffstat (limited to 'test')
-rw-r--r-- | test/emcc_hello_world.fromasm | 1 | ||||
-rw-r--r-- | test/emcc_hello_world.fromasm.imprecise | 1 | ||||
-rw-r--r-- | test/passes/remove-unused-brs.txt | 8 |
3 files changed, 4 insertions, 6 deletions
diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm index 9d50d32b2..75e2bf024 100644 --- a/test/emcc_hello_world.fromasm +++ b/test/emcc_hello_world.fromasm @@ -10864,7 +10864,6 @@ (get_local $$arg) (get_local $$110) ) - (br $label$break$L1) ) ) ) diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise index b303c5cac..4ada9b367 100644 --- a/test/emcc_hello_world.fromasm.imprecise +++ b/test/emcc_hello_world.fromasm.imprecise @@ -10862,7 +10862,6 @@ (get_local $$arg) (get_local $$110) ) - (br $label$break$L1) ) ) ) diff --git a/test/passes/remove-unused-brs.txt b/test/passes/remove-unused-brs.txt index 2404e7b39..226065f3f 100644 --- a/test/passes/remove-unused-brs.txt +++ b/test/passes/remove-unused-brs.txt @@ -169,9 +169,9 @@ (block $a (block $b (block $c - (br $a) + (nop) ) - (br $a) + (nop) ) (nop) ) @@ -187,9 +187,9 @@ (block $a (block $b (block $c - (br $b) + (nop) ) - (br $a) + (nop) ) (nop) ) |