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.fromasm30
1 files changed, 17 insertions, 13 deletions
diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm
index 93932a33f..c85852a3f 100644
--- a/test/emcc_hello_world.fromasm
+++ b/test/emcc_hello_world.fromasm
@@ -5835,19 +5835,21 @@
)
)
(if
- (f64.eq
- (set_local $14
- (f64.mul
- (f64.sub
- (get_local $14)
- (f64.convert_u/i32
- (get_local $5)
+ (i32.eqz
+ (f64.ne
+ (set_local $14
+ (f64.mul
+ (f64.sub
+ (get_local $14)
+ (f64.convert_u/i32
+ (get_local $5)
+ )
)
+ (f64.const 1e9)
)
- (f64.const 1e9)
)
+ (f64.const 0)
)
- (f64.const 0)
)
(block
(set_local $7
@@ -6649,12 +6651,14 @@
)
)
(if
- (f64.eq
- (f64.add
+ (i32.eqz
+ (f64.ne
+ (f64.add
+ (get_local $14)
+ (get_local $29)
+ )
(get_local $14)
- (get_local $29)
)
- (get_local $14)
)
(block
(set_local $5