summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.wast
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-01 15:31:00 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-01 15:31:00 -0800
commit44e83f2fb039a38b0764a172aa7c64ec3290d8c5 (patch)
tree888f217d7df089525bf368849f22cf6a7505f1f2 /test/emcc_hello_world.wast
parentb25e59d51d828f6a818141a715e9008f05e7063f (diff)
downloadbinaryen-44e83f2fb039a38b0764a172aa7c64ec3290d8c5.tar.gz
binaryen-44e83f2fb039a38b0764a172aa7c64ec3290d8c5.tar.bz2
binaryen-44e83f2fb039a38b0764a172aa7c64ec3290d8c5.zip
remove condition from break
Diffstat (limited to 'test/emcc_hello_world.wast')
-rw-r--r--test/emcc_hello_world.wast28
1 files changed, 21 insertions, 7 deletions
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