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.fromasm22
1 files changed, 14 insertions, 8 deletions
diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm
index afb161718..06f88befe 100644
--- a/test/emcc_hello_world.fromasm
+++ b/test/emcc_hello_world.fromasm
@@ -4357,11 +4357,14 @@
(i32.store8
(get_local $5)
(i32.or
- (i32.load8_u offset=4075
- (tee_local $7
- (call $f64-to-int
- (get_local $15)
+ (i32.load8_u
+ (i32.add
+ (tee_local $7
+ (call $f64-to-int
+ (get_local $15)
+ )
)
+ (i32.const 4075)
)
)
(get_local $13)
@@ -6596,10 +6599,13 @@
)
)
(i32.or
- (i32.load8_u offset=4075
- (i32.and
- (get_local $5)
- (i32.const 15)
+ (i32.load8_u
+ (i32.add
+ (i32.and
+ (get_local $5)
+ (i32.const 15)
+ )
+ (i32.const 4075)
)
)
(get_local $9)