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/emcc_O2_hello_world.fromasm.imprecise | |
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/emcc_O2_hello_world.fromasm.imprecise')
-rw-r--r-- | test/emcc_O2_hello_world.fromasm.imprecise | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/emcc_O2_hello_world.fromasm.imprecise b/test/emcc_O2_hello_world.fromasm.imprecise index e8b1de0b1..086e05c04 100644 --- a/test/emcc_O2_hello_world.fromasm.imprecise +++ b/test/emcc_O2_hello_world.fromasm.imprecise @@ -7,7 +7,7 @@ (type $FUNCSIG$v (func)) (type $FUNCSIG$vii (func (param i32 i32))) (import "env" "memory" (memory $memory 256 256)) - (import "env" "table" (table 18 18 anyfunc)) + (import "env" "table" (table $table 18 18 anyfunc)) (elem (get_global $tableBase) $b0 $___stdio_close $b1 $b1 $___stdout_write $___stdio_seek $b1 $___stdio_write $b1 $b1 $b2 $b2 $b2 $b2 $_cleanup_418 $b2 $b2 $b2) (import "env" "tableBase" (global $tableBase i32)) (import "env" "STACKTOP" (global $STACKTOP$asm2wasm$import i32)) |