FIR. Refactor smart-cast representation in FIR tree

Make smart-casts non-transparent expression without delegation
to underlying FirQualifiedAccessExpression, as children delegation in
fir tree has unclear semantics
Remove two different kinds of tree nodes for smart-casts
This commit is contained in:
Simon Ogorodnik
2022-08-02 00:49:24 +02:00
committed by teamcity
parent bc9db58b3c
commit 513af2dfbc
154 changed files with 9573 additions and 9320 deletions
@@ -55,15 +55,16 @@ digraph equalsToBoolean_kt {
color=blue
23 [label="Enter block"];
24 [label="Access variable R|<local>/b|"];
25 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
26 [label="Exit block"];
25 [label="Smart cast: R|<local>/b|"];
26 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
27 [label="Exit block"];
}
27 [label="Exit when branch result"];
28 [label="Exit when"];
28 [label="Exit when branch result"];
29 [label="Exit when"];
}
29 [label="Exit block"];
30 [label="Exit block"];
}
30 [label="Exit function test_1" style="filled" fillcolor=red];
31 [label="Exit function test_1" style="filled" fillcolor=red];
}
4 -> {5};
5 -> {6};
@@ -82,7 +83,7 @@ digraph equalsToBoolean_kt {
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {28};
21 -> {29};
22 -> {23};
23 -> {24};
24 -> {25};
@@ -91,56 +92,57 @@ digraph equalsToBoolean_kt {
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
subgraph cluster_9 {
color=red
31 [label="Enter function test_2" style="filled" fillcolor=red];
32 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
32 [label="Enter block"];
33 [label="Enter block"];
subgraph cluster_11 {
color=blue
33 [label="Enter when"];
34 [label="Enter when"];
subgraph cluster_12 {
color=blue
34 [label="Enter when branch condition "];
35 [label="Access variable R|<local>/b|"];
36 [label="Const: Boolean(true)"];
37 [label="Equality operator =="];
38 [label="Const: Boolean(true)"];
39 [label="Equality operator !="];
40 [label="Exit when branch condition"];
35 [label="Enter when branch condition "];
36 [label="Access variable R|<local>/b|"];
37 [label="Const: Boolean(true)"];
38 [label="Equality operator =="];
39 [label="Const: Boolean(true)"];
40 [label="Equality operator !="];
41 [label="Exit when branch condition"];
}
subgraph cluster_13 {
color=blue
41 [label="Enter when branch condition else"];
42 [label="Exit when branch condition"];
42 [label="Enter when branch condition else"];
43 [label="Exit when branch condition"];
}
43 [label="Enter when branch result"];
44 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/b|"];
46 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
47 [label="Exit block"];
45 [label="Enter block"];
46 [label="Access variable R|<local>/b|"];
47 [label="Smart cast: R|<local>/b|"];
48 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
49 [label="Exit block"];
}
48 [label="Exit when branch result"];
49 [label="Enter when branch result"];
50 [label="Exit when branch result"];
51 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
50 [label="Enter block"];
51 [label="Access variable R|<local>/b|"];
52 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
53 [label="Exit block"];
52 [label="Enter block"];
53 [label="Access variable R|<local>/b|"];
54 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
55 [label="Exit block"];
}
54 [label="Exit when branch result"];
55 [label="Exit when"];
56 [label="Exit when branch result"];
57 [label="Exit when"];
}
56 [label="Exit block"];
58 [label="Exit block"];
}
57 [label="Exit function test_2" style="filled" fillcolor=red];
59 [label="Exit function test_2" style="filled" fillcolor=red];
}
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
@@ -149,74 +151,75 @@ digraph equalsToBoolean_kt {
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {49 41};
41 -> {42};
40 -> {41};
41 -> {51 42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {55};
48 -> {49};
49 -> {50};
50 -> {51};
50 -> {57};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
subgraph cluster_16 {
color=red
58 [label="Enter function test_3" style="filled" fillcolor=red];
60 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
59 [label="Enter block"];
61 [label="Enter block"];
subgraph cluster_18 {
color=blue
60 [label="Enter when"];
62 [label="Enter when"];
subgraph cluster_19 {
color=blue
61 [label="Enter when branch condition "];
62 [label="Access variable R|<local>/b|"];
63 [label="Const: Boolean(true)"];
64 [label="Equality operator =="];
65 [label="Const: Boolean(false)"];
63 [label="Enter when branch condition "];
64 [label="Access variable R|<local>/b|"];
65 [label="Const: Boolean(true)"];
66 [label="Equality operator =="];
67 [label="Exit when branch condition"];
67 [label="Const: Boolean(false)"];
68 [label="Equality operator =="];
69 [label="Exit when branch condition"];
}
subgraph cluster_20 {
color=blue
68 [label="Enter when branch condition else"];
69 [label="Exit when branch condition"];
70 [label="Enter when branch condition else"];
71 [label="Exit when branch condition"];
}
70 [label="Enter when branch result"];
72 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
71 [label="Enter block"];
72 [label="Access variable R|<local>/b|"];
73 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
74 [label="Exit block"];
73 [label="Enter block"];
74 [label="Access variable R|<local>/b|"];
75 [label="Smart cast: R|<local>/b|"];
76 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
77 [label="Exit block"];
}
75 [label="Exit when branch result"];
76 [label="Enter when branch result"];
78 [label="Exit when branch result"];
79 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
77 [label="Enter block"];
78 [label="Access variable R|<local>/b|"];
79 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
80 [label="Exit block"];
80 [label="Enter block"];
81 [label="Access variable R|<local>/b|"];
82 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
83 [label="Exit block"];
}
81 [label="Exit when branch result"];
82 [label="Exit when"];
84 [label="Exit when branch result"];
85 [label="Exit when"];
}
83 [label="Exit block"];
86 [label="Exit block"];
}
84 [label="Exit function test_3" style="filled" fillcolor=red];
87 [label="Exit function test_3" style="filled" fillcolor=red];
}
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
@@ -224,390 +227,395 @@ digraph equalsToBoolean_kt {
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {76 68};
67 -> {68};
68 -> {69};
69 -> {70};
69 -> {79 70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {82};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
78 -> {85};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
subgraph cluster_23 {
color=red
85 [label="Enter function test_4" style="filled" fillcolor=red];
88 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
86 [label="Enter block"];
89 [label="Enter block"];
subgraph cluster_25 {
color=blue
87 [label="Enter when"];
90 [label="Enter when"];
subgraph cluster_26 {
color=blue
88 [label="Enter when branch condition "];
89 [label="Access variable R|<local>/b|"];
90 [label="Const: Boolean(true)"];
91 [label="Equality operator =="];
92 [label="Const: Boolean(false)"];
93 [label="Equality operator !="];
94 [label="Exit when branch condition"];
91 [label="Enter when branch condition "];
92 [label="Access variable R|<local>/b|"];
93 [label="Const: Boolean(true)"];
94 [label="Equality operator =="];
95 [label="Const: Boolean(false)"];
96 [label="Equality operator !="];
97 [label="Exit when branch condition"];
}
subgraph cluster_27 {
color=blue
95 [label="Enter when branch condition else"];
96 [label="Exit when branch condition"];
98 [label="Enter when branch condition else"];
99 [label="Exit when branch condition"];
}
97 [label="Enter when branch result"];
100 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
98 [label="Enter block"];
99 [label="Access variable R|<local>/b|"];
100 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
101 [label="Exit block"];
101 [label="Enter block"];
102 [label="Access variable R|<local>/b|"];
103 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
104 [label="Exit block"];
}
102 [label="Exit when branch result"];
103 [label="Enter when branch result"];
105 [label="Exit when branch result"];
106 [label="Enter when branch result"];
subgraph cluster_29 {
color=blue
104 [label="Enter block"];
105 [label="Access variable R|<local>/b|"];
106 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
107 [label="Exit block"];
107 [label="Enter block"];
108 [label="Access variable R|<local>/b|"];
109 [label="Smart cast: R|<local>/b|"];
110 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
111 [label="Exit block"];
}
108 [label="Exit when branch result"];
109 [label="Exit when"];
112 [label="Exit when branch result"];
113 [label="Exit when"];
}
110 [label="Exit block"];
114 [label="Exit block"];
}
111 [label="Exit function test_4" style="filled" fillcolor=red];
115 [label="Exit function test_4" style="filled" fillcolor=red];
}
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {103 95};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
97 -> {106 98};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {109};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
105 -> {113};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
subgraph cluster_30 {
color=red
112 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
113 [label="Enter block"];
subgraph cluster_32 {
color=blue
114 [label="Enter when"];
subgraph cluster_33 {
color=blue
115 [label="Enter when branch condition "];
116 [label="Access variable R|<local>/b|"];
117 [label="Const: Boolean(true)"];
118 [label="Equality operator !="];
119 [label="Const: Boolean(true)"];
120 [label="Equality operator =="];
121 [label="Exit when branch condition"];
}
subgraph cluster_34 {
color=blue
122 [label="Enter when branch condition else"];
123 [label="Exit when branch condition"];
}
124 [label="Enter when branch result"];
subgraph cluster_35 {
color=blue
125 [label="Enter block"];
126 [label="Access variable R|<local>/b|"];
127 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
128 [label="Exit block"];
}
129 [label="Exit when branch result"];
130 [label="Enter when branch result"];
subgraph cluster_36 {
color=blue
131 [label="Enter block"];
132 [label="Access variable R|<local>/b|"];
133 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
134 [label="Exit block"];
}
135 [label="Exit when branch result"];
136 [label="Exit when"];
}
137 [label="Exit block"];
}
138 [label="Exit function test_5" style="filled" fillcolor=red];
}
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
subgraph cluster_30 {
color=red
116 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
117 [label="Enter block"];
subgraph cluster_32 {
color=blue
118 [label="Enter when"];
subgraph cluster_33 {
color=blue
119 [label="Enter when branch condition "];
120 [label="Access variable R|<local>/b|"];
121 [label="Const: Boolean(true)"];
122 [label="Equality operator !="];
123 [label="Const: Boolean(true)"];
124 [label="Equality operator =="];
125 [label="Exit when branch condition"];
}
subgraph cluster_34 {
color=blue
126 [label="Enter when branch condition else"];
127 [label="Exit when branch condition"];
}
128 [label="Enter when branch result"];
subgraph cluster_35 {
color=blue
129 [label="Enter block"];
130 [label="Access variable R|<local>/b|"];
131 [label="Smart cast: R|<local>/b|"];
132 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
133 [label="Exit block"];
}
134 [label="Exit when branch result"];
135 [label="Enter when branch result"];
subgraph cluster_36 {
color=blue
136 [label="Enter block"];
137 [label="Access variable R|<local>/b|"];
138 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
139 [label="Exit block"];
}
140 [label="Exit when branch result"];
141 [label="Exit when"];
}
142 [label="Exit block"];
}
143 [label="Exit function test_5" style="filled" fillcolor=red];
}
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {130 122};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
125 -> {135 126};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {136};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {135};
134 -> {141};
135 -> {136};
136 -> {137};
137 -> {138};
subgraph cluster_37 {
color=red
139 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_38 {
color=blue
140 [label="Enter block"];
subgraph cluster_39 {
color=blue
141 [label="Enter when"];
subgraph cluster_40 {
color=blue
142 [label="Enter when branch condition "];
143 [label="Access variable R|<local>/b|"];
144 [label="Const: Boolean(true)"];
145 [label="Equality operator !="];
146 [label="Const: Boolean(true)"];
147 [label="Equality operator !="];
148 [label="Exit when branch condition"];
}
subgraph cluster_41 {
color=blue
149 [label="Enter when branch condition else"];
150 [label="Exit when branch condition"];
}
151 [label="Enter when branch result"];
subgraph cluster_42 {
color=blue
152 [label="Enter block"];
153 [label="Access variable R|<local>/b|"];
154 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
155 [label="Exit block"];
}
156 [label="Exit when branch result"];
157 [label="Enter when branch result"];
subgraph cluster_43 {
color=blue
158 [label="Enter block"];
159 [label="Access variable R|<local>/b|"];
160 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
161 [label="Exit block"];
}
162 [label="Exit when branch result"];
163 [label="Exit when"];
}
164 [label="Exit block"];
}
165 [label="Exit function test_6" style="filled" fillcolor=red];
}
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {144};
subgraph cluster_37 {
color=red
144 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_38 {
color=blue
145 [label="Enter block"];
subgraph cluster_39 {
color=blue
146 [label="Enter when"];
subgraph cluster_40 {
color=blue
147 [label="Enter when branch condition "];
148 [label="Access variable R|<local>/b|"];
149 [label="Const: Boolean(true)"];
150 [label="Equality operator !="];
151 [label="Const: Boolean(true)"];
152 [label="Equality operator !="];
153 [label="Exit when branch condition"];
}
subgraph cluster_41 {
color=blue
154 [label="Enter when branch condition else"];
155 [label="Exit when branch condition"];
}
156 [label="Enter when branch result"];
subgraph cluster_42 {
color=blue
157 [label="Enter block"];
158 [label="Access variable R|<local>/b|"];
159 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
160 [label="Exit block"];
}
161 [label="Exit when branch result"];
162 [label="Enter when branch result"];
subgraph cluster_43 {
color=blue
163 [label="Enter block"];
164 [label="Access variable R|<local>/b|"];
165 [label="Smart cast: R|<local>/b|"];
166 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
167 [label="Exit block"];
}
168 [label="Exit when branch result"];
169 [label="Exit when"];
}
170 [label="Exit block"];
}
171 [label="Exit function test_6" style="filled" fillcolor=red];
}
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {157 149};
148 -> {149};
149 -> {150};
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
153 -> {162 154};
154 -> {155};
155 -> {156};
156 -> {163};
156 -> {157};
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {162};
161 -> {169};
162 -> {163};
163 -> {164};
164 -> {165};
subgraph cluster_44 {
color=red
166 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_45 {
color=blue
167 [label="Enter block"];
subgraph cluster_46 {
color=blue
168 [label="Enter when"];
subgraph cluster_47 {
color=blue
169 [label="Enter when branch condition "];
170 [label="Access variable R|<local>/b|"];
171 [label="Const: Boolean(true)"];
172 [label="Equality operator !="];
173 [label="Const: Boolean(false)"];
174 [label="Equality operator =="];
175 [label="Exit when branch condition"];
}
subgraph cluster_48 {
color=blue
176 [label="Enter when branch condition else"];
177 [label="Exit when branch condition"];
}
178 [label="Enter when branch result"];
subgraph cluster_49 {
color=blue
179 [label="Enter block"];
180 [label="Access variable R|<local>/b|"];
181 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
182 [label="Exit block"];
}
183 [label="Exit when branch result"];
184 [label="Enter when branch result"];
subgraph cluster_50 {
color=blue
185 [label="Enter block"];
186 [label="Access variable R|<local>/b|"];
187 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
188 [label="Exit block"];
}
189 [label="Exit when branch result"];
190 [label="Exit when"];
}
191 [label="Exit block"];
}
192 [label="Exit function test_7" style="filled" fillcolor=red];
}
165 -> {166};
166 -> {167};
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {172};
subgraph cluster_44 {
color=red
172 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_45 {
color=blue
173 [label="Enter block"];
subgraph cluster_46 {
color=blue
174 [label="Enter when"];
subgraph cluster_47 {
color=blue
175 [label="Enter when branch condition "];
176 [label="Access variable R|<local>/b|"];
177 [label="Const: Boolean(true)"];
178 [label="Equality operator !="];
179 [label="Const: Boolean(false)"];
180 [label="Equality operator =="];
181 [label="Exit when branch condition"];
}
subgraph cluster_48 {
color=blue
182 [label="Enter when branch condition else"];
183 [label="Exit when branch condition"];
}
184 [label="Enter when branch result"];
subgraph cluster_49 {
color=blue
185 [label="Enter block"];
186 [label="Access variable R|<local>/b|"];
187 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
188 [label="Exit block"];
}
189 [label="Exit when branch result"];
190 [label="Enter when branch result"];
subgraph cluster_50 {
color=blue
191 [label="Enter block"];
192 [label="Access variable R|<local>/b|"];
193 [label="Smart cast: R|<local>/b|"];
194 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
195 [label="Exit block"];
}
196 [label="Exit when branch result"];
197 [label="Exit when"];
}
198 [label="Exit block"];
}
199 [label="Exit function test_7" style="filled" fillcolor=red];
}
172 -> {173};
173 -> {174};
174 -> {175};
175 -> {184 176};
175 -> {176};
176 -> {177};
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
181 -> {182};
181 -> {190 182};
182 -> {183};
183 -> {190};
183 -> {184};
184 -> {185};
185 -> {186};
186 -> {187};
187 -> {188};
188 -> {189};
189 -> {190};
189 -> {197};
190 -> {191};
191 -> {192};
subgraph cluster_51 {
color=red
193 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_52 {
color=blue
194 [label="Enter block"];
subgraph cluster_53 {
color=blue
195 [label="Enter when"];
subgraph cluster_54 {
color=blue
196 [label="Enter when branch condition "];
197 [label="Access variable R|<local>/b|"];
198 [label="Const: Boolean(true)"];
199 [label="Equality operator !="];
200 [label="Const: Boolean(false)"];
201 [label="Equality operator !="];
202 [label="Exit when branch condition"];
}
subgraph cluster_55 {
color=blue
203 [label="Enter when branch condition else"];
204 [label="Exit when branch condition"];
}
205 [label="Enter when branch result"];
subgraph cluster_56 {
color=blue
206 [label="Enter block"];
207 [label="Access variable R|<local>/b|"];
208 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
209 [label="Exit block"];
}
210 [label="Exit when branch result"];
211 [label="Enter when branch result"];
subgraph cluster_57 {
color=blue
212 [label="Enter block"];
213 [label="Access variable R|<local>/b|"];
214 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
215 [label="Exit block"];
}
216 [label="Exit when branch result"];
217 [label="Exit when"];
}
218 [label="Exit block"];
}
219 [label="Exit function test_8" style="filled" fillcolor=red];
}
192 -> {193};
193 -> {194};
194 -> {195};
195 -> {196};
196 -> {197};
197 -> {198};
198 -> {199};
199 -> {200};
subgraph cluster_51 {
color=red
200 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_52 {
color=blue
201 [label="Enter block"];
subgraph cluster_53 {
color=blue
202 [label="Enter when"];
subgraph cluster_54 {
color=blue
203 [label="Enter when branch condition "];
204 [label="Access variable R|<local>/b|"];
205 [label="Const: Boolean(true)"];
206 [label="Equality operator !="];
207 [label="Const: Boolean(false)"];
208 [label="Equality operator !="];
209 [label="Exit when branch condition"];
}
subgraph cluster_55 {
color=blue
210 [label="Enter when branch condition else"];
211 [label="Exit when branch condition"];
}
212 [label="Enter when branch result"];
subgraph cluster_56 {
color=blue
213 [label="Enter block"];
214 [label="Access variable R|<local>/b|"];
215 [label="Smart cast: R|<local>/b|"];
216 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
217 [label="Exit block"];
}
218 [label="Exit when branch result"];
219 [label="Enter when branch result"];
subgraph cluster_57 {
color=blue
220 [label="Enter block"];
221 [label="Access variable R|<local>/b|"];
222 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()"];
223 [label="Exit block"];
}
224 [label="Exit when branch result"];
225 [label="Exit when"];
}
226 [label="Exit block"];
}
227 [label="Exit function test_8" style="filled" fillcolor=red];
}
200 -> {201};
201 -> {202};
202 -> {211 203};
202 -> {203};
203 -> {204};
204 -> {205};
205 -> {206};
206 -> {207};
207 -> {208};
208 -> {209};
209 -> {210};
210 -> {217};
209 -> {219 210};
210 -> {211};
211 -> {212};
212 -> {213};
213 -> {214};
@@ -615,6 +623,14 @@ digraph equalsToBoolean_kt {
215 -> {216};
216 -> {217};
217 -> {218};
218 -> {219};
218 -> {225};
219 -> {220};
220 -> {221};
221 -> {222};
222 -> {223};
223 -> {224};
224 -> {225};
225 -> {226};
226 -> {227};
}