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/debugInfo.fromasm.no-opts | |
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/debugInfo.fromasm.no-opts')
-rw-r--r-- | test/debugInfo.fromasm.no-opts | 164 |
1 files changed, 82 insertions, 82 deletions
diff --git a/test/debugInfo.fromasm.no-opts b/test/debugInfo.fromasm.no-opts index ca91651d5..9c5718e4f 100644 --- a/test/debugInfo.fromasm.no-opts +++ b/test/debugInfo.fromasm.no-opts @@ -1,88 +1,88 @@ (module - (type $FUNCSIG$vii (func (param i32 i32))) - (import "env" "memory" (memory $0 256 256)) - (import "env" "table" (table 0 0 anyfunc)) - (import "env" "memoryBase" (global $memoryBase i32)) - (import "env" "tableBase" (global $tableBase i32)) - (export "add" (func $add)) - (export "ret" (func $ret)) - (export "opts" (func $opts)) - (func $add (param $x i32) (param $y i32) (result i32) - ;; tests/hello_world.c:5 - (set_local $x - (get_local $x) - ) - ;; tests/hello_world.c:6 - (set_local $y - (get_local $y) - ) - ;; tests/other_file.cpp:314159 - (set_local $x - (get_local $y) - ) - (return - (i32.add - (get_local $x) - (get_local $y) - ) - ) + (type $FUNCSIG$vii (func (param i32 i32))) + (import "env" "memory" (memory $0 256 256)) + (import "env" "table" (table 0 0 anyfunc)) + (import "env" "memoryBase" (global $memoryBase i32)) + (import "env" "tableBase" (global $tableBase i32)) + (export "add" (func $add)) + (export "ret" (func $ret)) + (export "opts" (func $opts)) + (func $add (param $x i32) (param $y i32) (result i32) + ;; tests/hello_world.c:5 + (set_local $x + (get_local $x) ) - (func $ret (param $x i32) (result i32) - ;; return.cpp:50 - (set_local $x - (i32.shl - (get_local $x) - (i32.const 1) - ) - ) - ;; return.cpp:100 - (return - (i32.add - (get_local $x) - (i32.const 1) - ) - ) - (unreachable) + ;; tests/hello_world.c:6 + (set_local $y + (get_local $y) ) - (func $i32s-rem (param $0 i32) (param $1 i32) (result i32) - (if i32 - (i32.eqz - (get_local $1) - ) - (i32.const 0) - (i32.rem_s - (get_local $0) - (get_local $1) - ) - ) + ;; tests/other_file.cpp:314159 + (set_local $x + (get_local $y) ) - (func $opts (param $x i32) (param $y i32) (result i32) - ;; even-opted.cpp:1 - (set_local $x - (i32.add - (get_local $x) - (get_local $y) - ) - ) - ;; even-opted.cpp:2 - (set_local $y - (i32.shr_s - (get_local $y) - (get_local $x) - ) - ) - ;; even-opted.cpp:3 - (set_local $x - (call $i32s-rem - (get_local $x) - (get_local $y) - ) - ) - (return - (i32.add - (get_local $x) - (get_local $y) - ) - ) + (return + (i32.add + (get_local $x) + (get_local $y) + ) ) + ) + (func $ret (param $x i32) (result i32) + ;; return.cpp:50 + (set_local $x + (i32.shl + (get_local $x) + (i32.const 1) + ) + ) + ;; return.cpp:100 + (return + (i32.add + (get_local $x) + (i32.const 1) + ) + ) + (unreachable) + ) + (func $i32s-rem (param $0 i32) (param $1 i32) (result i32) + (if i32 + (i32.eqz + (get_local $1) + ) + (i32.const 0) + (i32.rem_s + (get_local $0) + (get_local $1) + ) + ) + ) + (func $opts (param $x i32) (param $y i32) (result i32) + ;; even-opted.cpp:1 + (set_local $x + (i32.add + (get_local $x) + (get_local $y) + ) + ) + ;; even-opted.cpp:2 + (set_local $y + (i32.shr_s + (get_local $y) + (get_local $x) + ) + ) + ;; even-opted.cpp:3 + (set_local $x + (call $i32s-rem + (get_local $x) + (get_local $y) + ) + ) + (return + (i32.add + (get_local $x) + (get_local $y) + ) + ) + ) ) |