diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-09-21 19:33:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-21 19:33:11 -0700 |
commit | 8be82627c6a8cbded0dab67ad1f31906a54ba78c (patch) | |
tree | b7b14f1899ffe39a7562007474a58948685146c8 /test/two_sides.fromasm.no-opts | |
parent | 7292ef9c863a0766c697cc0a77516447ff652820 (diff) | |
parent | 740e36eab98d679387fea60cd642591a69ce809f (diff) | |
download | binaryen-8be82627c6a8cbded0dab67ad1f31906a54ba78c.tar.gz binaryen-8be82627c6a8cbded0dab67ad1f31906a54ba78c.tar.bz2 binaryen-8be82627c6a8cbded0dab67ad1f31906a54ba78c.zip |
Merge pull request #703 from WebAssembly/spec-update
Spec update - get us passing the 0xc spec tests (minus stacky stuff)
Diffstat (limited to 'test/two_sides.fromasm.no-opts')
-rw-r--r-- | test/two_sides.fromasm.no-opts | 9 |
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) ) ) |