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/passes/simplify-locals-notee.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/passes/simplify-locals-notee.txt')
-rw-r--r-- | test/passes/simplify-locals-notee.txt | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/test/passes/simplify-locals-notee.txt b/test/passes/simplify-locals-notee.txt index fc48429d7..36978eacf 100644 --- a/test/passes/simplify-locals-notee.txt +++ b/test/passes/simplify-locals-notee.txt @@ -1,66 +1,66 @@ (module - (type $0 (func)) - (memory $0 0) - (func $contrast (type $0) - (local $x i32) - (local $y i32) - (local $z i32) - (local $a i32) - (local $b i32) - (set_local $x - (i32.const 1) + (type $0 (func)) + (memory $0 0) + (func $contrast (type $0) + (local $x i32) + (local $y i32) + (local $z i32) + (local $a i32) + (local $b i32) + (set_local $x + (i32.const 1) + ) + (if + (get_local $x) + (nop) + ) + (if + (get_local $x) + (nop) + ) + (nop) + (drop + (if i32 + (i32.const 2) + (i32.const 3) + (i32.const 4) + ) + ) + (nop) + (drop + (block $block i32 + (i32.const 5) + ) + ) + (nop) + (drop + (if i32 + (i32.const 6) + (block i32 + (nop) + (i32.const 7) ) - (if - (get_local $x) - (nop) + (block i32 + (nop) + (i32.const 8) ) + ) + ) + (nop) + (drop + (block $val i32 (if - (get_local $x) + (i32.const 10) + (block $block4 (nop) - ) - (nop) - (drop - (if i32 - (i32.const 2) - (i32.const 3) - (i32.const 4) + (br $val + (i32.const 11) ) + ) ) (nop) - (drop - (block $block i32 - (i32.const 5) - ) - ) - (nop) - (drop - (if i32 - (i32.const 6) - (block i32 - (nop) - (i32.const 7) - ) - (block i32 - (nop) - (i32.const 8) - ) - ) - ) - (nop) - (drop - (block $val i32 - (if - (i32.const 10) - (block $block4 - (nop) - (br $val - (i32.const 11) - ) - ) - ) - (nop) - (i32.const 12) - ) - ) + (i32.const 12) + ) ) + ) ) |