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, 7 insertions, 5 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise
index 94d64b797..cbc342391 100644
--- a/test/unit.fromasm.imprecise
+++ b/test/unit.fromasm.imprecise
@@ -5,6 +5,8 @@
(type $FUNCSIG$vf (func (param f32)))
(type $FUNCSIG$vi (func (param i32)))
(import $abort "env" "abort" (param i32))
+ (import $print "env" "print" (param i32))
+ (import $h "env" "h" (param i32))
(import $f64-rem "asm2wasm" "f64-rem" (param f64 f64) (result f64))
(export "big_negative" $big_negative)
(table $z $big_negative $z $z $w $w $importedDoubles $w $z $cneg)
@@ -412,7 +414,7 @@
(nop)
(br $for-out$0)
)
- (call $h
+ (call_import $h
(get_local $i)
)
(set_local $i
@@ -457,18 +459,18 @@
)
(func $continues
(loop $while-out$0 $while-in$1
- (call $print
+ (call_import $print
(i32.const 1)
)
(loop $do-once$2 $unlikely-continue$3
- (call $print
+ (call_import $print
(i32.const 5)
)
(br_if $unlikely-continue$3
- (call $check)
+ (i32.const 0)
)
)
- (call $print
+ (call_import $print
(i32.const 2)
)
(br $while-in$1)