Test: FIR CFA: fix the names of some nodes

This commit is contained in:
pyos
2022-12-13 10:21:08 +01:00
committed by Dmitriy Novozhilov
parent fbd0908f0c
commit e86b87fe0b
49 changed files with 331 additions and 341 deletions
@@ -95,7 +95,7 @@ digraph boundSmartcastsInBranches_kt {
}
46 [label="Exit loop block"];
}
47 [label="Exit whileloop"];
47 [label="Exit while loop"];
}
48 [label="Exit block"];
}
@@ -429,7 +429,7 @@ digraph returns_kt {
subgraph cluster_38 {
color=red
152 [label="Enter function getter" style="filled" fillcolor=red];
152 [label="Enter function <getter>" style="filled" fillcolor=red];
subgraph cluster_39 {
color=blue
153 [label="Enter block"];
@@ -438,7 +438,7 @@ digraph returns_kt {
156 [label="Stub" style="filled" fillcolor=gray];
157 [label="Exit block" style="filled" fillcolor=gray];
}
158 [label="Exit function getter" style="filled" fillcolor=red];
158 [label="Exit function <getter>" style="filled" fillcolor=red];
}
152 -> {153};
153 -> {154};
@@ -471,7 +471,7 @@ digraph returns_kt {
175 [label="Postponed enter to lambda"];
subgraph cluster_42 {
color=blue
176 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
176 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_43 {
color=blue
177 [label="Enter block"];
@@ -480,7 +480,7 @@ digraph returns_kt {
180 [label="Access variable R|kotlin/String.length|"];
181 [label="Exit block"];
}
182 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
182 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
183 [label="Postponed exit from lambda"];
184 [label="Function call: R|/runHigherOrder|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
@@ -71,7 +71,7 @@ digraph incorrectSmartcastToNothing_kt {
35 [label="Postponed enter to lambda"];
subgraph cluster_10 {
color=blue
36 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
36 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
37 [label="Enter block"];
@@ -80,7 +80,7 @@ digraph incorrectSmartcastToNothing_kt {
40 [label="Function call: R|java/io/File.File|(...)" style="filled" fillcolor=yellow];
41 [label="Exit block"];
}
42 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
42 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
43 [label="Postponed exit from lambda"];
44 [label="Function call: $subj$.R|kotlin/let|<R|java/io/File|, R|java/io/File|>(...)" style="filled" fillcolor=yellow];
@@ -57,7 +57,7 @@ digraph inPlaceLambdas_kt {
18 [label="Postponed enter to lambda"];
subgraph cluster_9 {
color=blue
19 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
19 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
20 [label="Enter block"];
@@ -66,7 +66,7 @@ digraph inPlaceLambdas_kt {
23 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
24 [label="Exit block"];
}
25 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
25 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
26 [label="Postponed exit from lambda"];
27 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
@@ -115,7 +115,7 @@ digraph inPlaceLambdas_kt {
35 [label="Postponed enter to lambda"];
subgraph cluster_13 {
color=blue
36 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
36 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
37 [label="Enter block"];
@@ -123,7 +123,7 @@ digraph inPlaceLambdas_kt {
39 [label="Type operator: (R|<local>/x| as R|B|)"];
40 [label="Exit block"];
}
41 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
41 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
42 [label="Postponed exit from lambda"];
43 [label="Function call: R|kotlin/run|<R|B|>(...)" style="filled" fillcolor=yellow];
@@ -176,7 +176,7 @@ digraph inPlaceLambdas_kt {
59 [label="Postponed enter to lambda"];
subgraph cluster_20 {
color=blue
60 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
60 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
61 [label="Enter block"];
@@ -188,7 +188,7 @@ digraph inPlaceLambdas_kt {
67 [label="Type operator: (R|<local>/x| as R|B|)"];
68 [label="Exit block"];
}
69 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
69 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
70 [label="Postponed exit from lambda"];
71 [label="Function call: R|kotlin/run|<R|B|>(...)" style="filled" fillcolor=yellow];
@@ -142,14 +142,14 @@ digraph lambdaInWhenBranch_kt {
49 [label="Postponed enter to lambda"];
subgraph cluster_18 {
color=blue
50 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
50 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
51 [label="Enter block"];
52 [label="Access variable R|<local>/it|"];
53 [label="Exit block"];
}
54 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
54 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
55 [label="Postponed exit from lambda"];
56 [label="Function call: String().R|kotlin/let|<R|kotlin/String|, R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
@@ -72,7 +72,7 @@ digraph dataFlowInfoFromWhileCondition_kt {
}
29 [label="Exit loop block"];
}
30 [label="Exit whileloop"];
30 [label="Exit while loop"];
}
31 [label="Exit block"];
}
@@ -66,7 +66,7 @@ digraph endlessLoops_kt {
}
27 [label="Exit loop block"];
}
28 [label="Exit whileloop"];
28 [label="Exit while loop"];
}
29 [label="Access variable R|<local>/x|"];
30 [label="Smart cast: R|<local>/x|"];
@@ -155,7 +155,7 @@ digraph endlessLoops_kt {
}
57 [label="Exit loop block"];
}
58 [label="Exit whileloop"];
58 [label="Exit while loop"];
}
59 [label="Access variable R|<local>/x|"];
60 [label="Smart cast: R|<local>/x|"];
@@ -265,7 +265,7 @@ digraph endlessLoops_kt {
}
99 [label="Exit loop block"];
}
100 [label="Exit whileloop"];
100 [label="Exit while loop"];
}
101 [label="Access variable R|<local>/x|"];
102 [label="Smart cast: R|<local>/x|"];
@@ -369,7 +369,7 @@ digraph endlessLoops_kt {
}
131 [label="Exit loop block" style="filled" fillcolor=gray];
}
132 [label="Exit whileloop"];
132 [label="Exit while loop"];
}
133 [label="Access variable R|<local>/x|"];
134 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
@@ -459,7 +459,7 @@ digraph endlessLoops_kt {
159 [label="Const: Boolean(true)"];
160 [label="Exit loop condition"];
}
161 [label="Exit do-whileloop"];
161 [label="Exit do-while loop"];
}
162 [label="Access variable R|<local>/x|"];
163 [label="Smart cast: R|<local>/x|"];
@@ -548,7 +548,7 @@ digraph endlessLoops_kt {
189 [label="Const: Boolean(true)"];
190 [label="Exit loop condition"];
}
191 [label="Exit do-whileloop"];
191 [label="Exit do-while loop"];
}
192 [label="Access variable R|<local>/x|"];
193 [label="Smart cast: R|<local>/x|"];
@@ -616,7 +616,7 @@ digraph endlessLoops_kt {
207 [label="Const: Boolean(true)"];
208 [label="Exit loop condition"];
}
209 [label="Exit do-whileloop" style="filled" fillcolor=gray];
209 [label="Exit do-while loop" style="filled" fillcolor=gray];
}
210 [label="Access variable R|<local>/x|" style="filled" fillcolor=gray];
211 [label="Smart cast: R|<local>/x|" style="filled" fillcolor=gray];
@@ -178,7 +178,7 @@ digraph nullability_kt {
}
subgraph cluster_21 {
color=blue
56 [label="Enter function getter" style="filled" fillcolor=red];
56 [label="Enter function <getter>" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
57 [label="Enter block"];
@@ -187,7 +187,7 @@ digraph nullability_kt {
60 [label="Stub" style="filled" fillcolor=gray];
61 [label="Exit block" style="filled" fillcolor=gray];
}
62 [label="Exit function getter" style="filled" fillcolor=red];
62 [label="Exit function <getter>" style="filled" fillcolor=red];
}
44 -> {45} [color=green];
44 -> {48} [style=dotted];
@@ -255,7 +255,7 @@ digraph implicitReceivers_kt {
85 [label="Postponed enter to lambda"];
subgraph cluster_26 {
color=blue
86 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
86 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_27 {
color=blue
87 [label="Enter block"];
@@ -263,7 +263,7 @@ digraph implicitReceivers_kt {
89 [label="Postponed enter to lambda"];
subgraph cluster_28 {
color=blue
90 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
90 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
91 [label="Enter block"];
@@ -271,7 +271,7 @@ digraph implicitReceivers_kt {
93 [label="Postponed enter to lambda"];
subgraph cluster_30 {
color=blue
94 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
94 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
95 [label="Enter block"];
@@ -283,7 +283,7 @@ digraph implicitReceivers_kt {
101 [label="Function call: this@R|special/anonymous|.R|/A.foo|()" style="filled" fillcolor=yellow];
102 [label="Exit block"];
}
103 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
103 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
104 [label="Postponed exit from lambda"];
105 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
@@ -293,13 +293,13 @@ digraph implicitReceivers_kt {
109 [label="Function call: this@R|special/anonymous|.R|/A.foo|()" style="filled" fillcolor=yellow];
110 [label="Exit block"];
}
111 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
111 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
112 [label="Postponed exit from lambda"];
113 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
114 [label="Exit block"];
}
115 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
115 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
116 [label="Postponed exit from lambda"];
117 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
@@ -19,7 +19,7 @@ digraph thisOfExtensionProperty_kt {
subgraph cluster_2 {
color=red
4 [label="Enter function getter" style="filled" fillcolor=red];
4 [label="Enter function <getter>" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
5 [label="Enter block"];
@@ -37,7 +37,7 @@ digraph thisOfExtensionProperty_kt {
14 [label="Stub" style="filled" fillcolor=gray];
15 [label="Exit block" style="filled" fillcolor=gray];
}
16 [label="Exit function getter" style="filled" fillcolor=red];
16 [label="Exit function <getter>" style="filled" fillcolor=red];
}
4 -> {5};
5 -> {6};
@@ -55,7 +55,7 @@ digraph thisOfExtensionProperty_kt {
subgraph cluster_5 {
color=red
17 [label="Enter function getter" style="filled" fillcolor=red];
17 [label="Enter function <getter>" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
18 [label="Enter block"];
@@ -75,7 +75,7 @@ digraph thisOfExtensionProperty_kt {
29 [label="Stub" style="filled" fillcolor=gray];
30 [label="Exit block" style="filled" fillcolor=gray];
}
31 [label="Exit function getter" style="filled" fillcolor=red];
31 [label="Exit function <getter>" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19};
@@ -150,7 +150,7 @@ digraph safeCalls_kt {
59 [label="Postponed enter to lambda"];
subgraph cluster_14 {
color=blue
60 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
60 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
61 [label="Enter block"];
@@ -159,7 +159,7 @@ digraph safeCalls_kt {
64 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=yellow];
65 [label="Exit block"];
}
66 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
66 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
67 [label="Postponed exit from lambda"];
68 [label="Function call: $subj$.R|/let|(...)" style="filled" fillcolor=yellow];
@@ -260,7 +260,7 @@ digraph safeCalls_kt {
97 [label="Postponed enter to lambda"];
subgraph cluster_22 {
color=blue
98 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
98 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
99 [label="Enter block"];
@@ -268,7 +268,7 @@ digraph safeCalls_kt {
101 [label="Stub" style="filled" fillcolor=gray];
102 [label="Exit block" style="filled" fillcolor=gray];
}
103 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
103 [label="Exit function <anonymous>" style="filled" fillcolor=gray];
}
104 [label="Postponed exit from lambda" style="filled" fillcolor=gray];
105 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
@@ -50,7 +50,7 @@ digraph smartcastToNothing_kt {
subgraph cluster_4 {
color=red
16 [label="Enter function getter" style="filled" fillcolor=red];
16 [label="Enter function <getter>" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
17 [label="Enter block"];
@@ -59,7 +59,7 @@ digraph smartcastToNothing_kt {
20 [label="Stub" style="filled" fillcolor=gray];
21 [label="Exit block" style="filled" fillcolor=gray];
}
22 [label="Exit function getter" style="filled" fillcolor=red];
22 [label="Exit function <getter>" style="filled" fillcolor=red];
}
16 -> {17};
17 -> {18};
@@ -71,7 +71,7 @@ digraph smartcastToNothing_kt {
subgraph cluster_6 {
color=red
23 [label="Enter function getter" style="filled" fillcolor=red];
23 [label="Enter function <getter>" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
24 [label="Enter block"];
@@ -80,7 +80,7 @@ digraph smartcastToNothing_kt {
27 [label="Stub" style="filled" fillcolor=gray];
28 [label="Exit block" style="filled" fillcolor=gray];
}
29 [label="Exit function getter" style="filled" fillcolor=red];
29 [label="Exit function <getter>" style="filled" fillcolor=red];
}
23 -> {24};
24 -> {25};
@@ -214,7 +214,7 @@ digraph smartcastToNothing_kt {
}
87 [label="Exit loop block" style="filled" fillcolor=gray];
}
88 [label="Exit whileloop"];
88 [label="Exit while loop"];
}
89 [label="Exit block"];
}
@@ -223,7 +223,7 @@ digraph smartcastToNothing_kt {
92 [label="Postponed enter to lambda"];
subgraph cluster_24 {
color=blue
93 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
93 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
94 [label="Enter block"];
@@ -231,7 +231,7 @@ digraph smartcastToNothing_kt {
96 [label="Access variable R|/A.a|"];
97 [label="Exit block"];
}
98 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
98 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
99 [label="Postponed exit from lambda"];
100 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];