[FIR] Add control flow graph for class initialization

This commit is contained in:
Dmitriy Novozhilov
2020-03-27 14:48:08 +03:00
parent ad9e6517c7
commit 8cb6e8f8af
43 changed files with 7687 additions and 7023 deletions
@@ -23,95 +23,107 @@ digraph implicitReceivers_kt {
subgraph cluster_2 {
color=red
5 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
7 [label="Exit function <init>" style="filled" fillcolor=red];
5 [label="Enter class A" style="filled" fillcolor=red];
6 [label="Exit class A" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
5 -> {6} [color=green];
subgraph cluster_3 {
color=red
8 [label="Enter function bar" style="filled" fillcolor=red];
9 [label="Exit function bar" style="filled" fillcolor=red];
7 [label="Enter function <init>" style="filled" fillcolor=red];
8 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
9 [label="Exit function <init>" style="filled" fillcolor=red];
}
7 -> {8};
8 -> {9};
subgraph cluster_4 {
color=red
10 [label="Enter function with" style="filled" fillcolor=red];
11 [label="Exit function with" style="filled" fillcolor=red];
10 [label="Enter function bar" style="filled" fillcolor=red];
11 [label="Exit function bar" style="filled" fillcolor=red];
}
10 -> {11};
subgraph cluster_5 {
color=red
12 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
13 [label="Enter when"];
subgraph cluster_7 {
color=blue
14 [label="Enter when branch condition "];
15 [label="Access variable this@R|/test_1|"];
16 [label="Type operator: (this@R|/test_1| is R|A|)"];
17 [label="Exit when branch condition"];
}
subgraph cluster_8 {
color=blue
18 [label="Enter when branch condition else"];
19 [label="Exit when branch condition"];
}
20 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
21 [label="Enter block"];
22 [label="Access variable this@R|/test_1|"];
23 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
24 [label="Function call: <Unresolved name: foo>#()"];
25 [label="Exit block"];
}
26 [label="Exit when branch result"];
27 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
28 [label="Enter block"];
29 [label="Access variable this@R|/test_1|"];
30 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
31 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
32 [label="Exit block"];
}
33 [label="Exit when branch result"];
34 [label="Exit when"];
}
35 [label="Access variable this@R|/test_1|"];
36 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
37 [label="Function call: <Unresolved name: foo>#()"];
38 [label="Exit function test_1" style="filled" fillcolor=red];
12 [label="Enter class B" style="filled" fillcolor=red];
13 [label="Exit class B" style="filled" fillcolor=red];
}
12 -> {13} [color=green];
subgraph cluster_6 {
color=red
14 [label="Enter function with" style="filled" fillcolor=red];
15 [label="Exit function with" style="filled" fillcolor=red];
}
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
subgraph cluster_7 {
color=red
16 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
17 [label="Enter when"];
subgraph cluster_9 {
color=blue
18 [label="Enter when branch condition "];
19 [label="Access variable this@R|/test_1|"];
20 [label="Type operator: (this@R|/test_1| is R|A|)"];
21 [label="Exit when branch condition"];
}
subgraph cluster_10 {
color=blue
22 [label="Enter when branch condition else"];
23 [label="Exit when branch condition"];
}
24 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
25 [label="Enter block"];
26 [label="Access variable this@R|/test_1|"];
27 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
28 [label="Function call: <Unresolved name: foo>#()"];
29 [label="Exit block"];
}
30 [label="Exit when branch result"];
31 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
32 [label="Enter block"];
33 [label="Access variable this@R|/test_1|"];
34 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
35 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
36 [label="Exit block"];
}
37 [label="Exit when branch result"];
38 [label="Exit when"];
}
39 [label="Access variable this@R|/test_1|"];
40 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
41 [label="Function call: <Unresolved name: foo>#()"];
42 [label="Exit function test_1" style="filled" fillcolor=red];
}
16 -> {17};
17 -> {27 18};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
21 -> {31 22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {34};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
30 -> {38};
31 -> {32};
32 -> {33};
33 -> {34};
@@ -119,72 +131,72 @@ digraph implicitReceivers_kt {
35 -> {36};
36 -> {37};
37 -> {38};
subgraph cluster_11 {
color=red
39 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
40 [label="Enter when"];
subgraph cluster_13 {
color=blue
41 [label="Enter when branch condition "];
42 [label="Access variable this@R|/test_2|"];
43 [label="Type operator: (this@R|/test_2| !is R|A|)"];
44 [label="Exit when branch condition"];
}
subgraph cluster_14 {
color=blue
45 [label="Enter when branch condition else"];
46 [label="Exit when branch condition"];
}
47 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
48 [label="Enter block"];
49 [label="Access variable this@R|/test_2|"];
50 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
51 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
52 [label="Exit block"];
}
53 [label="Exit when branch result"];
54 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
55 [label="Enter block"];
56 [label="Access variable this@R|/test_2|"];
57 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
58 [label="Function call: <Unresolved name: foo>#()"];
59 [label="Exit block"];
}
60 [label="Exit when branch result"];
61 [label="Exit when"];
}
62 [label="Access variable this@R|/test_2|"];
63 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
64 [label="Function call: <Unresolved name: foo>#()"];
65 [label="Exit function test_2" style="filled" fillcolor=red];
}
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
subgraph cluster_13 {
color=red
43 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
44 [label="Enter when"];
subgraph cluster_15 {
color=blue
45 [label="Enter when branch condition "];
46 [label="Access variable this@R|/test_2|"];
47 [label="Type operator: (this@R|/test_2| !is R|A|)"];
48 [label="Exit when branch condition"];
}
subgraph cluster_16 {
color=blue
49 [label="Enter when branch condition else"];
50 [label="Exit when branch condition"];
}
51 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
52 [label="Enter block"];
53 [label="Access variable this@R|/test_2|"];
54 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
55 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
56 [label="Exit block"];
}
57 [label="Exit when branch result"];
58 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
59 [label="Enter block"];
60 [label="Access variable this@R|/test_2|"];
61 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
62 [label="Function call: <Unresolved name: foo>#()"];
63 [label="Exit block"];
}
64 [label="Exit when branch result"];
65 [label="Exit when"];
}
66 [label="Access variable this@R|/test_2|"];
67 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
68 [label="Function call: <Unresolved name: foo>#()"];
69 [label="Exit function test_2" style="filled" fillcolor=red];
}
43 -> {44};
44 -> {54 45};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
48 -> {58 49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {61};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
57 -> {65};
58 -> {59};
59 -> {60};
60 -> {61};
@@ -192,197 +204,197 @@ digraph implicitReceivers_kt {
62 -> {63};
63 -> {64};
64 -> {65};
subgraph cluster_17 {
color=red
66 [label="Enter function test_3" style="filled" fillcolor=red];
67 [label="Access variable R|<local>/a|"];
68 [label="Postponed enter to lambda"];
subgraph cluster_18 {
color=blue
69 [label="Enter function anonymousFunction"];
70 [label="Access variable R|<local>/b|"];
71 [label="Postponed enter to lambda"];
subgraph cluster_19 {
color=blue
72 [label="Enter function anonymousFunction"];
73 [label="Access variable R|<local>/c|"];
74 [label="Postponed enter to lambda"];
subgraph cluster_20 {
color=blue
75 [label="Enter function anonymousFunction"];
76 [label="Access variable this@R|special/anonymous|"];
77 [label="Type operator: (this@R|special/anonymous| as R|A|)"];
78 [label="Access variable this@R|special/anonymous|"];
79 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
80 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
81 [label="Exit function anonymousFunction"];
}
82 [label="Call arguments union" style="filled" fillcolor=yellow];
83 [label="Postponed exit from lambda"];
84 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
85 [label="Access variable this@R|special/anonymous|"];
86 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
87 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
88 [label="Exit function anonymousFunction"];
}
89 [label="Postponed exit from lambda"];
90 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
91 [label="Exit function anonymousFunction"];
}
92 [label="Call arguments union" style="filled" fillcolor=yellow];
93 [label="Postponed exit from lambda"];
94 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
95 [label="Exit function test_3" style="filled" fillcolor=red];
}
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
68 -> {93} [color=red];
69 -> {70};
subgraph cluster_19 {
color=red
70 [label="Enter function test_3" style="filled" fillcolor=red];
71 [label="Access variable R|<local>/a|"];
72 [label="Postponed enter to lambda"];
subgraph cluster_20 {
color=blue
73 [label="Enter function anonymousFunction"];
74 [label="Access variable R|<local>/b|"];
75 [label="Postponed enter to lambda"];
subgraph cluster_21 {
color=blue
76 [label="Enter function anonymousFunction"];
77 [label="Access variable R|<local>/c|"];
78 [label="Postponed enter to lambda"];
subgraph cluster_22 {
color=blue
79 [label="Enter function anonymousFunction"];
80 [label="Access variable this@R|special/anonymous|"];
81 [label="Type operator: (this@R|special/anonymous| as R|A|)"];
82 [label="Access variable this@R|special/anonymous|"];
83 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
84 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
85 [label="Exit function anonymousFunction"];
}
86 [label="Call arguments union" style="filled" fillcolor=yellow];
87 [label="Postponed exit from lambda"];
88 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
89 [label="Access variable this@R|special/anonymous|"];
90 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
91 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
92 [label="Exit function anonymousFunction"];
}
93 [label="Postponed exit from lambda"];
94 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
95 [label="Exit function anonymousFunction"];
}
96 [label="Call arguments union" style="filled" fillcolor=yellow];
97 [label="Postponed exit from lambda"];
98 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
99 [label="Exit function test_3" style="filled" fillcolor=red];
}
70 -> {71};
71 -> {72};
71 -> {89} [color=red];
72 -> {73};
72 -> {97} [color=red];
73 -> {74};
74 -> {75};
74 -> {83} [color=red];
75 -> {76};
75 -> {93} [color=red];
76 -> {77};
77 -> {78};
78 -> {79};
78 -> {87} [color=red];
79 -> {80};
80 -> {81};
81 -> {83} [color=green];
81 -> {82} [color=red];
82 -> {84} [color=red];
83 -> {84} [color=green];
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89} [color=green];
88 -> {92} [color=red];
85 -> {87} [color=green];
85 -> {86} [color=red];
86 -> {88} [color=red];
87 -> {88} [color=green];
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {93} [color=green];
91 -> {92} [color=red];
92 -> {94} [color=red];
93 -> {94} [color=green];
91 -> {92};
92 -> {93} [color=green];
92 -> {96} [color=red];
93 -> {94};
94 -> {95};
95 -> {97} [color=green];
95 -> {96} [color=red];
96 -> {98} [color=red];
97 -> {98} [color=green];
98 -> {99};
subgraph cluster_21 {
subgraph cluster_23 {
color=red
96 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_22 {
100 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
97 [label="Enter when"];
subgraph cluster_23 {
color=blue
98 [label="Enter when branch condition "];
99 [label="Access variable this@R|/test_4|"];
100 [label="Type operator: (this@R|/test_4| !is R|A|)"];
101 [label="Exit when branch condition"];
}
subgraph cluster_24 {
color=blue
102 [label="Enter when branch condition else"];
103 [label="Exit when branch condition"];
}
104 [label="Enter when branch result"];
101 [label="Enter when"];
subgraph cluster_25 {
color=blue
105 [label="Enter block"];
subgraph cluster_26 {
102 [label="Enter when branch condition "];
103 [label="Access variable this@R|/test_4|"];
104 [label="Type operator: (this@R|/test_4| !is R|A|)"];
105 [label="Exit when branch condition"];
}
subgraph cluster_26 {
color=blue
106 [label="Enter when branch condition else"];
107 [label="Exit when branch condition"];
}
108 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
109 [label="Enter block"];
subgraph cluster_28 {
color=blue
106 [label="Enter when"];
subgraph cluster_27 {
color=blue
107 [label="Enter when branch condition "];
108 [label="Access variable this@R|/test_4|"];
109 [label="Type operator: (this@R|/test_4| !is R|B|)"];
110 [label="Exit when branch condition"];
}
subgraph cluster_28 {
color=blue
111 [label="Enter when branch condition else"];
112 [label="Exit when branch condition"];
}
113 [label="Enter when branch result"];
110 [label="Enter when"];
subgraph cluster_29 {
color=blue
114 [label="Enter block"];
115 [label="Access variable this@R|/test_4|"];
116 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
117 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
118 [label="Access variable this@R|/test_4|"];
119 [label="Function call: this@R|/test_4|.R|/B.bar|()"];
120 [label="Function call: this@R|/test_4|.R|/B.bar|()"];
121 [label="Exit block"];
111 [label="Enter when branch condition "];
112 [label="Access variable this@R|/test_4|"];
113 [label="Type operator: (this@R|/test_4| !is R|B|)"];
114 [label="Exit when branch condition"];
}
122 [label="Exit when branch result"];
123 [label="Enter when branch result"];
subgraph cluster_30 {
color=blue
124 [label="Enter block"];
125 [label="Access variable this@R|/test_4|"];
126 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
127 [label="Function call: <Unresolved name: bar>#()"];
128 [label="Access variable this@R|/test_4|"];
129 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
130 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
131 [label="Exit block"];
115 [label="Enter when branch condition else"];
116 [label="Exit when branch condition"];
}
132 [label="Exit when branch result"];
133 [label="Exit when"];
117 [label="Enter when branch result"];
subgraph cluster_31 {
color=blue
118 [label="Enter block"];
119 [label="Access variable this@R|/test_4|"];
120 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
121 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
122 [label="Access variable this@R|/test_4|"];
123 [label="Function call: this@R|/test_4|.R|/B.bar|()"];
124 [label="Function call: this@R|/test_4|.R|/B.bar|()"];
125 [label="Exit block"];
}
126 [label="Exit when branch result"];
127 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
128 [label="Enter block"];
129 [label="Access variable this@R|/test_4|"];
130 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
131 [label="Function call: <Unresolved name: bar>#()"];
132 [label="Access variable this@R|/test_4|"];
133 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
134 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
135 [label="Exit block"];
}
136 [label="Exit when branch result"];
137 [label="Exit when"];
}
134 [label="Exit block"];
138 [label="Exit block"];
}
135 [label="Exit when branch result"];
136 [label="Enter when branch result"];
subgraph cluster_31 {
139 [label="Exit when branch result"];
140 [label="Enter when branch result"];
subgraph cluster_33 {
color=blue
137 [label="Enter block"];
138 [label="Access variable this@R|/test_4|"];
139 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"];
140 [label="Function call: <Unresolved name: foo>#()"];
141 [label="Access variable this@R|/test_4|"];
142 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
143 [label="Function call: <Unresolved name: bar>#()"];
144 [label="Exit block"];
141 [label="Enter block"];
142 [label="Access variable this@R|/test_4|"];
143 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"];
144 [label="Function call: <Unresolved name: foo>#()"];
145 [label="Access variable this@R|/test_4|"];
146 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
147 [label="Function call: <Unresolved name: bar>#()"];
148 [label="Exit block"];
}
145 [label="Exit when branch result"];
146 [label="Exit when"];
149 [label="Exit when branch result"];
150 [label="Exit when"];
}
147 [label="Access variable this@R|/test_4|"];
148 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"];
149 [label="Function call: <Unresolved name: foo>#()"];
150 [label="Access variable this@R|/test_4|"];
151 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
152 [label="Function call: <Unresolved name: bar>#()"];
153 [label="Exit function test_4" style="filled" fillcolor=red];
151 [label="Access variable this@R|/test_4|"];
152 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"];
153 [label="Function call: <Unresolved name: foo>#()"];
154 [label="Access variable this@R|/test_4|"];
155 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
156 [label="Function call: <Unresolved name: bar>#()"];
157 [label="Exit function test_4" style="filled" fillcolor=red];
}
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {136 102};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
105 -> {140 106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {123 111};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
114 -> {127 115};
115 -> {116};
116 -> {117};
117 -> {118};
@@ -390,11 +402,11 @@ digraph implicitReceivers_kt {
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {133};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {127};
126 -> {137};
127 -> {128};
128 -> {129};
129 -> {130};
@@ -403,11 +415,11 @@ digraph implicitReceivers_kt {
132 -> {133};
133 -> {134};
134 -> {135};
135 -> {146};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {140};
139 -> {150};
140 -> {141};
141 -> {142};
142 -> {143};
@@ -421,59 +433,63 @@ digraph implicitReceivers_kt {
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
155 -> {156};
156 -> {157};
subgraph cluster_32 {
subgraph cluster_34 {
color=red
154 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_33 {
158 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_35 {
color=blue
155 [label="Enter when"];
subgraph cluster_34 {
color=blue
156 [label="Enter when branch condition "];
157 [label="Access variable this@R|/test_5|"];
158 [label="Type operator: (this@R|/test_5| is R|kotlin/collections/List<*>|)"];
159 [label="Exit when branch condition"];
}
subgraph cluster_35 {
159 [label="Enter when"];
subgraph cluster_36 {
color=blue
160 [label="Enter when branch condition "];
161 [label="Access variable this@R|/test_5|"];
162 [label="Type operator: (this@R|/test_5| is R|kotlin/String|)"];
162 [label="Type operator: (this@R|/test_5| is R|kotlin/collections/List<*>|)"];
163 [label="Exit when branch condition"];
}
subgraph cluster_36 {
color=blue
164 [label="Enter when branch condition else"];
165 [label="Exit when branch condition"];
}
166 [label="Enter when branch result"];
subgraph cluster_37 {
color=blue
167 [label="Enter block"];
168 [label="Const: Int(0)"];
169 [label="Exit block"];
164 [label="Enter when branch condition "];
165 [label="Access variable this@R|/test_5|"];
166 [label="Type operator: (this@R|/test_5| is R|kotlin/String|)"];
167 [label="Exit when branch condition"];
}
170 [label="Exit when branch result"];
171 [label="Enter when branch result"];
subgraph cluster_38 {
color=blue
172 [label="Enter block"];
173 [label="Access variable R|kotlin/String.length|"];
174 [label="Exit block"];
168 [label="Enter when branch condition else"];
169 [label="Exit when branch condition"];
}
175 [label="Exit when branch result"];
176 [label="Enter when branch result"];
170 [label="Enter when branch result"];
subgraph cluster_39 {
color=blue
177 [label="Enter block"];
178 [label="Access variable R|kotlin/collections/List.size|"];
179 [label="Exit block"];
171 [label="Enter block"];
172 [label="Const: Int(0)"];
173 [label="Exit block"];
}
180 [label="Exit when branch result"];
181 [label="Exit when"];
174 [label="Exit when branch result"];
175 [label="Enter when branch result"];
subgraph cluster_40 {
color=blue
176 [label="Enter block"];
177 [label="Access variable R|kotlin/String.length|"];
178 [label="Exit block"];
}
179 [label="Exit when branch result"];
180 [label="Enter when branch result"];
subgraph cluster_41 {
color=blue
181 [label="Enter block"];
182 [label="Access variable R|kotlin/collections/List.size|"];
183 [label="Exit block"];
}
184 [label="Exit when branch result"];
185 [label="Exit when"];
}
182 [label="Jump: ^test_5 when () {
186 [label="Jump: ^test_5 when () {
(this@R|/test_5| is R|kotlin/collections/List<*>|) -> {
this@R|/test_5|.R|kotlin/collections/List.size|
}
@@ -485,60 +501,60 @@ digraph implicitReceivers_kt {
}
}
"];
183 [label="Stub" style="filled" fillcolor=gray];
184 [label="Exit function test_5" style="filled" fillcolor=red];
187 [label="Stub" style="filled" fillcolor=gray];
188 [label="Exit function test_5" style="filled" fillcolor=red];
}
154 -> {155};
155 -> {156};
156 -> {157};
157 -> {158};
158 -> {159};
159 -> {176 160};
159 -> {160};
160 -> {161};
161 -> {162};
162 -> {163};
163 -> {171 164};
163 -> {180 164};
164 -> {165};
165 -> {166};
166 -> {167};
167 -> {168};
167 -> {175 168};
168 -> {169};
169 -> {170};
170 -> {181};
170 -> {171};
171 -> {172};
172 -> {173};
173 -> {174};
174 -> {175};
175 -> {181};
174 -> {185};
175 -> {176};
176 -> {177};
177 -> {178};
178 -> {179};
179 -> {180};
179 -> {185};
180 -> {181};
181 -> {182};
182 -> {184};
182 -> {183} [style=dotted];
183 -> {184} [style=dotted];
182 -> {183};
183 -> {184};
184 -> {185};
185 -> {186};
186 -> {188};
186 -> {187} [style=dotted];
187 -> {188} [style=dotted];
subgraph cluster_40 {
subgraph cluster_42 {
color=red
185 [label="Enter function test_6" style="filled" fillcolor=red];
186 [label="Access variable this@R|/test_6|"];
187 [label="Type operator: (this@R|/test_6| as R|kotlin/collections/List<*>|)"];
188 [label="Access variable R|kotlin/collections/List.size|"];
189 [label="Access variable this@R|/test_6|"];
190 [label="Type operator: (this@R|/test_6| as R|kotlin/String|)"];
191 [label="Access variable R|kotlin/String.length|"];
192 [label="Exit function test_6" style="filled" fillcolor=red];
189 [label="Enter function test_6" style="filled" fillcolor=red];
190 [label="Access variable this@R|/test_6|"];
191 [label="Type operator: (this@R|/test_6| as R|kotlin/collections/List<*>|)"];
192 [label="Access variable R|kotlin/collections/List.size|"];
193 [label="Access variable this@R|/test_6|"];
194 [label="Type operator: (this@R|/test_6| as R|kotlin/String|)"];
195 [label="Access variable R|kotlin/String.length|"];
196 [label="Exit function test_6" style="filled" fillcolor=red];
}
185 -> {186};
186 -> {187};
187 -> {188};
188 -> {189};
189 -> {190};
190 -> {191};
191 -> {192};
192 -> {193};
193 -> {194};
194 -> {195};
195 -> {196};
}