summaryrefslogtreecommitdiff
path: root/test/polymorphic_stack.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/polymorphic_stack.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/polymorphic_stack.wast.fromBinary')
-rw-r--r--test/polymorphic_stack.wast.fromBinary18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/polymorphic_stack.wast.fromBinary b/test/polymorphic_stack.wast.fromBinary
index 35617d34b..10348a8e0 100644
--- a/test/polymorphic_stack.wast.fromBinary
+++ b/test/polymorphic_stack.wast.fromBinary
@@ -5,29 +5,29 @@
(type $3 (func))
(import "env" "table" (table 9 9 anyfunc))
(memory $0 0)
- (func $break-and-binary (type $1) (result i32)
+ (func $break-and-binary (; 0 ;) (type $1) (result i32)
(block $label$1 (result i32)
(unreachable)
)
)
- (func $call-and-unary (type $0) (param $var$0 i32) (result i32)
+ (func $call-and-unary (; 1 ;) (type $0) (param $var$0 i32) (result i32)
(unreachable)
)
- (func $tee (type $2) (param $var$0 i32)
+ (func $tee (; 2 ;) (type $2) (param $var$0 i32)
(local $var$1 f32)
(unreachable)
)
- (func $tee2 (type $3)
+ (func $tee2 (; 3 ;) (type $3)
(local $var$0 f32)
(if
(i32.const 259)
(unreachable)
)
)
- (func $select (type $3)
+ (func $select (; 4 ;) (type $3)
(unreachable)
)
- (func $untaken-break-should-have-value (type $1) (result i32)
+ (func $untaken-break-should-have-value (; 5 ;) (type $1) (result i32)
(block $label$1 (result i32)
(block $label$2
(drop
@@ -38,7 +38,7 @@
(unreachable)
)
)
- (func $unreachable-in-block-but-code-before (type $0) (param $var$0 i32) (result i32)
+ (func $unreachable-in-block-but-code-before (; 6 ;) (type $0) (param $var$0 i32) (result i32)
(if
(get_local $var$0)
(return
@@ -54,14 +54,14 @@
)
)
)
- (func $br_table_unreachable_to_also_unreachable (type $1) (result i32)
+ (func $br_table_unreachable_to_also_unreachable (; 7 ;) (type $1) (result i32)
(block $label$1 (result i32)
(block $label$2 (result i32)
(unreachable)
)
)
)
- (func $untaken-br_if (type $1) (result i32)
+ (func $untaken-br_if (; 8 ;) (type $1) (result i32)
(block $label$1 (result i32)
(block $label$2
(if