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.fromasm28
1 files changed, 12 insertions, 16 deletions
diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm
index 575a33d1c..ec5237261 100644
--- a/test/emcc_hello_world.fromasm
+++ b/test/emcc_hello_world.fromasm
@@ -403,16 +403,14 @@
)
)
(br_if $while-in$1
- (i32.eqz
- (i32.eq
- (tee_local $2
- (i32.add
- (get_local $2)
- (i32.const 1)
- )
+ (i32.ne
+ (tee_local $2
+ (i32.add
+ (get_local $2)
+ (i32.const 1)
)
- (i32.const 87)
)
+ (i32.const 87)
)
)
(block
@@ -5951,14 +5949,12 @@
)
)
(br_if $while-in$95
- (i32.eqz
- (i32.lt_u
- (get_local $13)
- (tee_local $8
- (i32.mul
- (get_local $8)
- (i32.const 10)
- )
+ (i32.ge_u
+ (get_local $13)
+ (tee_local $8
+ (i32.mul
+ (get_local $8)
+ (i32.const 10)
)
)
)