summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.clamp
diff options
context:
space:
mode:
Diffstat (limited to 'test/emcc_hello_world.fromasm.clamp')
-rw-r--r--test/emcc_hello_world.fromasm.clamp66
1 files changed, 46 insertions, 20 deletions
diff --git a/test/emcc_hello_world.fromasm.clamp b/test/emcc_hello_world.fromasm.clamp
index 80a1f92b2..af2b8a467 100644
--- a/test/emcc_hello_world.fromasm.clamp
+++ b/test/emcc_hello_world.fromasm.clamp
@@ -2843,17 +2843,21 @@
)
(i32.const 10)
)
- (set_local $6
- (i32.add
- (get_local $3)
- (i32.shl
+ (drop
+ (i32.load offset=4
+ (tee_local $6
(i32.add
- (i32.load8_s
- (get_local $6)
+ (get_local $3)
+ (i32.shl
+ (i32.add
+ (i32.load8_s
+ (get_local $6)
+ )
+ (i32.const -48)
+ )
+ (i32.const 3)
)
- (i32.const -48)
)
- (i32.const 3)
)
)
)
@@ -3181,17 +3185,21 @@
)
(i32.const 10)
)
- (set_local $6
- (i32.add
- (get_local $3)
- (i32.shl
+ (drop
+ (i32.load offset=4
+ (tee_local $6
(i32.add
- (i32.load8_s
- (get_local $6)
+ (get_local $3)
+ (i32.shl
+ (i32.add
+ (i32.load8_s
+ (get_local $6)
+ )
+ (i32.const -48)
+ )
+ (i32.const 3)
)
- (i32.const -48)
)
- (i32.const 3)
)
)
)
@@ -3909,8 +3917,12 @@
)
(br $__rjti$4)
)
- (set_local $5
- (get_local $19)
+ (drop
+ (i32.load offset=4
+ (tee_local $5
+ (get_local $19)
+ )
+ )
)
(i32.store8
(get_local $40)
@@ -3959,8 +3971,12 @@
)
(br $__rjti$5)
)
- (set_local $5
- (get_local $19)
+ (drop
+ (i32.load offset=4
+ (tee_local $5
+ (get_local $19)
+ )
+ )
)
(i32.store
(get_local $41)
@@ -4017,6 +4033,11 @@
(get_global $tempDoublePtr)
(get_local $15)
)
+ (drop
+ (i32.load
+ (get_global $tempDoublePtr)
+ )
+ )
(set_local $31
(if (result i32)
(i32.lt_s
@@ -4069,6 +4090,11 @@
(get_global $tempDoublePtr)
(get_local $15)
)
+ (drop
+ (i32.load
+ (get_global $tempDoublePtr)
+ )
+ )
(set_local $7
(block $do-once49 (result i32)
(if (result i32)