blob: 17beb1ac7456fae7fb41d3070f14142b87bef548 [file]
digraph smartcastToNothing_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter file smartcastToNothing.kt" style="filled" fillcolor=red];
1 [label="Exit file smartcastToNothing.kt" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
subgraph cluster_1 {
color=red
2 [label="Enter function getNothing" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
3 [label="Enter block"];
subgraph cluster_3 {
color=blue
4 [label="Function call arguments enter"];
5 [label="Function call arguments exit"];
}
6 [label="Function call enter: R|java/lang/Exception.Exception|()"];
7 [label="Function call exit: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
8 [label="Throw: throw R|java/lang/Exception.Exception|()"];
9 [label="Stub" style="filled" fillcolor=gray];
10 [label="Jump: ^getNothing throw R|java/lang/Exception.Exception|()" style="filled" fillcolor=gray];
11 [label="Stub" style="filled" fillcolor=gray];
12 [label="Exit block" style="filled" fillcolor=gray];
}
13 [label="Exit function getNothing" style="filled" fillcolor=gray];
}
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9} [style=dotted];
9 -> {10} [style=dotted];
10 -> {11 13} [style=dotted];
11 -> {12} [style=dotted];
12 -> {13} [style=dotted];
subgraph cluster_4 {
color=red
14 [label="Enter function getNullableNothing" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
15 [label="Enter block"];
16 [label="Const: Null(null)"];
17 [label="Jump: ^getNullableNothing Null(null)"];
18 [label="Stub" style="filled" fillcolor=gray];
19 [label="Exit block" style="filled" fillcolor=gray];
}
20 [label="Exit function getNullableNothing" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {20};
17 -> {18} [style=dotted];
18 -> {19} [style=dotted];
19 -> {20} [style=dotted];
subgraph cluster_6 {
color=red
21 [label="Enter function <getter>" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
22 [label="Enter block"];
23 [label="Const: Int(1)"];
24 [label="Jump: ^ Int(1)"];
25 [label="Stub" style="filled" fillcolor=gray];
26 [label="Exit block" style="filled" fillcolor=gray];
}
27 [label="Exit function <getter>" style="filled" fillcolor=red];
}
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {27};
24 -> {25} [style=dotted];
25 -> {26} [style=dotted];
26 -> {27} [style=dotted];
subgraph cluster_8 {
color=red
28 [label="Enter function <getter>" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
29 [label="Enter block"];
30 [label="Const: Int(2)"];
31 [label="Jump: ^ Int(2)"];
32 [label="Stub" style="filled" fillcolor=gray];
33 [label="Exit block" style="filled" fillcolor=gray];
}
34 [label="Exit function <getter>" style="filled" fillcolor=red];
}
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {34};
31 -> {32} [style=dotted];
32 -> {33} [style=dotted];
33 -> {34} [style=dotted];
subgraph cluster_10 {
color=red
35 [label="Enter function myListOf" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
36 [label="Enter block"];
37 [label="Const: Null(null)"];
38 [label="Check not null: Null(null)!!" style="filled" fillcolor=yellow];
39 [label="Jump: ^myListOf Null(null)!!"];
40 [label="Stub" style="filled" fillcolor=gray];
41 [label="Exit block" style="filled" fillcolor=gray];
}
42 [label="Exit function myListOf" style="filled" fillcolor=red];
}
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {42};
39 -> {40} [style=dotted];
40 -> {41} [style=dotted];
41 -> {42} [style=dotted];
subgraph cluster_12 {
color=red
43 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
44 [label="Enter function <init>" style="filled" fillcolor=red];
45 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
46 [label="Exit function <init>" style="filled" fillcolor=red];
}
subgraph cluster_14 {
color=blue
47 [label="Enter property" style="filled" fillcolor=red];
48 [label="Const: Int(1)"];
49 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_15 {
color=blue
50 [label="Enter property" style="filled" fillcolor=red];
51 [label="Const: Boolean(true)"];
52 [label="Exit property" style="filled" fillcolor=red];
}
53 [label="Exit class A" style="filled" fillcolor=red];
}
43 -> {44} [color=green];
43 -> {53} [style=dotted];
43 -> {44 47 50} [style=dashed];
44 -> {45};
45 -> {46};
46 -> {47} [color=green];
47 -> {48};
48 -> {49};
49 -> {50} [color=green];
50 -> {51};
51 -> {52};
52 -> {53} [color=green];
subgraph cluster_16 {
color=red
54 [label="Enter static <static of A>" style="filled" fillcolor=red];
55 [label="Exit static <static of A>" style="filled" fillcolor=red];
}
54 -> {55} [color=green];
subgraph cluster_17 {
color=red
56 [label="Enter function test_0" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
57 [label="Enter block"];
58 [label="Enter variable declaration: lvar s: R|A?|"];
59 [label="Const: Null(null)"];
60 [label="Exit variable declaration: lvar s: R|A?|"];
subgraph cluster_19 {
color=blue
61 [label="Enter block"];
62 [label="Enter variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
subgraph cluster_20 {
color=blue
63 [label="Function call arguments enter"];
64 [label="Access variable R|<local>/results|"];
65 [label="Function call arguments exit"];
}
66 [label="Function call enter: R|<local>/results|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()"];
67 [label="Function call exit: R|<local>/results|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()" style="filled" fillcolor=yellow];
68 [label="Exit variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
subgraph cluster_21 {
color=blue
69 [label="Enter while loop"];
subgraph cluster_22 {
color=blue
70 [label="Enter loop condition"];
subgraph cluster_23 {
color=blue
71 [label="Function call arguments enter"];
72 [label="Access variable R|<local>/<iterator>|"];
73 [label="Function call arguments exit"];
}
74 [label="Function call enter: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()"];
75 [label="Function call exit: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
76 [label="Exit loop condition"];
}
subgraph cluster_24 {
color=blue
77 [label="Enter loop block"];
subgraph cluster_25 {
color=blue
78 [label="Enter block"];
79 [label="Enter variable declaration: lval result: R|kotlin/Nothing|"];
subgraph cluster_26 {
color=blue
80 [label="Function call arguments enter"];
81 [label="Access variable R|<local>/<iterator>|"];
82 [label="Function call arguments exit"];
}
83 [label="Function call enter: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()"];
84 [label="Function call exit: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()" style="filled" fillcolor=yellow];
85 [label="Stub" style="filled" fillcolor=gray];
86 [label="Exit variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
subgraph cluster_27 {
color=blue
87 [label="Enter block" style="filled" fillcolor=gray];
88 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
89 [label="Stub" style="filled" fillcolor=gray];
90 [label="Assignment: R|<local>/s|" style="filled" fillcolor=gray];
subgraph cluster_28 {
color=blue
91 [label="Enter when" style="filled" fillcolor=gray];
subgraph cluster_29 {
color=blue
92 [label="Enter when branch condition " style="filled" fillcolor=gray];
93 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
94 [label="Stub" style="filled" fillcolor=gray];
95 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray];
96 [label="Exit when branch condition" style="filled" fillcolor=gray];
}
97 [label="Synthetic else branch" style="filled" fillcolor=gray];
98 [label="Enter when branch result" style="filled" fillcolor=gray];
subgraph cluster_30 {
color=blue
99 [label="Enter block" style="filled" fillcolor=gray];
100 [label="Jump: break@@@[R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()] " style="filled" fillcolor=gray];
101 [label="Stub" style="filled" fillcolor=gray];
102 [label="Exit block" style="filled" fillcolor=gray];
}
103 [label="Exit when branch result" style="filled" fillcolor=gray];
104 [label="Exit when" style="filled" fillcolor=gray];
}
105 [label="Exit block" style="filled" fillcolor=gray];
}
106 [label="Exit block" style="filled" fillcolor=gray];
}
107 [label="Exit loop block" style="filled" fillcolor=gray];
}
108 [label="Exit while loop"];
}
109 [label="Exit block"];
}
110 [label="Access variable R|<local>/s|"];
111 [label="Enter safe call"];
subgraph cluster_31 {
color=blue
112 [label="Function call arguments enter"];
113 [label="Anonymous function capture"];
114 [label="Postponed enter to lambda"];
subgraph cluster_32 {
color=blue
115 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_33 {
color=blue
116 [label="Enter block"];
117 [label="Access variable R|<local>/it|"];
118 [label="Access variable R|/A.a|"];
119 [label="Exit block"];
}
120 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
121 [label="Function call arguments exit"];
}
122 [label="Function call enter: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)"];
123 [label="Postponed exit from lambda"];
124 [label="Function call exit: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
125 [label="Exit safe call"];
126 [label="Exit block"];
}
127 [label="Exit function test_0" style="filled" fillcolor=red];
}
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
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 108};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85} [style=dotted];
85 -> {86} [style=dotted];
86 -> {87} [style=dotted];
87 -> {88} [style=dotted];
88 -> {89} [style=dotted];
89 -> {90} [style=dotted];
90 -> {91} [style=dotted];
91 -> {92} [style=dotted];
92 -> {93} [style=dotted];
93 -> {94} [style=dotted];
94 -> {95} [style=dotted];
95 -> {96} [style=dotted];
96 -> {97 98} [style=dotted];
97 -> {104} [style=dotted];
98 -> {99} [style=dotted];
99 -> {100} [style=dotted];
100 -> {101 108} [style=dotted];
101 -> {102} [style=dotted];
102 -> {103} [style=dotted];
103 -> {104} [style=dotted];
104 -> {105} [style=dotted];
105 -> {106} [style=dotted];
106 -> {107} [style=dotted];
107 -> {70} [color=green style=dotted];
108 -> {109};
109 -> {110};
110 -> {111 125};
111 -> {112};
112 -> {113};
113 -> {114};
113 -> {115} [color=green style=dotted label="CapturedByValue"];
114 -> {115 121};
114 -> {123} [style=dotted];
114 -> {115} [style=dashed];
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {123};
121 -> {122};
122 -> {124};
123 -> {124} [label="Postponed"];
124 -> {125};
125 -> {126};
126 -> {127};
subgraph cluster_34 {
color=red
128 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_35 {
color=blue
129 [label="Enter block"];
subgraph cluster_36 {
color=blue
130 [label="Enter when"];
subgraph cluster_37 {
color=blue
131 [label="Enter when branch condition "];
132 [label="Access variable R|<local>/a|"];
133 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing?|)"];
134 [label="Exit when branch condition"];
}
135 [label="Synthetic else branch"];
136 [label="Enter when branch result"];
subgraph cluster_38 {
color=blue
137 [label="Enter block"];
138 [label="Enter variable declaration: lval b: R|kotlin/Int?|"];
139 [label="Access variable R|<local>/a|"];
140 [label="Smart cast: R|<local>/a|"];
141 [label="Enter safe call"];
142 [label="Access variable R|kotlin/String.length|"];
143 [label="Exit safe call"];
144 [label="Exit variable declaration: lval b: R|kotlin/Int?|"];
145 [label="Exit block"];
}
146 [label="Exit when branch result"];
147 [label="Exit when"];
}
subgraph cluster_39 {
color=blue
148 [label="Enter when"];
subgraph cluster_40 {
color=blue
149 [label="Enter when branch condition "];
150 [label="Access variable R|<local>/a|"];
151 [label="Type operator: (R|<local>/a| is R|kotlin/Nothing|)"];
152 [label="Exit when branch condition"];
}
153 [label="Synthetic else branch"];
154 [label="Enter when branch result"];
subgraph cluster_41 {
color=blue
155 [label="Enter block"];
156 [label="Enter variable declaration: lval b: R|kotlin/Int|"];
157 [label="Access variable R|<local>/a|"];
158 [label="Smart cast: R|<local>/a|"];
159 [label="Access variable R|kotlin/String.length|"];
160 [label="Exit variable declaration: lval b: R|kotlin/Int|"];
161 [label="Exit block"];
}
162 [label="Exit when branch result"];
163 [label="Exit when"];
}
164 [label="Exit block"];
}
165 [label="Exit function test_1" style="filled" fillcolor=red];
}
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {135 136};
135 -> {147};
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {140};
140 -> {141 143};
141 -> {142};
142 -> {143};
143 -> {144};
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {151};
151 -> {152};
152 -> {153 154};
153 -> {163};
154 -> {155};
155 -> {156};
156 -> {157};
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {162};
162 -> {163};
163 -> {164};
164 -> {165};
}