summaryrefslogtreecommitdiff
path: root/test/two_sides.fromasm.no-opts
diff options
context:
space:
mode:
Diffstat (limited to 'test/two_sides.fromasm.no-opts')
-rw-r--r--test/two_sides.fromasm.no-opts9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/two_sides.fromasm.no-opts b/test/two_sides.fromasm.no-opts
index 1011976b6..cb693267a 100644
--- a/test/two_sides.fromasm.no-opts
+++ b/test/two_sides.fromasm.no-opts
@@ -1,9 +1,8 @@
(module
- (memory 256 256)
(type $FUNCSIG$id (func (param f64) (result i32)))
(import "asm2wasm" "f64-to-int" (func $f64-to-int (param f64) (result i32)))
- (import "env" "memory" (memory $memory))
- (import "env" "table" (table $table))
+ (import "env" "memory" (memory 256 256))
+ (import "env" "table" (table 0 anyfunc))
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
(export "_test" (func $_test))
@@ -39,7 +38,7 @@
)
)
(set_local $i5
- (call_import $f64-to-int
+ (call $f64-to-int
(get_local $d6)
)
)
@@ -73,7 +72,7 @@
)
)
(set_local $i5
- (call_import $f64-to-int
+ (call $f64-to-int
(get_local $d6)
)
)