diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-08-31 16:53:12 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-07 09:55:58 -0700 |
commit | e62f54d9d38e8f6b999d5f18f052424b7d603b6b (patch) | |
tree | 6e9af7b90a6563cfe15db6ab6325e8eb345a9e4c /test/empty.fromasm | |
parent | f1c74afc64d9f195729e1ad7e203f27566248e26 (diff) | |
download | binaryen-e62f54d9d38e8f6b999d5f18f052424b7d603b6b.tar.gz binaryen-e62f54d9d38e8f6b999d5f18f052424b7d603b6b.tar.bz2 binaryen-e62f54d9d38e8f6b999d5f18f052424b7d603b6b.zip |
new import syntax in spec repo
Diffstat (limited to 'test/empty.fromasm')
-rw-r--r-- | test/empty.fromasm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/empty.fromasm b/test/empty.fromasm index b68429ccf..67c1135d4 100644 --- a/test/empty.fromasm +++ b/test/empty.fromasm @@ -1,8 +1,8 @@ (module (memory 256 256) (data (get_global $memoryBase) "empty.asm.js") - (import $memory memory "env" "memory") - (import $table table "env" "table") - (import $memoryBase global "env" "memoryBase" i32) - (import $tableBase global "env" "tableBase" i32) + (import "env" "memory" (memory $memory)) + (import "env" "table" (table $table)) + (import "env" "memoryBase" (global $memoryBase i32)) + (import "env" "tableBase" (global $tableBase i32)) ) |