summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-09-20 13:45:16 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-09-20 13:45:16 -0700
commit947cd3f224623f2d1e76f3c6cc30487ea8fd79ef (patch)
tree084235cae91bc812f2bd31c58c75a5c9fccb7a2d /test/emcc_hello_world.fromasm.imprecise
parent2aa7ba43b59782243cd4960df43c7936292c41f4 (diff)
downloadbinaryen-947cd3f224623f2d1e76f3c6cc30487ea8fd79ef.tar.gz
binaryen-947cd3f224623f2d1e76f3c6cc30487ea8fd79ef.tar.bz2
binaryen-947cd3f224623f2d1e76f3c6cc30487ea8fd79ef.zip
memory and table printing fixes
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r--test/emcc_hello_world.fromasm.imprecise6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index e78774569..a43f347b1 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -1,5 +1,4 @@
(module
- (memory 256 256)
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
(type $FUNCSIG$ii (func (param i32) (result i32)))
(type $FUNCSIG$vi (func (param i32)))
@@ -32,8 +31,8 @@
(import "env" "_pthread_cleanup_push" (func $_pthread_cleanup_push (param i32 i32)))
(import "env" "_sysconf" (func $_sysconf (param i32) (result i32)))
(import "env" "___syscall146" (func $___syscall146 (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))
@@ -90,7 +89,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 $0 i32) (result i32)
(local $1 i32)