summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.wast
diff options
context:
space:
mode:
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