diff options
author | Alon Zakai <alonzakai@gmail.com> | 2017-03-09 13:32:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-09 13:32:03 -0800 |
commit | be4be557567251a73f40bfd7a48220b33f5ddc58 (patch) | |
tree | d4aa0a25a1c7331b56404c76eea1a6cfa971c44e /test/example/c-api-unused-mem.txt | |
parent | d6508e1f9cef33c43016e4da7dd4b94392f280a9 (diff) | |
download | binaryen-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/example/c-api-unused-mem.txt')
-rw-r--r-- | test/example/c-api-unused-mem.txt | 192 |
1 files changed, 96 insertions, 96 deletions
diff --git a/test/example/c-api-unused-mem.txt b/test/example/c-api-unused-mem.txt index 52742f476..246aead8c 100644 --- a/test/example/c-api-unused-mem.txt +++ b/test/example/c-api-unused-mem.txt @@ -1,113 +1,113 @@ (module - (type $rustfn-0-3 (func)) - (type $__wasm_start (func)) - (memory $0 1024 1024) - (export "memory" (memory $0)) - (export "main" (func $main)) - (export "rust_entry" (func $__wasm_start)) - (func $main (type $rustfn-0-3) - (local $0 i32) - (local $1 i32) - (local $2 i64) - (block $block$1$break - (set_local $0 - (i32.load - (i32.const 0) - ) - ) - (block - (br $block$1$break) - ) + (type $rustfn-0-3 (func)) + (type $__wasm_start (func)) + (memory $0 1024 1024) + (export "memory" (memory $0)) + (export "main" (func $main)) + (export "rust_entry" (func $__wasm_start)) + (func $main (type $rustfn-0-3) + (local $0 i32) + (local $1 i32) + (local $2 i64) + (block $block$1$break + (set_local $0 + (i32.load + (i32.const 0) + ) + ) + (block + (br $block$1$break) + ) + ) + (block + (block $block$2$break + (block $bb0 ) (block - (block $block$2$break - (block $bb0 - ) - (block - (br $block$2$break) - ) - ) - (block - (block $bb1 - (i32.store - (i32.const 0) - (get_local $0) - ) - (return) - ) - ) + (br $block$2$break) ) - ) - (func $__wasm_start (type $__wasm_start) - (i32.store + ) + (block + (block $bb1 + (i32.store (i32.const 0) - (i32.const 65535) + (get_local $0) + ) + (return) ) - (call $main) + ) + ) + ) + (func $__wasm_start (type $__wasm_start) + (i32.store + (i32.const 0) + (i32.const 65535) ) + (call $main) + ) ) 207 (module - (type $0 (func)) - (type $1 (func)) - (memory $0 1024 1024) - (export "memory" (memory $0)) - (export "main" (func $main)) - (export "rust_entry" (func $__wasm_start)) - (func $main (type $0) - (local $var$0 i32) - (local $var$1 i32) - (local $var$2 i64) - (block $label$0 - (block $label$1 - (set_local $var$0 - (i32.load - (i32.const 0) - ) - ) - (block $label$2 - (br $label$1) - (unreachable) - ) - (unreachable) - ) - (block $label$3 - (block $label$4 - (block $label$5 - ) - (block $label$6 - (br $label$4) - (unreachable) - ) - (unreachable) - ) - (block $label$7 - (block $label$8 - (i32.store - (i32.const 0) - (get_local $var$0) - ) - (return) - (unreachable) - ) - (unreachable) - (unreachable) - ) - (unreachable) - (unreachable) - ) - (unreachable) - (unreachable) + (type $0 (func)) + (type $1 (func)) + (memory $0 1024 1024) + (export "memory" (memory $0)) + (export "main" (func $main)) + (export "rust_entry" (func $__wasm_start)) + (func $main (type $0) + (local $var$0 i32) + (local $var$1 i32) + (local $var$2 i64) + (block $label$0 + (block $label$1 + (set_local $var$0 + (i32.load + (i32.const 0) + ) + ) + (block $label$2 + (br $label$1) + (unreachable) ) (unreachable) - ) - (func $__wasm_start (type $1) - (block $label$0 + ) + (block $label$3 + (block $label$4 + (block $label$5 + ) + (block $label$6 + (br $label$4) + (unreachable) + ) + (unreachable) + ) + (block $label$7 + (block $label$8 (i32.store - (i32.const 0) - (i32.const 65535) + (i32.const 0) + (get_local $var$0) ) - (call $main) + (return) + (unreachable) + ) + (unreachable) + (unreachable) ) + (unreachable) + (unreachable) + ) + (unreachable) + (unreachable) + ) + (unreachable) + ) + (func $__wasm_start (type $1) + (block $label$0 + (i32.store + (i32.const 0) + (i32.const 65535) + ) + (call $main) ) + ) ) |