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/stacky.wasm.fromBinary | |
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/stacky.wasm.fromBinary')
-rw-r--r-- | test/stacky.wasm.fromBinary | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/stacky.wasm.fromBinary b/test/stacky.wasm.fromBinary index 13250bd39..89de2948b 100644 --- a/test/stacky.wasm.fromBinary +++ b/test/stacky.wasm.fromBinary @@ -1,21 +1,21 @@ (module - (type $0 (func (param i32 i32) (result i32))) - (memory $0 256 256) - (export "add" (func $0)) - (func $0 (type $0) (param $var$0 i32) (param $var$1 i32) (result i32) - (local $2 i32) - (i32.add - (block i32 - (set_local $2 - (get_local $var$0) - ) - (set_local $var$0 - (i32.const 100) - ) - (get_local $2) - ) - (get_local $var$1) + (type $0 (func (param i32 i32) (result i32))) + (memory $0 256 256) + (export "add" (func $0)) + (func $0 (type $0) (param $var$0 i32) (param $var$1 i32) (result i32) + (local $2 i32) + (i32.add + (block i32 + (set_local $2 + (get_local $var$0) ) + (set_local $var$0 + (i32.const 100) + ) + (get_local $2) + ) + (get_local $var$1) ) + ) ) |