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/merge/basics.wast.combined.opt | |
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/merge/basics.wast.combined.opt')
-rw-r--r-- | test/merge/basics.wast.combined.opt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/merge/basics.wast.combined.opt b/test/merge/basics.wast.combined.opt index b533d4d2f..2a83b355e 100644 --- a/test/merge/basics.wast.combined.opt +++ b/test/merge/basics.wast.combined.opt @@ -3,7 +3,7 @@ (type $FUNCSIG$v (func)) (import "env" "memory" (memory $0 256)) (data (get_global $memoryBase) "hello, A!\n\00\00\00\00\00\00hello, B!\n") - (import "env" "table" (table 10 anyfunc)) + (import "env" "table" (table $0 10 anyfunc)) (elem (get_global $tableBase) $only-a $willCollide $some-func $some-collide $only-a $some-func $only-b $willCollide$0 $some-func-b $some-collide$0) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) |