summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.no-opts
diff options
context:
space:
mode:
Diffstat (limited to 'test/emcc_hello_world.fromasm.no-opts')
-rw-r--r--test/emcc_hello_world.fromasm.no-opts6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/emcc_hello_world.fromasm.no-opts b/test/emcc_hello_world.fromasm.no-opts
index 9fa2a2895..6942c296b 100644
--- a/test/emcc_hello_world.fromasm.no-opts
+++ b/test/emcc_hello_world.fromasm.no-opts
@@ -1,5 +1,4 @@
(module
- (memory 256 256)
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
(type $FUNCSIG$id (func (param f64) (result i32)))
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
@@ -38,8 +37,8 @@
(import "asm2wasm" "i32s-rem" (func $i32s-rem (param i32 i32) (result i32)))
(import "asm2wasm" "i32u-rem" (func $i32u-rem (param i32 i32) (result i32)))
(import "asm2wasm" "i32u-div" (func $i32u-div (param i32 i32) (result i32)))
- (import "env" "memory" (memory $memory))
- (import "env" "table" (table $table))
+ (import "env" "memory" (memory 256 256))
+ (import "env" "table" (table 18 18 anyfunc))
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
(export "_i64Subtract" (func $_i64Subtract))
@@ -96,7 +95,6 @@
(global $tempRet8 (mut i32) (i32.const 0))
(global $tempRet9 (mut i32) (i32.const 0))
(global $tempFloat (mut f64) (f64.const 0))
- (table 18 18 anyfunc)
(elem (i32.const 0) $b0 $___stdio_close $b1 $b1 $___stdout_write $___stdio_seek $___stdio_write $b1 $b1 $b1 $b2 $b2 $b2 $b2 $b2 $_cleanup $b2 $b2)
(func $stackAlloc (param $size i32) (result i32)
(local $ret i32)