summaryrefslogtreecommitdiff
path: root/test/dylib.wasm.fromBinary
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2017-03-09 13:32:03 -0800
committerGitHub <noreply@github.com>2017-03-09 13:32:03 -0800
commitbe4be557567251a73f40bfd7a48220b33f5ddc58 (patch)
treed4aa0a25a1c7331b56404c76eea1a6cfa971c44e /test/dylib.wasm.fromBinary
parentd6508e1f9cef33c43016e4da7dd4b94392f280a9 (diff)
downloadbinaryen-be4be557567251a73f40bfd7a48220b33f5ddc58.tar.gz
binaryen-be4be557567251a73f40bfd7a48220b33f5ddc58.tar.bz2
binaryen-be4be557567251a73f40bfd7a48220b33f5ddc58.zip
use a single space for pretty printing of wasts, so massive wasts are less unruly (#928)
Diffstat (limited to 'test/dylib.wasm.fromBinary')
-rw-r--r--test/dylib.wasm.fromBinary86
1 files changed, 43 insertions, 43 deletions
diff --git a/test/dylib.wasm.fromBinary b/test/dylib.wasm.fromBinary
index ac2712bee..308dc14a8 100644
--- a/test/dylib.wasm.fromBinary
+++ b/test/dylib.wasm.fromBinary
@@ -1,50 +1,50 @@
(module
- (type $0 (func (param i32) (result i32)))
- (type $1 (func (result i32)))
- (type $2 (func))
- (import "env" "memoryBase" (global $import$0 i32))
- (import "env" "_puts" (func $import$1 (param i32) (result i32)))
- (import "env" "memory" (memory $0 256))
- (import "env" "table" (table 0 anyfunc))
- (import "env" "tableBase" (global $import$4 i32))
- (global $global$0 (mut i32) (i32.const 0))
- (global $global$1 (mut i32) (i32.const 0))
- (global $global$2 i32 (i32.const 0))
- (data (get_global $import$0) "hello, world!")
- (export "__post_instantiate" (func $2))
- (export "_main" (func $0))
- (export "runPostSets" (func $1))
- (export "_str" (global $global$2))
- (func $0 (type $1) (result i32)
- (block $label$0 i32
- (drop
- (call $import$1
- (get_global $import$0)
- )
- )
- (i32.const 0)
+ (type $0 (func (param i32) (result i32)))
+ (type $1 (func (result i32)))
+ (type $2 (func))
+ (import "env" "memoryBase" (global $import$0 i32))
+ (import "env" "_puts" (func $import$1 (param i32) (result i32)))
+ (import "env" "memory" (memory $0 256))
+ (import "env" "table" (table 0 anyfunc))
+ (import "env" "tableBase" (global $import$4 i32))
+ (global $global$0 (mut i32) (i32.const 0))
+ (global $global$1 (mut i32) (i32.const 0))
+ (global $global$2 i32 (i32.const 0))
+ (data (get_global $import$0) "hello, world!")
+ (export "__post_instantiate" (func $2))
+ (export "_main" (func $0))
+ (export "runPostSets" (func $1))
+ (export "_str" (global $global$2))
+ (func $0 (type $1) (result i32)
+ (block $label$0 i32
+ (drop
+ (call $import$1
+ (get_global $import$0)
)
+ )
+ (i32.const 0)
)
- (func $1 (type $2)
- (nop)
- )
- (func $2 (type $2)
- (block $label$0
- (set_global $global$0
- (i32.add
- (get_global $import$0)
- (i32.const 16)
- )
- )
- (set_global $global$1
- (i32.add
- (get_global $global$0)
- (i32.const 5242880)
- )
- )
- (call $1)
+ )
+ (func $1 (type $2)
+ (nop)
+ )
+ (func $2 (type $2)
+ (block $label$0
+ (set_global $global$0
+ (i32.add
+ (get_global $import$0)
+ (i32.const 16)
+ )
+ )
+ (set_global $global$1
+ (i32.add
+ (get_global $global$0)
+ (i32.const 5242880)
)
+ )
+ (call $1)
)
- ;; custom section "dylink", size 5
+ )
+ ;; custom section "dylink", size 5
)