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
@@ -68,10 +68,11 @@ digraph endlessLoops_kt {
28 [label="Exit whileloop"];
}
29 [label="Access variable R|<local>/x|"];
30 [label="Function call: R|<local>/x|.R|/A.foo|()"];
31 [label="Exit block"];
30 [label="Smart cast: R|<local>/x|"];
31 [label="Function call: R|<local>/x|.R|/A.foo|()"];
32 [label="Exit block"];
}
32 [label="Exit function test_1" style="filled" fillcolor=red];
33 [label="Exit function test_1" style="filled" fillcolor=red];
}
4 -> {5};
5 -> {6};
@@ -103,532 +104,543 @@ digraph endlessLoops_kt {
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
subgraph cluster_11 {
color=red
33 [label="Enter function test_2" style="filled" fillcolor=red];
34 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
34 [label="Enter block"];
35 [label="Enter block"];
subgraph cluster_13 {
color=blue
35 [label="Enter while loop"];
36 [label="Enter while loop"];
subgraph cluster_14 {
color=blue
36 [label="Enter loop condition"];
37 [label="Const: Boolean(true)"];
38 [label="Exit loop condition"];
37 [label="Enter loop condition"];
38 [label="Const: Boolean(true)"];
39 [label="Exit loop condition"];
}
subgraph cluster_15 {
color=blue
39 [label="Enter loop block"];
40 [label="Enter loop block"];
subgraph cluster_16 {
color=blue
40 [label="Enter block"];
41 [label="Enter block"];
subgraph cluster_17 {
color=blue
41 [label="Enter when"];
42 [label="Enter when"];
subgraph cluster_18 {
color=blue
42 [label="Enter when branch condition "];
43 [label="Access variable R|<local>/b|"];
44 [label="Exit when branch condition"];
43 [label="Enter when branch condition "];
44 [label="Access variable R|<local>/b|"];
45 [label="Exit when branch condition"];
}
45 [label="Synthetic else branch"];
46 [label="Enter when branch result"];
46 [label="Synthetic else branch"];
47 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
47 [label="Enter block"];
48 [label="Access variable R|<local>/x|"];
49 [label="Type operator: (R|<local>/x| as R|A|)"];
50 [label="Jump: break@@@[Boolean(true)] "];
51 [label="Stub" style="filled" fillcolor=gray];
52 [label="Exit block" style="filled" fillcolor=gray];
48 [label="Enter block"];
49 [label="Access variable R|<local>/x|"];
50 [label="Type operator: (R|<local>/x| as R|A|)"];
51 [label="Jump: break@@@[Boolean(true)] "];
52 [label="Stub" style="filled" fillcolor=gray];
53 [label="Exit block" style="filled" fillcolor=gray];
}
53 [label="Exit when branch result" style="filled" fillcolor=gray];
54 [label="Exit when"];
54 [label="Exit when branch result" style="filled" fillcolor=gray];
55 [label="Exit when"];
}
55 [label="Exit block"];
56 [label="Exit block"];
}
56 [label="Exit loop block"];
57 [label="Exit loop block"];
}
57 [label="Exit whileloop"];
58 [label="Exit whileloop"];
}
58 [label="Access variable R|<local>/x|"];
59 [label="Function call: R|<local>/x|.R|/A.foo|()"];
60 [label="Exit block"];
59 [label="Access variable R|<local>/x|"];
60 [label="Smart cast: R|<local>/x|"];
61 [label="Function call: R|<local>/x|.R|/A.foo|()"];
62 [label="Exit block"];
}
61 [label="Exit function test_2" style="filled" fillcolor=red];
63 [label="Exit function test_2" style="filled" fillcolor=red];
}
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
38 -> {57} [style=dotted];
39 -> {40};
39 -> {58} [style=dotted];
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {46 45};
45 -> {54};
46 -> {47};
44 -> {45};
45 -> {47 46};
46 -> {55};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {57};
50 -> {51} [style=dotted];
50 -> {51};
51 -> {58};
51 -> {52} [style=dotted];
52 -> {53} [style=dotted];
53 -> {54} [style=dotted];
54 -> {55};
54 -> {55} [style=dotted];
55 -> {56};
56 -> {36} [color=green style=dashed];
57 -> {58};
56 -> {57};
57 -> {37} [color=green style=dashed];
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
subgraph cluster_20 {
color=red
62 [label="Enter function test_3" style="filled" fillcolor=red];
64 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
63 [label="Enter block"];
65 [label="Enter block"];
subgraph cluster_22 {
color=blue
64 [label="Enter while loop"];
66 [label="Enter while loop"];
subgraph cluster_23 {
color=blue
65 [label="Enter loop condition"];
66 [label="Const: Boolean(true)"];
67 [label="Exit loop condition"];
67 [label="Enter loop condition"];
68 [label="Const: Boolean(true)"];
69 [label="Exit loop condition"];
}
subgraph cluster_24 {
color=blue
68 [label="Enter loop block"];
70 [label="Enter loop block"];
subgraph cluster_25 {
color=blue
69 [label="Enter block"];
70 [label="Access variable R|<local>/x|"];
71 [label="Type operator: (R|<local>/x| as R|A|)"];
71 [label="Enter block"];
72 [label="Access variable R|<local>/x|"];
73 [label="Type operator: (R|<local>/x| as R|A|)"];
subgraph cluster_26 {
color=blue
72 [label="Enter when"];
74 [label="Enter when"];
subgraph cluster_27 {
color=blue
73 [label="Enter when branch condition "];
74 [label="Access variable R|<local>/b|"];
75 [label="Exit when branch condition"];
75 [label="Enter when branch condition "];
76 [label="Access variable R|<local>/b|"];
77 [label="Exit when branch condition"];
}
76 [label="Synthetic else branch"];
77 [label="Enter when branch result"];
78 [label="Synthetic else branch"];
79 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
78 [label="Enter block"];
79 [label="Jump: break@@@[Boolean(true)] "];
80 [label="Stub" style="filled" fillcolor=gray];
81 [label="Exit block" style="filled" fillcolor=gray];
80 [label="Enter block"];
81 [label="Jump: break@@@[Boolean(true)] "];
82 [label="Stub" style="filled" fillcolor=gray];
83 [label="Exit block" style="filled" fillcolor=gray];
}
82 [label="Exit when branch result" style="filled" fillcolor=gray];
83 [label="Exit when"];
84 [label="Exit when branch result" style="filled" fillcolor=gray];
85 [label="Exit when"];
}
subgraph cluster_29 {
color=blue
84 [label="Enter when"];
86 [label="Enter when"];
subgraph cluster_30 {
color=blue
85 [label="Enter when branch condition "];
86 [label="Access variable R|<local>/b|"];
87 [label="Exit when branch condition"];
87 [label="Enter when branch condition "];
88 [label="Access variable R|<local>/b|"];
89 [label="Exit when branch condition"];
}
88 [label="Synthetic else branch"];
89 [label="Enter when branch result"];
90 [label="Synthetic else branch"];
91 [label="Enter when branch result"];
subgraph cluster_31 {
color=blue
90 [label="Enter block"];
91 [label="Jump: break@@@[Boolean(true)] "];
92 [label="Stub" style="filled" fillcolor=gray];
93 [label="Exit block" style="filled" fillcolor=gray];
92 [label="Enter block"];
93 [label="Jump: break@@@[Boolean(true)] "];
94 [label="Stub" style="filled" fillcolor=gray];
95 [label="Exit block" style="filled" fillcolor=gray];
}
94 [label="Exit when branch result" style="filled" fillcolor=gray];
95 [label="Exit when"];
96 [label="Exit when branch result" style="filled" fillcolor=gray];
97 [label="Exit when"];
}
96 [label="Exit block"];
98 [label="Exit block"];
}
97 [label="Exit loop block"];
99 [label="Exit loop block"];
}
98 [label="Exit whileloop"];
100 [label="Exit whileloop"];
}
99 [label="Access variable R|<local>/x|"];
100 [label="Function call: R|<local>/x|.R|/A.foo|()"];
101 [label="Exit block"];
101 [label="Access variable R|<local>/x|"];
102 [label="Smart cast: R|<local>/x|"];
103 [label="Function call: R|<local>/x|.R|/A.foo|()"];
104 [label="Exit block"];
}
102 [label="Exit function test_3" style="filled" fillcolor=red];
105 [label="Exit function test_3" style="filled" fillcolor=red];
}
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
67 -> {98} [style=dotted];
68 -> {69};
69 -> {70};
69 -> {100} [style=dotted];
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {77 76};
76 -> {83};
77 -> {78};
78 -> {79};
79 -> {98};
79 -> {80} [style=dotted];
80 -> {81} [style=dotted];
75 -> {76};
76 -> {77};
77 -> {79 78};
78 -> {85};
79 -> {80};
80 -> {81};
81 -> {100};
81 -> {82} [style=dotted];
82 -> {83} [style=dotted];
83 -> {84};
84 -> {85};
83 -> {84} [style=dotted];
84 -> {85} [style=dotted];
85 -> {86};
86 -> {87};
87 -> {89 88};
88 -> {95};
89 -> {90};
90 -> {91};
91 -> {98};
91 -> {92} [style=dotted];
92 -> {93} [style=dotted];
87 -> {88};
88 -> {89};
89 -> {91 90};
90 -> {97};
91 -> {92};
92 -> {93};
93 -> {100};
93 -> {94} [style=dotted];
94 -> {95} [style=dotted];
95 -> {96};
96 -> {97};
97 -> {65} [color=green style=dashed];
95 -> {96} [style=dotted];
96 -> {97} [style=dotted];
97 -> {98};
98 -> {99};
99 -> {100};
99 -> {67} [color=green style=dashed];
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
subgraph cluster_32 {
color=red
103 [label="Enter function test_4" style="filled" fillcolor=red];
106 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_33 {
color=blue
104 [label="Enter block"];
107 [label="Enter block"];
subgraph cluster_34 {
color=blue
105 [label="Enter while loop"];
108 [label="Enter while loop"];
subgraph cluster_35 {
color=blue
106 [label="Enter loop condition"];
107 [label="Const: Boolean(true)"];
108 [label="Exit loop condition"];
109 [label="Enter loop condition"];
110 [label="Const: Boolean(true)"];
111 [label="Exit loop condition"];
}
subgraph cluster_36 {
color=blue
109 [label="Enter loop block"];
112 [label="Enter loop block"];
subgraph cluster_37 {
color=blue
110 [label="Enter block"];
113 [label="Enter block"];
subgraph cluster_38 {
color=blue
111 [label="Enter when"];
114 [label="Enter when"];
subgraph cluster_39 {
color=blue
112 [label="Enter when branch condition "];
113 [label="Access variable R|<local>/b|"];
114 [label="Exit when branch condition"];
115 [label="Enter when branch condition "];
116 [label="Access variable R|<local>/b|"];
117 [label="Exit when branch condition"];
}
115 [label="Synthetic else branch"];
116 [label="Enter when branch result"];
118 [label="Synthetic else branch"];
119 [label="Enter when branch result"];
subgraph cluster_40 {
color=blue
117 [label="Enter block"];
118 [label="Access variable R|<local>/x|"];
119 [label="Type operator: (R|<local>/x| as R|A|)"];
120 [label="Jump: break@@@[Boolean(true)] "];
121 [label="Stub" style="filled" fillcolor=gray];
122 [label="Exit block" style="filled" fillcolor=gray];
120 [label="Enter block"];
121 [label="Access variable R|<local>/x|"];
122 [label="Type operator: (R|<local>/x| as R|A|)"];
123 [label="Jump: break@@@[Boolean(true)] "];
124 [label="Stub" style="filled" fillcolor=gray];
125 [label="Exit block" style="filled" fillcolor=gray];
}
123 [label="Exit when branch result" style="filled" fillcolor=gray];
124 [label="Exit when"];
126 [label="Exit when branch result" style="filled" fillcolor=gray];
127 [label="Exit when"];
}
125 [label="Jump: break@@@[Boolean(true)] "];
126 [label="Stub" style="filled" fillcolor=gray];
127 [label="Exit block" style="filled" fillcolor=gray];
128 [label="Jump: break@@@[Boolean(true)] "];
129 [label="Stub" style="filled" fillcolor=gray];
130 [label="Exit block" style="filled" fillcolor=gray];
}
128 [label="Exit loop block" style="filled" fillcolor=gray];
131 [label="Exit loop block" style="filled" fillcolor=gray];
}
129 [label="Exit whileloop"];
132 [label="Exit whileloop"];
}
130 [label="Access variable R|<local>/x|"];
131 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
132 [label="Exit block"];
133 [label="Access variable R|<local>/x|"];
134 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
135 [label="Exit block"];
}
133 [label="Exit function test_4" style="filled" fillcolor=red];
136 [label="Exit function test_4" style="filled" fillcolor=red];
}
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
108 -> {129} [style=dotted];
109 -> {110};
110 -> {111};
111 -> {112};
111 -> {132} [style=dotted];
112 -> {113};
113 -> {114};
114 -> {116 115};
115 -> {124};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
117 -> {119 118};
118 -> {127};
119 -> {120};
120 -> {129};
120 -> {121} [style=dotted];
121 -> {122} [style=dotted];
122 -> {123} [style=dotted];
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {132};
123 -> {124} [style=dotted];
124 -> {125};
125 -> {129};
124 -> {125} [style=dotted];
125 -> {126} [style=dotted];
126 -> {127} [style=dotted];
127 -> {128} [style=dotted];
128 -> {106} [color=green style=dotted];
129 -> {130};
130 -> {131};
131 -> {132};
127 -> {128};
128 -> {132};
128 -> {129} [style=dotted];
129 -> {130} [style=dotted];
130 -> {131} [style=dotted];
131 -> {109} [color=green style=dotted];
132 -> {133};
133 -> {134};
134 -> {135};
135 -> {136};
subgraph cluster_41 {
color=red
134 [label="Enter function test_5" style="filled" fillcolor=red];
137 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_42 {
color=blue
135 [label="Enter block"];
138 [label="Enter block"];
subgraph cluster_43 {
color=blue
136 [label="Enter do-while loop"];
139 [label="Enter do-while loop"];
subgraph cluster_44 {
color=blue
137 [label="Enter loop block"];
140 [label="Enter loop block"];
subgraph cluster_45 {
color=blue
138 [label="Enter block"];
141 [label="Enter block"];
subgraph cluster_46 {
color=blue
139 [label="Enter when"];
142 [label="Enter when"];
subgraph cluster_47 {
color=blue
140 [label="Enter when branch condition "];
141 [label="Access variable R|<local>/b|"];
142 [label="Exit when branch condition"];
143 [label="Enter when branch condition "];
144 [label="Access variable R|<local>/b|"];
145 [label="Exit when branch condition"];
}
143 [label="Synthetic else branch"];
144 [label="Enter when branch result"];
146 [label="Synthetic else branch"];
147 [label="Enter when branch result"];
subgraph cluster_48 {
color=blue
145 [label="Enter block"];
146 [label="Access variable R|<local>/x|"];
147 [label="Type operator: (R|<local>/x| as R|A|)"];
148 [label="Jump: break@@@[Boolean(true)] "];
149 [label="Stub" style="filled" fillcolor=gray];
150 [label="Exit block" style="filled" fillcolor=gray];
148 [label="Enter block"];
149 [label="Access variable R|<local>/x|"];
150 [label="Type operator: (R|<local>/x| as R|A|)"];
151 [label="Jump: break@@@[Boolean(true)] "];
152 [label="Stub" style="filled" fillcolor=gray];
153 [label="Exit block" style="filled" fillcolor=gray];
}
151 [label="Exit when branch result" style="filled" fillcolor=gray];
152 [label="Exit when"];
154 [label="Exit when branch result" style="filled" fillcolor=gray];
155 [label="Exit when"];
}
153 [label="Exit block"];
156 [label="Exit block"];
}
154 [label="Exit loop block"];
157 [label="Exit loop block"];
}
subgraph cluster_49 {
color=blue
155 [label="Enter loop condition"];
156 [label="Const: Boolean(true)"];
157 [label="Exit loop condition"];
158 [label="Enter loop condition"];
159 [label="Const: Boolean(true)"];
160 [label="Exit loop condition"];
}
158 [label="Exit do-whileloop"];
161 [label="Exit do-whileloop"];
}
159 [label="Access variable R|<local>/x|"];
160 [label="Function call: R|<local>/x|.R|/A.foo|()"];
161 [label="Exit block"];
162 [label="Access variable R|<local>/x|"];
163 [label="Smart cast: R|<local>/x|"];
164 [label="Function call: R|<local>/x|.R|/A.foo|()"];
165 [label="Exit block"];
}
162 [label="Exit function test_5" style="filled" fillcolor=red];
166 [label="Exit function test_5" style="filled" fillcolor=red];
}
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {144 143};
143 -> {152};
142 -> {143};
143 -> {144};
144 -> {145};
145 -> {146};
146 -> {147};
145 -> {147 146};
146 -> {155};
147 -> {148};
148 -> {158};
148 -> {149} [style=dotted];
149 -> {150} [style=dotted];
150 -> {151} [style=dotted];
148 -> {149};
149 -> {150};
150 -> {151};
151 -> {161};
151 -> {152} [style=dotted];
152 -> {153};
153 -> {154};
154 -> {155};
152 -> {153} [style=dotted];
153 -> {154} [style=dotted];
154 -> {155} [style=dotted];
155 -> {156};
156 -> {157};
157 -> {158} [style=dotted];
157 -> {137} [color=green style=dashed];
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161};
160 -> {161} [style=dotted];
160 -> {140} [color=green style=dashed];
161 -> {162};
subgraph cluster_50 {
color=red
163 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_51 {
color=blue
164 [label="Enter block"];
subgraph cluster_52 {
color=blue
165 [label="Enter do-while loop"];
subgraph cluster_53 {
color=blue
166 [label="Enter loop block"];
subgraph cluster_54 {
color=blue
167 [label="Enter block"];
168 [label="Access variable R|<local>/x|"];
169 [label="Type operator: (R|<local>/x| as R|A|)"];
subgraph cluster_55 {
color=blue
170 [label="Enter when"];
subgraph cluster_56 {
color=blue
171 [label="Enter when branch condition "];
172 [label="Access variable R|<local>/b|"];
173 [label="Exit when branch condition"];
}
174 [label="Synthetic else branch"];
175 [label="Enter when branch result"];
subgraph cluster_57 {
color=blue
176 [label="Enter block"];
177 [label="Jump: break@@@[Boolean(true)] "];
178 [label="Stub" style="filled" fillcolor=gray];
179 [label="Exit block" style="filled" fillcolor=gray];
}
180 [label="Exit when branch result" style="filled" fillcolor=gray];
181 [label="Exit when"];
}
182 [label="Exit block"];
}
183 [label="Exit loop block"];
}
subgraph cluster_58 {
color=blue
184 [label="Enter loop condition"];
185 [label="Const: Boolean(true)"];
186 [label="Exit loop condition"];
}
187 [label="Exit do-whileloop"];
}
188 [label="Access variable R|<local>/x|"];
189 [label="Function call: R|<local>/x|.R|/A.foo|()"];
190 [label="Exit block"];
}
191 [label="Exit function test_6" style="filled" fillcolor=red];
}
162 -> {163};
163 -> {164};
164 -> {165};
165 -> {166};
166 -> {167};
subgraph cluster_50 {
color=red
167 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_51 {
color=blue
168 [label="Enter block"];
subgraph cluster_52 {
color=blue
169 [label="Enter do-while loop"];
subgraph cluster_53 {
color=blue
170 [label="Enter loop block"];
subgraph cluster_54 {
color=blue
171 [label="Enter block"];
172 [label="Access variable R|<local>/x|"];
173 [label="Type operator: (R|<local>/x| as R|A|)"];
subgraph cluster_55 {
color=blue
174 [label="Enter when"];
subgraph cluster_56 {
color=blue
175 [label="Enter when branch condition "];
176 [label="Access variable R|<local>/b|"];
177 [label="Exit when branch condition"];
}
178 [label="Synthetic else branch"];
179 [label="Enter when branch result"];
subgraph cluster_57 {
color=blue
180 [label="Enter block"];
181 [label="Jump: break@@@[Boolean(true)] "];
182 [label="Stub" style="filled" fillcolor=gray];
183 [label="Exit block" style="filled" fillcolor=gray];
}
184 [label="Exit when branch result" style="filled" fillcolor=gray];
185 [label="Exit when"];
}
186 [label="Exit block"];
}
187 [label="Exit loop block"];
}
subgraph cluster_58 {
color=blue
188 [label="Enter loop condition"];
189 [label="Const: Boolean(true)"];
190 [label="Exit loop condition"];
}
191 [label="Exit do-whileloop"];
}
192 [label="Access variable R|<local>/x|"];
193 [label="Smart cast: R|<local>/x|"];
194 [label="Function call: R|<local>/x|.R|/A.foo|()"];
195 [label="Exit block"];
}
196 [label="Exit function test_6" style="filled" fillcolor=red];
}
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {172};
172 -> {173};
173 -> {175 174};
174 -> {181};
173 -> {174};
174 -> {175};
175 -> {176};
176 -> {177};
177 -> {187};
177 -> {178} [style=dotted];
178 -> {179} [style=dotted];
179 -> {180} [style=dotted];
180 -> {181} [style=dotted];
181 -> {182};
182 -> {183};
183 -> {184};
184 -> {185};
177 -> {179 178};
178 -> {185};
179 -> {180};
180 -> {181};
181 -> {191};
181 -> {182} [style=dotted];
182 -> {183} [style=dotted];
183 -> {184} [style=dotted];
184 -> {185} [style=dotted];
185 -> {186};
186 -> {187} [style=dotted];
186 -> {166} [color=green style=dashed];
186 -> {187};
187 -> {188};
188 -> {189};
189 -> {190};
190 -> {191};
subgraph cluster_59 {
color=red
192 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_60 {
color=blue
193 [label="Enter block"];
subgraph cluster_61 {
color=blue
194 [label="Enter do-while loop"];
subgraph cluster_62 {
color=blue
195 [label="Enter loop block"];
subgraph cluster_63 {
color=blue
196 [label="Enter block"];
197 [label="Access variable R|<local>/x|"];
198 [label="Type operator: (R|<local>/x| as R|A|)"];
199 [label="Exit block"];
}
200 [label="Exit loop block"];
}
subgraph cluster_64 {
color=blue
201 [label="Enter loop condition"];
202 [label="Const: Boolean(true)"];
203 [label="Exit loop condition"];
}
204 [label="Exit do-whileloop" style="filled" fillcolor=gray];
}
205 [label="Access variable R|<local>/x|" style="filled" fillcolor=gray];
206 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=gray];
207 [label="Exit block" style="filled" fillcolor=gray];
}
208 [label="Exit function test_7" style="filled" fillcolor=red style="filled" fillcolor=gray];
}
190 -> {191} [style=dotted];
190 -> {170} [color=green style=dashed];
191 -> {192};
192 -> {193};
193 -> {194};
194 -> {195};
195 -> {196};
196 -> {197};
subgraph cluster_59 {
color=red
197 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_60 {
color=blue
198 [label="Enter block"];
subgraph cluster_61 {
color=blue
199 [label="Enter do-while loop"];
subgraph cluster_62 {
color=blue
200 [label="Enter loop block"];
subgraph cluster_63 {
color=blue
201 [label="Enter block"];
202 [label="Access variable R|<local>/x|"];
203 [label="Type operator: (R|<local>/x| as R|A|)"];
204 [label="Exit block"];
}
205 [label="Exit loop block"];
}
subgraph cluster_64 {
color=blue
206 [label="Enter loop condition"];
207 [label="Const: Boolean(true)"];
208 [label="Exit loop condition"];
}
209 [label="Exit do-whileloop" style="filled" fillcolor=gray];
}
210 [label="Access variable R|<local>/x|" style="filled" fillcolor=gray];
211 [label="Smart cast: R|<local>/x|" style="filled" fillcolor=gray];
212 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=gray];
213 [label="Exit block" style="filled" fillcolor=gray];
}
214 [label="Exit function test_7" style="filled" fillcolor=red style="filled" fillcolor=gray];
}
197 -> {198};
198 -> {199};
199 -> {200};
200 -> {201};
201 -> {202};
202 -> {203};
203 -> {204} [style=dotted];
203 -> {195} [color=green style=dashed];
204 -> {205} [style=dotted];
205 -> {206} [style=dotted];
206 -> {207} [style=dotted];
207 -> {208} [style=dotted];
203 -> {204};
204 -> {205};
205 -> {206};
206 -> {207};
207 -> {208};
208 -> {209} [style=dotted];
208 -> {200} [color=green style=dashed];
209 -> {210} [style=dotted];
210 -> {211} [style=dotted];
211 -> {212} [style=dotted];
212 -> {213} [style=dotted];
213 -> {214} [style=dotted];
}