diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-09-20 13:45:16 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-20 13:45:16 -0700 |
commit | 947cd3f224623f2d1e76f3c6cc30487ea8fd79ef (patch) | |
tree | 084235cae91bc812f2bd31c58c75a5c9fccb7a2d /test/emcc_hello_world.fromasm.no-opts | |
parent | 2aa7ba43b59782243cd4960df43c7936292c41f4 (diff) | |
download | binaryen-947cd3f224623f2d1e76f3c6cc30487ea8fd79ef.tar.gz binaryen-947cd3f224623f2d1e76f3c6cc30487ea8fd79ef.tar.bz2 binaryen-947cd3f224623f2d1e76f3c6cc30487ea8fd79ef.zip |
memory and table printing fixes
Diffstat (limited to 'test/emcc_hello_world.fromasm.no-opts')
-rw-r--r-- | test/emcc_hello_world.fromasm.no-opts | 6 |
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) |