FIR CFA: put primary constructor before other class members

This commit is contained in:
pyos
2022-12-11 16:35:08 +01:00
committed by Dmitriy Novozhilov
parent c6e9afb788
commit 17ee8f3a7b
31 changed files with 1890 additions and 1871 deletions
@@ -341,28 +341,27 @@ digraph boundSmartcasts_kt {
125 [label="Enter class D" style="filled" fillcolor=red];
subgraph cluster_28 {
color=blue
126 [label="Enter property" style="filled" fillcolor=red];
127 [label="Access variable R|<local>/any|"];
128 [label="Exit property" style="filled" fillcolor=red];
126 [label="Enter function <init>" style="filled" fillcolor=red];
127 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
128 [label="Exit function <init>" style="filled" fillcolor=red];
}
129 [label="Exit class D" style="filled" fillcolor=red];
}
subgraph cluster_29 {
color=blue
130 [label="Enter function <init>" style="filled" fillcolor=red];
131 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
132 [label="Exit function <init>" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
129 [label="Enter property" style="filled" fillcolor=red];
130 [label="Access variable R|<local>/any|"];
131 [label="Exit property" style="filled" fillcolor=red];
}
132 [label="Exit class D" style="filled" fillcolor=red];
}
125 -> {126} [color=green];
125 -> {129} [style=dotted];
125 -> {126} [style=dashed];
125 -> {132} [style=dotted];
125 -> {126 129} [style=dashed];
126 -> {127};
127 -> {128};
128 -> {129} [color=green];
129 -> {130} [color=green];
129 -> {130} [style=dashed];
129 -> {130};
130 -> {131};
131 -> {132};
131 -> {132} [color=green];
subgraph cluster_30 {
color=red
@@ -8,28 +8,27 @@ digraph boundSmartcastsInBranches_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: String()"];
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 <init>" style="filled" fillcolor=red];
6 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
7 [label="Exit function <init>" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
4 [label="Enter property" style="filled" fillcolor=red];
5 [label="Const: String()"];
6 [label="Exit property" style="filled" fillcolor=red];
}
7 [label="Exit class A" 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} [color=green];
4 -> {5} [style=dashed];
4 -> {5};
5 -> {6};
6 -> {7};
6 -> {7} [color=green];
subgraph cluster_3 {
color=red
@@ -6,47 +6,47 @@ digraph functionCallBound_kt {
subgraph cluster_0 {
color=red
0 [label="Enter class Base" style="filled" fillcolor=red];
1 [label="Exit class Base" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
2 [label="Enter function <init>" style="filled" fillcolor=red];
3 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
4 [label="Exit function <init>" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
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 Base" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
1 -> {2} [color=green];
1 -> {2} [style=dashed];
0 -> {4} [style=dotted];
0 -> {1} [style=dashed];
1 -> {2};
2 -> {3};
3 -> {4};
3 -> {4} [color=green];
subgraph cluster_2 {
color=red
5 [label="Enter class Sub" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
6 [label="Enter property" style="filled" fillcolor=red];
7 [label="Access variable R|<local>/data|"];
8 [label="Exit property" style="filled" fillcolor=red];
6 [label="Enter function <init>" style="filled" fillcolor=red];
7 [label="Delegated constructor call: super<R|Base|>()" style="filled" fillcolor=yellow];
8 [label="Exit function <init>" style="filled" fillcolor=red];
}
9 [label="Exit class Sub" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
10 [label="Enter function <init>" style="filled" fillcolor=red];
11 [label="Delegated constructor call: super<R|Base|>()" style="filled" fillcolor=yellow];
12 [label="Exit function <init>" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
9 [label="Enter property" style="filled" fillcolor=red];
10 [label="Access variable R|<local>/data|"];
11 [label="Exit property" style="filled" fillcolor=red];
}
12 [label="Exit class Sub" style="filled" fillcolor=red];
}
5 -> {6} [color=green];
5 -> {9} [style=dotted];
5 -> {6} [style=dashed];
5 -> {12} [style=dotted];
5 -> {6 9} [style=dashed];
6 -> {7};
7 -> {8};
8 -> {9} [color=green];
9 -> {10} [color=green];
9 -> {10} [style=dashed];
9 -> {10};
10 -> {11};
11 -> {12};
11 -> {12} [color=green];
subgraph cluster_5 {
color=red
@@ -6,95 +6,100 @@ digraph lambdaInWhenBranch_kt {
subgraph cluster_0 {
color=red
0 [label="Enter class Sealed" style="filled" fillcolor=red];
1 [label="Exit class Sealed" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
2 [label="Enter function <init>" style="filled" fillcolor=red];
3 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
4 [label="Exit function <init>" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
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 Sealed" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
1 -> {2} [color=green];
1 -> {2} [style=dashed];
0 -> {4} [style=dotted];
0 -> {1} [style=dashed];
1 -> {2};
2 -> {3};
3 -> {4};
3 -> {4} [color=green];
subgraph cluster_2 {
color=red
5 [label="Enter class SubClass1" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
6 [label="Enter property" style="filled" fillcolor=red];
7 [label="Access variable R|<local>/t|"];
8 [label="Exit property" style="filled" fillcolor=red];
6 [label="Enter function <init>" style="filled" fillcolor=red];
7 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
8 [label="Exit function <init>" style="filled" fillcolor=red];
}
9 [label="Exit class SubClass1" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
10 [label="Enter function copy" style="filled" fillcolor=red];
11 [label="Enter default value of t"];
subgraph cluster_5 {
subgraph cluster_4 {
color=blue
12 [label="Enter default value of t" style="filled" fillcolor=red];
13 [label="Access variable R|/SubClass1.t|"];
14 [label="Exit default value of t" style="filled" fillcolor=red];
9 [label="Enter property" style="filled" fillcolor=red];
10 [label="Access variable R|<local>/t|"];
11 [label="Exit property" style="filled" fillcolor=red];
}
15 [label="Exit default value of t"];
16 [label="Exit function copy" style="filled" fillcolor=red];
12 [label="Exit class SubClass1" style="filled" fillcolor=red];
}
subgraph cluster_6 {
subgraph cluster_5 {
color=blue
17 [label="Enter function component1" style="filled" fillcolor=red];
18 [label="Exit function component1" style="filled" fillcolor=red];
13 [label="Enter function copy" style="filled" fillcolor=red];
14 [label="Enter default value of t"];
subgraph cluster_6 {
color=blue
15 [label="Enter default value of t" style="filled" fillcolor=red];
16 [label="Access variable R|/SubClass1.t|"];
17 [label="Exit default value of t" style="filled" fillcolor=red];
}
18 [label="Exit default value of t"];
19 [label="Exit function copy" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
19 [label="Enter function <init>" style="filled" fillcolor=red];
20 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
21 [label="Exit function <init>" style="filled" fillcolor=red];
20 [label="Enter function component1" style="filled" fillcolor=red];
21 [label="Exit function component1" style="filled" fillcolor=red];
}
5 -> {6} [color=green];
5 -> {9} [style=dotted];
5 -> {6} [style=dashed];
5 -> {12} [style=dotted];
5 -> {6 9} [style=dashed];
6 -> {7};
7 -> {8};
8 -> {9} [color=green];
9 -> {10 17 19} [color=green];
9 -> {10 17 19} [style=dashed];
9 -> {10};
10 -> {11};
11 -> {12 15};
11 -> {12} [style=dashed];
12 -> {13};
11 -> {12} [color=green];
12 -> {13 20} [color=green];
12 -> {13 20} [style=dashed];
13 -> {14};
14 -> {15};
14 -> {15 18};
14 -> {15} [style=dashed];
15 -> {16};
16 -> {17};
17 -> {18};
19 -> {20};
18 -> {19};
20 -> {21};
subgraph cluster_8 {
color=red
22 [label="Enter class SubClass2" style="filled" fillcolor=red];
23 [label="Exit class SubClass2" style="filled" fillcolor=red];
}
subgraph cluster_9 {
color=blue
24 [label="Enter function copy" style="filled" fillcolor=red];
25 [label="Exit function copy" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
23 [label="Enter function <init>" style="filled" fillcolor=red];
24 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
25 [label="Exit function <init>" style="filled" fillcolor=red];
}
26 [label="Exit class SubClass2" style="filled" fillcolor=red];
}
subgraph cluster_10 {
color=blue
26 [label="Enter function <init>" style="filled" fillcolor=red];
27 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
28 [label="Exit function <init>" style="filled" fillcolor=red];
27 [label="Enter function copy" style="filled" fillcolor=red];
28 [label="Exit function copy" style="filled" fillcolor=red];
}
22 -> {23} [color=green];
23 -> {24 26} [color=green];
23 -> {24 26} [style=dashed];
22 -> {26} [style=dotted];
22 -> {23} [style=dashed];
23 -> {24};
24 -> {25};
26 -> {27};
25 -> {26} [color=green];
26 -> {27} [color=green];
26 -> {27} [style=dashed];
27 -> {28};
subgraph cluster_11 {
@@ -59,153 +59,158 @@ digraph nullability_kt {
14 [label="Enter class QImpl" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
15 [label="Enter property" style="filled" fillcolor=red];
16 [label="Access variable R|<local>/data|"];
17 [label="Exit property" style="filled" fillcolor=red];
15 [label="Enter function <init>" style="filled" fillcolor=red];
16 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
17 [label="Exit function <init>" style="filled" fillcolor=red];
}
18 [label="Exit class QImpl" style="filled" fillcolor=red];
}
subgraph cluster_9 {
color=blue
19 [label="Enter function fdata" style="filled" fillcolor=red];
subgraph cluster_10 {
subgraph cluster_9 {
color=blue
20 [label="Enter block"];
21 [label="Const: Null(null)"];
22 [label="Jump: ^fdata Null(null)"];
23 [label="Stub" style="filled" fillcolor=gray];
24 [label="Exit block" style="filled" fillcolor=gray];
18 [label="Enter property" style="filled" fillcolor=red];
19 [label="Access variable R|<local>/data|"];
20 [label="Exit property" style="filled" fillcolor=red];
}
25 [label="Exit function fdata" style="filled" fillcolor=red];
21 [label="Exit class QImpl" style="filled" fillcolor=red];
}
subgraph cluster_11 {
subgraph cluster_10 {
color=blue
26 [label="Enter function <init>" style="filled" fillcolor=red];
27 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
28 [label="Exit function <init>" style="filled" fillcolor=red];
22 [label="Enter function fdata" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
23 [label="Enter block"];
24 [label="Const: Null(null)"];
25 [label="Jump: ^fdata Null(null)"];
26 [label="Stub" style="filled" fillcolor=gray];
27 [label="Exit block" style="filled" fillcolor=gray];
}
28 [label="Exit function fdata" style="filled" fillcolor=red];
}
14 -> {15} [color=green];
14 -> {18} [style=dotted];
14 -> {15} [style=dashed];
14 -> {21} [style=dotted];
14 -> {15 18} [style=dashed];
15 -> {16};
16 -> {17};
17 -> {18} [color=green];
18 -> {19 26} [color=green];
18 -> {19 26} [style=dashed];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {25};
22 -> {23} [style=dotted];
23 -> {24} [style=dotted];
24 -> {25} [style=dotted];
26 -> {27};
27 -> {28};
20 -> {21} [color=green];
21 -> {22} [color=green];
21 -> {22} [style=dashed];
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {28};
25 -> {26} [style=dotted];
26 -> {27} [style=dotted];
27 -> {28} [style=dotted];
subgraph cluster_12 {
color=red
29 [label="Enter class QImplMutable" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
30 [label="Enter property" style="filled" fillcolor=red];
31 [label="Access variable R|<local>/data|"];
32 [label="Exit property" style="filled" fillcolor=red];
30 [label="Enter function <init>" style="filled" fillcolor=red];
31 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
32 [label="Exit function <init>" style="filled" fillcolor=red];
}
33 [label="Exit class QImplMutable" style="filled" fillcolor=red];
}
subgraph cluster_14 {
color=blue
34 [label="Enter function fdata" style="filled" fillcolor=red];
subgraph cluster_15 {
subgraph cluster_14 {
color=blue
35 [label="Enter block"];
36 [label="Const: Null(null)"];
37 [label="Jump: ^fdata Null(null)"];
38 [label="Stub" style="filled" fillcolor=gray];
39 [label="Exit block" style="filled" fillcolor=gray];
33 [label="Enter property" style="filled" fillcolor=red];
34 [label="Access variable R|<local>/data|"];
35 [label="Exit property" style="filled" fillcolor=red];
}
40 [label="Exit function fdata" style="filled" fillcolor=red];
36 [label="Exit class QImplMutable" style="filled" fillcolor=red];
}
subgraph cluster_16 {
subgraph cluster_15 {
color=blue
41 [label="Enter function <init>" style="filled" fillcolor=red];
42 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
43 [label="Exit function <init>" style="filled" fillcolor=red];
37 [label="Enter function fdata" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
38 [label="Enter block"];
39 [label="Const: Null(null)"];
40 [label="Jump: ^fdata Null(null)"];
41 [label="Stub" style="filled" fillcolor=gray];
42 [label="Exit block" style="filled" fillcolor=gray];
}
43 [label="Exit function fdata" style="filled" fillcolor=red];
}
29 -> {30} [color=green];
29 -> {33} [style=dotted];
29 -> {30} [style=dashed];
29 -> {36} [style=dotted];
29 -> {30 33} [style=dashed];
30 -> {31};
31 -> {32};
32 -> {33} [color=green];
33 -> {34 41} [color=green];
33 -> {34 41} [style=dashed];
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {40};
37 -> {38} [style=dotted];
38 -> {39} [style=dotted];
39 -> {40} [style=dotted];
41 -> {42};
42 -> {43};
35 -> {36} [color=green];
36 -> {37} [color=green];
36 -> {37} [style=dashed];
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {43};
40 -> {41} [style=dotted];
41 -> {42} [style=dotted];
42 -> {43} [style=dotted];
subgraph cluster_17 {
color=red
44 [label="Enter class QImplWithCustomGetter" style="filled" fillcolor=red];
45 [label="Exit class QImplWithCustomGetter" style="filled" fillcolor=red];
}
subgraph cluster_18 {
color=blue
46 [label="Enter function fdata" style="filled" fillcolor=red];
subgraph cluster_19 {
subgraph cluster_18 {
color=blue
47 [label="Enter block"];
48 [label="Const: Null(null)"];
49 [label="Jump: ^fdata Null(null)"];
50 [label="Stub" style="filled" fillcolor=gray];
51 [label="Exit block" style="filled" fillcolor=gray];
45 [label="Enter function <init>" style="filled" fillcolor=red];
46 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
47 [label="Exit function <init>" style="filled" fillcolor=red];
}
52 [label="Exit function fdata" style="filled" fillcolor=red];
48 [label="Exit class QImplWithCustomGetter" style="filled" fillcolor=red];
}
subgraph cluster_20 {
subgraph cluster_19 {
color=blue
53 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_21 {
49 [label="Enter function fdata" style="filled" fillcolor=red];
subgraph cluster_20 {
color=blue
54 [label="Enter block"];
55 [label="Const: Null(null)"];
56 [label="Jump: ^ Null(null)"];
57 [label="Stub" style="filled" fillcolor=gray];
58 [label="Exit block" style="filled" fillcolor=gray];
50 [label="Enter block"];
51 [label="Const: Null(null)"];
52 [label="Jump: ^fdata Null(null)"];
53 [label="Stub" style="filled" fillcolor=gray];
54 [label="Exit block" style="filled" fillcolor=gray];
}
59 [label="Exit function getter" style="filled" fillcolor=red];
55 [label="Exit function fdata" style="filled" fillcolor=red];
}
subgraph cluster_22 {
subgraph cluster_21 {
color=blue
60 [label="Enter function <init>" style="filled" fillcolor=red];
61 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
62 [label="Exit function <init>" style="filled" fillcolor=red];
56 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
57 [label="Enter block"];
58 [label="Const: Null(null)"];
59 [label="Jump: ^ Null(null)"];
60 [label="Stub" style="filled" fillcolor=gray];
61 [label="Exit block" style="filled" fillcolor=gray];
}
62 [label="Exit function getter" style="filled" fillcolor=red];
}
44 -> {45} [color=green];
45 -> {46 53 60} [color=green];
45 -> {46 53 60} [style=dashed];
44 -> {48} [style=dotted];
44 -> {45} [style=dashed];
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {52};
49 -> {50} [style=dotted];
50 -> {51} [style=dotted];
51 -> {52} [style=dotted];
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {59};
56 -> {57} [style=dotted];
57 -> {58} [style=dotted];
58 -> {59} [style=dotted];
60 -> {61};
61 -> {62};
47 -> {48} [color=green];
48 -> {49 56} [color=green];
48 -> {49 56} [style=dashed];
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {55};
52 -> {53} [style=dotted];
53 -> {54} [style=dotted];
54 -> {55} [style=dotted];
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {62};
59 -> {60} [style=dotted];
60 -> {61} [style=dotted];
61 -> {62} [style=dotted];
subgraph cluster_23 {
color=red
@@ -6,60 +6,66 @@ digraph implicitReceivers_kt {
subgraph cluster_0 {
color=red
0 [label="Enter class A" style="filled" fillcolor=red];
1 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
2 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_2 {
subgraph cluster_1 {
color=blue
3 [label="Enter block"];
4 [label="Exit block"];
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];
}
5 [label="Exit function foo" style="filled" fillcolor=red];
4 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_3 {
subgraph cluster_2 {
color=blue
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];
5 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
6 [label="Enter block"];
7 [label="Exit block"];
}
8 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
1 -> {2 6} [color=green];
1 -> {2 6} [style=dashed];
0 -> {4} [style=dotted];
0 -> {1} [style=dashed];
1 -> {2};
2 -> {3};
3 -> {4};
4 -> {5};
3 -> {4} [color=green];
4 -> {5} [color=green];
4 -> {5} [style=dashed];
5 -> {6};
6 -> {7};
7 -> {8};
subgraph cluster_4 {
color=red
9 [label="Enter class B" style="filled" fillcolor=red];
10 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_5 {
color=blue
11 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_6 {
subgraph cluster_5 {
color=blue
12 [label="Enter block"];
13 [label="Exit block"];
10 [label="Enter function <init>" style="filled" fillcolor=red];
11 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
12 [label="Exit function <init>" style="filled" fillcolor=red];
}
14 [label="Exit function bar" style="filled" fillcolor=red];
13 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_7 {
subgraph cluster_6 {
color=blue
15 [label="Enter function <init>" style="filled" fillcolor=red];
16 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
17 [label="Exit function <init>" style="filled" fillcolor=red];
14 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
15 [label="Enter block"];
16 [label="Exit block"];
}
17 [label="Exit function bar" style="filled" fillcolor=red];
}
9 -> {10} [color=green];
10 -> {11 15} [color=green];
10 -> {11 15} [style=dashed];
9 -> {13} [style=dotted];
9 -> {10} [style=dashed];
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
12 -> {13} [color=green];
13 -> {14} [color=green];
13 -> {14} [style=dashed];
14 -> {15};
15 -> {16};
16 -> {17};
@@ -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
@@ -52,42 +52,41 @@ digraph smartCastInInit_kt {
14 [label="Enter class Main" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
15 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
16 [label="Enter block"];
17 [label="Function call: R|/s|()" style="filled" fillcolor=yellow];
18 [label="Assignment: R|/Main.x|"];
19 [label="Access variable R|/Main.x|"];
20 [label="Smart cast: this@R|/Main|.R|/Main.x|"];
21 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()" style="filled" fillcolor=yellow];
22 [label="Exit block"];
}
23 [label="Exit init block" style="filled" fillcolor=red];
15 [label="Enter function <init>" style="filled" fillcolor=red];
16 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
17 [label="Exit function <init>" style="filled" fillcolor=red];
}
24 [label="Exit class Main" style="filled" fillcolor=red];
}
subgraph cluster_8 {
color=blue
25 [label="Enter function <init>" style="filled" fillcolor=red];
26 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
27 [label="Exit function <init>" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
18 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
19 [label="Enter block"];
20 [label="Function call: R|/s|()" style="filled" fillcolor=yellow];
21 [label="Assignment: R|/Main.x|"];
22 [label="Access variable R|/Main.x|"];
23 [label="Smart cast: this@R|/Main|.R|/Main.x|"];
24 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()" style="filled" fillcolor=yellow];
25 [label="Exit block"];
}
26 [label="Exit init block" style="filled" fillcolor=red];
}
27 [label="Exit class Main" style="filled" fillcolor=red];
}
14 -> {15} [color=green];
14 -> {24} [style=dotted];
14 -> {15} [style=dashed];
14 -> {27} [style=dotted];
14 -> {15 18} [style=dashed];
15 -> {16};
16 -> {17};
17 -> {18};
17 -> {18} [color=green];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24} [color=green];
24 -> {25} [color=green];
24 -> {25} [style=dashed];
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
26 -> {27} [color=green];
}
@@ -8,37 +8,36 @@ digraph smartcastInByClause_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="Access variable R|<local>/path|"];
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];
}
subgraph cluster_2 {
color=blue
4 [label="Enter property" style="filled" fillcolor=red];
5 [label="Access variable R|<local>/index|"];
5 [label="Access variable R|<local>/path|"];
6 [label="Exit property" style="filled" fillcolor=red];
}
7 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
8 [label="Enter function <init>" style="filled" fillcolor=red];
9 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
10 [label="Exit function <init>" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
7 [label="Enter property" style="filled" fillcolor=red];
8 [label="Access variable R|<local>/index|"];
9 [label="Exit property" style="filled" fillcolor=red];
}
10 [label="Exit class A" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
0 -> {7} [style=dotted];
0 -> {1 4} [style=dashed];
0 -> {10} [style=dotted];
0 -> {1 4 7} [style=dashed];
1 -> {2};
2 -> {3};
3 -> {4} [color=green];
4 -> {5};
5 -> {6};
6 -> {7} [color=green];
7 -> {8} [color=green];
7 -> {8} [style=dashed];
7 -> {8};
8 -> {9};
9 -> {10};
9 -> {10} [color=green];
subgraph cluster_4 {
color=red
@@ -52,28 +51,27 @@ digraph smartcastInByClause_kt {
13 [label="Enter class Derived" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
14 [label="Enter property" style="filled" fillcolor=red];
15 [label="Access variable R|<local>/index|"];
16 [label="Exit property" style="filled" fillcolor=red];
14 [label="Enter function <init>" style="filled" fillcolor=red];
15 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
16 [label="Exit function <init>" style="filled" fillcolor=red];
}
17 [label="Exit class Derived" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
18 [label="Enter function <init>" style="filled" fillcolor=red];
19 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
20 [label="Exit function <init>" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
17 [label="Enter property" style="filled" fillcolor=red];
18 [label="Access variable R|<local>/index|"];
19 [label="Exit property" style="filled" fillcolor=red];
}
20 [label="Exit class Derived" style="filled" fillcolor=red];
}
13 -> {14} [color=green];
13 -> {17} [style=dotted];
13 -> {14} [style=dashed];
13 -> {20} [style=dotted];
13 -> {14 17} [style=dashed];
14 -> {15};
15 -> {16};
16 -> {17} [color=green];
17 -> {18} [color=green];
17 -> {18} [style=dashed];
17 -> {18};
18 -> {19};
19 -> {20};
19 -> {20} [color=green];
subgraph cluster_8 {
color=red
@@ -103,26 +101,32 @@ digraph smartcastInByClause_kt {
40 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
41 [label="Enter field" style="filled" fillcolor=red];
42 [label="Access variable R|<local>/a|"];
43 [label="Smart cast: R|<local>/a|"];
44 [label="Access variable R|/A.index|"];
45 [label="Function call: R|/Derived.Derived|(...)" style="filled" fillcolor=yellow];
46 [label="Exit field" style="filled" fillcolor=red];
41 [label="Enter function <init>" style="filled" fillcolor=red];
42 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
43 [label="Exit function <init>" style="filled" fillcolor=red];
}
subgraph cluster_12 {
color=blue
47 [label="Enter property" style="filled" fillcolor=red];
48 [label="Access variable R|<local>/a|"];
49 [label="Smart cast: R|<local>/a|"];
50 [label="Access variable R|/A.index|"];
51 [label="Exit property" style="filled" fillcolor=red];
44 [label="Enter field" style="filled" fillcolor=red];
45 [label="Access variable R|<local>/a|"];
46 [label="Smart cast: R|<local>/a|"];
47 [label="Access variable R|/A.index|"];
48 [label="Function call: R|/Derived.Derived|(...)" style="filled" fillcolor=yellow];
49 [label="Exit field" style="filled" fillcolor=red];
}
52 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
50 [label="Enter property" style="filled" fillcolor=red];
51 [label="Access variable R|<local>/a|"];
52 [label="Smart cast: R|<local>/a|"];
53 [label="Access variable R|/A.index|"];
54 [label="Exit property" style="filled" fillcolor=red];
}
55 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
}
53 [label="Exit anonymous object"];
54 [label="Exit anonymous object expression"];
55 [label="Jump: ^test object : R|Base| {
56 [label="Exit anonymous object"];
57 [label="Exit anonymous object expression"];
58 [label="Jump: ^test object : R|Base| {
private constructor(): R|<anonymous>| {
super<R|kotlin/Any|>()
}
@@ -138,30 +142,24 @@ digraph smartcastInByClause_kt {
}
"];
56 [label="Stub" style="filled" fillcolor=gray];
57 [label="Exit block" style="filled" fillcolor=gray];
59 [label="Stub" style="filled" fillcolor=gray];
60 [label="Exit block" style="filled" fillcolor=gray];
}
58 [label="Exit function test" style="filled" fillcolor=red];
61 [label="Exit function test" style="filled" fillcolor=red];
}
subgraph cluster_13 {
subgraph cluster_14 {
color=blue
59 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_14 {
62 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
60 [label="Enter block"];
61 [label="Access variable R|<local>/a|"];
62 [label="Smart cast: R|<local>/a|"];
63 [label="Access variable R|/A.index|"];
64 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
65 [label="Exit block"];
63 [label="Enter block"];
64 [label="Access variable R|<local>/a|"];
65 [label="Smart cast: R|<local>/a|"];
66 [label="Access variable R|/A.index|"];
67 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
68 [label="Exit block"];
}
66 [label="Exit function foo" style="filled" fillcolor=red];
}
subgraph cluster_15 {
color=blue
67 [label="Enter function <init>" style="filled" fillcolor=red];
68 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
69 [label="Exit function <init>" style="filled" fillcolor=red];
69 [label="Exit function foo" style="filled" fillcolor=red];
}
21 -> {22};
22 -> {23};
@@ -172,7 +170,7 @@ digraph smartcastInByClause_kt {
27 -> {28 32};
28 -> {29};
29 -> {30};
30 -> {58};
30 -> {61};
30 -> {31} [style=dotted];
31 -> {33} [style=dotted];
32 -> {33};
@@ -183,38 +181,39 @@ digraph smartcastInByClause_kt {
37 -> {38};
38 -> {39};
39 -> {40};
39 -> {53} [color=red];
39 -> {56} [color=red];
39 -> {40} [style=dashed];
40 -> {41};
40 -> {47 59 67} [color=red];
40 -> {52} [style=dotted];
40 -> {41 47} [style=dashed];
40 -> {44 50 62} [color=red];
40 -> {55} [style=dotted];
40 -> {41 44 50} [style=dashed];
41 -> {42};
42 -> {43};
43 -> {44};
43 -> {44} [color=green];
44 -> {45};
45 -> {46};
46 -> {47} [color=green];
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
49 -> {50} [color=green];
50 -> {51};
51 -> {52} [color=green];
52 -> {53 59 67} [color=green];
52 -> {59 67} [style=dashed];
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {58};
55 -> {56} [style=dotted];
56 -> {57} [style=dotted];
57 -> {58} [style=dotted];
59 -> {60};
60 -> {61};
61 -> {62};
54 -> {55} [color=green];
55 -> {56 62} [color=green];
55 -> {62} [style=dashed];
56 -> {57};
57 -> {58};
58 -> {61};
58 -> {59} [style=dotted];
59 -> {60} [style=dotted];
60 -> {61} [style=dotted];
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
@@ -119,37 +119,36 @@ digraph smartcastToNothing_kt {
39 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
40 [label="Enter property" style="filled" fillcolor=red];
41 [label="Const: Int(1)"];
42 [label="Exit property" style="filled" fillcolor=red];
40 [label="Enter function <init>" style="filled" fillcolor=red];
41 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
42 [label="Exit function <init>" style="filled" fillcolor=red];
}
subgraph cluster_12 {
color=blue
43 [label="Enter property" style="filled" fillcolor=red];
44 [label="Const: Boolean(true)"];
44 [label="Const: Int(1)"];
45 [label="Exit property" style="filled" fillcolor=red];
}
46 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_13 {
color=blue
47 [label="Enter function <init>" style="filled" fillcolor=red];
48 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
49 [label="Exit function <init>" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
46 [label="Enter property" style="filled" fillcolor=red];
47 [label="Const: Boolean(true)"];
48 [label="Exit property" style="filled" fillcolor=red];
}
49 [label="Exit class A" style="filled" fillcolor=red];
}
39 -> {40} [color=green];
39 -> {46} [style=dotted];
39 -> {40 43} [style=dashed];
39 -> {49} [style=dotted];
39 -> {40 43 46} [style=dashed];
40 -> {41};
41 -> {42};
42 -> {43} [color=green];
43 -> {44};
44 -> {45};
45 -> {46} [color=green];
46 -> {47} [color=green];
46 -> {47} [style=dashed];
46 -> {47};
47 -> {48};
48 -> {49};
48 -> {49} [color=green];
subgraph cluster_14 {
color=red
@@ -8,94 +8,96 @@ digraph overridenOpenVal_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="Access variable R|<local>/x|"];
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 <init>" style="filled" fillcolor=red];
6 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
7 [label="Exit function <init>" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
4 [label="Enter property" style="filled" fillcolor=red];
5 [label="Access variable R|<local>/x|"];
6 [label="Exit property" style="filled" fillcolor=red];
}
7 [label="Exit class A" 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} [color=green];
4 -> {5} [style=dashed];
4 -> {5};
5 -> {6};
6 -> {7};
6 -> {7} [color=green];
subgraph cluster_3 {
color=red
8 [label="Enter class B" style="filled" fillcolor=red];
9 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
10 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_5 {
subgraph cluster_4 {
color=blue
11 [label="Enter block"];
subgraph cluster_6 {
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];
}
13 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_5 {
color=blue
14 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
15 [label="Enter block"];
subgraph cluster_7 {
color=blue
12 [label="Enter when"];
subgraph cluster_7 {
color=blue
13 [label="Enter when branch condition "];
14 [label="Access variable R|/A.x|"];
15 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"];
16 [label="Exit when branch condition"];
}
17 [label="Synthetic else branch"];
18 [label="Enter when branch result"];
16 [label="Enter when"];
subgraph cluster_8 {
color=blue
19 [label="Enter block"];
20 [label="Access variable R|/A.x|"];
21 [label="Smart cast: this@R|/B|.R|/A.x|"];
22 [label="Access variable R|kotlin/String.length|"];
23 [label="Exit block"];
17 [label="Enter when branch condition "];
18 [label="Access variable R|/A.x|"];
19 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"];
20 [label="Exit when branch condition"];
}
24 [label="Exit when branch result"];
25 [label="Exit when"];
21 [label="Synthetic else branch"];
22 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
23 [label="Enter block"];
24 [label="Access variable R|/A.x|"];
25 [label="Smart cast: this@R|/B|.R|/A.x|"];
26 [label="Access variable R|kotlin/String.length|"];
27 [label="Exit block"];
}
28 [label="Exit when branch result"];
29 [label="Exit when"];
}
26 [label="Exit block"];
30 [label="Exit block"];
}
27 [label="Exit function test_1" style="filled" fillcolor=red];
}
subgraph cluster_9 {
color=blue
28 [label="Enter function <init>" style="filled" fillcolor=red];
29 [label="Access variable R|<local>/x|"];
30 [label="Delegated constructor call: super<R|A|>(...)" style="filled" fillcolor=yellow];
31 [label="Exit function <init>" style="filled" fillcolor=red];
31 [label="Exit function test_1" style="filled" fillcolor=red];
}
8 -> {9} [color=green];
9 -> {10 28} [color=green];
9 -> {10 28} [style=dashed];
8 -> {13} [style=dotted];
8 -> {9} [style=dashed];
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
12 -> {13} [color=green];
13 -> {14} [color=green];
13 -> {14} [style=dashed];
14 -> {15};
15 -> {16};
16 -> {17 18};
17 -> {25};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
20 -> {21 22};
21 -> {29};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
@@ -6,30 +6,33 @@ digraph delayedAssignment_kt {
subgraph cluster_0 {
color=red
0 [label="Enter class A" style="filled" fillcolor=red];
1 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
2 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_2 {
subgraph cluster_1 {
color=blue
3 [label="Enter block"];
4 [label="Exit block"];
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];
}
5 [label="Exit function foo" style="filled" fillcolor=red];
4 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_3 {
subgraph cluster_2 {
color=blue
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];
5 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
6 [label="Enter block"];
7 [label="Exit block"];
}
8 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
1 -> {2 6} [color=green];
1 -> {2 6} [style=dashed];
0 -> {4} [style=dotted];
0 -> {1} [style=dashed];
1 -> {2};
2 -> {3};
3 -> {4};
4 -> {5};
3 -> {4} [color=green];
4 -> {5} [color=green];
4 -> {5} [style=dashed];
5 -> {6};
6 -> {7};
7 -> {8};