summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.imprecise
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm.imprecise')
-rw-r--r--test/unit.fromasm.imprecise24
1 files changed, 9 insertions, 15 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise
index b170c8b82..f99b02e82 100644
--- a/test/unit.fromasm.imprecise
+++ b/test/unit.fromasm.imprecise
@@ -339,7 +339,7 @@
(i32.const 5)
)
(br_if $unlikely-continue$3
- (i32.const 0)
+ (call $return_int)
)
)
(call $print
@@ -490,7 +490,7 @@
)
(func $smallIf
(if
- (i32.const 2)
+ (call $return_int)
(drop
(call $lb
(i32.const 3)
@@ -500,7 +500,7 @@
)
(func $dropCall (result i32)
(if
- (i32.const 0)
+ (call $return_int)
(block
(drop
(call $phi)
@@ -575,7 +575,7 @@
(func $conditionalTypeFun
(drop
(if
- (i32.const 1)
+ (call $return_int)
(i32.trunc_s/f64
(call $abort
(f64.convert_s/i32
@@ -588,7 +588,7 @@
)
(drop
(if
- (i32.const 3)
+ (call $return_int)
(call $abort
(f64.convert_s/i32
(i32.const 7)
@@ -677,7 +677,7 @@
(get_global $Int)
)
(if
- (i32.const 1)
+ (call $return_int)
(set_global $Int
(i32.const 20)
)
@@ -696,7 +696,7 @@
)
(func $dropCallImport
(if
- (i32.const 1)
+ (call $return_int)
(drop
(call $return_int)
)
@@ -749,7 +749,7 @@
(get_local $0)
)
(if
- (i32.const 1)
+ (call $return_int)
(br_if $label$break$L7
(get_local $2)
)
@@ -994,13 +994,7 @@
)
)
(func $jumpThreadDrop (result i32)
- (local $0 i32)
- (set_local $0
- (call $return_int)
- )
- (block $jumpthreading$outer$2
- )
- (get_local $0)
+ (call $return_int)
)
(func $dropIgnoredImportInIf (param $0 i32) (param $1 i32) (param $2 i32)
(if