summaryrefslogtreecommitdiff
path: root/test/unit.wast.fromBinary
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2018-11-01 13:34:53 -0700
committerGitHub <noreply@github.com>2018-11-01 13:34:53 -0700
commit77c66027f0dcbd7160f78c5de4943372836ab142 (patch)
tree582c3f937247c14b773e9364d5a901d9db9bcfdd /test/unit.wast.fromBinary
parent7d3ddd09d5f68945160cda3f3749a217a13928bf (diff)
downloadbinaryen-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/unit.wast.fromBinary')
-rw-r--r--test/unit.wast.fromBinary8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit.wast.fromBinary b/test/unit.wast.fromBinary
index c5f0f3009..de32fd1ee 100644
--- a/test/unit.wast.fromBinary
+++ b/test/unit.wast.fromBinary
@@ -9,13 +9,13 @@
(type $7 (func (param f64) (result f64)))
(type $8 (func (result i64)))
(type $9 (func (param i32 i64)))
- (memory $0 4096 4096)
- (data (i32.const 1026) "\14\00")
- (table 10 anyfunc)
- (elem (i32.const 0) $z $big_negative $z $z $w $w $importedDoubles $w $z $cneg)
(import "env" "_emscripten_asm_const_vi" (func $_emscripten_asm_const_vi))
(import "asm2wasm" "f64-to-int" (func $f64-to-int (param f64) (result i32)))
(import "asm2wasm" "f64-rem" (func $f64-rem (param f64 f64) (result f64)))
+ (memory $0 4096 4096)
+ (data (i32.const 1026) "\14\00")
+ (table $0 10 anyfunc)
+ (elem (i32.const 0) $z $big_negative $z $z $w $w $importedDoubles $w $z $cneg)
(export "big_negative" (func $big_negative))
(func $big_negative (; 3 ;) (type $1)
(local $0 f64)