Test: FIR CFA: index nodes in rendering order
This commit is contained in:
+53
-53
@@ -5,93 +5,92 @@ digraph overridenOpenVal_kt {
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
6 [label="Enter class A" style="filled" fillcolor=red];
|
||||
7 [label="Part of class initialization"];
|
||||
0 [label="Enter class A" style="filled" fillcolor=red];
|
||||
1 [label="Part of class initialization"];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
3 [label="Enter property" style="filled" fillcolor=red];
|
||||
4 [label="Access variable R|<local>/x|"];
|
||||
5 [label="Exit property" style="filled" fillcolor=red];
|
||||
2 [label="Enter property" style="filled" fillcolor=red];
|
||||
3 [label="Access variable R|<local>/x|"];
|
||||
4 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
8 [label="Exit class A" style="filled" fillcolor=red];
|
||||
5 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
6 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
7 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
8 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
6 -> {7} [color=green];
|
||||
7 -> {3} [color=green];
|
||||
7 -> {8} [style=dotted];
|
||||
7 -> {3} [style=dashed];
|
||||
8 -> {0} [color=green];
|
||||
8 -> {0} [style=dashed];
|
||||
0 -> {1} [color=green];
|
||||
1 -> {2} [color=green];
|
||||
1 -> {5} [style=dotted];
|
||||
1 -> {2} [style=dashed];
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {8} [color=green];
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
4 -> {5} [color=green];
|
||||
5 -> {6} [color=green];
|
||||
5 -> {6} [style=dashed];
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
31 [label="Enter class B" style="filled" fillcolor=red];
|
||||
32 [label="Exit class B" style="filled" fillcolor=red];
|
||||
9 [label="Enter class B" style="filled" fillcolor=red];
|
||||
10 [label="Exit class B" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
13 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
11 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
14 [label="Enter block"];
|
||||
12 [label="Enter block"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
15 [label="Enter when"];
|
||||
13 [label="Enter when"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
16 [label="Enter when branch condition "];
|
||||
17 [label="Access variable R|/A.x|"];
|
||||
18 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"];
|
||||
19 [label="Exit when branch condition"];
|
||||
14 [label="Enter when branch condition "];
|
||||
15 [label="Access variable R|/A.x|"];
|
||||
16 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"];
|
||||
17 [label="Exit when branch condition"];
|
||||
}
|
||||
20 [label="Synthetic else branch"];
|
||||
21 [label="Enter when branch result"];
|
||||
18 [label="Synthetic else branch"];
|
||||
19 [label="Enter when branch result"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
22 [label="Enter block"];
|
||||
23 [label="Access variable R|/A.x|"];
|
||||
24 [label="Smart cast: this@R|/B|.R|/A.x|"];
|
||||
25 [label="Access variable R|kotlin/String.length|"];
|
||||
26 [label="Exit block"];
|
||||
20 [label="Enter block"];
|
||||
21 [label="Access variable R|/A.x|"];
|
||||
22 [label="Smart cast: this@R|/B|.R|/A.x|"];
|
||||
23 [label="Access variable R|kotlin/String.length|"];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
27 [label="Exit when branch result"];
|
||||
28 [label="Exit when"];
|
||||
25 [label="Exit when branch result"];
|
||||
26 [label="Exit when"];
|
||||
}
|
||||
29 [label="Exit block"];
|
||||
27 [label="Exit block"];
|
||||
}
|
||||
30 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
28 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
9 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
10 [label="Access variable R|<local>/x|"];
|
||||
11 [label="Delegated constructor call: super<R|A|>(...)" style="filled" fillcolor=yellow];
|
||||
12 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
29 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
30 [label="Access variable R|<local>/x|"];
|
||||
31 [label="Delegated constructor call: super<R|A|>(...)" style="filled" fillcolor=yellow];
|
||||
32 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
31 -> {32} [color=green];
|
||||
32 -> {9 13} [color=green];
|
||||
32 -> {9 13} [style=dashed];
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
9 -> {10} [color=green];
|
||||
10 -> {11 29} [color=green];
|
||||
10 -> {11 29} [style=dashed];
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20 21};
|
||||
20 -> {28};
|
||||
17 -> {18 19};
|
||||
18 -> {26};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
@@ -99,8 +98,9 @@ digraph overridenOpenVal_kt {
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
|
||||
Reference in New Issue
Block a user