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.fromasm56
1 files changed, 20 insertions, 36 deletions
diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm
index 4c032627d..3b93c26fd 100644
--- a/test/emcc_hello_world.fromasm
+++ b/test/emcc_hello_world.fromasm
@@ -3325,21 +3325,17 @@
)
(i32.const 10)
)
- (drop
- (i32.load offset=4
- (tee_local $1
+ (set_local $1
+ (i32.add
+ (get_local $3)
+ (i32.shl
(i32.add
- (get_local $3)
- (i32.shl
- (i32.add
- (i32.load8_s
- (get_local $6)
- )
- (i32.const -48)
- )
- (i32.const 3)
+ (i32.load8_s
+ (get_local $6)
)
+ (i32.const -48)
)
+ (i32.const 3)
)
)
)
@@ -3702,21 +3698,17 @@
)
(i32.const 10)
)
- (drop
- (i32.load offset=4
- (tee_local $1
+ (set_local $1
+ (i32.add
+ (get_local $3)
+ (i32.shl
(i32.add
- (get_local $3)
- (i32.shl
- (i32.add
- (i32.load8_s
- (get_local $6)
- )
- (i32.const -48)
- )
- (i32.const 3)
+ (i32.load8_s
+ (get_local $6)
)
+ (i32.const -48)
)
+ (i32.const 3)
)
)
)
@@ -4539,12 +4531,8 @@
)
(br $switch$24)
)
- (drop
- (i32.load offset=4
- (tee_local $1
- (get_local $18)
- )
- )
+ (set_local $1
+ (get_local $18)
)
(i32.store8
(get_local $71)
@@ -4606,12 +4594,8 @@
)
(br $switch$24)
)
- (drop
- (i32.load offset=4
- (tee_local $1
- (get_local $18)
- )
- )
+ (set_local $1
+ (get_local $18)
)
(i32.store
(get_local $72)