Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/cfg/inplaceLambdaInControlFlowExpressions.dot
T
2020-04-03 10:08:23 +03:00

193 lines
6.2 KiB
Plaintext
Vendored

digraph inplaceLambdaInControlFlowExpressions_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function materialize" style="filled" fillcolor=red];
2 [label="Const: Null(null)"];
3 [label="Check not null: Null(null)!!"];
4 [label="Jump: ^materialize Null(null)!!"];
5 [label="Stub" style="filled" fillcolor=gray];
1 [label="Exit function materialize" style="filled" fillcolor=red];
}
0 -> {2};
2 -> {3};
3 -> {4};
4 -> {1};
4 -> {5} [style=dotted];
5 -> {1} [style=dotted];
subgraph cluster_1 {
color=red
6 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
8 [label="Enter when"];
subgraph cluster_3 {
color=blue
10 [label="Enter when branch condition "];
11 [label="Const: Boolean(true)"];
12 [label="Exit when branch condition"];
}
subgraph cluster_4 {
color=blue
23 [label="Enter when branch condition else"];
24 [label="Exit when branch condition"];
}
25 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
26 [label="Enter block"];
27 [label="Const: String()"];
28 [label="Exit block"];
}
29 [label="Exit when branch result"];
13 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
14 [label="Enter block"];
15 [label="Postponed enter to lambda"];
subgraph cluster_7 {
color=blue
17 [label="Enter function anonymousFunction"];
19 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
18 [label="Exit function anonymousFunction"];
}
16 [label="Postponed exit from lambda"];
20 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
21 [label="Exit block"];
}
22 [label="Exit when branch result"];
9 [label="Exit when"];
}
30 [label="Call arguments union" style="filled" fillcolor=yellow];
31 [label="Variable declaration: lval x: R|kotlin/String|"];
7 [label="Exit function test_1" style="filled" fillcolor=red];
}
6 -> {8};
8 -> {10};
9 -> {30};
10 -> {11};
11 -> {12};
12 -> {13 23};
13 -> {14};
14 -> {15};
15 -> {17};
15 -> {16} [color=red];
16 -> {20};
17 -> {19};
18 -> {16} [color=green];
18 -> {30} [color=red];
19 -> {18};
20 -> {21};
21 -> {22};
22 -> {9};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {9};
30 -> {31};
31 -> {7};
subgraph cluster_8 {
color=red
32 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
34 [label="Try expression enter"];
subgraph cluster_10 {
color=blue
36 [label="Try main block enter"];
subgraph cluster_11 {
color=blue
38 [label="Enter block"];
39 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
41 [label="Enter function anonymousFunction"];
43 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
42 [label="Exit function anonymousFunction"];
}
40 [label="Postponed exit from lambda"];
44 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
45 [label="Exit block"];
}
46 [label="Try main block exit"];
}
subgraph cluster_13 {
color=blue
37 [label="Catch enter"];
subgraph cluster_14 {
color=blue
47 [label="Enter block"];
48 [label="Const: String()"];
49 [label="Exit block"];
}
50 [label="Catch exit"];
}
35 [label="Try expression exit"];
}
51 [label="Call arguments union" style="filled" fillcolor=yellow];
52 [label="Variable declaration: lval x: R|kotlin/String|"];
33 [label="Exit function test_2" style="filled" fillcolor=red];
}
32 -> {34};
34 -> {36};
35 -> {51};
36 -> {33 37 38};
37 -> {33 47};
38 -> {39};
39 -> {41};
39 -> {40} [color=red];
40 -> {44};
41 -> {43};
42 -> {40} [color=green];
42 -> {51} [color=red];
43 -> {42};
44 -> {45};
45 -> {46};
46 -> {35};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {35};
51 -> {52};
52 -> {33};
subgraph cluster_15 {
color=red
53 [label="Enter function test_3" style="filled" fillcolor=red];
55 [label="Postponed enter to lambda"];
subgraph cluster_16 {
color=blue
57 [label="Enter function anonymousFunction"];
59 [label="Function call: R|/materialize|<R|kotlin/String?|>()"];
58 [label="Exit function anonymousFunction"];
}
56 [label="Postponed exit from lambda"];
60 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)"];
61 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!"];
62 [label="Call arguments union" style="filled" fillcolor=yellow];
63 [label="Variable declaration: lval x: R|kotlin/String|"];
54 [label="Exit function test_3" style="filled" fillcolor=red];
}
53 -> {55};
55 -> {57};
55 -> {56} [color=red];
56 -> {60};
57 -> {59};
58 -> {56} [color=green];
58 -> {62} [color=red];
59 -> {58};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {54};
}