summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.clamp
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm.clamp')
-rw-r--r--test/unit.fromasm.clamp20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/unit.fromasm.clamp b/test/unit.fromasm.clamp
index d59c8d0a3..e21d0f229 100644
--- a/test/unit.fromasm.clamp
+++ b/test/unit.fromasm.clamp
@@ -143,19 +143,19 @@
)
)
(func $f64-to-int (param $0 f64) (result i32)
- (if i32
+ (if (result i32)
(f64.ne
(get_local $0)
(get_local $0)
)
(i32.const -2147483648)
- (if i32
+ (if (result i32)
(f64.ge
(get_local $0)
(f64.const 2147483648)
)
(i32.const -2147483648)
- (if i32
+ (if (result i32)
(f64.le
(get_local $0)
(f64.const -2147483649)
@@ -270,7 +270,7 @@
)
)
(func $i32u-div (param $0 i32) (param $1 i32) (result i32)
- (if i32
+ (if (result i32)
(get_local $1)
(i32.div_u
(get_local $0)
@@ -448,7 +448,7 @@
(i32.const 3)
)
)
- (block i32
+ (block (result i32)
(drop
(call $lb
(i32.const 4)
@@ -469,7 +469,7 @@
)
)
)
- (block i32
+ (block (result i32)
(drop
(call $lb
(i32.const 8)
@@ -537,7 +537,7 @@
)
)
(func $phi (result i32)
- (block $do-once i32
+ (block $do-once (result i32)
(drop
(br_if $do-once
(i32.const 0)
@@ -635,7 +635,7 @@
)
(func $conditionalTypeFun
(drop
- (if i32
+ (if (result i32)
(call $return_int)
(i32.trunc_s/f64
(call $abort
@@ -648,7 +648,7 @@
)
)
(drop
- (if f64
+ (if (result f64)
(call $return_int)
(call $abort
(f64.convert_s/i32
@@ -1119,7 +1119,7 @@
)
(func $dropIgnoredImportsInIf (param $0 i32) (param $1 i32) (param $2 i32)
(drop
- (if i32
+ (if (result i32)
(get_local $0)
(call $lb
(get_local $1)