summaryrefslogtreecommitdiff
path: root/test/passes/remove-unused-names_code-folding.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/remove-unused-names_code-folding.txt')
-rw-r--r--test/passes/remove-unused-names_code-folding.txt70
1 files changed, 35 insertions, 35 deletions
diff --git a/test/passes/remove-unused-names_code-folding.txt b/test/passes/remove-unused-names_code-folding.txt
index 0ad10704f..c037c95ef 100644
--- a/test/passes/remove-unused-names_code-folding.txt
+++ b/test/passes/remove-unused-names_code-folding.txt
@@ -3,7 +3,7 @@
(type $1 (func (param i32 i32) (result i32)))
(type $2 (func (result i32)))
(memory $0 0)
- (func $ifs (type $0)
+ (func $ifs (; 0 ;) (type $0)
(if
(i32.const 0)
(nop)
@@ -44,7 +44,7 @@
)
)
)
- (func $ifs-blocks (type $0)
+ (func $ifs-blocks (; 1 ;) (type $0)
(block
(drop
(i32.const 0)
@@ -88,7 +88,7 @@
)
)
)
- (func $ifs-blocks-big (type $0)
+ (func $ifs-blocks-big (; 2 ;) (type $0)
(block
(drop
(i32.const 0)
@@ -167,7 +167,7 @@
)
)
)
- (func $ifs-blocks-long (type $0)
+ (func $ifs-blocks-long (; 3 ;) (type $0)
(block
(if
(i32.const 1)
@@ -237,7 +237,7 @@
)
)
)
- (func $if-worth-it-i-dunno (type $0)
+ (func $if-worth-it-i-dunno (; 4 ;) (type $0)
(block $folding-inner0
(block
(if
@@ -411,7 +411,7 @@
(unreachable)
(unreachable)
)
- (func $no-grandparent (type $0)
+ (func $no-grandparent (; 5 ;) (type $0)
(if
(i32.const 9999)
(block
@@ -436,7 +436,7 @@
)
)
)
- (func $yes-grandparent (type $0)
+ (func $yes-grandparent (; 6 ;) (type $0)
(block
(if
(i32.const 9999)
@@ -461,7 +461,7 @@
(unreachable)
)
)
- (func $ifs-named-block (type $1) (param $x i32) (param $y i32) (result i32)
+ (func $ifs-named-block (; 7 ;) (type $1) (param $x i32) (param $y i32) (result i32)
(block $out
(block $out2
(block
@@ -546,7 +546,7 @@
(i32.const 20)
)
)
- (func $block (type $0)
+ (func $block (; 8 ;) (type $0)
(block $x
(if
(i32.const 0)
@@ -565,7 +565,7 @@
(i32.const 2)
)
)
- (func $block2 (type $0)
+ (func $block2 (; 9 ;) (type $0)
(block $x
(if
(i32.const 0)
@@ -600,7 +600,7 @@
(br $x)
)
)
- (func $block3 (type $0)
+ (func $block3 (; 10 ;) (type $0)
(block $x
(if
(i32.const 0)
@@ -641,7 +641,7 @@
(i32.const 2)
)
)
- (func $mixture (type $0)
+ (func $mixture (; 11 ;) (type $0)
(block $out
(block
(drop
@@ -720,7 +720,7 @@
(nop)
)
)
- (func $block-corners (type $0)
+ (func $block-corners (; 12 ;) (type $0)
(block
(block $x
(if
@@ -879,7 +879,7 @@
)
)
)
- (func $terminating (type $0)
+ (func $terminating (; 13 ;) (type $0)
(block $folding-inner0
(block
(if
@@ -910,7 +910,7 @@
(nop)
(unreachable)
)
- (func $terminating-unreachable (type $0)
+ (func $terminating-unreachable (; 14 ;) (type $0)
(block $folding-inner0
(block
(if
@@ -941,7 +941,7 @@
(nop)
(unreachable)
)
- (func $terminating-value (type $2) (result i32)
+ (func $terminating-value (; 15 ;) (type $2) (result i32)
(block $folding-inner0
(return
(block (result i32)
@@ -974,7 +974,7 @@
(nop)
(unreachable)
)
- (func $terminating-just-2 (type $0)
+ (func $terminating-just-2 (; 16 ;) (type $0)
(block $folding-inner0
(block
(if
@@ -1021,7 +1021,7 @@
(nop)
(unreachable)
)
- (func $terminating-shortness (type $0)
+ (func $terminating-shortness (; 17 ;) (type $0)
(block $folding-inner1
(block
(block $folding-inner0
@@ -1062,7 +1062,7 @@
(nop)
(unreachable)
)
- (func $terminating-multiple-separate (type $0)
+ (func $terminating-multiple-separate (; 18 ;) (type $0)
(block $folding-inner1
(block
(block $folding-inner0
@@ -1119,7 +1119,7 @@
)
(unreachable)
)
- (func $terminating-just-worth-it (type $0)
+ (func $terminating-just-worth-it (; 19 ;) (type $0)
(block $folding-inner0
(block
(if
@@ -1142,7 +1142,7 @@
(nop)
(unreachable)
)
- (func $terminating-not-worth-it (type $0)
+ (func $terminating-not-worth-it (; 20 ;) (type $0)
(if
(i32.const 1)
(block
@@ -1168,7 +1168,7 @@
)
)
)
- (func $terminating-return (type $0)
+ (func $terminating-return (; 21 ;) (type $0)
(block $folding-inner0
(block
(if
@@ -1199,7 +1199,7 @@
(nop)
(return)
)
- (func $terminating-return-value (type $2) (result i32)
+ (func $terminating-return-value (; 22 ;) (type $2) (result i32)
(block $folding-inner0
(block
(if
@@ -1239,7 +1239,7 @@
)
)
)
- (func $terminating-fallthrough-value (type $2) (result i32)
+ (func $terminating-fallthrough-value (; 23 ;) (type $2) (result i32)
(block $folding-inner0
(return
(block (result i32)
@@ -1279,7 +1279,7 @@
)
)
)
- (func $big-return (type $2) (result i32)
+ (func $big-return (; 24 ;) (type $2) (result i32)
(block $folding-inner0
(block
(if
@@ -1316,7 +1316,7 @@
)
)
)
- (func $return-mix (type $2) (result i32)
+ (func $return-mix (; 25 ;) (type $2) (result i32)
(block $folding-inner0
(block
(if
@@ -1354,10 +1354,10 @@
)
)
)
- (func $just-unreachable (type $0)
+ (func $just-unreachable (; 26 ;) (type $0)
(unreachable)
)
- (func $just-return (type $2) (result i32)
+ (func $just-return (; 27 ;) (type $2) (result i32)
(return
(i32.add
(i32.const 1)
@@ -1365,7 +1365,7 @@
)
)
)
- (func $drop-if-with-value-but-unreachable (type $0)
+ (func $drop-if-with-value-but-unreachable (; 28 ;) (type $0)
(if
(i32.const 0)
(nop)
@@ -1411,7 +1411,7 @@
)
)
)
- (func $nested-control-flow (type $0)
+ (func $nested-control-flow (; 29 ;) (type $0)
(block $out
(block
(block $x
@@ -1441,7 +1441,7 @@
)
)
)
- (func $nested-control-flow-dangerous (type $0)
+ (func $nested-control-flow-dangerous (; 30 ;) (type $0)
(block $folding-inner0
(block $out
(block
@@ -1485,7 +1485,7 @@
)
(return)
)
- (func $nested-control-flow-dangerous-but-ok (type $0)
+ (func $nested-control-flow-dangerous-but-ok (; 31 ;) (type $0)
(block $folding-inner0
(block
(block $middle
@@ -1540,7 +1540,7 @@
)
(return)
)
- (func $nested-control-flow-dangerous-but-ok-b (type $0)
+ (func $nested-control-flow-dangerous-but-ok-b (; 32 ;) (type $0)
(block $out
(block $middle
(block
@@ -1606,7 +1606,7 @@
(i32.const 4)
)
)
- (func $nested-control-flow-dangerous-but-ok-c (type $0)
+ (func $nested-control-flow-dangerous-but-ok-c (; 33 ;) (type $0)
(block $x
(block
(block $out
@@ -1643,7 +1643,7 @@
(i32.const 5)
)
)
- (func $nested-control-flow-dangerous-but-ok-d (type $0)
+ (func $nested-control-flow-dangerous-but-ok-d (; 34 ;) (type $0)
(block
(block $out
(block