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.fromasm40
1 files changed, 15 insertions, 25 deletions
diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm
index 415e66f1d..60394be4f 100644
--- a/test/emcc_hello_world.fromasm
+++ b/test/emcc_hello_world.fromasm
@@ -28144,11 +28144,9 @@
)
(loop $while-out$0 $while-in$1
(br_if $while-out$0
- (i32.eqz
- (i32.lt_s
- (get_local $ptr)
- (get_local $unaligned)
- )
+ (i32.ge_s
+ (get_local $ptr)
+ (get_local $unaligned)
)
)
(i32.store8
@@ -28167,11 +28165,9 @@
)
(loop $while-out$2 $while-in$3
(br_if $while-out$2
- (i32.eqz
- (i32.lt_s
- (get_local $ptr)
- (get_local $stop4)
- )
+ (i32.ge_s
+ (get_local $ptr)
+ (get_local $stop4)
)
)
(i32.store
@@ -28190,11 +28186,9 @@
)
(loop $while-out$4 $while-in$5
(br_if $while-out$4
- (i32.eqz
- (i32.lt_s
- (get_local $ptr)
- (get_local $stop)
- )
+ (i32.ge_s
+ (get_local $ptr)
+ (get_local $stop)
)
)
(i32.store8
@@ -28414,11 +28408,9 @@
)
(loop $while-out$2 $while-in$3
(br_if $while-out$2
- (i32.eqz
- (i32.ge_s
- (get_local $num)
- (i32.const 4)
- )
+ (i32.lt_s
+ (get_local $num)
+ (i32.const 4)
)
)
(i32.store
@@ -28451,11 +28443,9 @@
)
(loop $while-out$4 $while-in$5
(br_if $while-out$4
- (i32.eqz
- (i32.gt_s
- (get_local $num)
- (i32.const 0)
- )
+ (i32.le_s
+ (get_local $num)
+ (i32.const 0)
)
)
(i32.store8