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/unit.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/unit.fromasm.no-opts')
-rw-r--r-- | test/unit.fromasm.no-opts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/unit.fromasm.no-opts b/test/unit.fromasm.no-opts index 09fb6fc6f..0684c1464 100644 --- a/test/unit.fromasm.no-opts +++ b/test/unit.fromasm.no-opts @@ -1,5 +1,4 @@ (module - (memory 256 256) (type $FUNCSIG$id (func (param f64) (result i32))) (type $FUNCSIG$ddd (func (param f64 f64) (result f64))) (type $FUNCSIG$iii (func (param i32 i32) (result i32))) @@ -21,8 +20,8 @@ (import "asm2wasm" "f64-to-int" (func $f64-to-int (param f64) (result i32))) (import "asm2wasm" "f64-rem" (func $f64-rem (param f64 f64) (result f64))) (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 10 10 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) (export "big_negative" (func $big_negative)) @@ -34,7 +33,6 @@ (global $tempDoublePtr (mut i32) (get_global $tempDoublePtr$asm2wasm$import)) (global $n (mut i32) (get_global $n$asm2wasm$import)) (global $STACKTOP (mut i32) (get_global $STACKTOP$asm2wasm$import)) - (table 10 10 anyfunc) (elem (i32.const 0) $z $big_negative $z $z $w $w $importedDoubles $w $z $cneg) (func $big_negative (local $temp f64) |