Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/cfg/defaultArguments.dot
T
pyos 4c6eff9174 FIR CFA: compute subgraph relationships automatically
No more `addSubGraph`. Also no more `owner` in graphs.

^KT-40526 Obsolete
^KT-40582 Obsolete
2023-01-10 15:40:48 +02:00

96 lines
3.1 KiB
Plaintext
Vendored

digraph defaultArguments_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
2 [label="Const: Int(1)"];
3 [label="Jump: ^foo Int(1)"];
4 [label="Stub" style="filled" fillcolor=gray];
5 [label="Exit block" style="filled" fillcolor=gray];
}
6 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {6};
3 -> {4} [style=dotted];
4 -> {5} [style=dotted];
5 -> {6} [style=dotted];
subgraph cluster_2 {
color=red
7 [label="Enter function test" style="filled" fillcolor=red];
8 [label="Enter default value of y"];
subgraph cluster_3 {
color=blue
16 [label="Enter default value of y" style="filled" fillcolor=red];
17 [label="Access variable R|<local>/x|"];
18 [label="Type operator: (R|<local>/x| as R|kotlin/String|)"];
19 [label="Exit default value of y" style="filled" fillcolor=red];
}
9 [label="Exit default value of y"];
10 [label="Enter default value of z"];
subgraph cluster_4 {
color=blue
20 [label="Enter default value of z" style="filled" fillcolor=red];
21 [label="Postponed enter to lambda"];
subgraph cluster_5 {
color=blue
25 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
26 [label="Enter block"];
27 [label="Function call: R|/foo|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
29 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
22 [label="Postponed exit from lambda"];
23 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
24 [label="Exit default value of z" style="filled" fillcolor=red];
}
11 [label="Exit default value of z"];
subgraph cluster_7 {
color=blue
12 [label="Enter block"];
13 [label="Function call: R|/foo|()" style="filled" fillcolor=yellow];
14 [label="Exit block"];
}
15 [label="Exit function test" style="filled" fillcolor=red];
}
7 -> {8};
8 -> {9 16};
8 -> {16} [style=dashed];
9 -> {10};
10 -> {11 20};
10 -> {20} [style=dashed];
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {9};
20 -> {21};
21 -> {23 25};
21 -> {22} [style=dotted];
21 -> {25} [style=dashed];
22 -> {23};
23 -> {24};
24 -> {11};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {22};
}