ef2fa01a8d
These are not real, and in fact tricked the compiler into thinking some blocks that do not terminate do somehow terminate.
406 lines
16 KiB
Plaintext
Vendored
406 lines
16 KiB
Plaintext
Vendored
digraph smartcastToNothing_kt {
|
|
graph [nodesep=3]
|
|
node [shape=box penwidth=2]
|
|
edge [penwidth=2]
|
|
|
|
subgraph cluster_0 {
|
|
color=red
|
|
0 [label="Enter function getNothing" style="filled" fillcolor=red];
|
|
subgraph cluster_1 {
|
|
color=blue
|
|
1 [label="Enter block"];
|
|
2 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
|
|
3 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
|
4 [label="Stub" style="filled" fillcolor=gray];
|
|
5 [label="Jump: ^getNothing throw R|java/lang/Exception.Exception|()" style="filled" fillcolor=gray];
|
|
6 [label="Stub" style="filled" fillcolor=gray];
|
|
7 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
8 [label="Exit function getNothing" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
|
}
|
|
0 -> {1};
|
|
1 -> {2};
|
|
2 -> {3};
|
|
3 -> {4} [style=dotted];
|
|
4 -> {5} [style=dotted];
|
|
5 -> {6 8} [style=dotted];
|
|
6 -> {7} [style=dotted];
|
|
7 -> {8} [style=dotted];
|
|
|
|
subgraph cluster_2 {
|
|
color=red
|
|
9 [label="Enter function getNullableNothing" style="filled" fillcolor=red];
|
|
subgraph cluster_3 {
|
|
color=blue
|
|
10 [label="Enter block"];
|
|
11 [label="Const: Null(null)"];
|
|
12 [label="Jump: ^getNullableNothing Null(null)"];
|
|
13 [label="Stub" style="filled" fillcolor=gray];
|
|
14 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
15 [label="Exit function getNullableNothing" style="filled" fillcolor=red];
|
|
}
|
|
9 -> {10};
|
|
10 -> {11};
|
|
11 -> {12};
|
|
12 -> {15};
|
|
12 -> {13} [style=dotted];
|
|
13 -> {14} [style=dotted];
|
|
14 -> {15} [style=dotted];
|
|
|
|
subgraph cluster_4 {
|
|
color=red
|
|
16 [label="Enter function getter" style="filled" fillcolor=red];
|
|
subgraph cluster_5 {
|
|
color=blue
|
|
17 [label="Enter block"];
|
|
18 [label="Const: Int(1)"];
|
|
19 [label="Jump: ^ Int(1)"];
|
|
20 [label="Stub" style="filled" fillcolor=gray];
|
|
21 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
22 [label="Exit function getter" style="filled" fillcolor=red];
|
|
}
|
|
16 -> {17};
|
|
17 -> {18};
|
|
18 -> {19};
|
|
19 -> {22};
|
|
19 -> {20} [style=dotted];
|
|
20 -> {21} [style=dotted];
|
|
21 -> {22} [style=dotted];
|
|
|
|
subgraph cluster_6 {
|
|
color=red
|
|
23 [label="Enter function getter" style="filled" fillcolor=red];
|
|
subgraph cluster_7 {
|
|
color=blue
|
|
24 [label="Enter block"];
|
|
25 [label="Const: Int(2)"];
|
|
26 [label="Jump: ^ Int(2)"];
|
|
27 [label="Stub" style="filled" fillcolor=gray];
|
|
28 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
29 [label="Exit function getter" style="filled" fillcolor=red];
|
|
}
|
|
23 -> {24};
|
|
24 -> {25};
|
|
25 -> {26};
|
|
26 -> {29};
|
|
26 -> {27} [style=dotted];
|
|
27 -> {28} [style=dotted];
|
|
28 -> {29} [style=dotted];
|
|
|
|
subgraph cluster_8 {
|
|
color=red
|
|
30 [label="Enter function myListOf" style="filled" fillcolor=red];
|
|
subgraph cluster_9 {
|
|
color=blue
|
|
31 [label="Enter block"];
|
|
32 [label="Const: Null(null)"];
|
|
33 [label="Check not null: Null(null)!!" style="filled" fillcolor=yellow];
|
|
34 [label="Stub" style="filled" fillcolor=gray];
|
|
35 [label="Jump: ^myListOf Null(null)!!" style="filled" fillcolor=gray];
|
|
36 [label="Stub" style="filled" fillcolor=gray];
|
|
37 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
38 [label="Exit function myListOf" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
|
}
|
|
30 -> {31};
|
|
31 -> {32};
|
|
32 -> {33};
|
|
33 -> {34} [style=dotted];
|
|
34 -> {35} [style=dotted];
|
|
35 -> {36 38} [style=dotted];
|
|
36 -> {37} [style=dotted];
|
|
37 -> {38} [style=dotted];
|
|
|
|
subgraph cluster_10 {
|
|
color=red
|
|
39 [label="Enter function <init>" style="filled" fillcolor=red];
|
|
40 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
|
41 [label="Exit function <init>" style="filled" fillcolor=red];
|
|
}
|
|
39 -> {40};
|
|
40 -> {41};
|
|
|
|
subgraph cluster_11 {
|
|
color=red
|
|
42 [label="Enter property" style="filled" fillcolor=red];
|
|
43 [label="Const: Int(1)"];
|
|
44 [label="Exit property" style="filled" fillcolor=red];
|
|
}
|
|
42 -> {43};
|
|
43 -> {44};
|
|
44 -> {50} [color=green];
|
|
|
|
subgraph cluster_12 {
|
|
color=red
|
|
45 [label="Enter property" style="filled" fillcolor=red];
|
|
46 [label="Const: Boolean(true)"];
|
|
47 [label="Exit property" style="filled" fillcolor=red];
|
|
}
|
|
45 -> {46};
|
|
46 -> {47};
|
|
47 -> {51} [color=green];
|
|
|
|
subgraph cluster_13 {
|
|
color=red
|
|
48 [label="Enter class A" style="filled" fillcolor=red];
|
|
49 [label="Part of class initialization"];
|
|
50 [label="Part of class initialization"];
|
|
51 [label="Exit class A" style="filled" fillcolor=red];
|
|
}
|
|
48 -> {49} [color=green];
|
|
49 -> {42} [color=green];
|
|
49 -> {50} [style=dotted];
|
|
49 -> {42} [style=dashed];
|
|
50 -> {45} [color=green];
|
|
50 -> {51} [style=dotted];
|
|
50 -> {45} [style=dashed];
|
|
|
|
subgraph cluster_14 {
|
|
color=red
|
|
52 [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?|"];
|
|
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>|"];
|
|
subgraph cluster_17 {
|
|
color=blue
|
|
60 [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"];
|
|
}
|
|
subgraph cluster_19 {
|
|
color=blue
|
|
65 [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];
|
|
subgraph cluster_21 {
|
|
color=blue
|
|
74 [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];
|
|
}
|
|
80 [label="Synthetic else branch" style="filled" fillcolor=gray];
|
|
81 [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];
|
|
94 [label="Stub" style="filled" fillcolor=gray];
|
|
95 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
96 [label="Exit when branch result" style="filled" fillcolor=gray];
|
|
97 [label="Exit when" style="filled" fillcolor=gray];
|
|
}
|
|
98 [label="Exit block" style="filled" fillcolor=gray];
|
|
}
|
|
99 [label="Exit loop block" style="filled" fillcolor=gray];
|
|
}
|
|
84 [label="Exit whileloop"];
|
|
}
|
|
85 [label="Exit block"];
|
|
}
|
|
86 [label="Access variable R|<local>/s|"];
|
|
87 [label="Enter safe call"];
|
|
88 [label="Postponed enter to lambda"];
|
|
subgraph cluster_24 {
|
|
color=blue
|
|
100 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
|
subgraph cluster_25 {
|
|
color=blue
|
|
101 [label="Enter block"];
|
|
102 [label="Access variable R|<local>/it|"];
|
|
103 [label="Access variable R|/A.a|"];
|
|
104 [label="Exit block"];
|
|
}
|
|
105 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
|
}
|
|
89 [label="Postponed exit from lambda"];
|
|
90 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
|
91 [label="Exit safe call"];
|
|
92 [label="Exit block"];
|
|
}
|
|
93 [label="Exit function test_0" style="filled" fillcolor=red];
|
|
}
|
|
52 -> {53};
|
|
53 -> {54};
|
|
54 -> {55};
|
|
55 -> {56};
|
|
56 -> {57};
|
|
57 -> {58};
|
|
58 -> {59};
|
|
59 -> {60};
|
|
60 -> {61};
|
|
61 -> {62};
|
|
62 -> {63};
|
|
63 -> {64};
|
|
64 -> {65 84};
|
|
65 -> {66};
|
|
66 -> {67};
|
|
67 -> {68};
|
|
68 -> {69} [style=dotted];
|
|
69 -> {70} [style=dotted];
|
|
70 -> {71} [style=dotted];
|
|
71 -> {72} [style=dotted];
|
|
72 -> {73} [style=dotted];
|
|
73 -> {74} [style=dotted];
|
|
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 -> {97} [style=dotted];
|
|
81 -> {82} [style=dotted];
|
|
82 -> {83} [style=dotted];
|
|
83 -> {84 94} [style=dotted];
|
|
84 -> {85};
|
|
85 -> {86};
|
|
86 -> {87 91};
|
|
87 -> {88};
|
|
88 -> {90 100};
|
|
88 -> {89} [style=dotted];
|
|
88 -> {100} [style=dashed];
|
|
89 -> {90};
|
|
90 -> {91};
|
|
91 -> {92};
|
|
92 -> {93};
|
|
94 -> {95} [style=dotted];
|
|
95 -> {96} [style=dotted];
|
|
96 -> {97} [style=dotted];
|
|
97 -> {98} [style=dotted];
|
|
98 -> {99} [style=dotted];
|
|
99 -> {61} [color=green style=dotted];
|
|
100 -> {101};
|
|
101 -> {102};
|
|
102 -> {103};
|
|
103 -> {104};
|
|
104 -> {105};
|
|
105 -> {89};
|
|
|
|
subgraph cluster_26 {
|
|
color=red
|
|
106 [label="Enter function test_1" style="filled" fillcolor=red];
|
|
subgraph cluster_27 {
|
|
color=blue
|
|
107 [label="Enter block"];
|
|
subgraph cluster_28 {
|
|
color=blue
|
|
108 [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"];
|
|
}
|
|
113 [label="Synthetic else branch"];
|
|
114 [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"];
|
|
}
|
|
123 [label="Exit when branch result"];
|
|
124 [label="Exit when"];
|
|
}
|
|
subgraph cluster_31 {
|
|
color=blue
|
|
125 [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"];
|
|
}
|
|
130 [label="Synthetic else branch"];
|
|
131 [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];
|
|
}
|
|
139 [label="Exit when branch result" style="filled" fillcolor=gray];
|
|
140 [label="Exit when"];
|
|
}
|
|
141 [label="Exit block"];
|
|
}
|
|
142 [label="Exit function test_1" style="filled" fillcolor=red];
|
|
}
|
|
106 -> {107};
|
|
107 -> {108};
|
|
108 -> {109};
|
|
109 -> {110};
|
|
110 -> {111};
|
|
111 -> {112};
|
|
112 -> {113 114};
|
|
113 -> {124};
|
|
114 -> {115};
|
|
115 -> {116};
|
|
116 -> {117};
|
|
117 -> {118 120};
|
|
118 -> {119};
|
|
119 -> {120};
|
|
120 -> {121};
|
|
121 -> {122};
|
|
122 -> {123};
|
|
123 -> {124};
|
|
124 -> {125};
|
|
125 -> {126};
|
|
126 -> {127};
|
|
127 -> {128};
|
|
128 -> {129};
|
|
129 -> {130 131};
|
|
130 -> {140};
|
|
131 -> {132};
|
|
132 -> {133};
|
|
133 -> {134};
|
|
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};
|
|
|
|
}
|