summaryrefslogtreecommitdiff
path: root/test/unreachable-code.wast.fromBinary
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/unreachable-code.wast.fromBinary
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/unreachable-code.wast.fromBinary')
-rw-r--r--test/unreachable-code.wast.fromBinary20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/unreachable-code.wast.fromBinary b/test/unreachable-code.wast.fromBinary
index e9489293e..d0c0f06d7 100644
--- a/test/unreachable-code.wast.fromBinary
+++ b/test/unreachable-code.wast.fromBinary
@@ -1,33 +1,33 @@
(module
(type $0 (func))
(memory $0 0)
- (func $a (type $0)
+ (func $a (; 0 ;) (type $0)
(if
(i32.const 1)
(unreachable)
)
)
- (func $b (type $0)
+ (func $b (; 1 ;) (type $0)
(if
(i32.const 1)
(unreachable)
(unreachable)
)
)
- (func $a-block (type $0)
+ (func $a-block (; 2 ;) (type $0)
(if
(i32.const 1)
(unreachable)
)
)
- (func $b-block (type $0)
+ (func $b-block (; 3 ;) (type $0)
(if
(i32.const 1)
(unreachable)
(unreachable)
)
)
- (func $a-prepost (type $0)
+ (func $a-prepost (; 4 ;) (type $0)
(nop)
(if
(i32.const 1)
@@ -35,7 +35,7 @@
)
(nop)
)
- (func $b-prepost (type $0)
+ (func $b-prepost (; 5 ;) (type $0)
(nop)
(if
(i32.const 1)
@@ -43,7 +43,7 @@
(unreachable)
)
)
- (func $a-block-prepost (type $0)
+ (func $a-block-prepost (; 6 ;) (type $0)
(nop)
(block $label$1
(if
@@ -53,7 +53,7 @@
)
(nop)
)
- (func $b-block-prepost (type $0)
+ (func $b-block-prepost (; 7 ;) (type $0)
(nop)
(block $label$1
(if
@@ -63,7 +63,7 @@
)
)
)
- (func $recurse (type $0)
+ (func $recurse (; 8 ;) (type $0)
(nop)
(block $label$1
(nop)
@@ -71,7 +71,7 @@
)
(nop)
)
- (func $recurse-b (type $0)
+ (func $recurse-b (; 9 ;) (type $0)
(block $label$1
(nop)
(block $label$2