diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-01 15:31:00 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-01 15:31:00 -0800 |
commit | 44e83f2fb039a38b0764a172aa7c64ec3290d8c5 (patch) | |
tree | 888f217d7df089525bf368849f22cf6a7505f1f2 /test | |
parent | b25e59d51d828f6a818141a715e9008f05e7063f (diff) | |
download | binaryen-44e83f2fb039a38b0764a172aa7c64ec3290d8c5.tar.gz binaryen-44e83f2fb039a38b0764a172aa7c64ec3290d8c5.tar.bz2 binaryen-44e83f2fb039a38b0764a172aa7c64ec3290d8c5.zip |
remove condition from break
Diffstat (limited to 'test')
-rw-r--r-- | test/emcc_O2_hello_world.wast | 36 | ||||
-rw-r--r-- | test/emcc_hello_world.wast | 28 |
2 files changed, 48 insertions, 16 deletions
diff --git a/test/emcc_O2_hello_world.wast b/test/emcc_O2_hello_world.wast index 1b3ff0336..777bcc9d0 100644 --- a/test/emcc_O2_hello_world.wast +++ b/test/emcc_O2_hello_world.wast @@ -4654,11 +4654,13 @@ ) ) ) - (break $do-in$29 + (if (i32.ne (get_local $i63) (i32.const 0) ) + (break $do-in$29 + ) ) ) ) @@ -6677,7 +6679,7 @@ (get_local $i63) (i32.const 7) ) - (break $do-in$47 + (if (i32.lt_u (i32.shr_u (i32.add @@ -6691,6 +6693,8 @@ (i32.const 0) ) ) + (break $do-in$47 + ) ) ) ) @@ -7379,11 +7383,13 @@ (i32.const 1) ) ) - (break $do-in$51 + (if (i32.ne (get_local $i5) (i32.const 32) ) + (break $do-in$51 + ) ) ) ) @@ -11450,11 +11456,13 @@ (block (loop $while-out$0 $while-in$1 (block - (break $while-in$1 + (if (i32.and (get_local $i1) (i32.const 3) ) + (break $while-in$1 + ) ) (block (if @@ -11495,11 +11503,13 @@ ) (loop $while-out$2 $while-in$3 (block - (break $while-in$3 + (if (i32.ge_s (get_local $i3) (i32.const 4) ) + (break $while-in$3 + ) ) (block (i32.store align=4 @@ -11533,11 +11543,13 @@ ) (loop $while-out$4 $while-in$5 (block - (break $while-in$5 + (if (i32.gt_s (get_local $i3) (i32.const 0) ) + (break $while-in$5 + ) ) (block (i32.store8 align=1 @@ -11649,11 +11661,13 @@ ) (loop $while-out$0 $while-in$1 (block - (break $while-in$1 + (if (i32.lt_s (get_local $i1) (get_local $i5) ) + (break $while-in$1 + ) ) (block (i32.store8 align=1 @@ -11673,11 +11687,13 @@ ) (loop $while-out$2 $while-in$3 (block - (break $while-in$3 + (if (i32.lt_s (get_local $i1) (get_local $i7) ) + (break $while-in$3 + ) ) (block (i32.store align=4 @@ -11697,11 +11713,13 @@ ) (loop $while-out$4 $while-in$5 (block - (break $while-in$5 + (if (i32.lt_s (get_local $i1) (get_local $i4) ) + (break $while-in$5 + ) ) (block (i32.store8 align=1 diff --git a/test/emcc_hello_world.wast b/test/emcc_hello_world.wast index 21394f768..7941533c6 100644 --- a/test/emcc_hello_world.wast +++ b/test/emcc_hello_world.wast @@ -2300,11 +2300,13 @@ (i32.const 4) ) ) - (break $do-in$1 + (if (i32.lt_s (get_local $dest) (get_local $stop) ) + (break $do-in$1 + ) ) ) ) @@ -24869,11 +24871,13 @@ ) (loop $while-out$0 $while-in$1 (block - (break $while-in$1 + (if (i32.lt_s (get_local $ptr) (get_local $unaligned) ) + (break $while-in$1 + ) ) (block (i32.store8 align=1 @@ -24893,11 +24897,13 @@ ) (loop $while-out$2 $while-in$3 (block - (break $while-in$3 + (if (i32.lt_s (get_local $ptr) (get_local $stop4) ) + (break $while-in$3 + ) ) (block (i32.store align=4 @@ -24917,11 +24923,13 @@ ) (loop $while-out$4 $while-in$5 (block - (break $while-in$5 + (if (i32.lt_s (get_local $ptr) (get_local $stop) ) + (break $while-in$5 + ) ) (block (i32.store8 align=1 @@ -25100,11 +25108,13 @@ (block (loop $while-out$0 $while-in$1 (block - (break $while-in$1 + (if (i32.and (get_local $dest) (i32.const 3) ) + (break $while-in$1 + ) ) (block (if @@ -25145,11 +25155,13 @@ ) (loop $while-out$2 $while-in$3 (block - (break $while-in$3 + (if (i32.ge_s (get_local $num) (i32.const 4) ) + (break $while-in$3 + ) ) (block (i32.store align=4 @@ -25183,11 +25195,13 @@ ) (loop $while-out$4 $while-in$5 (block - (break $while-in$5 + (if (i32.gt_s (get_local $num) (i32.const 0) ) + (break $while-in$5 + ) ) (block (i32.store8 align=1 |