summaryrefslogtreecommitdiff
path: root/test/unit.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm')
-rw-r--r--test/unit.fromasm18
1 files changed, 8 insertions, 10 deletions
diff --git a/test/unit.fromasm b/test/unit.fromasm
index c6e11e0ef..42b67a72c 100644
--- a/test/unit.fromasm
+++ b/test/unit.fromasm
@@ -109,14 +109,10 @@
(get_local $0)
)
)
- (drop
- (f64.convert_s/i32
- (tee_local $2
- (call_import $f64-to-int
- (f64.promote/f32
- (get_local $1)
- )
- )
+ (set_local $2
+ (call_import $f64-to-int
+ (f64.promote/f32
+ (get_local $1)
)
)
)
@@ -538,8 +534,10 @@
(call $phi)
)
(func $useSetGlobal (result i32)
- (set_global $Int
- (i32.const 10)
+ (drop
+ (set_global $Int
+ (i32.const 10)
+ )
)
(set_global $Int
(i32.const 20)