summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.imprecise.no-opts
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm.imprecise.no-opts')
-rw-r--r--test/unit.fromasm.imprecise.no-opts20
1 files changed, 14 insertions, 6 deletions
diff --git a/test/unit.fromasm.imprecise.no-opts b/test/unit.fromasm.imprecise.no-opts
index d57861df3..f372b2d57 100644
--- a/test/unit.fromasm.imprecise.no-opts
+++ b/test/unit.fromasm.imprecise.no-opts
@@ -17,10 +17,10 @@
(import "env" "return_int" (func $return_int (result i32)))
(import "asm2wasm" "f64-rem" (func $f64-rem (param f64 f64) (result f64)))
(import "env" "memory" (memory $0 256 256))
- (import "env" "table" (table 10 10 anyfunc))
+ (import "env" "table" (table 24 24 anyfunc))
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
- (elem (i32.const 0) $z $big_negative $z $z $w $w $importedDoubles $w $z $cneg)
+ (elem (i32.const 0) $v $big_negative $v $v $w $w $importedDoubles $w $z $cneg $z $z $z $z $z $z $vi $vi $vi $vi $vi $vi $vi $vi)
(global $t (mut f64) (get_global $t$asm2wasm$import))
(global $u (mut f64) (get_global $u$asm2wasm$import))
(global $Int (mut i32) (i32.const 0))
@@ -526,7 +526,7 @@
(i32.const 1)
(i32.const 7)
)
- (i32.const 8)
+ (i32.const 16)
)
)
)
@@ -1130,11 +1130,13 @@
)
)
)
- (func $z
+ (func $z (param $x f32)
(nop)
)
- (func $w
- (nop)
+ (func $w (result f64)
+ (return
+ (f64.const 0)
+ )
)
(func $globalOpts
(local $x i32)
@@ -1694,4 +1696,10 @@
)
(return)
)
+ (func $v
+ (nop)
+ )
+ (func $vi (param $x i32)
+ (nop)
+ )
)