FIR DFA: route data flow through anonymous objects

^KT-44515 Fixed
This commit is contained in:
pyos
2022-12-11 16:40:12 +01:00
committed by Dmitriy Novozhilov
parent 17ee8f3a7b
commit 0dd949bb36
16 changed files with 365 additions and 405 deletions
@@ -109,144 +109,143 @@ digraph delegateWithAnonymousObject_kt {
}
36 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
}
37 [label="Exit anonymous object"];
38 [label="Exit anonymous object expression"];
39 [label="Exit block"];
37 [label="Exit anonymous object expression"];
38 [label="Exit block"];
}
40 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
subgraph cluster_15 {
color=blue
41 [label="Enter function setValue" style="filled" fillcolor=red];
40 [label="Enter function setValue" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
42 [label="Enter block"];
43 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
44 [label="Access variable R|<local>/value|"];
45 [label="Function call: R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(...)" style="filled" fillcolor=yellow];
46 [label="Jump: ^setValue R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(R|<local>/value|)"];
47 [label="Stub" style="filled" fillcolor=gray];
48 [label="Exit block" style="filled" fillcolor=gray];
41 [label="Enter block"];
42 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
43 [label="Access variable R|<local>/value|"];
44 [label="Function call: R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(...)" style="filled" fillcolor=yellow];
45 [label="Jump: ^setValue R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(R|<local>/value|)"];
46 [label="Stub" style="filled" fillcolor=gray];
47 [label="Exit block" style="filled" fillcolor=gray];
}
49 [label="Exit function setValue" style="filled" fillcolor=red];
48 [label="Exit function setValue" style="filled" fillcolor=red];
}
subgraph cluster_17 {
color=blue
50 [label="Enter function getValue" style="filled" fillcolor=red];
49 [label="Enter function getValue" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
51 [label="Enter block"];
52 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
53 [label="Jump: ^getValue R|/IssueListView.IssueListView|()"];
54 [label="Stub" style="filled" fillcolor=gray];
55 [label="Exit block" style="filled" fillcolor=gray];
50 [label="Enter block"];
51 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
52 [label="Jump: ^getValue R|/IssueListView.IssueListView|()"];
53 [label="Stub" style="filled" fillcolor=gray];
54 [label="Exit block" style="filled" fillcolor=gray];
}
56 [label="Exit function getValue" style="filled" fillcolor=red];
55 [label="Exit function getValue" style="filled" fillcolor=red];
}
57 [label="Postponed exit from lambda"];
58 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)" style="filled" fillcolor=yellow];
59 [label="Access variable this@R|/IssuesListUserProfile|"];
60 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...).<Unresolved name: provideDelegate>#(...)" style="filled" fillcolor=yellow];
61 [label="Exit property delegate" style="filled" fillcolor=yellow];
62 [label="Exit property" style="filled" fillcolor=red];
56 [label="Postponed exit from lambda"];
57 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)" style="filled" fillcolor=yellow];
58 [label="Access variable this@R|/IssuesListUserProfile|"];
59 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...).<Unresolved name: provideDelegate>#(...)" style="filled" fillcolor=yellow];
60 [label="Exit property delegate" style="filled" fillcolor=yellow];
61 [label="Exit property" style="filled" fillcolor=red];
}
63 [label="Exit class IssuesListUserProfile" style="filled" fillcolor=red];
62 [label="Exit class IssuesListUserProfile" style="filled" fillcolor=red];
}
subgraph cluster_19 {
color=blue
64 [label="Enter function setter" style="filled" fillcolor=red];
63 [label="Enter function setter" style="filled" fillcolor=red];
subgraph cluster_20 {
color=blue
65 [label="Enter block"];
66 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
67 [label="Access variable this@R|/IssuesListUserProfile|"];
68 [label="Access variable R|<local>/issueListView|"];
69 [label="Function call: this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.setValue: R|kotlin/Unit|>|(...)" style="filled" fillcolor=yellow];
70 [label="Exit block"];
64 [label="Enter block"];
65 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
66 [label="Access variable this@R|/IssuesListUserProfile|"];
67 [label="Access variable R|<local>/issueListView|"];
68 [label="Function call: this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.setValue: R|kotlin/Unit|>|(...)" style="filled" fillcolor=yellow];
69 [label="Exit block"];
}
71 [label="Exit function setter" style="filled" fillcolor=red];
70 [label="Exit function setter" style="filled" fillcolor=red];
}
subgraph cluster_21 {
color=blue
72 [label="Enter function getter" style="filled" fillcolor=red];
71 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
73 [label="Enter block"];
74 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
75 [label="Access variable this@R|/IssuesListUserProfile|"];
76 [label="Function call: this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.getValue: R|Stub (chain inference): TypeVariable(_Target)|>|(...)" style="filled" fillcolor=yellow];
77 [label="Jump: ^ this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.getValue: R|Stub (chain inference): TypeVariable(_Target)|>|(this@R|/IssuesListUserProfile|, ::R|/IssuesListUserProfile.issueListView|)"];
78 [label="Stub" style="filled" fillcolor=gray];
79 [label="Exit block" style="filled" fillcolor=gray];
72 [label="Enter block"];
73 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
74 [label="Access variable this@R|/IssuesListUserProfile|"];
75 [label="Function call: this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.getValue: R|Stub (chain inference): TypeVariable(_Target)|>|(...)" style="filled" fillcolor=yellow];
76 [label="Jump: ^ this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.getValue: R|Stub (chain inference): TypeVariable(_Target)|>|(this@R|/IssuesListUserProfile|, ::R|/IssuesListUserProfile.issueListView|)"];
77 [label="Stub" style="filled" fillcolor=gray];
78 [label="Exit block" style="filled" fillcolor=gray];
}
80 [label="Exit function getter" style="filled" fillcolor=red];
79 [label="Exit function getter" style="filled" fillcolor=red];
}
23 -> {24} [color=green];
23 -> {63} [style=dotted];
23 -> {62} [style=dotted];
23 -> {24 27} [style=dashed];
24 -> {25};
25 -> {26};
26 -> {27} [color=green];
27 -> {28};
28 -> {29 57 58};
28 -> {29 56 57};
28 -> {29} [style=dashed];
29 -> {30};
30 -> {31};
31 -> {32};
31 -> {37} [color=red];
31 -> {37} [style=dotted];
31 -> {32} [style=dashed];
32 -> {33};
32 -> {41 50} [color=red];
32 -> {40 49} [color=red];
32 -> {36} [style=dotted];
32 -> {33} [style=dashed];
33 -> {34};
34 -> {35};
35 -> {36} [color=green];
36 -> {37 41 50} [color=green];
36 -> {41 50} [style=dashed];
35 -> {36};
36 -> {37};
36 -> {40 49} [color=green];
36 -> {40 49} [style=dashed];
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {49};
45 -> {48};
45 -> {46} [style=dotted];
46 -> {47} [style=dotted];
47 -> {48} [style=dotted];
48 -> {49} [style=dotted];
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {56};
52 -> {55};
52 -> {53} [style=dotted];
53 -> {54} [style=dotted];
54 -> {55} [style=dotted];
55 -> {56} [style=dotted];
57 -> {58} [color=green];
57 -> {61} [color=red];
56 -> {57} [color=green];
56 -> {60} [color=red];
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63} [color=green];
63 -> {64 72} [color=green];
63 -> {64 72} [style=dashed];
61 -> {62} [color=green];
62 -> {63 71} [color=green];
62 -> {63 71} [style=dashed];
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {80};
76 -> {79};
76 -> {77} [style=dotted];
77 -> {78} [style=dotted];
78 -> {79} [style=dotted];
79 -> {80} [style=dotted];
}