FIR CFA: remove class initializer part nodes

Instead, attach subgraphs directly to the class enter node.
This commit is contained in:
pyos
2022-12-11 13:43:55 +01:00
committed by Dmitriy Novozhilov
parent b9f366af05
commit c6e9afb788
25 changed files with 3271 additions and 3385 deletions
@@ -339,86 +339,85 @@ digraph boundSmartcasts_kt {
subgraph cluster_27 {
color=red
125 [label="Enter class D" style="filled" fillcolor=red];
126 [label="Part of class initialization"];
subgraph cluster_28 {
color=blue
127 [label="Enter property" style="filled" fillcolor=red];
128 [label="Access variable R|<local>/any|"];
129 [label="Exit property" style="filled" fillcolor=red];
126 [label="Enter property" style="filled" fillcolor=red];
127 [label="Access variable R|<local>/any|"];
128 [label="Exit property" style="filled" fillcolor=red];
}
130 [label="Exit class D" style="filled" fillcolor=red];
129 [label="Exit class D" style="filled" fillcolor=red];
}
subgraph cluster_29 {
color=blue
131 [label="Enter function <init>" style="filled" fillcolor=red];
132 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
133 [label="Exit function <init>" style="filled" fillcolor=red];
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];
}
125 -> {126} [color=green];
126 -> {127} [color=green];
126 -> {130} [style=dotted];
126 -> {127} [style=dashed];
125 -> {129} [style=dotted];
125 -> {126} [style=dashed];
126 -> {127};
127 -> {128};
128 -> {129};
128 -> {129} [color=green];
129 -> {130} [color=green];
130 -> {131} [color=green];
130 -> {131} [style=dashed];
129 -> {130} [style=dashed];
130 -> {131};
131 -> {132};
132 -> {133};
subgraph cluster_30 {
color=red
134 [label="Enter function baz" style="filled" fillcolor=red];
133 [label="Enter function baz" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
135 [label="Enter block"];
136 [label="Exit block"];
134 [label="Enter block"];
135 [label="Exit block"];
}
137 [label="Exit function baz" style="filled" fillcolor=red];
136 [label="Exit function baz" style="filled" fillcolor=red];
}
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
subgraph cluster_32 {
color=red
138 [label="Enter function test_5" style="filled" fillcolor=red];
137 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_33 {
color=blue
139 [label="Enter block"];
140 [label="Access variable R|<local>/d|"];
141 [label="Access variable R|/D.any|"];
142 [label="Exit lhs of ?:"];
143 [label="Enter rhs of ?:"];
144 [label="Jump: ^test_5 Unit"];
145 [label="Stub" style="filled" fillcolor=gray];
146 [label="Lhs of ?: is not null"];
147 [label="Exit ?:"];
148 [label="Variable declaration: lval a: R|kotlin/Any|"];
149 [label="Access variable R|<local>/a|"];
150 [label="Function call: R|<local>/a|.R|/baz|()" style="filled" fillcolor=yellow];
151 [label="Access variable R|<local>/d|"];
152 [label="Access variable R|/D.any|"];
153 [label="Smart cast: R|<local>/d|.R|/D.any|"];
154 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()" style="filled" fillcolor=yellow];
155 [label="Access variable R|<local>/a|"];
156 [label="Type operator: (R|<local>/a| as R|A|)"];
157 [label="Access variable R|<local>/a|"];
158 [label="Smart cast: R|<local>/a|"];
159 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
160 [label="Exit block"];
138 [label="Enter block"];
139 [label="Access variable R|<local>/d|"];
140 [label="Access variable R|/D.any|"];
141 [label="Exit lhs of ?:"];
142 [label="Enter rhs of ?:"];
143 [label="Jump: ^test_5 Unit"];
144 [label="Stub" style="filled" fillcolor=gray];
145 [label="Lhs of ?: is not null"];
146 [label="Exit ?:"];
147 [label="Variable declaration: lval a: R|kotlin/Any|"];
148 [label="Access variable R|<local>/a|"];
149 [label="Function call: R|<local>/a|.R|/baz|()" style="filled" fillcolor=yellow];
150 [label="Access variable R|<local>/d|"];
151 [label="Access variable R|/D.any|"];
152 [label="Smart cast: R|<local>/d|.R|/D.any|"];
153 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()" style="filled" fillcolor=yellow];
154 [label="Access variable R|<local>/a|"];
155 [label="Type operator: (R|<local>/a| as R|A|)"];
156 [label="Access variable R|<local>/a|"];
157 [label="Smart cast: R|<local>/a|"];
158 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
159 [label="Exit block"];
}
161 [label="Exit function test_5" style="filled" fillcolor=red];
160 [label="Exit function test_5" style="filled" fillcolor=red];
}
137 -> {138};
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143 146};
143 -> {144};
144 -> {161};
144 -> {145} [style=dotted];
145 -> {147} [style=dotted];
141 -> {142 145};
142 -> {143};
143 -> {160};
143 -> {144} [style=dotted];
144 -> {146} [style=dotted];
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
@@ -433,34 +432,34 @@ digraph boundSmartcasts_kt {
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161};
subgraph cluster_34 {
color=red
162 [label="Enter function test_6" style="filled" fillcolor=red];
161 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_35 {
color=blue
163 [label="Enter block"];
164 [label="Access variable R|<local>/d1|"];
165 [label="Access variable R|/D.any|"];
166 [label="Variable declaration: lval a: R|kotlin/Any?|"];
167 [label="Access variable R|<local>/a|"];
168 [label="Type operator: (R|<local>/a| as R|A|)"];
169 [label="Access variable R|<local>/a|"];
170 [label="Smart cast: R|<local>/a|"];
171 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
172 [label="Access variable R|<local>/d1|"];
173 [label="Access variable R|/D.any|"];
174 [label="Smart cast: R|<local>/d1|.R|/D.any|"];
175 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()" style="filled" fillcolor=yellow];
176 [label="Access variable R|<local>/d1|"];
177 [label="Access variable R|/D.any|"];
178 [label="Smart cast: R|<local>/d1|.R|/D.any|"];
179 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()" style="filled" fillcolor=yellow];
180 [label="Exit block"];
162 [label="Enter block"];
163 [label="Access variable R|<local>/d1|"];
164 [label="Access variable R|/D.any|"];
165 [label="Variable declaration: lval a: R|kotlin/Any?|"];
166 [label="Access variable R|<local>/a|"];
167 [label="Type operator: (R|<local>/a| as R|A|)"];
168 [label="Access variable R|<local>/a|"];
169 [label="Smart cast: R|<local>/a|"];
170 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
171 [label="Access variable R|<local>/d1|"];
172 [label="Access variable R|/D.any|"];
173 [label="Smart cast: R|<local>/d1|.R|/D.any|"];
174 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()" style="filled" fillcolor=yellow];
175 [label="Access variable R|<local>/d1|"];
176 [label="Access variable R|/D.any|"];
177 [label="Smart cast: R|<local>/d1|.R|/D.any|"];
178 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()" style="filled" fillcolor=yellow];
179 [label="Exit block"];
}
181 [label="Exit function test_6" style="filled" fillcolor=red];
180 [label="Exit function test_6" style="filled" fillcolor=red];
}
161 -> {162};
162 -> {163};
163 -> {164};
164 -> {165};
@@ -479,46 +478,46 @@ digraph boundSmartcasts_kt {
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
subgraph cluster_36 {
color=red
182 [label="Enter function test_7" style="filled" fillcolor=red];
181 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_37 {
color=blue
183 [label="Enter block"];
184 [label="Access variable R|<local>/d1|"];
185 [label="Enter safe call"];
186 [label="Access variable R|/D.any|"];
187 [label="Exit safe call"];
188 [label="Variable declaration: lval a: R|kotlin/Any?|"];
189 [label="Access variable R|<local>/d2|"];
190 [label="Enter safe call"];
191 [label="Access variable R|/D.any|"];
192 [label="Exit safe call"];
193 [label="Variable declaration: lval b: R|kotlin/Any?|"];
194 [label="Access variable R|<local>/a|"];
195 [label="Type operator: (R|<local>/a| as R|A|)"];
196 [label="Access variable R|<local>/a|"];
197 [label="Smart cast: R|<local>/a|"];
198 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
199 [label="Access variable R|<local>/b|"];
200 [label="Type operator: (R|<local>/b| as R|B|)"];
201 [label="Access variable R|<local>/b|"];
202 [label="Smart cast: R|<local>/b|"];
203 [label="Function call: R|<local>/b|.R|/B.bar|()" style="filled" fillcolor=yellow];
204 [label="Exit block"];
182 [label="Enter block"];
183 [label="Access variable R|<local>/d1|"];
184 [label="Enter safe call"];
185 [label="Access variable R|/D.any|"];
186 [label="Exit safe call"];
187 [label="Variable declaration: lval a: R|kotlin/Any?|"];
188 [label="Access variable R|<local>/d2|"];
189 [label="Enter safe call"];
190 [label="Access variable R|/D.any|"];
191 [label="Exit safe call"];
192 [label="Variable declaration: lval b: R|kotlin/Any?|"];
193 [label="Access variable R|<local>/a|"];
194 [label="Type operator: (R|<local>/a| as R|A|)"];
195 [label="Access variable R|<local>/a|"];
196 [label="Smart cast: R|<local>/a|"];
197 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
198 [label="Access variable R|<local>/b|"];
199 [label="Type operator: (R|<local>/b| as R|B|)"];
200 [label="Access variable R|<local>/b|"];
201 [label="Smart cast: R|<local>/b|"];
202 [label="Function call: R|<local>/b|.R|/B.bar|()" style="filled" fillcolor=yellow];
203 [label="Exit block"];
}
205 [label="Exit function test_7" style="filled" fillcolor=red];
204 [label="Exit function test_7" style="filled" fillcolor=red];
}
181 -> {182};
182 -> {183};
183 -> {184};
184 -> {185 187};
183 -> {184 186};
184 -> {185};
185 -> {186};
186 -> {187};
187 -> {188};
188 -> {189};
189 -> {190 192};
188 -> {189 191};
189 -> {190};
190 -> {191};
191 -> {192};
192 -> {193};
@@ -533,6 +532,5 @@ digraph boundSmartcasts_kt {
201 -> {202};
202 -> {203};
203 -> {204};
204 -> {205};
}
@@ -23,101 +23,99 @@ digraph functionCallBound_kt {
subgraph cluster_2 {
color=red
5 [label="Enter class Sub" style="filled" fillcolor=red];
6 [label="Part of class initialization"];
subgraph cluster_3 {
color=blue
7 [label="Enter property" style="filled" fillcolor=red];
8 [label="Access variable R|<local>/data|"];
9 [label="Exit property" style="filled" fillcolor=red];
6 [label="Enter property" style="filled" fillcolor=red];
7 [label="Access variable R|<local>/data|"];
8 [label="Exit property" style="filled" fillcolor=red];
}
10 [label="Exit class Sub" style="filled" fillcolor=red];
9 [label="Exit class Sub" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
11 [label="Enter function <init>" style="filled" fillcolor=red];
12 [label="Delegated constructor call: super<R|Base|>()" style="filled" fillcolor=yellow];
13 [label="Exit function <init>" style="filled" fillcolor=red];
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];
}
5 -> {6} [color=green];
6 -> {7} [color=green];
6 -> {10} [style=dotted];
6 -> {7} [style=dashed];
5 -> {9} [style=dotted];
5 -> {6} [style=dashed];
6 -> {7};
7 -> {8};
8 -> {9};
8 -> {9} [color=green];
9 -> {10} [color=green];
10 -> {11} [color=green];
10 -> {11} [style=dashed];
9 -> {10} [style=dashed];
10 -> {11};
11 -> {12};
12 -> {13};
subgraph cluster_5 {
color=red
14 [label="Enter function isOk" style="filled" fillcolor=red];
13 [label="Enter function isOk" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
15 [label="Enter block"];
16 [label="Const: Boolean(true)"];
17 [label="Jump: ^isOk Boolean(true)"];
18 [label="Stub" style="filled" fillcolor=gray];
19 [label="Exit block" style="filled" fillcolor=gray];
14 [label="Enter block"];
15 [label="Const: Boolean(true)"];
16 [label="Jump: ^isOk Boolean(true)"];
17 [label="Stub" style="filled" fillcolor=gray];
18 [label="Exit block" style="filled" fillcolor=gray];
}
20 [label="Exit function isOk" style="filled" fillcolor=red];
19 [label="Exit function isOk" style="filled" fillcolor=red];
}
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {20};
16 -> {19};
16 -> {17} [style=dotted];
17 -> {18} [style=dotted];
18 -> {19} [style=dotted];
19 -> {20} [style=dotted];
subgraph cluster_7 {
color=red
21 [label="Enter function check" style="filled" fillcolor=red];
20 [label="Enter function check" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
22 [label="Enter block"];
21 [label="Enter block"];
subgraph cluster_9 {
color=blue
23 [label="Enter when"];
22 [label="Enter when"];
subgraph cluster_10 {
color=blue
24 [label="Enter when branch condition "];
25 [label="Access variable R|<local>/base|"];
26 [label="Type operator: (R|<local>/base| as? R|Sub|)"];
27 [label="Enter safe call"];
28 [label="Function call: $subj$.R|/isOk|()" style="filled" fillcolor=yellow];
29 [label="Exit safe call"];
30 [label="Const: Boolean(true)"];
31 [label="Equality operator =="];
32 [label="Exit when branch condition"];
23 [label="Enter when branch condition "];
24 [label="Access variable R|<local>/base|"];
25 [label="Type operator: (R|<local>/base| as? R|Sub|)"];
26 [label="Enter safe call"];
27 [label="Function call: $subj$.R|/isOk|()" style="filled" fillcolor=yellow];
28 [label="Exit safe call"];
29 [label="Const: Boolean(true)"];
30 [label="Equality operator =="];
31 [label="Exit when branch condition"];
}
subgraph cluster_11 {
color=blue
33 [label="Enter when branch condition else"];
34 [label="Exit when branch condition"];
32 [label="Enter when branch condition else"];
33 [label="Exit when branch condition"];
}
35 [label="Enter when branch result"];
34 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
36 [label="Enter block"];
37 [label="Access variable R|<local>/base|"];
38 [label="Exit block"];
35 [label="Enter block"];
36 [label="Access variable R|<local>/base|"];
37 [label="Exit block"];
}
39 [label="Exit when branch result"];
40 [label="Enter when branch result"];
38 [label="Exit when branch result"];
39 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
41 [label="Enter block"];
42 [label="Access variable R|<local>/base|"];
43 [label="Smart cast: R|<local>/base|"];
44 [label="Access variable R|/Sub.data|"];
45 [label="Exit block"];
40 [label="Enter block"];
41 [label="Access variable R|<local>/base|"];
42 [label="Smart cast: R|<local>/base|"];
43 [label="Access variable R|/Sub.data|"];
44 [label="Exit block"];
}
46 [label="Exit when branch result"];
47 [label="Exit when"];
45 [label="Exit when branch result"];
46 [label="Exit when"];
}
48 [label="Jump: ^check when () {
47 [label="Jump: ^check when () {
==((R|<local>/base| as? R|Sub|)?.{ $subj$.R|/isOk|() }, Boolean(true)) -> {
R|<local>/base|.R|/Sub.data|
}
@@ -126,30 +124,31 @@ digraph functionCallBound_kt {
}
}
"];
49 [label="Stub" style="filled" fillcolor=gray];
50 [label="Exit block" style="filled" fillcolor=gray];
48 [label="Stub" style="filled" fillcolor=gray];
49 [label="Exit block" style="filled" fillcolor=gray];
}
51 [label="Exit function check" style="filled" fillcolor=red];
50 [label="Exit function check" style="filled" fillcolor=red];
}
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27 29};
25 -> {26 28};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33 40};
31 -> {32 39};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {47};
38 -> {46};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
@@ -157,10 +156,9 @@ digraph functionCallBound_kt {
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {51};
47 -> {50};
47 -> {48} [style=dotted];
48 -> {49} [style=dotted];
49 -> {50} [style=dotted];
50 -> {51} [style=dotted];
}
@@ -23,191 +23,190 @@ digraph lambdaInWhenBranch_kt {
subgraph cluster_2 {
color=red
5 [label="Enter class SubClass1" style="filled" fillcolor=red];
6 [label="Part of class initialization"];
subgraph cluster_3 {
color=blue
7 [label="Enter property" style="filled" fillcolor=red];
8 [label="Access variable R|<local>/t|"];
9 [label="Exit property" style="filled" fillcolor=red];
6 [label="Enter property" style="filled" fillcolor=red];
7 [label="Access variable R|<local>/t|"];
8 [label="Exit property" style="filled" fillcolor=red];
}
10 [label="Exit class SubClass1" style="filled" fillcolor=red];
9 [label="Exit class SubClass1" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
11 [label="Enter function copy" style="filled" fillcolor=red];
12 [label="Enter default value of t"];
10 [label="Enter function copy" style="filled" fillcolor=red];
11 [label="Enter default value of t"];
subgraph cluster_5 {
color=blue
13 [label="Enter default value of t" style="filled" fillcolor=red];
14 [label="Access variable R|/SubClass1.t|"];
15 [label="Exit default value of t" style="filled" fillcolor=red];
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];
}
16 [label="Exit default value of t"];
17 [label="Exit function copy" style="filled" fillcolor=red];
15 [label="Exit default value of t"];
16 [label="Exit function copy" style="filled" fillcolor=red];
}
subgraph cluster_6 {
color=blue
18 [label="Enter function component1" style="filled" fillcolor=red];
19 [label="Exit function component1" style="filled" fillcolor=red];
17 [label="Enter function component1" style="filled" fillcolor=red];
18 [label="Exit function component1" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
20 [label="Enter function <init>" style="filled" fillcolor=red];
21 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
22 [label="Exit function <init>" style="filled" fillcolor=red];
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];
}
5 -> {6} [color=green];
6 -> {7} [color=green];
6 -> {10} [style=dotted];
6 -> {7} [style=dashed];
5 -> {9} [style=dotted];
5 -> {6} [style=dashed];
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10} [color=green];
10 -> {11 18 20} [color=green];
10 -> {11 18 20} [style=dashed];
11 -> {12};
12 -> {13 16};
12 -> {13} [style=dashed];
8 -> {9} [color=green];
9 -> {10 17 19} [color=green];
9 -> {10 17 19} [style=dashed];
10 -> {11};
11 -> {12 15};
11 -> {12} [style=dashed];
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
18 -> {19};
17 -> {18};
19 -> {20};
20 -> {21};
21 -> {22};
subgraph cluster_8 {
color=red
23 [label="Enter class SubClass2" style="filled" fillcolor=red];
24 [label="Exit class SubClass2" style="filled" fillcolor=red];
22 [label="Enter class SubClass2" style="filled" fillcolor=red];
23 [label="Exit class SubClass2" style="filled" fillcolor=red];
}
subgraph cluster_9 {
color=blue
25 [label="Enter function copy" style="filled" fillcolor=red];
26 [label="Exit function copy" style="filled" fillcolor=red];
24 [label="Enter function copy" style="filled" fillcolor=red];
25 [label="Exit function copy" style="filled" fillcolor=red];
}
subgraph cluster_10 {
color=blue
27 [label="Enter function <init>" style="filled" fillcolor=red];
28 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
29 [label="Exit function <init>" style="filled" fillcolor=red];
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];
}
23 -> {24} [color=green];
24 -> {25 27} [color=green];
24 -> {25 27} [style=dashed];
25 -> {26};
22 -> {23} [color=green];
23 -> {24 26} [color=green];
23 -> {24 26} [style=dashed];
24 -> {25};
26 -> {27};
27 -> {28};
28 -> {29};
subgraph cluster_11 {
color=red
30 [label="Enter function foo" style="filled" fillcolor=red];
29 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
31 [label="Enter block"];
30 [label="Enter block"];
subgraph cluster_13 {
color=blue
32 [label="Enter when"];
33 [label="Access variable R|<local>/p|"];
31 [label="Enter when"];
32 [label="Access variable R|<local>/p|"];
subgraph cluster_14 {
color=blue
34 [label="Enter when branch condition "];
35 [label="Exit $subj"];
36 [label="Type operator: ($subj$ is R|SubClass1|)"];
37 [label="Exit when branch condition"];
33 [label="Enter when branch condition "];
34 [label="Exit $subj"];
35 [label="Type operator: ($subj$ is R|SubClass1|)"];
36 [label="Exit when branch condition"];
}
subgraph cluster_15 {
color=blue
38 [label="Enter when branch condition "];
39 [label="Exit $subj"];
40 [label="Type operator: ($subj$ is R|SubClass2|)"];
41 [label="Exit when branch condition"];
37 [label="Enter when branch condition "];
38 [label="Exit $subj"];
39 [label="Type operator: ($subj$ is R|SubClass2|)"];
40 [label="Exit when branch condition"];
}
42 [label="Enter when branch result"];
41 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
43 [label="Enter block"];
44 [label="Const: String()"];
45 [label="Exit block"];
42 [label="Enter block"];
43 [label="Const: String()"];
44 [label="Exit block"];
}
46 [label="Exit when branch result"];
47 [label="Enter when branch result"];
45 [label="Exit when branch result"];
46 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
48 [label="Enter block"];
49 [label="Const: String()"];
50 [label="Postponed enter to lambda"];
47 [label="Enter block"];
48 [label="Const: String()"];
49 [label="Postponed enter to lambda"];
subgraph cluster_18 {
color=blue
51 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
50 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/it|"];
54 [label="Exit block"];
51 [label="Enter block"];
52 [label="Access variable R|<local>/it|"];
53 [label="Exit block"];
}
55 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
54 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
56 [label="Postponed exit from lambda"];
57 [label="Function call: String().R|kotlin/let|<R|kotlin/String|, R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
58 [label="Exit block"];
55 [label="Postponed exit from lambda"];
56 [label="Function call: String().R|kotlin/let|<R|kotlin/String|, R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
57 [label="Exit block"];
}
59 [label="Exit when branch result"];
60 [label="Exit when"];
58 [label="Exit when branch result"];
59 [label="Exit when"];
}
61 [label="Access variable R|<local>/p|"];
62 [label="Access variable <Unresolved name: t>#"];
60 [label="Access variable R|<local>/p|"];
61 [label="Access variable <Unresolved name: t>#"];
subgraph cluster_20 {
color=blue
63 [label="Enter when"];
64 [label="Access variable R|<local>/p|"];
62 [label="Enter when"];
63 [label="Access variable R|<local>/p|"];
subgraph cluster_21 {
color=blue
65 [label="Enter when branch condition "];
66 [label="Exit $subj"];
67 [label="Type operator: ($subj$ is R|SubClass1|)"];
68 [label="Exit when branch condition"];
64 [label="Enter when branch condition "];
65 [label="Exit $subj"];
66 [label="Type operator: ($subj$ is R|SubClass1|)"];
67 [label="Exit when branch condition"];
}
subgraph cluster_22 {
color=blue
69 [label="Enter when branch condition "];
70 [label="Exit $subj"];
71 [label="Type operator: ($subj$ is R|SubClass2|)"];
72 [label="Exit when branch condition"];
68 [label="Enter when branch condition "];
69 [label="Exit $subj"];
70 [label="Type operator: ($subj$ is R|SubClass2|)"];
71 [label="Exit when branch condition"];
}
73 [label="Enter when branch result"];
72 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
74 [label="Enter block"];
75 [label="Const: String(2)"];
76 [label="Exit block"];
73 [label="Enter block"];
74 [label="Const: String(2)"];
75 [label="Exit block"];
}
77 [label="Exit when branch result"];
78 [label="Enter when branch result"];
76 [label="Exit when branch result"];
77 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
79 [label="Enter block"];
80 [label="Access variable R|<local>/p|"];
81 [label="Smart cast: R|<local>/p|"];
82 [label="Access variable R|/SubClass1.t|"];
83 [label="Exit block"];
78 [label="Enter block"];
79 [label="Access variable R|<local>/p|"];
80 [label="Smart cast: R|<local>/p|"];
81 [label="Access variable R|/SubClass1.t|"];
82 [label="Exit block"];
}
84 [label="Exit when branch result"];
85 [label="Exit when"];
83 [label="Exit when branch result"];
84 [label="Exit when"];
}
86 [label="Access variable R|kotlin/String.length|"];
87 [label="Exit block"];
85 [label="Access variable R|kotlin/String.length|"];
86 [label="Exit block"];
}
88 [label="Exit function foo" style="filled" fillcolor=red];
87 [label="Exit function foo" style="filled" fillcolor=red];
}
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38 47};
36 -> {37 46};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
@@ -215,21 +214,21 @@ digraph lambdaInWhenBranch_kt {
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {60};
45 -> {59};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51 57};
50 -> {56} [style=dotted];
50 -> {51} [style=dashed];
49 -> {50 56};
49 -> {55} [style=dotted];
49 -> {50} [style=dashed];
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57} [color=green];
56 -> {60} [color=red];
55 -> {56} [color=green];
55 -> {59} [color=red];
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
@@ -240,8 +239,8 @@ digraph lambdaInWhenBranch_kt {
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69 78};
67 -> {68 77};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
@@ -249,8 +248,8 @@ digraph lambdaInWhenBranch_kt {
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {85};
76 -> {84};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
@@ -260,6 +259,5 @@ digraph lambdaInWhenBranch_kt {
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
}
File diff suppressed because it is too large Load Diff
@@ -6,108 +6,107 @@ digraph assignSafeCall_kt {
subgraph cluster_0 {
color=red
0 [label="Enter class A" style="filled" fillcolor=red];
1 [label="Part of class initialization"];
subgraph cluster_1 {
color=blue
2 [label="Enter property" style="filled" fillcolor=red];
3 [label="Const: Int(1)"];
4 [label="Exit property" style="filled" fillcolor=red];
1 [label="Enter property" style="filled" fillcolor=red];
2 [label="Const: Int(1)"];
3 [label="Exit property" style="filled" fillcolor=red];
}
5 [label="Exit class A" style="filled" fillcolor=red];
4 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_2 {
color=blue
6 [label="Enter function bar" style="filled" fillcolor=red];
5 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
7 [label="Enter block"];
8 [label="Exit block"];
6 [label="Enter block"];
7 [label="Exit block"];
}
9 [label="Exit function bar" style="filled" fillcolor=red];
8 [label="Exit function bar" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
10 [label="Enter function foo" style="filled" fillcolor=red];
9 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
11 [label="Enter block"];
12 [label="Const: Int(1)"];
13 [label="Jump: ^foo Int(1)"];
14 [label="Stub" style="filled" fillcolor=gray];
15 [label="Exit block" style="filled" fillcolor=gray];
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];
}
16 [label="Exit function foo" style="filled" fillcolor=red];
15 [label="Exit function foo" style="filled" fillcolor=red];
}
subgraph cluster_6 {
color=blue
17 [label="Enter function <init>" style="filled" fillcolor=red];
18 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
19 [label="Exit function <init>" style="filled" fillcolor=red];
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];
}
0 -> {1} [color=green];
1 -> {2} [color=green];
1 -> {5} [style=dotted];
1 -> {2} [style=dashed];
0 -> {4} [style=dotted];
0 -> {1} [style=dashed];
1 -> {2};
2 -> {3};
3 -> {4};
4 -> {5} [color=green];
5 -> {6 10 17} [color=green];
5 -> {6 10 17} [style=dashed];
3 -> {4} [color=green];
4 -> {5 9 16} [color=green];
4 -> {5 9 16} [style=dashed];
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {16};
12 -> {15};
12 -> {13} [style=dotted];
13 -> {14} [style=dotted];
14 -> {15} [style=dotted];
15 -> {16} [style=dotted];
16 -> {17};
17 -> {18};
18 -> {19};
subgraph cluster_7 {
color=red
20 [label="Enter function test_1" style="filled" fillcolor=red];
19 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
21 [label="Enter block"];
22 [label="Access variable R|<local>/a|"];
23 [label="Enter safe call"];
24 [label="Access variable R|/A.x|"];
25 [label="Exit safe call"];
26 [label="Variable declaration: lval x: R|kotlin/Int?|"];
20 [label="Enter block"];
21 [label="Access variable R|<local>/a|"];
22 [label="Enter safe call"];
23 [label="Access variable R|/A.x|"];
24 [label="Exit safe call"];
25 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_9 {
color=blue
27 [label="Enter when"];
26 [label="Enter when"];
subgraph cluster_10 {
color=blue
28 [label="Enter when branch condition "];
29 [label="Access variable R|<local>/x|"];
30 [label="Const: Null(null)"];
31 [label="Equality operator !="];
32 [label="Exit when branch condition"];
27 [label="Enter when branch condition "];
28 [label="Access variable R|<local>/x|"];
29 [label="Const: Null(null)"];
30 [label="Equality operator !="];
31 [label="Exit when branch condition"];
}
33 [label="Synthetic else branch"];
34 [label="Enter when branch result"];
32 [label="Synthetic else branch"];
33 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
35 [label="Enter block"];
36 [label="Access variable R|<local>/a|"];
37 [label="Smart cast: R|<local>/a|"];
38 [label="Function call: R|<local>/a|.R|/A.bar|()" style="filled" fillcolor=yellow];
39 [label="Exit block"];
34 [label="Enter block"];
35 [label="Access variable R|<local>/a|"];
36 [label="Smart cast: R|<local>/a|"];
37 [label="Function call: R|<local>/a|.R|/A.bar|()" style="filled" fillcolor=yellow];
38 [label="Exit block"];
}
40 [label="Exit when branch result"];
41 [label="Exit when"];
39 [label="Exit when branch result"];
40 [label="Exit when"];
}
42 [label="Exit block"];
41 [label="Exit block"];
}
43 [label="Exit function test_1" style="filled" fillcolor=red];
42 [label="Exit function test_1" style="filled" fillcolor=red];
}
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23 25};
21 -> {22 24};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
@@ -116,9 +115,9 @@ digraph assignSafeCall_kt {
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33 34};
33 -> {41};
31 -> {32 33};
32 -> {40};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
@@ -127,50 +126,50 @@ digraph assignSafeCall_kt {
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
subgraph cluster_12 {
color=red
44 [label="Enter function test_2" style="filled" fillcolor=red];
43 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
45 [label="Enter block"];
46 [label="Access variable R|<local>/a|"];
47 [label="Enter safe call"];
48 [label="Function call: $subj$.R|/A.foo|()" style="filled" fillcolor=yellow];
49 [label="Exit safe call"];
50 [label="Variable declaration: lval x: R|kotlin/Int?|"];
44 [label="Enter block"];
45 [label="Access variable R|<local>/a|"];
46 [label="Enter safe call"];
47 [label="Function call: $subj$.R|/A.foo|()" style="filled" fillcolor=yellow];
48 [label="Exit safe call"];
49 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_14 {
color=blue
51 [label="Enter when"];
50 [label="Enter when"];
subgraph cluster_15 {
color=blue
52 [label="Enter when branch condition "];
53 [label="Access variable R|<local>/x|"];
54 [label="Const: Null(null)"];
55 [label="Equality operator !="];
56 [label="Exit when branch condition"];
51 [label="Enter when branch condition "];
52 [label="Access variable R|<local>/x|"];
53 [label="Const: Null(null)"];
54 [label="Equality operator !="];
55 [label="Exit when branch condition"];
}
57 [label="Synthetic else branch"];
58 [label="Enter when branch result"];
56 [label="Synthetic else branch"];
57 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
59 [label="Enter block"];
60 [label="Access variable R|<local>/a|"];
61 [label="Smart cast: R|<local>/a|"];
62 [label="Function call: R|<local>/a|.R|/A.bar|()" style="filled" fillcolor=yellow];
63 [label="Exit block"];
58 [label="Enter block"];
59 [label="Access variable R|<local>/a|"];
60 [label="Smart cast: R|<local>/a|"];
61 [label="Function call: R|<local>/a|.R|/A.bar|()" style="filled" fillcolor=yellow];
62 [label="Exit block"];
}
64 [label="Exit when branch result"];
65 [label="Exit when"];
63 [label="Exit when branch result"];
64 [label="Exit when"];
}
66 [label="Exit block"];
65 [label="Exit block"];
}
67 [label="Exit function test_2" style="filled" fillcolor=red];
66 [label="Exit function test_2" style="filled" fillcolor=red];
}
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47 49};
45 -> {46 48};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
@@ -179,9 +178,9 @@ digraph assignSafeCall_kt {
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57 58};
57 -> {65};
55 -> {56 57};
56 -> {64};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
@@ -190,41 +189,41 @@ digraph assignSafeCall_kt {
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
subgraph cluster_17 {
color=red
68 [label="Enter function test_3" style="filled" fillcolor=red];
67 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
69 [label="Enter block"];
70 [label="Access variable R|<local>/x|"];
71 [label="Type operator: (R|<local>/x| as? R|A|)"];
72 [label="Exit lhs of ?:"];
73 [label="Enter rhs of ?:"];
74 [label="Jump: ^test_3 Unit"];
75 [label="Stub" style="filled" fillcolor=gray];
76 [label="Lhs of ?: is not null"];
77 [label="Exit ?:"];
78 [label="Variable declaration: lval a: R|A|"];
79 [label="Access variable R|<local>/a|"];
80 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
81 [label="Access variable R|<local>/x|"];
82 [label="Smart cast: R|<local>/x|"];
83 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
84 [label="Exit block"];
68 [label="Enter block"];
69 [label="Access variable R|<local>/x|"];
70 [label="Type operator: (R|<local>/x| as? R|A|)"];
71 [label="Exit lhs of ?:"];
72 [label="Enter rhs of ?:"];
73 [label="Jump: ^test_3 Unit"];
74 [label="Stub" style="filled" fillcolor=gray];
75 [label="Lhs of ?: is not null"];
76 [label="Exit ?:"];
77 [label="Variable declaration: lval a: R|A|"];
78 [label="Access variable R|<local>/a|"];
79 [label="Function call: R|<local>/a|.R|/A.foo|()" style="filled" fillcolor=yellow];
80 [label="Access variable R|<local>/x|"];
81 [label="Smart cast: R|<local>/x|"];
82 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
83 [label="Exit block"];
}
85 [label="Exit function test_3" style="filled" fillcolor=red];
84 [label="Exit function test_3" style="filled" fillcolor=red];
}
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73 76};
73 -> {74};
74 -> {85};
74 -> {75} [style=dotted];
75 -> {77} [style=dotted];
71 -> {72 75};
72 -> {73};
73 -> {84};
73 -> {74} [style=dotted];
74 -> {76} [style=dotted];
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
@@ -233,71 +232,71 @@ digraph assignSafeCall_kt {
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
subgraph cluster_19 {
color=red
86 [label="Enter class B" style="filled" fillcolor=red];
87 [label="Exit class B" style="filled" fillcolor=red];
85 [label="Enter class B" style="filled" fillcolor=red];
86 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_20 {
color=blue
88 [label="Enter function bar" style="filled" fillcolor=red];
89 [label="Exit function bar" style="filled" fillcolor=red];
87 [label="Enter function bar" style="filled" fillcolor=red];
88 [label="Exit function bar" style="filled" fillcolor=red];
}
subgraph cluster_21 {
color=blue
90 [label="Enter function foo" style="filled" fillcolor=red];
91 [label="Exit function foo" style="filled" fillcolor=red];
89 [label="Enter function foo" style="filled" fillcolor=red];
90 [label="Exit function foo" style="filled" fillcolor=red];
}
86 -> {87} [color=green];
87 -> {88 90} [color=green];
87 -> {88 90} [style=dashed];
88 -> {89};
90 -> {91};
85 -> {86} [color=green];
86 -> {87 89} [color=green];
86 -> {87 89} [style=dashed];
87 -> {88};
89 -> {90};
subgraph cluster_22 {
color=red
92 [label="Enter function test_1" style="filled" fillcolor=red];
91 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
93 [label="Enter block"];
94 [label="Access variable R|<local>/a|"];
95 [label="Enter safe call"];
96 [label="Access variable R|/B.x|"];
97 [label="Exit safe call"];
98 [label="Variable declaration: lval x: R|kotlin/Int?|"];
92 [label="Enter block"];
93 [label="Access variable R|<local>/a|"];
94 [label="Enter safe call"];
95 [label="Access variable R|/B.x|"];
96 [label="Exit safe call"];
97 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_24 {
color=blue
99 [label="Enter when"];
98 [label="Enter when"];
subgraph cluster_25 {
color=blue
100 [label="Enter when branch condition "];
101 [label="Access variable R|<local>/x|"];
102 [label="Const: Null(null)"];
103 [label="Equality operator !="];
104 [label="Exit when branch condition"];
99 [label="Enter when branch condition "];
100 [label="Access variable R|<local>/x|"];
101 [label="Const: Null(null)"];
102 [label="Equality operator !="];
103 [label="Exit when branch condition"];
}
105 [label="Synthetic else branch"];
106 [label="Enter when branch result"];
104 [label="Synthetic else branch"];
105 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
107 [label="Enter block"];
108 [label="Access variable R|<local>/a|"];
109 [label="Smart cast: R|<local>/a|"];
110 [label="Function call: R|<local>/a|.R|/B.bar|()" style="filled" fillcolor=yellow];
111 [label="Exit block"];
106 [label="Enter block"];
107 [label="Access variable R|<local>/a|"];
108 [label="Smart cast: R|<local>/a|"];
109 [label="Function call: R|<local>/a|.R|/B.bar|()" style="filled" fillcolor=yellow];
110 [label="Exit block"];
}
112 [label="Exit when branch result"];
113 [label="Exit when"];
111 [label="Exit when branch result"];
112 [label="Exit when"];
}
114 [label="Exit block"];
113 [label="Exit block"];
}
115 [label="Exit function test_1" style="filled" fillcolor=red];
114 [label="Exit function test_1" style="filled" fillcolor=red];
}
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95 97};
93 -> {94 96};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
@@ -306,9 +305,9 @@ digraph assignSafeCall_kt {
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105 106};
105 -> {113};
103 -> {104 105};
104 -> {112};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
@@ -317,50 +316,50 @@ digraph assignSafeCall_kt {
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
subgraph cluster_27 {
color=red
116 [label="Enter function test_2" style="filled" fillcolor=red];
115 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_28 {
color=blue
117 [label="Enter block"];
118 [label="Access variable R|<local>/a|"];
119 [label="Enter safe call"];
120 [label="Function call: $subj$.R|/B.foo|()" style="filled" fillcolor=yellow];
121 [label="Exit safe call"];
122 [label="Variable declaration: lval x: R|kotlin/Int?|"];
116 [label="Enter block"];
117 [label="Access variable R|<local>/a|"];
118 [label="Enter safe call"];
119 [label="Function call: $subj$.R|/B.foo|()" style="filled" fillcolor=yellow];
120 [label="Exit safe call"];
121 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_29 {
color=blue
123 [label="Enter when"];
122 [label="Enter when"];
subgraph cluster_30 {
color=blue
124 [label="Enter when branch condition "];
125 [label="Access variable R|<local>/x|"];
126 [label="Const: Null(null)"];
127 [label="Equality operator !="];
128 [label="Exit when branch condition"];
123 [label="Enter when branch condition "];
124 [label="Access variable R|<local>/x|"];
125 [label="Const: Null(null)"];
126 [label="Equality operator !="];
127 [label="Exit when branch condition"];
}
129 [label="Synthetic else branch"];
130 [label="Enter when branch result"];
128 [label="Synthetic else branch"];
129 [label="Enter when branch result"];
subgraph cluster_31 {
color=blue
131 [label="Enter block"];
132 [label="Access variable R|<local>/a|"];
133 [label="Smart cast: R|<local>/a|"];
134 [label="Function call: R|<local>/a|.R|/B.bar|()" style="filled" fillcolor=yellow];
135 [label="Exit block"];
130 [label="Enter block"];
131 [label="Access variable R|<local>/a|"];
132 [label="Smart cast: R|<local>/a|"];
133 [label="Function call: R|<local>/a|.R|/B.bar|()" style="filled" fillcolor=yellow];
134 [label="Exit block"];
}
136 [label="Exit when branch result"];
137 [label="Exit when"];
135 [label="Exit when branch result"];
136 [label="Exit when"];
}
138 [label="Exit block"];
137 [label="Exit block"];
}
139 [label="Exit function test_2" style="filled" fillcolor=red];
138 [label="Exit function test_2" style="filled" fillcolor=red];
}
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119 121};
117 -> {118 120};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
@@ -369,9 +368,9 @@ digraph assignSafeCall_kt {
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129 130};
129 -> {137};
127 -> {128 129};
128 -> {136};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {133};
@@ -380,41 +379,41 @@ digraph assignSafeCall_kt {
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
subgraph cluster_32 {
color=red
140 [label="Enter function test_3" style="filled" fillcolor=red];
139 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_33 {
color=blue
141 [label="Enter block"];
142 [label="Access variable R|<local>/x|"];
143 [label="Type operator: (R|<local>/x| as? R|B|)"];
144 [label="Exit lhs of ?:"];
145 [label="Enter rhs of ?:"];
146 [label="Jump: ^test_3 Unit"];
147 [label="Stub" style="filled" fillcolor=gray];
148 [label="Lhs of ?: is not null"];
149 [label="Exit ?:"];
150 [label="Variable declaration: lval a: R|B|"];
151 [label="Access variable R|<local>/a|"];
152 [label="Function call: R|<local>/a|.R|/B.foo|()" style="filled" fillcolor=yellow];
153 [label="Access variable R|<local>/x|"];
154 [label="Smart cast: R|<local>/x|"];
155 [label="Function call: R|<local>/x|.R|/B.foo|()" style="filled" fillcolor=yellow];
156 [label="Exit block"];
140 [label="Enter block"];
141 [label="Access variable R|<local>/x|"];
142 [label="Type operator: (R|<local>/x| as? R|B|)"];
143 [label="Exit lhs of ?:"];
144 [label="Enter rhs of ?:"];
145 [label="Jump: ^test_3 Unit"];
146 [label="Stub" style="filled" fillcolor=gray];
147 [label="Lhs of ?: is not null"];
148 [label="Exit ?:"];
149 [label="Variable declaration: lval a: R|B|"];
150 [label="Access variable R|<local>/a|"];
151 [label="Function call: R|<local>/a|.R|/B.foo|()" style="filled" fillcolor=yellow];
152 [label="Access variable R|<local>/x|"];
153 [label="Smart cast: R|<local>/x|"];
154 [label="Function call: R|<local>/x|.R|/B.foo|()" style="filled" fillcolor=yellow];
155 [label="Exit block"];
}
157 [label="Exit function test_3" style="filled" fillcolor=red];
156 [label="Exit function test_3" style="filled" fillcolor=red];
}
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {144};
144 -> {145 148};
145 -> {146};
146 -> {157};
146 -> {147} [style=dotted];
147 -> {149} [style=dotted];
143 -> {144 147};
144 -> {145};
145 -> {156};
145 -> {146} [style=dotted];
146 -> {148} [style=dotted];
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {151};
@@ -423,6 +422,5 @@ digraph assignSafeCall_kt {
153 -> {154};
154 -> {155};
155 -> {156};
156 -> {157};
}
@@ -50,34 +50,33 @@ digraph smartCastInInit_kt {
subgraph cluster_5 {
color=red
14 [label="Enter class Main" style="filled" fillcolor=red];
15 [label="Part of class initialization"];
subgraph cluster_6 {
color=blue
16 [label="Enter init block" style="filled" fillcolor=red];
15 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
17 [label="Enter block"];
18 [label="Function call: R|/s|()" style="filled" fillcolor=yellow];
19 [label="Assignment: R|/Main.x|"];
20 [label="Access variable R|/Main.x|"];
21 [label="Smart cast: this@R|/Main|.R|/Main.x|"];
22 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()" style="filled" fillcolor=yellow];
23 [label="Exit block"];
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"];
}
24 [label="Exit init block" style="filled" fillcolor=red];
23 [label="Exit init block" style="filled" fillcolor=red];
}
25 [label="Exit class Main" style="filled" fillcolor=red];
24 [label="Exit class Main" style="filled" fillcolor=red];
}
subgraph cluster_8 {
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];
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];
}
14 -> {15} [color=green];
15 -> {16} [color=green];
15 -> {25} [style=dotted];
15 -> {16} [style=dashed];
14 -> {24} [style=dotted];
14 -> {15} [style=dashed];
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
@@ -85,11 +84,10 @@ digraph smartCastInInit_kt {
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
23 -> {24} [color=green];
24 -> {25} [color=green];
25 -> {26} [color=green];
25 -> {26} [style=dashed];
24 -> {25} [style=dashed];
25 -> {26};
26 -> {27};
27 -> {28};
}
@@ -6,133 +6,123 @@ digraph smartcastInByClause_kt {
subgraph cluster_0 {
color=red
0 [label="Enter class A" style="filled" fillcolor=red];
1 [label="Part of class initialization"];
subgraph cluster_1 {
color=blue
2 [label="Enter property" style="filled" fillcolor=red];
3 [label="Access variable R|<local>/path|"];
4 [label="Exit property" style="filled" fillcolor=red];
1 [label="Enter property" style="filled" fillcolor=red];
2 [label="Access variable R|<local>/path|"];
3 [label="Exit property" style="filled" fillcolor=red];
}
5 [label="Part of class initialization"];
subgraph cluster_2 {
color=blue
6 [label="Enter property" style="filled" fillcolor=red];
7 [label="Access variable R|<local>/index|"];
8 [label="Exit property" style="filled" fillcolor=red];
4 [label="Enter property" style="filled" fillcolor=red];
5 [label="Access variable R|<local>/index|"];
6 [label="Exit property" style="filled" fillcolor=red];
}
9 [label="Exit class A" style="filled" fillcolor=red];
7 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
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];
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];
}
0 -> {1} [color=green];
1 -> {2} [color=green];
1 -> {5} [style=dotted];
1 -> {2} [style=dashed];
0 -> {7} [style=dotted];
0 -> {1 4} [style=dashed];
1 -> {2};
2 -> {3};
3 -> {4};
4 -> {5} [color=green];
5 -> {6} [color=green];
5 -> {9} [style=dotted];
5 -> {6} [style=dashed];
6 -> {7};
7 -> {8};
8 -> {9} [color=green];
9 -> {10} [color=green];
9 -> {10} [style=dashed];
10 -> {11};
11 -> {12};
3 -> {4} [color=green];
4 -> {5};
5 -> {6};
6 -> {7} [color=green];
7 -> {8} [color=green];
7 -> {8} [style=dashed];
8 -> {9};
9 -> {10};
subgraph cluster_4 {
color=red
13 [label="Enter class Base" style="filled" fillcolor=red];
14 [label="Exit class Base" style="filled" fillcolor=red];
11 [label="Enter class Base" style="filled" fillcolor=red];
12 [label="Exit class Base" style="filled" fillcolor=red];
}
13 -> {14} [color=green];
11 -> {12} [color=green];
subgraph cluster_5 {
color=red
15 [label="Enter class Derived" style="filled" fillcolor=red];
16 [label="Part of class initialization"];
13 [label="Enter class Derived" style="filled" fillcolor=red];
subgraph cluster_6 {
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];
14 [label="Enter property" style="filled" fillcolor=red];
15 [label="Access variable R|<local>/index|"];
16 [label="Exit property" style="filled" fillcolor=red];
}
20 [label="Exit class Derived" style="filled" fillcolor=red];
17 [label="Exit class Derived" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
21 [label="Enter function <init>" style="filled" fillcolor=red];
22 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
23 [label="Exit function <init>" style="filled" fillcolor=red];
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];
}
15 -> {16} [color=green];
13 -> {14} [color=green];
13 -> {17} [style=dotted];
13 -> {14} [style=dashed];
14 -> {15};
15 -> {16};
16 -> {17} [color=green];
16 -> {20} [style=dotted];
16 -> {17} [style=dashed];
17 -> {18};
17 -> {18} [color=green];
17 -> {18} [style=dashed];
18 -> {19};
19 -> {20} [color=green];
20 -> {21} [color=green];
20 -> {21} [style=dashed];
21 -> {22};
22 -> {23};
19 -> {20};
subgraph cluster_8 {
color=red
24 [label="Enter function test" style="filled" fillcolor=red];
21 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
25 [label="Enter block"];
26 [label="Access variable R|<local>/a|"];
27 [label="Enter safe call"];
28 [label="Access variable R|/A.path|"];
29 [label="Exit safe call"];
30 [label="Exit lhs of ?:"];
31 [label="Enter rhs of ?:"];
32 [label="Const: Null(null)"];
33 [label="Jump: ^test Null(null)"];
34 [label="Stub" style="filled" fillcolor=gray];
35 [label="Lhs of ?: is not null"];
36 [label="Exit ?:"];
37 [label="Variable declaration: lval path: R|kotlin/String|"];
38 [label="Access variable R|<local>/a|"];
39 [label="Smart cast: R|<local>/a|"];
40 [label="Access variable R|/A.index|"];
41 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
42 [label="Enter anonymous object"];
22 [label="Enter block"];
23 [label="Access variable R|<local>/a|"];
24 [label="Enter safe call"];
25 [label="Access variable R|/A.path|"];
26 [label="Exit safe call"];
27 [label="Exit lhs of ?:"];
28 [label="Enter rhs of ?:"];
29 [label="Const: Null(null)"];
30 [label="Jump: ^test Null(null)"];
31 [label="Stub" style="filled" fillcolor=gray];
32 [label="Lhs of ?: is not null"];
33 [label="Exit ?:"];
34 [label="Variable declaration: lval path: R|kotlin/String|"];
35 [label="Access variable R|<local>/a|"];
36 [label="Smart cast: R|<local>/a|"];
37 [label="Access variable R|/A.index|"];
38 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
39 [label="Enter anonymous object"];
subgraph cluster_10 {
color=blue
43 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
44 [label="Part of class initialization"];
40 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
45 [label="Enter field" style="filled" fillcolor=red];
46 [label="Access variable R|<local>/a|"];
47 [label="Smart cast: R|<local>/a|"];
48 [label="Access variable R|/A.index|"];
49 [label="Function call: R|/Derived.Derived|(...)" style="filled" fillcolor=yellow];
50 [label="Exit field" style="filled" fillcolor=red];
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];
}
51 [label="Part of class initialization"];
subgraph cluster_12 {
color=blue
52 [label="Enter property" style="filled" fillcolor=red];
53 [label="Access variable R|<local>/a|"];
54 [label="Smart cast: R|<local>/a|"];
55 [label="Access variable R|/A.index|"];
56 [label="Exit property" style="filled" fillcolor=red];
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];
}
57 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
52 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
}
58 [label="Exit anonymous object"];
59 [label="Exit anonymous object expression"];
60 [label="Jump: ^test object : R|Base| {
53 [label="Exit anonymous object"];
54 [label="Exit anonymous object expression"];
55 [label="Jump: ^test object : R|Base| {
private constructor(): R|<anonymous>| {
super<R|kotlin/Any|>()
}
@@ -148,102 +138,98 @@ digraph smartcastInByClause_kt {
}
"];
61 [label="Stub" style="filled" fillcolor=gray];
62 [label="Exit block" style="filled" fillcolor=gray];
56 [label="Stub" style="filled" fillcolor=gray];
57 [label="Exit block" style="filled" fillcolor=gray];
}
63 [label="Exit function test" style="filled" fillcolor=red];
58 [label="Exit function test" style="filled" fillcolor=red];
}
subgraph cluster_13 {
color=blue
64 [label="Enter function foo" style="filled" fillcolor=red];
59 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
65 [label="Enter block"];
66 [label="Access variable R|<local>/a|"];
67 [label="Smart cast: R|<local>/a|"];
68 [label="Access variable R|/A.index|"];
69 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
70 [label="Exit block"];
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"];
}
71 [label="Exit function foo" style="filled" fillcolor=red];
66 [label="Exit function foo" style="filled" fillcolor=red];
}
subgraph cluster_15 {
color=blue
72 [label="Enter function <init>" style="filled" fillcolor=red];
73 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
74 [label="Exit function <init>" style="filled" fillcolor=red];
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];
}
21 -> {22};
22 -> {23};
23 -> {24 28};
24 -> {25};
25 -> {26};
26 -> {27 31};
27 -> {28};
26 -> {27};
27 -> {28 32};
28 -> {29};
29 -> {30};
30 -> {31 35};
31 -> {32};
30 -> {58};
30 -> {31} [style=dotted];
31 -> {33} [style=dotted];
32 -> {33};
33 -> {63};
33 -> {34} [style=dotted];
34 -> {36} [style=dotted];
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
39 -> {53} [color=red];
39 -> {40} [style=dashed];
40 -> {41};
40 -> {47 59 67} [color=red];
40 -> {52} [style=dotted];
40 -> {41 47} [style=dashed];
41 -> {42};
42 -> {43};
42 -> {58} [color=red];
42 -> {43} [style=dashed];
43 -> {44} [color=green];
43 -> {45 52 64 72} [color=red];
44 -> {45} [color=green];
44 -> {51} [style=dotted];
44 -> {45} [style=dashed];
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
46 -> {47} [color=green];
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51} [color=green];
50 -> {51};
51 -> {52} [color=green];
51 -> {57} [style=dotted];
51 -> {52} [style=dashed];
52 -> {53};
52 -> {53 59 67} [color=green];
52 -> {59 67} [style=dashed];
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57} [color=green];
57 -> {58 64 72} [color=green];
57 -> {64 72} [style=dashed];
58 -> {59};
55 -> {58};
55 -> {56} [style=dotted];
56 -> {57} [style=dotted];
57 -> {58} [style=dotted];
59 -> {60};
60 -> {63};
60 -> {61} [style=dotted];
61 -> {62} [style=dotted];
62 -> {63} [style=dotted];
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
72 -> {73};
73 -> {74};
subgraph cluster_16 {
color=red
75 [label="Enter function takeInt" style="filled" fillcolor=red];
70 [label="Enter function takeInt" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
76 [label="Enter block"];
77 [label="Exit block"];
71 [label="Enter block"];
72 [label="Exit block"];
}
78 [label="Exit function takeInt" style="filled" fillcolor=red];
73 [label="Exit function takeInt" style="filled" fillcolor=red];
}
75 -> {76};
76 -> {77};
77 -> {78};
70 -> {71};
71 -> {72};
72 -> {73};
}
@@ -117,136 +117,132 @@ digraph smartcastToNothing_kt {
subgraph cluster_10 {
color=red
39 [label="Enter class A" style="filled" fillcolor=red];
40 [label="Part of class initialization"];
subgraph cluster_11 {
color=blue
41 [label="Enter property" style="filled" fillcolor=red];
42 [label="Const: Int(1)"];
43 [label="Exit property" style="filled" fillcolor=red];
40 [label="Enter property" style="filled" fillcolor=red];
41 [label="Const: Int(1)"];
42 [label="Exit property" style="filled" fillcolor=red];
}
44 [label="Part of class initialization"];
subgraph cluster_12 {
color=blue
45 [label="Enter property" style="filled" fillcolor=red];
46 [label="Const: Boolean(true)"];
47 [label="Exit property" style="filled" fillcolor=red];
43 [label="Enter property" style="filled" fillcolor=red];
44 [label="Const: Boolean(true)"];
45 [label="Exit property" style="filled" fillcolor=red];
}
48 [label="Exit class A" style="filled" fillcolor=red];
46 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_13 {
color=blue
49 [label="Enter function <init>" style="filled" fillcolor=red];
50 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
51 [label="Exit function <init>" style="filled" fillcolor=red];
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];
}
39 -> {40} [color=green];
40 -> {41} [color=green];
40 -> {44} [style=dotted];
40 -> {41} [style=dashed];
39 -> {46} [style=dotted];
39 -> {40 43} [style=dashed];
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44} [color=green];
44 -> {45} [color=green];
44 -> {48} [style=dotted];
44 -> {45} [style=dashed];
45 -> {46};
46 -> {47};
47 -> {48} [color=green];
48 -> {49} [color=green];
48 -> {49} [style=dashed];
49 -> {50};
50 -> {51};
42 -> {43} [color=green];
43 -> {44};
44 -> {45};
45 -> {46} [color=green];
46 -> {47} [color=green];
46 -> {47} [style=dashed];
47 -> {48};
48 -> {49};
subgraph cluster_14 {
color=red
52 [label="Enter function test_0" style="filled" fillcolor=red];
50 [label="Enter function test_0" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
53 [label="Enter block"];
54 [label="Const: Null(null)"];
55 [label="Variable declaration: lvar s: R|A?|"];
51 [label="Enter block"];
52 [label="Const: Null(null)"];
53 [label="Variable declaration: lvar s: R|A?|"];
subgraph cluster_16 {
color=blue
56 [label="Enter block"];
57 [label="Access variable R|<local>/results|"];
58 [label="Function call: R|<local>/results|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()" style="filled" fillcolor=yellow];
59 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
54 [label="Enter block"];
55 [label="Access variable R|<local>/results|"];
56 [label="Function call: R|<local>/results|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()" style="filled" fillcolor=yellow];
57 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
subgraph cluster_17 {
color=blue
60 [label="Enter while loop"];
58 [label="Enter while loop"];
subgraph cluster_18 {
color=blue
61 [label="Enter loop condition"];
62 [label="Access variable R|<local>/<iterator>|"];
63 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
64 [label="Exit loop condition"];
59 [label="Enter loop condition"];
60 [label="Access variable R|<local>/<iterator>|"];
61 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
62 [label="Exit loop condition"];
}
subgraph cluster_19 {
color=blue
65 [label="Enter loop block"];
63 [label="Enter loop block"];
subgraph cluster_20 {
color=blue
66 [label="Enter block"];
67 [label="Access variable R|<local>/<iterator>|"];
68 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()" style="filled" fillcolor=yellow];
69 [label="Stub" style="filled" fillcolor=gray];
70 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
71 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
72 [label="Stub" style="filled" fillcolor=gray];
73 [label="Assignment: R|<local>/s|" style="filled" fillcolor=gray];
64 [label="Enter block"];
65 [label="Access variable R|<local>/<iterator>|"];
66 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()" style="filled" fillcolor=yellow];
67 [label="Stub" style="filled" fillcolor=gray];
68 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
69 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
70 [label="Stub" style="filled" fillcolor=gray];
71 [label="Assignment: R|<local>/s|" style="filled" fillcolor=gray];
subgraph cluster_21 {
color=blue
74 [label="Enter when" style="filled" fillcolor=gray];
72 [label="Enter when" style="filled" fillcolor=gray];
subgraph cluster_22 {
color=blue
75 [label="Enter when branch condition " style="filled" fillcolor=gray];
76 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
77 [label="Stub" style="filled" fillcolor=gray];
78 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray];
79 [label="Exit when branch condition" style="filled" fillcolor=gray];
73 [label="Enter when branch condition " style="filled" fillcolor=gray];
74 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
75 [label="Stub" style="filled" fillcolor=gray];
76 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray];
77 [label="Exit when branch condition" style="filled" fillcolor=gray];
}
80 [label="Synthetic else branch" style="filled" fillcolor=gray];
81 [label="Enter when branch result" style="filled" fillcolor=gray];
78 [label="Synthetic else branch" style="filled" fillcolor=gray];
79 [label="Enter when branch result" style="filled" fillcolor=gray];
subgraph cluster_23 {
color=blue
82 [label="Enter block" style="filled" fillcolor=gray];
83 [label="Jump: break@@@[R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()] " style="filled" fillcolor=gray];
84 [label="Stub" style="filled" fillcolor=gray];
85 [label="Exit block" style="filled" fillcolor=gray];
80 [label="Enter block" style="filled" fillcolor=gray];
81 [label="Jump: break@@@[R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()] " style="filled" fillcolor=gray];
82 [label="Stub" style="filled" fillcolor=gray];
83 [label="Exit block" style="filled" fillcolor=gray];
}
86 [label="Exit when branch result" style="filled" fillcolor=gray];
87 [label="Exit when" style="filled" fillcolor=gray];
84 [label="Exit when branch result" style="filled" fillcolor=gray];
85 [label="Exit when" style="filled" fillcolor=gray];
}
88 [label="Exit block" style="filled" fillcolor=gray];
86 [label="Exit block" style="filled" fillcolor=gray];
}
89 [label="Exit loop block" style="filled" fillcolor=gray];
87 [label="Exit loop block" style="filled" fillcolor=gray];
}
90 [label="Exit whileloop"];
88 [label="Exit whileloop"];
}
91 [label="Exit block"];
89 [label="Exit block"];
}
92 [label="Access variable R|<local>/s|"];
93 [label="Enter safe call"];
94 [label="Postponed enter to lambda"];
90 [label="Access variable R|<local>/s|"];
91 [label="Enter safe call"];
92 [label="Postponed enter to lambda"];
subgraph cluster_24 {
color=blue
95 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
93 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
96 [label="Enter block"];
97 [label="Access variable R|<local>/it|"];
98 [label="Access variable R|/A.a|"];
99 [label="Exit block"];
94 [label="Enter block"];
95 [label="Access variable R|<local>/it|"];
96 [label="Access variable R|/A.a|"];
97 [label="Exit block"];
}
100 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
98 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
101 [label="Postponed exit from lambda"];
102 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
103 [label="Exit safe call"];
104 [label="Exit block"];
99 [label="Postponed exit from lambda"];
100 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
101 [label="Exit safe call"];
102 [label="Exit block"];
}
105 [label="Exit function test_0" style="filled" fillcolor=red];
103 [label="Exit function test_0" style="filled" fillcolor=red];
}
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
@@ -257,12 +253,12 @@ digraph smartcastToNothing_kt {
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
62 -> {63 88};
63 -> {64};
64 -> {65 90};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
66 -> {67} [style=dotted];
67 -> {68} [style=dotted];
68 -> {69} [style=dotted];
69 -> {70} [style=dotted];
70 -> {71} [style=dotted];
@@ -272,26 +268,26 @@ digraph smartcastToNothing_kt {
74 -> {75} [style=dotted];
75 -> {76} [style=dotted];
76 -> {77} [style=dotted];
77 -> {78} [style=dotted];
78 -> {79} [style=dotted];
79 -> {80 81} [style=dotted];
80 -> {87} [style=dotted];
81 -> {82} [style=dotted];
77 -> {78 79} [style=dotted];
78 -> {85} [style=dotted];
79 -> {80} [style=dotted];
80 -> {81} [style=dotted];
81 -> {82 88} [style=dotted];
82 -> {83} [style=dotted];
83 -> {84 90} [style=dotted];
83 -> {84} [style=dotted];
84 -> {85} [style=dotted];
85 -> {86} [style=dotted];
86 -> {87} [style=dotted];
87 -> {88} [style=dotted];
88 -> {89} [style=dotted];
89 -> {61} [color=green style=dotted];
90 -> {91};
87 -> {59} [color=green style=dotted];
88 -> {89};
89 -> {90};
90 -> {91 101};
91 -> {92};
92 -> {93 103};
92 -> {93 100};
92 -> {99} [style=dotted];
92 -> {93} [style=dashed];
93 -> {94};
94 -> {95 102};
94 -> {101} [style=dotted];
94 -> {95} [style=dashed];
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
@@ -300,82 +296,82 @@ digraph smartcastToNothing_kt {
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
subgraph cluster_26 {
color=red
106 [label="Enter function test_1" style="filled" fillcolor=red];
104 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_27 {
color=blue
107 [label="Enter block"];
105 [label="Enter block"];
subgraph cluster_28 {
color=blue
108 [label="Enter when"];
106 [label="Enter when"];
subgraph cluster_29 {
color=blue
109 [label="Enter when branch condition "];
110 [label="Access variable R|<local>/a|"];
111 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing?|)"];
112 [label="Exit when branch condition"];
107 [label="Enter when branch condition "];
108 [label="Access variable R|<local>/a|"];
109 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing?|)"];
110 [label="Exit when branch condition"];
}
113 [label="Synthetic else branch"];
114 [label="Enter when branch result"];
111 [label="Synthetic else branch"];
112 [label="Enter when branch result"];
subgraph cluster_30 {
color=blue
115 [label="Enter block"];
116 [label="Access variable R|<local>/a|"];
117 [label="Smart cast: R|<local>/a|"];
118 [label="Enter safe call"];
119 [label="Access variable R|kotlin/String.length|"];
120 [label="Exit safe call"];
121 [label="Variable declaration: lval b: R|kotlin/Int?|"];
122 [label="Exit block"];
113 [label="Enter block"];
114 [label="Access variable R|<local>/a|"];
115 [label="Smart cast: R|<local>/a|"];
116 [label="Enter safe call"];
117 [label="Access variable R|kotlin/String.length|"];
118 [label="Exit safe call"];
119 [label="Variable declaration: lval b: R|kotlin/Int?|"];
120 [label="Exit block"];
}
123 [label="Exit when branch result"];
124 [label="Exit when"];
121 [label="Exit when branch result"];
122 [label="Exit when"];
}
subgraph cluster_31 {
color=blue
125 [label="Enter when"];
123 [label="Enter when"];
subgraph cluster_32 {
color=blue
126 [label="Enter when branch condition "];
127 [label="Access variable R|<local>/a|"];
128 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing|)"];
129 [label="Exit when branch condition"];
124 [label="Enter when branch condition "];
125 [label="Access variable R|<local>/a|"];
126 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing|)"];
127 [label="Exit when branch condition"];
}
130 [label="Synthetic else branch"];
131 [label="Enter when branch result"];
128 [label="Synthetic else branch"];
129 [label="Enter when branch result"];
subgraph cluster_33 {
color=blue
132 [label="Enter block"];
133 [label="Access variable R|<local>/a|"];
134 [label="Smart cast: R|<local>/a|"];
135 [label="Stub" style="filled" fillcolor=gray];
136 [label="Access variable R|kotlin/String.length|" style="filled" fillcolor=gray];
137 [label="Variable declaration: lval b: R|kotlin/Int|" style="filled" fillcolor=gray];
138 [label="Exit block" style="filled" fillcolor=gray];
130 [label="Enter block"];
131 [label="Access variable R|<local>/a|"];
132 [label="Smart cast: R|<local>/a|"];
133 [label="Stub" style="filled" fillcolor=gray];
134 [label="Access variable R|kotlin/String.length|" style="filled" fillcolor=gray];
135 [label="Variable declaration: lval b: R|kotlin/Int|" style="filled" fillcolor=gray];
136 [label="Exit block" style="filled" fillcolor=gray];
}
139 [label="Exit when branch result" style="filled" fillcolor=gray];
140 [label="Exit when"];
137 [label="Exit when branch result" style="filled" fillcolor=gray];
138 [label="Exit when"];
}
141 [label="Exit block"];
139 [label="Exit block"];
}
142 [label="Exit function test_1" style="filled" fillcolor=red];
140 [label="Exit function test_1" style="filled" fillcolor=red];
}
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113 114};
113 -> {124};
110 -> {111 112};
111 -> {122};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
115 -> {116 118};
116 -> {117};
117 -> {118 120};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121};
@@ -385,20 +381,18 @@ digraph smartcastToNothing_kt {
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130 131};
130 -> {140};
127 -> {128 129};
128 -> {138};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134};
132 -> {133} [style=dotted];
133 -> {134} [style=dotted];
134 -> {135} [style=dotted];
135 -> {136} [style=dotted];
136 -> {137} [style=dotted];
137 -> {138} [style=dotted];
138 -> {139} [style=dotted];
139 -> {140} [style=dotted];
140 -> {141};
141 -> {142};
138 -> {139};
139 -> {140};
}
@@ -6,89 +6,88 @@ digraph overridenOpenVal_kt {
subgraph cluster_0 {
color=red
0 [label="Enter class A" style="filled" fillcolor=red];
1 [label="Part of class initialization"];
subgraph cluster_1 {
color=blue
2 [label="Enter property" style="filled" fillcolor=red];
3 [label="Access variable R|<local>/x|"];
4 [label="Exit property" style="filled" fillcolor=red];
1 [label="Enter property" style="filled" fillcolor=red];
2 [label="Access variable R|<local>/x|"];
3 [label="Exit property" style="filled" fillcolor=red];
}
5 [label="Exit class A" style="filled" fillcolor=red];
4 [label="Exit class A" style="filled" fillcolor=red];
}
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 <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];
}
0 -> {1} [color=green];
1 -> {2} [color=green];
1 -> {5} [style=dotted];
1 -> {2} [style=dashed];
0 -> {4} [style=dotted];
0 -> {1} [style=dashed];
1 -> {2};
2 -> {3};
3 -> {4};
3 -> {4} [color=green];
4 -> {5} [color=green];
5 -> {6} [color=green];
5 -> {6} [style=dashed];
4 -> {5} [style=dashed];
5 -> {6};
6 -> {7};
7 -> {8};
subgraph cluster_3 {
color=red
9 [label="Enter class B" style="filled" fillcolor=red];
10 [label="Exit class B" style="filled" fillcolor=red];
8 [label="Enter class B" style="filled" fillcolor=red];
9 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
11 [label="Enter function test_1" style="filled" fillcolor=red];
10 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
12 [label="Enter block"];
11 [label="Enter block"];
subgraph cluster_6 {
color=blue
13 [label="Enter when"];
12 [label="Enter when"];
subgraph cluster_7 {
color=blue
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"];
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"];
}
18 [label="Synthetic else branch"];
19 [label="Enter when branch result"];
17 [label="Synthetic else branch"];
18 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
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"];
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"];
}
25 [label="Exit when branch result"];
26 [label="Exit when"];
24 [label="Exit when branch result"];
25 [label="Exit when"];
}
27 [label="Exit block"];
26 [label="Exit block"];
}
28 [label="Exit function test_1" style="filled" fillcolor=red];
27 [label="Exit function test_1" style="filled" fillcolor=red];
}
subgraph cluster_9 {
color=blue
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];
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];
}
9 -> {10} [color=green];
10 -> {11 29} [color=green];
10 -> {11 29} [style=dashed];
8 -> {9} [color=green];
9 -> {10 28} [color=green];
9 -> {10 28} [style=dashed];
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18 19};
18 -> {26};
16 -> {17 18};
17 -> {25};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
@@ -97,55 +96,55 @@ digraph overridenOpenVal_kt {
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
subgraph cluster_10 {
color=red
33 [label="Enter function test_2" style="filled" fillcolor=red];
32 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
34 [label="Enter block"];
33 [label="Enter block"];
subgraph cluster_12 {
color=blue
35 [label="Enter when"];
34 [label="Enter when"];
subgraph cluster_13 {
color=blue
36 [label="Enter when branch condition "];
37 [label="Access variable R|<local>/b|"];
38 [label="Access variable R|/A.x|"];
39 [label="Type operator: (R|<local>/b|.R|/A.x| is R|kotlin/String|)"];
40 [label="Exit when branch condition"];
35 [label="Enter when branch condition "];
36 [label="Access variable R|<local>/b|"];
37 [label="Access variable R|/A.x|"];
38 [label="Type operator: (R|<local>/b|.R|/A.x| is R|kotlin/String|)"];
39 [label="Exit when branch condition"];
}
41 [label="Synthetic else branch"];
42 [label="Enter when branch result"];
40 [label="Synthetic else branch"];
41 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
43 [label="Enter block"];
44 [label="Access variable R|<local>/b|"];
45 [label="Access variable R|/A.x|"];
46 [label="Smart cast: R|<local>/b|.R|/A.x|"];
47 [label="Access variable R|kotlin/String.length|"];
48 [label="Exit block"];
42 [label="Enter block"];
43 [label="Access variable R|<local>/b|"];
44 [label="Access variable R|/A.x|"];
45 [label="Smart cast: R|<local>/b|.R|/A.x|"];
46 [label="Access variable R|kotlin/String.length|"];
47 [label="Exit block"];
}
49 [label="Exit when branch result"];
50 [label="Exit when"];
48 [label="Exit when branch result"];
49 [label="Exit when"];
}
51 [label="Exit block"];
50 [label="Exit block"];
}
52 [label="Exit function test_2" style="filled" fillcolor=red];
51 [label="Exit function test_2" style="filled" fillcolor=red];
}
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41 42};
41 -> {50};
39 -> {40 41};
40 -> {49};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
@@ -155,6 +154,5 @@ digraph overridenOpenVal_kt {
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
}