FIR CFA: put primary constructor before other class members
This commit is contained in:
+39
-38
@@ -8,61 +8,62 @@ digraph assignSafeCall_kt {
|
||||
0 [label="Enter class A" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
1 [label="Enter property" style="filled" fillcolor=red];
|
||||
2 [label="Const: Int(1)"];
|
||||
3 [label="Exit property" style="filled" fillcolor=red];
|
||||
1 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
2 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
3 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
4 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
5 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
6 [label="Enter block"];
|
||||
7 [label="Exit block"];
|
||||
4 [label="Enter property" style="filled" fillcolor=red];
|
||||
5 [label="Const: Int(1)"];
|
||||
6 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
8 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
7 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_4 {
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
9 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
8 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
10 [label="Enter block"];
|
||||
11 [label="Const: Int(1)"];
|
||||
12 [label="Jump: ^foo Int(1)"];
|
||||
13 [label="Stub" style="filled" fillcolor=gray];
|
||||
14 [label="Exit block" style="filled" fillcolor=gray];
|
||||
9 [label="Enter block"];
|
||||
10 [label="Exit block"];
|
||||
}
|
||||
15 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
11 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_6 {
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
16 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
17 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
18 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
12 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
13 [label="Enter block"];
|
||||
14 [label="Const: Int(1)"];
|
||||
15 [label="Jump: ^foo Int(1)"];
|
||||
16 [label="Stub" style="filled" fillcolor=gray];
|
||||
17 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
18 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
0 -> {1} [color=green];
|
||||
0 -> {4} [style=dotted];
|
||||
0 -> {1} [style=dashed];
|
||||
0 -> {7} [style=dotted];
|
||||
0 -> {1 4} [style=dashed];
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4} [color=green];
|
||||
4 -> {5 9 16} [color=green];
|
||||
4 -> {5 9 16} [style=dashed];
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
6 -> {7} [color=green];
|
||||
7 -> {8 12} [color=green];
|
||||
7 -> {8 12} [style=dashed];
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {15};
|
||||
12 -> {13} [style=dotted];
|
||||
13 -> {14} [style=dotted];
|
||||
14 -> {15} [style=dotted];
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {18};
|
||||
15 -> {16} [style=dotted];
|
||||
16 -> {17} [style=dotted];
|
||||
17 -> {18} [style=dotted];
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
|
||||
Reference in New Issue
Block a user