summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/emcc_hello_world.fromasm')
-rw-r--r--test/emcc_hello_world.fromasm72
1 files changed, 36 insertions, 36 deletions
diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm
index 381e53407..415e66f1d 100644
--- a/test/emcc_hello_world.fromasm
+++ b/test/emcc_hello_world.fromasm
@@ -28143,13 +28143,13 @@
)
)
(loop $while-out$0 $while-in$1
- (if
- (i32.lt_s
- (get_local $ptr)
- (get_local $unaligned)
+ (br_if $while-out$0
+ (i32.eqz
+ (i32.lt_s
+ (get_local $ptr)
+ (get_local $unaligned)
+ )
)
- (nop)
- (br $while-out$0)
)
(i32.store8
(get_local $ptr)
@@ -28166,13 +28166,13 @@
)
)
(loop $while-out$2 $while-in$3
- (if
- (i32.lt_s
- (get_local $ptr)
- (get_local $stop4)
+ (br_if $while-out$2
+ (i32.eqz
+ (i32.lt_s
+ (get_local $ptr)
+ (get_local $stop4)
+ )
)
- (nop)
- (br $while-out$2)
)
(i32.store
(get_local $ptr)
@@ -28189,13 +28189,13 @@
)
)
(loop $while-out$4 $while-in$5
- (if
- (i32.lt_s
- (get_local $ptr)
- (get_local $stop)
+ (br_if $while-out$4
+ (i32.eqz
+ (i32.lt_s
+ (get_local $ptr)
+ (get_local $stop)
+ )
)
- (nop)
- (br $while-out$4)
)
(i32.store8
(get_local $ptr)
@@ -28369,13 +28369,13 @@
)
(block
(loop $while-out$0 $while-in$1
- (if
- (i32.and
- (get_local $dest)
- (i32.const 3)
+ (br_if $while-out$0
+ (i32.eqz
+ (i32.and
+ (get_local $dest)
+ (i32.const 3)
+ )
)
- (nop)
- (br $while-out$0)
)
(if
(i32.eq
@@ -28413,13 +28413,13 @@
(br $while-in$1)
)
(loop $while-out$2 $while-in$3
- (if
- (i32.ge_s
- (get_local $num)
- (i32.const 4)
+ (br_if $while-out$2
+ (i32.eqz
+ (i32.ge_s
+ (get_local $num)
+ (i32.const 4)
+ )
)
- (nop)
- (br $while-out$2)
)
(i32.store
(get_local $dest)
@@ -28450,13 +28450,13 @@
)
)
(loop $while-out$4 $while-in$5
- (if
- (i32.gt_s
- (get_local $num)
- (i32.const 0)
+ (br_if $while-out$4
+ (i32.eqz
+ (i32.gt_s
+ (get_local $num)
+ (i32.const 0)
+ )
)
- (nop)
- (br $while-out$4)
)
(i32.store8
(get_local $dest)