diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-11-01 13:34:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-01 13:34:53 -0700 |
commit | 77c66027f0dcbd7160f78c5de4943372836ab142 (patch) | |
tree | 582c3f937247c14b773e9364d5a901d9db9bcfdd /test/dylib.wasm.fromBinary | |
parent | 7d3ddd09d5f68945160cda3f3749a217a13928bf (diff) | |
download | binaryen-77c66027f0dcbd7160f78c5de4943372836ab142.tar.gz binaryen-77c66027f0dcbd7160f78c5de4943372836ab142.tar.bz2 binaryen-77c66027f0dcbd7160f78c5de4943372836ab142.zip |
Emit imports before defined things in text format (#1715)
That is the correct order in the text format, wabt errors otherwise.
See AssemblyScript/assemblyscript#310
Diffstat (limited to 'test/dylib.wasm.fromBinary')
-rw-r--r-- | test/dylib.wasm.fromBinary | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dylib.wasm.fromBinary b/test/dylib.wasm.fromBinary index 7c518b28f..c528c5e0d 100644 --- a/test/dylib.wasm.fromBinary +++ b/test/dylib.wasm.fromBinary @@ -4,7 +4,7 @@ (type $2 (func)) (import "env" "memory" (memory $2 256)) (data (get_global $gimport$0) "hello, world!") - (import "env" "table" (table 0 anyfunc)) + (import "env" "table" (table $timport$3 0 anyfunc)) (import "env" "memoryBase" (global $gimport$0 i32)) (import "env" "tableBase" (global $gimport$4 i32)) (import "env" "_puts" (func $fimport$1 (param i32) (result i32))) |