summaryrefslogtreecommitdiff
path: root/test/debugInfo.fromasm.imprecise
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/debugInfo.fromasm.imprecise
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/debugInfo.fromasm.imprecise')
-rw-r--r--test/debugInfo.fromasm.imprecise78
1 files changed, 39 insertions, 39 deletions
diff --git a/test/debugInfo.fromasm.imprecise b/test/debugInfo.fromasm.imprecise
index ac850d495..5533d4cae 100644
--- a/test/debugInfo.fromasm.imprecise
+++ b/test/debugInfo.fromasm.imprecise
@@ -1,46 +1,46 @@
(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 $0 i32) (param $1 i32) (result i32)
- (i32.add
- (get_local $1)
- (get_local $1)
- )
+ (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 $0 i32) (param $1 i32) (result i32)
+ (i32.add
+ (get_local $1)
+ (get_local $1)
)
- (func $ret (param $0 i32) (result i32)
- (i32.add
- (i32.shl
- (get_local $0)
- (i32.const 1)
- )
- (i32.const 1)
- )
+ )
+ (func $ret (param $0 i32) (result i32)
+ (i32.add
+ (i32.shl
+ (get_local $0)
+ (i32.const 1)
+ )
+ (i32.const 1)
)
- (func $opts (param $0 i32) (param $1 i32) (result i32)
- ;; even-opted.cpp:2
- (set_local $1
- (i32.shr_s
- (get_local $1)
- (tee_local $0
- (i32.add
- (get_local $0)
- (get_local $1)
- )
- )
- )
- )
- (i32.add
- (i32.rem_s
- (get_local $0)
- (get_local $1)
- )
+ )
+ (func $opts (param $0 i32) (param $1 i32) (result i32)
+ ;; even-opted.cpp:2
+ (set_local $1
+ (i32.shr_s
+ (get_local $1)
+ (tee_local $0
+ (i32.add
+ (get_local $0)
(get_local $1)
+ )
)
+ )
+ )
+ (i32.add
+ (i32.rem_s
+ (get_local $0)
+ (get_local $1)
+ )
+ (get_local $1)
)
+ )
)