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.imprecise12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise
index a56482591..e1e379885 100644
--- a/test/unit.fromasm.imprecise
+++ b/test/unit.fromasm.imprecise
@@ -232,7 +232,7 @@
)
)
(func $smallCompare (; 18 ;) (; has Stack IR ;) (param $0 i32) (param $1 i32) (result i32)
- (if
+ (if (result i32)
(i32.lt_u
(tee_local $0
(select
@@ -249,14 +249,12 @@
)
(get_local $1)
)
- (set_local $0
- (i32.add
- (get_local $0)
- (i32.const 1)
- )
+ (i32.add
+ (get_local $0)
+ (i32.const 1)
)
+ (get_local $0)
)
- (get_local $0)
)
(func $cneg_nosemicolon (; 19 ;) (; has Stack IR ;)
(call_indirect (type $FUNCSIG$vi)