summaryrefslogtreecommitdiff
path: root/test/print
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2017-10-20 19:38:31 -0700
committerGitHub <noreply@github.com>2017-10-20 19:38:31 -0700
commit1005b1267f70a5a7cf7a8774af6c12d813464720 (patch)
tree04b27ca5a8fddcef4941681ec81d680c4351c74a /test/print
parent71dc0791361a79e4346eb84ebadf77a324767e32 (diff)
downloadbinaryen-1005b1267f70a5a7cf7a8774af6c12d813464720.tar.gz
binaryen-1005b1267f70a5a7cf7a8774af6c12d813464720.tar.bz2
binaryen-1005b1267f70a5a7cf7a8774af6c12d813464720.zip
Emit binary function index in comment in text format, for convenience (#1232)
Diffstat (limited to 'test/print')
-rw-r--r--test/print/min.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/print/min.txt b/test/print/min.txt
index 8942f2ff4..c58551fe3 100644
--- a/test/print/min.txt
+++ b/test/print/min.txt
@@ -5,14 +5,14 @@
(type $3 (func (param i32 i32 i32) (result i32)))
(memory $0 256 256)
(export "floats" (func $floats))
- (func $floats (type $0) (param $f f32) (result f32)
+ (func $floats (; 0 ;) (type $0) (param $f f32) (result f32)
(local $t f32)
(f32.add
(get_local $t)
(get_local $f)
)
)
- (func $neg (type $1) (param $k i32) (param $p i32) (result f32)
+ (func $neg (; 1 ;) (type $1) (param $k i32) (param $p i32) (result f32)
(local $n f32)
(tee_local $n
(f32.neg
@@ -28,7 +28,7 @@
)
)
)
- (func $littleswitch (type $2) (param $x i32) (result i32)
+ (func $littleswitch (; 2 ;) (type $2) (param $x i32) (result i32)
(block $topmost (result i32)
(block $switch-case$2
(block $switch-case$1
@@ -49,7 +49,7 @@
(i32.const 0)
)
)
- (func $f1 (type $3) (param $i1 i32) (param $i2 i32) (param $i3 i32) (result i32)
+ (func $f1 (; 3 ;) (type $3) (param $i1 i32) (param $i2 i32) (param $i3 i32) (result i32)
(block $topmost (result i32)
(get_local $i3)
)