Test: FIR CFA: index nodes in rendering order

This commit is contained in:
pyos
2022-12-11 01:22:45 +01:00
committed by Dmitriy Novozhilov
parent a9397b7b23
commit 54f32a6fba
71 changed files with 6272 additions and 6323 deletions
@@ -5,20 +5,20 @@ digraph annotatedLocalClass_kt {
subgraph cluster_0 {
color=red
3 [label="Enter class Ann" style="filled" fillcolor=red];
4 [label="Exit class Ann" style="filled" fillcolor=red];
0 [label="Enter class Ann" style="filled" fillcolor=red];
1 [label="Exit class Ann" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
2 [label="Enter function <init>" style="filled" fillcolor=red];
3 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
4 [label="Exit function <init>" style="filled" fillcolor=red];
}
3 -> {4} [color=green];
4 -> {0} [color=green];
4 -> {0} [style=dashed];
0 -> {1};
1 -> {2};
0 -> {1} [color=green];
1 -> {2} [color=green];
1 -> {2} [style=dashed];
2 -> {3};
3 -> {4};
subgraph cluster_2 {
color=red
@@ -5,18 +5,18 @@ digraph complex_kt {
subgraph cluster_0 {
color=red
2 [label="Enter class AutoCloseable" style="filled" fillcolor=red];
3 [label="Exit class AutoCloseable" style="filled" fillcolor=red];
0 [label="Enter class AutoCloseable" style="filled" fillcolor=red];
1 [label="Exit class AutoCloseable" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function close" style="filled" fillcolor=red];
1 [label="Exit function close" style="filled" fillcolor=red];
2 [label="Enter function close" style="filled" fillcolor=red];
3 [label="Exit function close" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
3 -> {0} [color=green];
3 -> {0} [style=dashed];
0 -> {1};
0 -> {1} [color=green];
1 -> {2} [color=green];
1 -> {2} [style=dashed];
2 -> {3};
subgraph cluster_2 {
color=red
@@ -30,66 +30,66 @@ digraph defaultArguments_kt {
8 [label="Enter default value of y"];
subgraph cluster_3 {
color=blue
16 [label="Enter default value of y" style="filled" fillcolor=red];
17 [label="Access variable R|<local>/x|"];
18 [label="Type operator: (R|<local>/x| as R|kotlin/String|)"];
19 [label="Exit default value of y" style="filled" fillcolor=red];
9 [label="Enter default value of y" style="filled" fillcolor=red];
10 [label="Access variable R|<local>/x|"];
11 [label="Type operator: (R|<local>/x| as R|kotlin/String|)"];
12 [label="Exit default value of y" style="filled" fillcolor=red];
}
9 [label="Exit default value of y"];
10 [label="Enter default value of z"];
13 [label="Exit default value of y"];
14 [label="Enter default value of z"];
subgraph cluster_4 {
color=blue
20 [label="Enter default value of z" style="filled" fillcolor=red];
21 [label="Postponed enter to lambda"];
15 [label="Enter default value of z" style="filled" fillcolor=red];
16 [label="Postponed enter to lambda"];
subgraph cluster_5 {
color=blue
25 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
17 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
26 [label="Enter block"];
27 [label="Function call: R|/foo|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
18 [label="Enter block"];
19 [label="Function call: R|/foo|()" style="filled" fillcolor=yellow];
20 [label="Exit block"];
}
29 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
21 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
22 [label="Postponed exit from lambda"];
23 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
24 [label="Exit default value of z" style="filled" fillcolor=red];
}
11 [label="Exit default value of z"];
25 [label="Exit default value of z"];
subgraph cluster_7 {
color=blue
12 [label="Enter block"];
13 [label="Function call: R|/foo|()" style="filled" fillcolor=yellow];
14 [label="Exit block"];
26 [label="Enter block"];
27 [label="Function call: R|/foo|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
15 [label="Exit function test" style="filled" fillcolor=red];
29 [label="Exit function test" style="filled" fillcolor=red];
}
7 -> {8};
8 -> {9 16};
8 -> {16} [style=dashed];
8 -> {9 13};
8 -> {9} [style=dashed];
9 -> {10};
10 -> {11 20};
10 -> {20} [style=dashed];
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
16 -> {17};
14 -> {15 25};
14 -> {15} [style=dashed];
15 -> {16};
16 -> {17 23};
16 -> {22} [style=dotted];
16 -> {17} [style=dashed];
17 -> {18};
18 -> {19};
19 -> {9};
19 -> {20};
20 -> {21};
21 -> {23 25};
21 -> {22} [style=dotted];
21 -> {25} [style=dashed];
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {11};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {22};
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -28,243 +28,314 @@ digraph flowFromInplaceLambda3_kt {
subgraph cluster_3 {
color=red
15 [label="Enter function atLeastOnce" style="filled" fillcolor=red];
7 [label="Enter function atLeastOnce" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
16 [label="Enter block"];
8 [label="Enter block"];
subgraph cluster_5 {
color=blue
17 [label="Enter block"];
18 [label="Exit block"];
9 [label="Enter block"];
10 [label="Exit block"];
}
19 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
20 [label="Exit block"];
11 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
12 [label="Exit block"];
}
21 [label="Exit function atLeastOnce" style="filled" fillcolor=red];
13 [label="Exit function atLeastOnce" style="filled" fillcolor=red];
}
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
subgraph cluster_6 {
color=red
14 [label="Enter function exactlyOnce" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
15 [label="Enter block"];
subgraph cluster_8 {
color=blue
16 [label="Enter block"];
17 [label="Exit block"];
}
18 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
19 [label="Exit block"];
}
20 [label="Exit function exactlyOnce" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
subgraph cluster_6 {
subgraph cluster_9 {
color=red
30 [label="Enter function exactlyOnce" style="filled" fillcolor=red];
subgraph cluster_7 {
21 [label="Enter function atMostOnce" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
31 [label="Enter block"];
subgraph cluster_8 {
22 [label="Enter block"];
subgraph cluster_11 {
color=blue
32 [label="Enter block"];
33 [label="Exit block"];
23 [label="Enter block"];
24 [label="Exit block"];
}
34 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
35 [label="Exit block"];
25 [label="Exit block"];
}
36 [label="Exit function exactlyOnce" style="filled" fillcolor=red];
26 [label="Exit function atMostOnce" style="filled" fillcolor=red];
}
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
subgraph cluster_12 {
color=red
27 [label="Enter function test1" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
28 [label="Enter block"];
29 [label="Variable declaration: lvar x: R|kotlin/Any?|"];
30 [label="Const: String()"];
31 [label="Assignment: R|<local>/x|"];
32 [label="Access variable R|<local>/x|"];
33 [label="Smart cast: R|<local>/x|"];
34 [label="Access variable R|kotlin/String.length|"];
35 [label="Postponed enter to lambda"];
subgraph cluster_14 {
color=blue
36 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
37 [label="Enter block"];
38 [label="Const: Int(1)"];
39 [label="Assignment: R|<local>/x|"];
40 [label="Exit block"];
}
41 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
42 [label="Postponed exit from lambda"];
43 [label="Function call: R|/unknown|(...)" style="filled" fillcolor=yellow];
44 [label="Access variable R|<local>/x|"];
45 [label="Smart cast: R|<local>/x|"];
46 [label="Access variable <Unresolved name: length>#"];
47 [label="Access variable R|<local>/x|"];
48 [label="Smart cast: R|<local>/x|"];
49 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()" style="filled" fillcolor=yellow];
50 [label="Exit block"];
}
51 [label="Exit function test1" style="filled" fillcolor=red];
}
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
subgraph cluster_9 {
color=red
45 [label="Enter function atMostOnce" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
46 [label="Enter block"];
subgraph cluster_11 {
color=blue
47 [label="Enter block"];
48 [label="Exit block"];
}
49 [label="Exit block"];
}
50 [label="Exit function atMostOnce" style="filled" fillcolor=red];
}
35 -> {36 42 43};
35 -> {36} [style=dashed];
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
42 -> {35} [color=green style=dashed];
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
subgraph cluster_12 {
subgraph cluster_16 {
color=red
59 [label="Enter function test1" style="filled" fillcolor=red];
subgraph cluster_13 {
52 [label="Enter function test1m" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
60 [label="Enter block"];
61 [label="Variable declaration: lvar x: R|kotlin/Any?|"];
62 [label="Const: String()"];
63 [label="Assignment: R|<local>/x|"];
64 [label="Access variable R|<local>/x|"];
65 [label="Smart cast: R|<local>/x|"];
66 [label="Access variable R|kotlin/String.length|"];
67 [label="Postponed enter to lambda"];
subgraph cluster_14 {
53 [label="Enter block"];
54 [label="Variable declaration: lvar x: R|kotlin/Any?|"];
55 [label="Const: String()"];
56 [label="Assignment: R|<local>/x|"];
57 [label="Access variable R|<local>/x|"];
58 [label="Smart cast: R|<local>/x|"];
59 [label="Access variable R|kotlin/String.length|"];
60 [label="Postponed enter to lambda"];
subgraph cluster_18 {
color=blue
78 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_15 {
61 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
79 [label="Enter block"];
80 [label="Const: Int(1)"];
81 [label="Assignment: R|<local>/x|"];
82 [label="Exit block"];
62 [label="Enter block"];
63 [label="Const: String()"];
64 [label="Assignment: R|<local>/x|"];
65 [label="Exit block"];
}
83 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
66 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
68 [label="Postponed exit from lambda"];
69 [label="Function call: R|/unknown|(...)" style="filled" fillcolor=yellow];
70 [label="Access variable R|<local>/x|"];
71 [label="Smart cast: R|<local>/x|"];
72 [label="Access variable <Unresolved name: length>#"];
73 [label="Access variable R|<local>/x|"];
74 [label="Smart cast: R|<local>/x|"];
75 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()" style="filled" fillcolor=yellow];
76 [label="Exit block"];
67 [label="Postponed exit from lambda"];
68 [label="Function call: R|/unknown|(...)" style="filled" fillcolor=yellow];
69 [label="Access variable R|<local>/x|"];
70 [label="Smart cast: R|<local>/x|"];
71 [label="Access variable R|kotlin/String.length|"];
72 [label="Exit block"];
}
77 [label="Exit function test1" style="filled" fillcolor=red];
73 [label="Exit function test1m" style="filled" fillcolor=red];
}
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
60 -> {61 67 68};
60 -> {61} [style=dashed];
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68 69 78};
67 -> {78} [style=dashed];
67 -> {68};
67 -> {60} [color=green style=dashed];
68 -> {69};
68 -> {67} [color=green style=dashed];
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
subgraph cluster_20 {
color=red
74 [label="Enter function test2" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
75 [label="Enter block"];
76 [label="Variable declaration: lvar x: R|kotlin/Any?|"];
77 [label="Const: String()"];
78 [label="Assignment: R|<local>/x|"];
79 [label="Access variable R|<local>/x|"];
80 [label="Smart cast: R|<local>/x|"];
81 [label="Access variable R|kotlin/String.length|"];
82 [label="Postponed enter to lambda"];
subgraph cluster_22 {
color=blue
83 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
84 [label="Enter block"];
85 [label="Const: Int(1)"];
86 [label="Assignment: R|<local>/x|"];
87 [label="Exit block"];
}
88 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
89 [label="Postponed exit from lambda"];
90 [label="Function call: R|/atLeastOnce|(...)" style="filled" fillcolor=yellow];
91 [label="Access variable R|<local>/x|"];
92 [label="Smart cast: R|<local>/x|"];
93 [label="Access variable <Unresolved name: length>#"];
94 [label="Access variable R|<local>/x|"];
95 [label="Smart cast: R|<local>/x|"];
96 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
97 [label="Exit block"];
}
98 [label="Exit function test2" style="filled" fillcolor=red];
}
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {68};
subgraph cluster_16 {
color=red
84 [label="Enter function test1m" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
85 [label="Enter block"];
86 [label="Variable declaration: lvar x: R|kotlin/Any?|"];
87 [label="Const: String()"];
88 [label="Assignment: R|<local>/x|"];
89 [label="Access variable R|<local>/x|"];
90 [label="Smart cast: R|<local>/x|"];
91 [label="Access variable R|kotlin/String.length|"];
92 [label="Postponed enter to lambda"];
subgraph cluster_18 {
color=blue
100 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
101 [label="Enter block"];
102 [label="Const: String()"];
103 [label="Assignment: R|<local>/x|"];
104 [label="Exit block"];
}
105 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
93 [label="Postponed exit from lambda"];
94 [label="Function call: R|/unknown|(...)" style="filled" fillcolor=yellow];
95 [label="Access variable R|<local>/x|"];
96 [label="Smart cast: R|<local>/x|"];
97 [label="Access variable R|kotlin/String.length|"];
98 [label="Exit block"];
}
99 [label="Exit function test1m" style="filled" fillcolor=red];
}
82 -> {83 90};
82 -> {89} [style=dotted];
82 -> {83} [style=dashed];
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
89 -> {82} [color=green style=dashed];
90 -> {91};
91 -> {92};
92 -> {93 94 100};
92 -> {100} [style=dashed];
92 -> {93};
93 -> {94};
93 -> {92} [color=green style=dashed];
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
subgraph cluster_24 {
color=red
99 [label="Enter function test3" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
100 [label="Enter block"];
101 [label="Variable declaration: lvar x: R|kotlin/Any?|"];
102 [label="Const: String()"];
103 [label="Assignment: R|<local>/x|"];
104 [label="Access variable R|<local>/x|"];
105 [label="Smart cast: R|<local>/x|"];
106 [label="Access variable R|kotlin/String.length|"];
107 [label="Postponed enter to lambda"];
subgraph cluster_26 {
color=blue
108 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_27 {
color=blue
109 [label="Enter block"];
110 [label="Const: Int(1)"];
111 [label="Assignment: R|<local>/x|"];
112 [label="Exit block"];
}
113 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
114 [label="Postponed exit from lambda"];
115 [label="Function call: R|/exactlyOnce|(...)" style="filled" fillcolor=yellow];
116 [label="Access variable R|<local>/x|"];
117 [label="Smart cast: R|<local>/x|"];
118 [label="Access variable <Unresolved name: length>#"];
119 [label="Access variable R|<local>/x|"];
120 [label="Smart cast: R|<local>/x|"];
121 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
122 [label="Exit block"];
}
123 [label="Exit function test3" style="filled" fillcolor=red];
}
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {93};
subgraph cluster_20 {
color=red
106 [label="Enter function test2" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
107 [label="Enter block"];
108 [label="Variable declaration: lvar x: R|kotlin/Any?|"];
109 [label="Const: String()"];
110 [label="Assignment: R|<local>/x|"];
111 [label="Access variable R|<local>/x|"];
112 [label="Smart cast: R|<local>/x|"];
113 [label="Access variable R|kotlin/String.length|"];
114 [label="Postponed enter to lambda"];
subgraph cluster_22 {
color=blue
125 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
126 [label="Enter block"];
127 [label="Const: Int(1)"];
128 [label="Assignment: R|<local>/x|"];
129 [label="Exit block"];
}
130 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
115 [label="Postponed exit from lambda"];
116 [label="Function call: R|/atLeastOnce|(...)" style="filled" fillcolor=yellow];
117 [label="Access variable R|<local>/x|"];
118 [label="Smart cast: R|<local>/x|"];
119 [label="Access variable <Unresolved name: length>#"];
120 [label="Access variable R|<local>/x|"];
121 [label="Smart cast: R|<local>/x|"];
122 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
123 [label="Exit block"];
}
124 [label="Exit function test2" style="filled" fillcolor=red];
}
105 -> {106};
106 -> {107};
107 -> {108};
107 -> {108 115};
107 -> {114} [style=dotted];
107 -> {108} [style=dashed];
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {116 125};
114 -> {115} [style=dotted];
114 -> {125} [style=dashed];
114 -> {115};
115 -> {116};
115 -> {114} [color=green style=dashed];
116 -> {117};
117 -> {118};
118 -> {119};
@@ -272,62 +343,61 @@ digraph flowFromInplaceLambda3_kt {
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
subgraph cluster_28 {
color=red
124 [label="Enter function test4" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
125 [label="Enter block"];
126 [label="Variable declaration: lvar x: R|kotlin/Any?|"];
127 [label="Const: String()"];
128 [label="Assignment: R|<local>/x|"];
129 [label="Access variable R|<local>/x|"];
130 [label="Smart cast: R|<local>/x|"];
131 [label="Access variable R|kotlin/String.length|"];
132 [label="Postponed enter to lambda"];
subgraph cluster_30 {
color=blue
133 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
134 [label="Enter block"];
135 [label="Const: Int(1)"];
136 [label="Assignment: R|<local>/x|"];
137 [label="Exit block"];
}
138 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
139 [label="Postponed exit from lambda"];
140 [label="Function call: R|/atMostOnce|(...)" style="filled" fillcolor=yellow];
141 [label="Access variable R|<local>/x|"];
142 [label="Smart cast: R|<local>/x|"];
143 [label="Access variable <Unresolved name: length>#"];
144 [label="Access variable R|<local>/x|"];
145 [label="Smart cast: R|<local>/x|"];
146 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()" style="filled" fillcolor=yellow];
147 [label="Exit block"];
}
148 [label="Exit function test4" style="filled" fillcolor=red];
}
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
130 -> {115};
subgraph cluster_24 {
color=red
131 [label="Enter function test3" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
132 [label="Enter block"];
133 [label="Variable declaration: lvar x: R|kotlin/Any?|"];
134 [label="Const: String()"];
135 [label="Assignment: R|<local>/x|"];
136 [label="Access variable R|<local>/x|"];
137 [label="Smart cast: R|<local>/x|"];
138 [label="Access variable R|kotlin/String.length|"];
139 [label="Postponed enter to lambda"];
subgraph cluster_26 {
color=blue
150 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_27 {
color=blue
151 [label="Enter block"];
152 [label="Const: Int(1)"];
153 [label="Assignment: R|<local>/x|"];
154 [label="Exit block"];
}
155 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
140 [label="Postponed exit from lambda"];
141 [label="Function call: R|/exactlyOnce|(...)" style="filled" fillcolor=yellow];
142 [label="Access variable R|<local>/x|"];
143 [label="Smart cast: R|<local>/x|"];
144 [label="Access variable <Unresolved name: length>#"];
145 [label="Access variable R|<local>/x|"];
146 [label="Smart cast: R|<local>/x|"];
147 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
148 [label="Exit block"];
}
149 [label="Exit function test3" style="filled" fillcolor=red];
}
130 -> {131};
131 -> {132};
132 -> {133};
132 -> {133 139 140};
132 -> {133} [style=dashed];
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {141 150};
139 -> {140} [style=dotted];
139 -> {150} [style=dashed];
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
@@ -336,75 +406,5 @@ digraph flowFromInplaceLambda3_kt {
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
155 -> {140};
subgraph cluster_28 {
color=red
156 [label="Enter function test4" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
157 [label="Enter block"];
158 [label="Variable declaration: lvar x: R|kotlin/Any?|"];
159 [label="Const: String()"];
160 [label="Assignment: R|<local>/x|"];
161 [label="Access variable R|<local>/x|"];
162 [label="Smart cast: R|<local>/x|"];
163 [label="Access variable R|kotlin/String.length|"];
164 [label="Postponed enter to lambda"];
subgraph cluster_30 {
color=blue
175 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
176 [label="Enter block"];
177 [label="Const: Int(1)"];
178 [label="Assignment: R|<local>/x|"];
179 [label="Exit block"];
}
180 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
165 [label="Postponed exit from lambda"];
166 [label="Function call: R|/atMostOnce|(...)" style="filled" fillcolor=yellow];
167 [label="Access variable R|<local>/x|"];
168 [label="Smart cast: R|<local>/x|"];
169 [label="Access variable <Unresolved name: length>#"];
170 [label="Access variable R|<local>/x|"];
171 [label="Smart cast: R|<local>/x|"];
172 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()" style="filled" fillcolor=yellow];
173 [label="Exit block"];
}
174 [label="Exit function test4" style="filled" fillcolor=red];
}
156 -> {157};
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {162};
162 -> {163};
163 -> {164};
164 -> {165 166 175};
164 -> {175} [style=dashed];
165 -> {166};
166 -> {167};
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {172};
172 -> {173};
173 -> {174};
175 -> {176};
176 -> {177};
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {165};
}
File diff suppressed because it is too large Load Diff
@@ -5,90 +5,90 @@ digraph initBlock_kt {
subgraph cluster_0 {
color=red
9 [label="Enter class Foo" style="filled" fillcolor=red];
10 [label="Part of class initialization"];
0 [label="Enter class Foo" style="filled" fillcolor=red];
1 [label="Part of class initialization"];
subgraph cluster_1 {
color=blue
3 [label="Enter init block" style="filled" fillcolor=red];
2 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
4 [label="Enter block"];
5 [label="Const: Int(1)"];
6 [label="Variable declaration: lval x: R|kotlin/Int|"];
7 [label="Exit block"];
3 [label="Enter block"];
4 [label="Const: Int(1)"];
5 [label="Variable declaration: lval x: R|kotlin/Int|"];
6 [label="Exit block"];
}
8 [label="Exit init block" style="filled" fillcolor=red];
7 [label="Exit init block" style="filled" fillcolor=red];
}
11 [label="Exit class Foo" style="filled" fillcolor=red];
8 [label="Exit class Foo" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
9 [label="Enter function <init>" style="filled" fillcolor=red];
10 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
11 [label="Exit function <init>" style="filled" fillcolor=red];
}
9 -> {10} [color=green];
10 -> {3} [color=green];
10 -> {11} [style=dotted];
10 -> {3} [style=dashed];
11 -> {0} [color=green];
11 -> {0} [style=dashed];
0 -> {1} [color=green];
1 -> {2} [color=green];
1 -> {8} [style=dotted];
1 -> {2} [style=dashed];
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {11} [color=green];
0 -> {1};
1 -> {2};
7 -> {8} [color=green];
8 -> {9} [color=green];
8 -> {9} [style=dashed];
9 -> {10};
10 -> {11};
subgraph cluster_4 {
color=red
26 [label="Enter class Bar" style="filled" fillcolor=red];
27 [label="Part of class initialization"];
12 [label="Enter class Bar" style="filled" fillcolor=red];
13 [label="Part of class initialization"];
subgraph cluster_5 {
color=blue
15 [label="Enter init block" style="filled" fillcolor=red];
14 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
16 [label="Enter block"];
17 [label="Const: Int(1)"];
18 [label="Variable declaration: lval x: R|kotlin/Int|"];
19 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
20 [label="Throw: throw R|java/lang/Exception.Exception|()"];
21 [label="Stub" style="filled" fillcolor=gray];
22 [label="Const: Int(2)" style="filled" fillcolor=gray];
23 [label="Variable declaration: lval y: R|kotlin/Int|" style="filled" fillcolor=gray];
24 [label="Exit block" style="filled" fillcolor=gray];
15 [label="Enter block"];
16 [label="Const: Int(1)"];
17 [label="Variable declaration: lval x: R|kotlin/Int|"];
18 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
19 [label="Throw: throw R|java/lang/Exception.Exception|()"];
20 [label="Stub" style="filled" fillcolor=gray];
21 [label="Const: Int(2)" style="filled" fillcolor=gray];
22 [label="Variable declaration: lval y: R|kotlin/Int|" style="filled" fillcolor=gray];
23 [label="Exit block" style="filled" fillcolor=gray];
}
25 [label="Exit init block" style="filled" fillcolor=gray];
24 [label="Exit init block" style="filled" fillcolor=gray];
}
28 [label="Exit class Bar" style="filled" fillcolor=gray];
25 [label="Exit class Bar" style="filled" fillcolor=gray];
}
subgraph cluster_7 {
color=blue
12 [label="Enter function <init>" style="filled" fillcolor=gray];
13 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
14 [label="Exit function <init>" style="filled" fillcolor=red];
26 [label="Enter function <init>" style="filled" fillcolor=gray];
27 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
28 [label="Exit function <init>" style="filled" fillcolor=red];
}
26 -> {27} [color=green];
27 -> {15} [color=green];
27 -> {28} [style=dotted];
27 -> {15} [style=dashed];
28 -> {12} [style=dotted];
28 -> {12} [style=dashed];
12 -> {13} [color=green];
13 -> {14} [color=green];
13 -> {25} [style=dotted];
13 -> {14} [style=dashed];
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
19 -> {20} [style=dotted];
20 -> {21} [style=dotted];
21 -> {22} [style=dotted];
22 -> {23} [style=dotted];
23 -> {24} [style=dotted];
24 -> {25} [style=dotted];
25 -> {28} [style=dotted];
12 -> {13};
13 -> {14};
25 -> {26} [style=dotted];
25 -> {26} [style=dashed];
26 -> {27};
27 -> {28};
}
@@ -19,75 +19,75 @@ digraph initBlockAndInPlaceLambda_kt {
subgraph cluster_2 {
color=red
26 [label="Enter class C" style="filled" fillcolor=red];
27 [label="Part of class initialization"];
4 [label="Enter class C" style="filled" fillcolor=red];
5 [label="Part of class initialization"];
subgraph cluster_3 {
color=blue
7 [label="Enter init block" style="filled" fillcolor=red];
6 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
8 [label="Enter block"];
9 [label="Access variable R|<local>/a|"];
10 [label="Access variable R|/A.b|"];
11 [label="Enter safe call"];
12 [label="Postponed enter to lambda"];
7 [label="Enter block"];
8 [label="Access variable R|<local>/a|"];
9 [label="Access variable R|/A.b|"];
10 [label="Enter safe call"];
11 [label="Postponed enter to lambda"];
subgraph cluster_5 {
color=blue
19 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
12 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
20 [label="Enter block"];
21 [label="Access variable R|<local>/a|"];
22 [label="Access variable R|<local>/it|"];
23 [label="Function call: R|/C.C|(...)" style="filled" fillcolor=yellow];
24 [label="Exit block"];
13 [label="Enter block"];
14 [label="Access variable R|<local>/a|"];
15 [label="Access variable R|<local>/it|"];
16 [label="Function call: R|/C.C|(...)" style="filled" fillcolor=yellow];
17 [label="Exit block"];
}
25 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
18 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
13 [label="Postponed exit from lambda"];
14 [label="Function call: $subj$.R|kotlin/let|<R|B|, R|C|>(...)" style="filled" fillcolor=yellow];
15 [label="Exit safe call"];
16 [label="Variable declaration: lval c: R|C?|"];
17 [label="Exit block"];
19 [label="Postponed exit from lambda"];
20 [label="Function call: $subj$.R|kotlin/let|<R|B|, R|C|>(...)" style="filled" fillcolor=yellow];
21 [label="Exit safe call"];
22 [label="Variable declaration: lval c: R|C?|"];
23 [label="Exit block"];
}
18 [label="Exit init block" style="filled" fillcolor=red];
24 [label="Exit init block" style="filled" fillcolor=red];
}
28 [label="Exit class C" style="filled" fillcolor=red];
25 [label="Exit class C" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
4 [label="Enter function <init>" style="filled" fillcolor=red];
5 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
6 [label="Exit function <init>" style="filled" fillcolor=red];
26 [label="Enter function <init>" style="filled" fillcolor=red];
27 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
28 [label="Exit function <init>" style="filled" fillcolor=red];
}
26 -> {27} [color=green];
27 -> {7} [color=green];
27 -> {28} [style=dotted];
27 -> {7} [style=dashed];
28 -> {4} [color=green];
28 -> {4} [style=dashed];
4 -> {5} [color=green];
5 -> {6} [color=green];
5 -> {25} [style=dotted];
5 -> {6} [style=dashed];
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11 15};
11 -> {12};
12 -> {14 19};
12 -> {13} [style=dotted];
12 -> {19} [style=dashed];
9 -> {10 21};
10 -> {11};
11 -> {12 20};
11 -> {19} [style=dotted];
11 -> {12} [style=dashed];
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {28} [color=green];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {13};
4 -> {5};
5 -> {6};
24 -> {25} [color=green];
25 -> {26} [color=green];
25 -> {26} [style=dashed];
26 -> {27};
27 -> {28};
}
@@ -5,64 +5,64 @@ digraph innerClassInAnonymousObject_kt {
subgraph cluster_0 {
color=red
14 [label="Enter property" style="filled" fillcolor=red];
15 [label="Enter anonymous object"];
0 [label="Enter property" style="filled" fillcolor=red];
1 [label="Enter anonymous object"];
subgraph cluster_1 {
color=blue
12 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
13 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
2 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
3 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
}
16 [label="Exit anonymous object"];
17 [label="Exit anonymous object expression"];
18 [label="Exit property" style="filled" fillcolor=red];
4 [label="Exit anonymous object"];
5 [label="Exit anonymous object expression"];
6 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_2 {
color=blue
10 [label="Enter class Nested" style="filled" fillcolor=red];
11 [label="Exit class Nested" style="filled" fillcolor=red];
7 [label="Enter class Nested" style="filled" fillcolor=red];
8 [label="Exit class Nested" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
6 [label="Enter function foo" style="filled" fillcolor=red];
9 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
7 [label="Enter block"];
8 [label="Exit block"];
10 [label="Enter block"];
11 [label="Exit block"];
}
9 [label="Exit function foo" style="filled" fillcolor=red];
12 [label="Exit function foo" style="filled" fillcolor=red];
}
subgraph cluster_5 {
color=blue
3 [label="Enter function <init>" style="filled" fillcolor=red];
4 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
5 [label="Exit function <init>" style="filled" fillcolor=red];
13 [label="Enter function <init>" style="filled" fillcolor=red];
14 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
15 [label="Exit function <init>" style="filled" fillcolor=red];
}
subgraph cluster_6 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
16 [label="Enter function <init>" style="filled" fillcolor=red];
17 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
18 [label="Exit function <init>" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {12};
15 -> {16} [color=red];
15 -> {12} [style=dashed];
16 -> {17};
17 -> {18};
12 -> {13} [color=green];
12 -> {0 10} [color=red];
13 -> {0 10 16} [color=green];
13 -> {0 10} [style=dashed];
0 -> {1};
1 -> {2};
10 -> {11} [color=green];
10 -> {3 6} [color=red];
11 -> {3 6} [color=green];
11 -> {3 6} [style=dashed];
3 -> {4};
1 -> {4} [color=red];
1 -> {2} [style=dashed];
2 -> {3} [color=green];
2 -> {7 16} [color=red];
3 -> {4 7 16} [color=green];
3 -> {7 16} [style=dashed];
4 -> {5};
6 -> {7};
7 -> {8};
8 -> {9};
5 -> {6};
7 -> {8} [color=green];
7 -> {9 13} [color=red];
8 -> {9 13} [color=green];
8 -> {9 13} [style=dashed];
9 -> {10};
10 -> {11};
11 -> {12};
13 -> {14};
14 -> {15};
16 -> {17};
17 -> {18};
}
@@ -62,26 +62,26 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
24 [label="Postponed enter to lambda"];
subgraph cluster_9 {
color=blue
33 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
25 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
34 [label="Enter block"];
35 [label="Function call: R|/materialize|<R|kotlin/String|>()" style="filled" fillcolor=yellow];
36 [label="Exit block"];
26 [label="Enter block"];
27 [label="Function call: R|/materialize|<R|kotlin/String|>()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
37 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
29 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
25 [label="Postponed exit from lambda"];
26 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
27 [label="Exit block"];
30 [label="Postponed exit from lambda"];
31 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
32 [label="Exit block"];
}
28 [label="Exit when branch result"];
29 [label="Exit when"];
33 [label="Exit when branch result"];
34 [label="Exit when"];
}
30 [label="Variable declaration: lval x: R|kotlin/String|"];
31 [label="Exit block"];
35 [label="Variable declaration: lval x: R|kotlin/String|"];
36 [label="Exit block"];
}
32 [label="Exit function test_1" style="filled" fillcolor=red];
37 [label="Exit function test_1" style="filled" fillcolor=red];
}
9 -> {10};
10 -> {11};
@@ -95,25 +95,25 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {29};
21 -> {34};
22 -> {23};
23 -> {24};
24 -> {26 33};
24 -> {25} [style=dotted];
24 -> {33} [style=dashed];
25 -> {26} [color=green];
25 -> {29} [color=red];
24 -> {25 31};
24 -> {30} [style=dotted];
24 -> {25} [style=dashed];
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
30 -> {31} [color=green];
30 -> {34} [color=red];
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {25};
subgraph cluster_11 {
color=red
@@ -133,67 +133,67 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
43 [label="Postponed enter to lambda"];
subgraph cluster_16 {
color=blue
58 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
44 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
59 [label="Enter block"];
60 [label="Function call: R|/materialize|<R|kotlin/String|>()" style="filled" fillcolor=yellow];
61 [label="Exit block"];
45 [label="Enter block"];
46 [label="Function call: R|/materialize|<R|kotlin/String|>()" style="filled" fillcolor=yellow];
47 [label="Exit block"];
}
62 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
48 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
44 [label="Postponed exit from lambda"];
45 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
46 [label="Exit block"];
49 [label="Postponed exit from lambda"];
50 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
51 [label="Exit block"];
}
47 [label="Try main block exit"];
52 [label="Try main block exit"];
}
subgraph cluster_18 {
color=blue
48 [label="Catch enter"];
49 [label="Variable declaration: e: R|kotlin/Exception|"];
53 [label="Catch enter"];
54 [label="Variable declaration: e: R|kotlin/Exception|"];
subgraph cluster_19 {
color=blue
50 [label="Enter block"];
51 [label="Const: String()"];
52 [label="Exit block"];
55 [label="Enter block"];
56 [label="Const: String()"];
57 [label="Exit block"];
}
53 [label="Catch exit"];
58 [label="Catch exit"];
}
54 [label="Try expression exit"];
59 [label="Try expression exit"];
}
55 [label="Variable declaration: lval x: R|kotlin/String|"];
56 [label="Exit block"];
60 [label="Variable declaration: lval x: R|kotlin/String|"];
61 [label="Exit block"];
}
57 [label="Exit function test_2" style="filled" fillcolor=red];
62 [label="Exit function test_2" style="filled" fillcolor=red];
}
38 -> {39};
39 -> {40};
40 -> {41 48};
40 -> {41 53};
41 -> {42};
42 -> {43};
43 -> {45 58};
43 -> {44} [style=dotted];
43 -> {58} [style=dashed];
44 -> {45} [color=green];
44 -> {54} [color=red];
43 -> {44 50};
43 -> {49} [style=dotted];
43 -> {44} [style=dashed];
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48 54};
47 -> {48};
48 -> {49};
49 -> {50};
49 -> {50} [color=green];
49 -> {59} [color=red];
50 -> {51};
51 -> {52};
52 -> {53};
52 -> {53 59};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {44};
subgraph cluster_20 {
color=red
@@ -204,38 +204,38 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
65 [label="Postponed enter to lambda"];
subgraph cluster_22 {
color=blue
72 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
66 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
73 [label="Enter block"];
74 [label="Function call: R|/materialize|<R|kotlin/String?|>()" style="filled" fillcolor=yellow];
75 [label="Exit block"];
67 [label="Enter block"];
68 [label="Function call: R|/materialize|<R|kotlin/String?|>()" style="filled" fillcolor=yellow];
69 [label="Exit block"];
}
76 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
70 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
66 [label="Postponed exit from lambda"];
67 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)" style="filled" fillcolor=yellow];
68 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!" style="filled" fillcolor=yellow];
69 [label="Variable declaration: lval x: R|kotlin/String|"];
70 [label="Exit block"];
71 [label="Postponed exit from lambda"];
72 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)" style="filled" fillcolor=yellow];
73 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!" style="filled" fillcolor=yellow];
74 [label="Variable declaration: lval x: R|kotlin/String|"];
75 [label="Exit block"];
}
71 [label="Exit function test_3" style="filled" fillcolor=red];
76 [label="Exit function test_3" style="filled" fillcolor=red];
}
63 -> {64};
64 -> {65};
65 -> {67 72};
65 -> {66} [style=dotted];
65 -> {72} [style=dashed];
66 -> {67} [color=green];
66 -> {68} [color=red];
65 -> {66 72};
65 -> {71} [style=dotted];
65 -> {66} [style=dashed];
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72} [color=green];
71 -> {73} [color=red];
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {66};
}
+38 -38
View File
@@ -189,19 +189,19 @@ digraph jumps_kt {
68 [label="Access variable R|<local>/x|"];
69 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
70 [label="Jump: break@@@[Boolean(true)] "];
77 [label="Stub" style="filled" fillcolor=gray];
78 [label="Exit block" style="filled" fillcolor=gray];
71 [label="Stub" style="filled" fillcolor=gray];
72 [label="Exit block" style="filled" fillcolor=gray];
}
79 [label="Exit loop block" style="filled" fillcolor=gray];
73 [label="Exit loop block" style="filled" fillcolor=gray];
}
71 [label="Exit whileloop"];
74 [label="Exit whileloop"];
}
72 [label="Access variable R|<local>/x|"];
73 [label="Smart cast: R|<local>/x|"];
74 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
75 [label="Exit block"];
75 [label="Access variable R|<local>/x|"];
76 [label="Smart cast: R|<local>/x|"];
77 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
78 [label="Exit block"];
}
76 [label="Exit function test_3" style="filled" fillcolor=red];
79 [label="Exit function test_3" style="filled" fillcolor=red];
}
60 -> {61};
61 -> {62};
@@ -209,21 +209,21 @@ digraph jumps_kt {
63 -> {64};
64 -> {65};
65 -> {66};
65 -> {71} [style=dotted];
65 -> {74} [style=dotted];
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
70 -> {77} [style=dotted];
71 -> {72};
72 -> {73};
73 -> {74};
70 -> {74};
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
72 -> {73} [style=dotted];
73 -> {63} [color=green style=dotted];
74 -> {75};
75 -> {76};
77 -> {78} [style=dotted];
78 -> {79} [style=dotted];
79 -> {63} [color=green style=dotted];
76 -> {77};
77 -> {78};
78 -> {79};
subgraph cluster_20 {
color=red
@@ -388,36 +388,36 @@ digraph jumps_kt {
132 [label="Postponed enter to lambda"];
subgraph cluster_39 {
color=blue
137 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
133 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_40 {
color=blue
138 [label="Enter block"];
139 [label="Jump: ^@run Unit"];
140 [label="Stub" style="filled" fillcolor=gray];
141 [label="Exit block" style="filled" fillcolor=gray];
134 [label="Enter block"];
135 [label="Jump: ^@run Unit"];
136 [label="Stub" style="filled" fillcolor=gray];
137 [label="Exit block" style="filled" fillcolor=gray];
}
142 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
138 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
133 [label="Postponed exit from lambda"];
134 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow];
135 [label="Exit block"];
139 [label="Postponed exit from lambda"];
140 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow];
141 [label="Exit block"];
}
136 [label="Exit function test_6" style="filled" fillcolor=red];
142 [label="Exit function test_6" style="filled" fillcolor=red];
}
130 -> {131};
131 -> {132};
132 -> {133 134 137};
132 -> {137} [style=dashed];
132 -> {133 139 140};
132 -> {133} [style=dashed];
133 -> {134};
133 -> {132} [color=green style=dashed];
134 -> {135};
135 -> {136};
137 -> {138};
135 -> {138};
135 -> {136} [style=dotted];
136 -> {137} [style=dotted];
137 -> {138} [style=dotted];
138 -> {139};
139 -> {142};
139 -> {140} [style=dotted];
140 -> {141} [style=dotted];
141 -> {142} [style=dotted];
142 -> {133};
139 -> {140};
139 -> {132} [color=green style=dashed];
140 -> {141};
141 -> {142};
}
@@ -5,58 +5,58 @@ digraph lambdaAsReturnOfLambda_kt {
subgraph cluster_0 {
color=red
13 [label="Enter property" style="filled" fillcolor=red];
14 [label="Postponed enter to lambda"];
0 [label="Enter property" style="filled" fillcolor=red];
1 [label="Postponed enter to lambda"];
subgraph cluster_1 {
color=blue
0 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
2 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
1 [label="Enter block"];
2 [label="Exit anonymous function expression"];
3 [label="Enter block"];
4 [label="Exit anonymous function expression"];
subgraph cluster_3 {
color=blue
7 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
5 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
8 [label="Enter block"];
9 [label="Access variable R|<local>/foo|"];
10 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
11 [label="Exit block"];
6 [label="Enter block"];
7 [label="Access variable R|<local>/foo|"];
8 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
9 [label="Exit block"];
}
12 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
10 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
3 [label="Jump: ^@run lambda@fun <anonymous>(foo: R|kotlin/String|): R|kotlin/Unit| <inline=Unknown> {
11 [label="Jump: ^@run lambda@fun <anonymous>(foo: R|kotlin/String|): R|kotlin/Unit| <inline=Unknown> {
R|/bar|(R|<local>/foo|)
}
"];
4 [label="Stub" style="filled" fillcolor=gray];
5 [label="Exit block" style="filled" fillcolor=gray];
12 [label="Stub" style="filled" fillcolor=gray];
13 [label="Exit block" style="filled" fillcolor=gray];
}
6 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
14 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
15 [label="Postponed exit from lambda"];
16 [label="Function call: R|/run|<R|(kotlin/String) -> kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
17 [label="Exit property" style="filled" fillcolor=red];
}
13 -> {14};
14 -> {0 15 16};
14 -> {0} [style=dashed];
15 -> {16};
16 -> {17};
0 -> {1};
1 -> {2};
2 -> {3 7};
2 -> {7} [style=dashed];
3 -> {6};
3 -> {4} [style=dotted];
4 -> {5} [style=dotted];
5 -> {6} [style=dotted];
1 -> {2 15 16};
1 -> {2} [style=dashed];
2 -> {3};
3 -> {4};
4 -> {5 11};
4 -> {5} [style=dashed];
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
11 -> {14};
11 -> {12} [style=dotted];
12 -> {13} [style=dotted];
13 -> {14} [style=dotted];
15 -> {16};
16 -> {17};
subgraph cluster_5 {
color=red
@@ -33,20 +33,20 @@ digraph lambdaReturningObject_kt {
subgraph cluster_4 {
color=red
11 [label="Enter class IrStarProjectionImpl" style="filled" fillcolor=red];
12 [label="Exit class IrStarProjectionImpl" style="filled" fillcolor=red];
8 [label="Enter class IrStarProjectionImpl" style="filled" fillcolor=red];
9 [label="Exit class IrStarProjectionImpl" style="filled" fillcolor=red];
}
subgraph cluster_5 {
color=blue
8 [label="Enter function <init>" style="filled" fillcolor=red];
9 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
10 [label="Exit function <init>" style="filled" fillcolor=red];
10 [label="Enter function <init>" style="filled" fillcolor=red];
11 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
12 [label="Exit function <init>" style="filled" fillcolor=red];
}
11 -> {12} [color=green];
12 -> {8} [color=green];
12 -> {8} [style=dashed];
8 -> {9};
9 -> {10};
8 -> {9} [color=green];
9 -> {10} [color=green];
9 -> {10} [style=dashed];
10 -> {11};
11 -> {12};
subgraph cluster_6 {
color=red
@@ -79,32 +79,32 @@ digraph lambdaReturningObject_kt {
23 [label="Postponed enter to lambda"];
subgraph cluster_10 {
color=blue
29 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
24 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
30 [label="Enter block"];
31 [label="Access qualifier /IrStarProjectionImpl"];
32 [label="Exit block"];
25 [label="Enter block"];
26 [label="Access qualifier /IrStarProjectionImpl"];
27 [label="Exit block"];
}
33 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
28 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
24 [label="Postponed exit from lambda"];
25 [label="Function call: R|/MyOut|<R|IrStarProjectionImpl|>(...)" style="filled" fillcolor=yellow];
26 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
27 [label="Exit block"];
29 [label="Postponed exit from lambda"];
30 [label="Function call: R|/MyOut|<R|IrStarProjectionImpl|>(...)" style="filled" fillcolor=yellow];
31 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
32 [label="Exit block"];
}
28 [label="Exit function foo" style="filled" fillcolor=red];
33 [label="Exit function foo" style="filled" fillcolor=red];
}
21 -> {22};
22 -> {23};
23 -> {24 25 29};
23 -> {29} [style=dashed];
24 -> {25} [color=green];
24 -> {26} [color=red];
23 -> {24 29 30};
23 -> {24} [style=dashed];
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
29 -> {30};
29 -> {30} [color=green];
29 -> {31} [color=red];
30 -> {31};
31 -> {32};
32 -> {33};
+61 -61
View File
@@ -43,27 +43,27 @@ digraph lambdas_kt {
15 [label="Postponed enter to lambda"];
subgraph cluster_7 {
color=blue
23 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
16 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
24 [label="Enter block"];
25 [label="Access variable R|<local>/x|"];
26 [label="Smart cast: R|<local>/x|"];
27 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
17 [label="Enter block"];
18 [label="Access variable R|<local>/x|"];
19 [label="Smart cast: R|<local>/x|"];
20 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
21 [label="Exit block"];
}
29 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
22 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
16 [label="Postponed exit from lambda"];
17 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow];
18 [label="Exit block"];
23 [label="Postponed exit from lambda"];
24 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow];
25 [label="Exit block"];
}
19 [label="Exit when branch result"];
20 [label="Exit when"];
26 [label="Exit when branch result"];
27 [label="Exit when"];
}
21 [label="Exit block"];
28 [label="Exit block"];
}
22 [label="Exit function test_1" style="filled" fillcolor=red];
29 [label="Exit function test_1" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
@@ -72,25 +72,25 @@ digraph lambdas_kt {
9 -> {10};
10 -> {11};
11 -> {12 13};
12 -> {20};
12 -> {27};
13 -> {14};
14 -> {15};
15 -> {16 17 23};
15 -> {23} [style=dashed];
15 -> {16 23 24};
15 -> {16} [style=dashed];
16 -> {17};
16 -> {15} [color=green style=dashed];
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
23 -> {15} [color=green style=dashed];
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {16};
subgraph cluster_9 {
color=red
@@ -193,47 +193,47 @@ digraph lambdas_kt {
64 [label="Postponed enter to lambda"];
subgraph cluster_20 {
color=blue
71 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
65 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
72 [label="Enter block"];
73 [label="Const: Int(1)"];
74 [label="Jump: ^test_3 Int(1)"];
75 [label="Stub" style="filled" fillcolor=gray];
76 [label="Exit block" style="filled" fillcolor=gray];
66 [label="Enter block"];
67 [label="Const: Int(1)"];
68 [label="Jump: ^test_3 Int(1)"];
69 [label="Stub" style="filled" fillcolor=gray];
70 [label="Exit block" style="filled" fillcolor=gray];
}
77 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
71 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
}
65 [label="Postponed exit from lambda"];
66 [label="Function call: R|/getInt|(...)" style="filled" fillcolor=yellow];
67 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <inline=Inline, kind=UNKNOWN> {
72 [label="Postponed exit from lambda"];
73 [label="Function call: R|/getInt|(...)" style="filled" fillcolor=yellow];
74 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <inline=Inline, kind=UNKNOWN> {
^test_3 Int(1)
}
)"];
68 [label="Stub" style="filled" fillcolor=gray];
69 [label="Exit block" style="filled" fillcolor=gray];
75 [label="Stub" style="filled" fillcolor=gray];
76 [label="Exit block" style="filled" fillcolor=gray];
}
70 [label="Exit function test_3" style="filled" fillcolor=red];
77 [label="Exit function test_3" style="filled" fillcolor=red];
}
62 -> {63};
63 -> {64};
64 -> {65 66 71};
64 -> {71} [style=dashed];
64 -> {65 72 73};
64 -> {65} [style=dashed];
65 -> {66};
65 -> {64} [color=green style=dashed];
66 -> {67};
67 -> {70};
67 -> {68} [style=dotted];
67 -> {68};
68 -> {77};
68 -> {69} [style=dotted];
69 -> {70} [style=dotted];
71 -> {72};
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
72 -> {73};
72 -> {64} [color=green style=dashed];
73 -> {74};
74 -> {70};
74 -> {77};
74 -> {75} [style=dotted];
75 -> {76} [style=dotted];
76 -> {77} [style=dotted];
77 -> {65} [style=dotted];
subgraph cluster_22 {
color=red
@@ -244,46 +244,46 @@ digraph lambdas_kt {
80 [label="Postponed enter to lambda"];
subgraph cluster_24 {
color=blue
87 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
81 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
88 [label="Enter block"];
89 [label="Const: Int(1)"];
90 [label="Jump: ^test_4 Int(1)"];
91 [label="Stub" style="filled" fillcolor=gray];
92 [label="Exit block" style="filled" fillcolor=gray];
82 [label="Enter block"];
83 [label="Const: Int(1)"];
84 [label="Jump: ^test_4 Int(1)"];
85 [label="Stub" style="filled" fillcolor=gray];
86 [label="Exit block" style="filled" fillcolor=gray];
}
93 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
87 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
}
81 [label="Postponed exit from lambda"];
82 [label="Function call: R|/getInt|(...)" style="filled" fillcolor=yellow];
83 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <inline=Inline, kind=UNKNOWN> {
88 [label="Postponed exit from lambda"];
89 [label="Function call: R|/getInt|(...)" style="filled" fillcolor=yellow];
90 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <inline=Inline, kind=UNKNOWN> {
^test_4 Int(1)
}
)"];
84 [label="Stub" style="filled" fillcolor=gray];
85 [label="Exit block" style="filled" fillcolor=gray];
91 [label="Stub" style="filled" fillcolor=gray];
92 [label="Exit block" style="filled" fillcolor=gray];
}
86 [label="Exit function test_4" style="filled" fillcolor=red];
93 [label="Exit function test_4" style="filled" fillcolor=red];
}
78 -> {79};
79 -> {80};
80 -> {81 82 87};
80 -> {87} [style=dashed];
80 -> {81 88 89};
80 -> {81} [style=dashed];
81 -> {82};
81 -> {80} [color=green style=dashed];
82 -> {83};
83 -> {86};
83 -> {84} [style=dotted];
83 -> {84};
84 -> {93};
84 -> {85} [style=dotted];
85 -> {86} [style=dotted];
87 -> {88};
86 -> {87} [style=dotted];
87 -> {88} [style=dotted];
88 -> {89};
88 -> {80} [color=green style=dashed];
89 -> {90};
90 -> {86};
90 -> {93};
90 -> {91} [style=dotted];
91 -> {92} [style=dotted];
92 -> {93} [style=dotted];
93 -> {81} [style=dotted];
}
@@ -56,124 +56,124 @@ digraph localClassesWithImplicit_kt {
23 [label="Enter anonymous object"];
subgraph cluster_7 {
color=blue
97 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
98 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
24 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
25 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
}
24 [label="Exit anonymous object"];
25 [label="Exit anonymous object expression"];
26 [label="Variable declaration: lval x: R|<anonymous>|"];
27 [label="Exit block"];
26 [label="Exit anonymous object"];
27 [label="Exit anonymous object expression"];
28 [label="Variable declaration: lval x: R|<anonymous>|"];
29 [label="Exit block"];
}
28 [label="Exit function test" style="filled" fillcolor=red];
30 [label="Exit function test" style="filled" fillcolor=red];
}
subgraph cluster_8 {
color=blue
158 [label="Enter function baz" style="filled" fillcolor=red];
31 [label="Enter function baz" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
159 [label="Enter block"];
160 [label="Const: Int(1)"];
161 [label="Jump: ^baz Int(1)"];
162 [label="Stub" style="filled" fillcolor=gray];
163 [label="Exit block" style="filled" fillcolor=gray];
32 [label="Enter block"];
33 [label="Const: Int(1)"];
34 [label="Jump: ^baz Int(1)"];
35 [label="Stub" style="filled" fillcolor=gray];
36 [label="Exit block" style="filled" fillcolor=gray];
}
164 [label="Exit function baz" style="filled" fillcolor=red];
37 [label="Exit function baz" style="filled" fillcolor=red];
}
subgraph cluster_10 {
color=blue
139 [label="Enter function bar" style="filled" fillcolor=red];
38 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
140 [label="Enter block"];
141 [label="Postponed enter to lambda"];
39 [label="Enter block"];
40 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
148 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
41 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
149 [label="Enter block"];
150 [label="Access variable R|<local>/a|"];
151 [label="Smart cast: R|<local>/a|"];
152 [label="Access variable R|kotlin/String.length|"];
153 [label="Access variable R|<local>/b|"];
154 [label="Access variable <Unresolved name: length>#"];
155 [label="Function call: this@R|/<anonymous>|.R|/<anonymous>.baz|()" style="filled" fillcolor=yellow];
156 [label="Exit block"];
42 [label="Enter block"];
43 [label="Access variable R|<local>/a|"];
44 [label="Smart cast: R|<local>/a|"];
45 [label="Access variable R|kotlin/String.length|"];
46 [label="Access variable R|<local>/b|"];
47 [label="Access variable <Unresolved name: length>#"];
48 [label="Function call: this@R|/<anonymous>|.R|/<anonymous>.baz|()" style="filled" fillcolor=yellow];
49 [label="Exit block"];
}
157 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
50 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
142 [label="Postponed exit from lambda"];
143 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
144 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
51 [label="Postponed exit from lambda"];
52 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
53 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
R|<local>/a|.R|kotlin/String.length|
R|<local>/b|.<Unresolved name: length>#
^ this@R|/<anonymous>|.R|/<anonymous>.baz|()
}
)"];
145 [label="Stub" style="filled" fillcolor=gray];
146 [label="Exit block" style="filled" fillcolor=gray];
54 [label="Stub" style="filled" fillcolor=gray];
55 [label="Exit block" style="filled" fillcolor=gray];
}
147 [label="Exit function bar" style="filled" fillcolor=red];
56 [label="Exit function bar" style="filled" fillcolor=red];
}
subgraph cluster_14 {
color=blue
102 [label="Enter function foo" style="filled" fillcolor=red];
57 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
103 [label="Enter block"];
104 [label="Postponed enter to lambda"];
58 [label="Enter block"];
59 [label="Postponed enter to lambda"];
subgraph cluster_16 {
color=blue
111 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
60 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
112 [label="Enter block"];
113 [label="Access variable R|<local>/a|"];
114 [label="Smart cast: R|<local>/a|"];
115 [label="Access variable R|kotlin/String.length|"];
61 [label="Enter block"];
62 [label="Access variable R|<local>/a|"];
63 [label="Smart cast: R|<local>/a|"];
64 [label="Access variable R|kotlin/String.length|"];
subgraph cluster_18 {
color=blue
116 [label="Enter when"];
65 [label="Enter when"];
subgraph cluster_19 {
color=blue
117 [label="Enter when branch condition "];
118 [label="Access variable R|<local>/b|"];
119 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
120 [label="Exit when branch condition"];
66 [label="Enter when branch condition "];
67 [label="Access variable R|<local>/b|"];
68 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
69 [label="Exit when branch condition"];
}
subgraph cluster_20 {
color=blue
121 [label="Enter when branch condition else"];
122 [label="Exit when branch condition"];
70 [label="Enter when branch condition else"];
71 [label="Exit when branch condition"];
}
123 [label="Enter when branch result"];
72 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
124 [label="Enter block"];
125 [label="Const: Int(1)"];
126 [label="Exit block"];
73 [label="Enter block"];
74 [label="Const: Int(1)"];
75 [label="Exit block"];
}
127 [label="Exit when branch result"];
128 [label="Enter when branch result"];
76 [label="Exit when branch result"];
77 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
129 [label="Enter block"];
130 [label="Access variable R|<local>/b|"];
131 [label="Smart cast: R|<local>/b|"];
132 [label="Access variable R|kotlin/String.length|"];
133 [label="Function call: this@R|/<anonymous>|.R|/<anonymous>.bar|()" style="filled" fillcolor=yellow];
134 [label="Exit block"];
78 [label="Enter block"];
79 [label="Access variable R|<local>/b|"];
80 [label="Smart cast: R|<local>/b|"];
81 [label="Access variable R|kotlin/String.length|"];
82 [label="Function call: this@R|/<anonymous>|.R|/<anonymous>.bar|()" style="filled" fillcolor=yellow];
83 [label="Exit block"];
}
135 [label="Exit when branch result"];
136 [label="Exit when"];
84 [label="Exit when branch result"];
85 [label="Exit when"];
}
137 [label="Exit block"];
86 [label="Exit block"];
}
138 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
87 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
105 [label="Postponed exit from lambda"];
106 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
107 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
88 [label="Postponed exit from lambda"];
89 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
90 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
R|<local>/a|.R|kotlin/String.length|
^ when () {
(R|<local>/b| is R|kotlin/String|) -> {
@@ -187,130 +187,130 @@ digraph localClassesWithImplicit_kt {
}
)"];
108 [label="Stub" style="filled" fillcolor=gray];
109 [label="Exit block" style="filled" fillcolor=gray];
91 [label="Stub" style="filled" fillcolor=gray];
92 [label="Exit block" style="filled" fillcolor=gray];
}
110 [label="Exit function foo" style="filled" fillcolor=red];
93 [label="Exit function foo" style="filled" fillcolor=red];
}
subgraph cluster_23 {
color=blue
99 [label="Enter function <init>" style="filled" fillcolor=red];
100 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
101 [label="Exit function <init>" style="filled" fillcolor=red];
94 [label="Enter function <init>" style="filled" fillcolor=red];
95 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
96 [label="Exit function <init>" style="filled" fillcolor=red];
}
subgraph cluster_24 {
color=blue
29 [label="Enter class A" style="filled" fillcolor=red];
30 [label="Exit class A" style="filled" fillcolor=red];
97 [label="Enter class A" style="filled" fillcolor=red];
98 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_25 {
color=blue
90 [label="Enter function baz" style="filled" fillcolor=red];
99 [label="Enter function baz" style="filled" fillcolor=red];
subgraph cluster_26 {
color=blue
91 [label="Enter block"];
92 [label="Const: Int(1)"];
93 [label="Jump: ^baz Int(1)"];
94 [label="Stub" style="filled" fillcolor=gray];
95 [label="Exit block" style="filled" fillcolor=gray];
100 [label="Enter block"];
101 [label="Const: Int(1)"];
102 [label="Jump: ^baz Int(1)"];
103 [label="Stub" style="filled" fillcolor=gray];
104 [label="Exit block" style="filled" fillcolor=gray];
}
96 [label="Exit function baz" style="filled" fillcolor=red];
105 [label="Exit function baz" style="filled" fillcolor=red];
}
subgraph cluster_27 {
color=blue
71 [label="Enter function bar" style="filled" fillcolor=red];
106 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_28 {
color=blue
72 [label="Enter block"];
73 [label="Postponed enter to lambda"];
107 [label="Enter block"];
108 [label="Postponed enter to lambda"];
subgraph cluster_29 {
color=blue
80 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
109 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_30 {
color=blue
81 [label="Enter block"];
82 [label="Access variable R|<local>/b|"];
83 [label="Access variable <Unresolved name: length>#"];
84 [label="Access variable R|<local>/a|"];
85 [label="Smart cast: R|<local>/a|"];
86 [label="Access variable R|kotlin/String.length|"];
87 [label="Function call: this@R|/A|.R|<local>/baz|()" style="filled" fillcolor=yellow];
88 [label="Exit block"];
110 [label="Enter block"];
111 [label="Access variable R|<local>/b|"];
112 [label="Access variable <Unresolved name: length>#"];
113 [label="Access variable R|<local>/a|"];
114 [label="Smart cast: R|<local>/a|"];
115 [label="Access variable R|kotlin/String.length|"];
116 [label="Function call: this@R|/A|.R|<local>/baz|()" style="filled" fillcolor=yellow];
117 [label="Exit block"];
}
89 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
118 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
74 [label="Postponed exit from lambda"];
75 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
76 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
119 [label="Postponed exit from lambda"];
120 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
121 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
R|<local>/b|.<Unresolved name: length>#
R|<local>/a|.R|kotlin/String.length|
^ this@R|/A|.R|<local>/baz|()
}
)"];
77 [label="Stub" style="filled" fillcolor=gray];
78 [label="Exit block" style="filled" fillcolor=gray];
122 [label="Stub" style="filled" fillcolor=gray];
123 [label="Exit block" style="filled" fillcolor=gray];
}
79 [label="Exit function bar" style="filled" fillcolor=red];
124 [label="Exit function bar" style="filled" fillcolor=red];
}
subgraph cluster_31 {
color=blue
34 [label="Enter function foo" style="filled" fillcolor=red];
125 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_32 {
color=blue
35 [label="Enter block"];
36 [label="Postponed enter to lambda"];
126 [label="Enter block"];
127 [label="Postponed enter to lambda"];
subgraph cluster_33 {
color=blue
43 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
128 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/a|"];
46 [label="Smart cast: R|<local>/a|"];
47 [label="Access variable R|kotlin/String.length|"];
129 [label="Enter block"];
130 [label="Access variable R|<local>/a|"];
131 [label="Smart cast: R|<local>/a|"];
132 [label="Access variable R|kotlin/String.length|"];
subgraph cluster_35 {
color=blue
48 [label="Enter when"];
133 [label="Enter when"];
subgraph cluster_36 {
color=blue
49 [label="Enter when branch condition "];
50 [label="Access variable R|<local>/b|"];
51 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
52 [label="Exit when branch condition"];
134 [label="Enter when branch condition "];
135 [label="Access variable R|<local>/b|"];
136 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
137 [label="Exit when branch condition"];
}
subgraph cluster_37 {
color=blue
53 [label="Enter when branch condition else"];
54 [label="Exit when branch condition"];
138 [label="Enter when branch condition else"];
139 [label="Exit when branch condition"];
}
55 [label="Enter when branch result"];
140 [label="Enter when branch result"];
subgraph cluster_38 {
color=blue
56 [label="Enter block"];
57 [label="Const: Int(1)"];
58 [label="Exit block"];
141 [label="Enter block"];
142 [label="Const: Int(1)"];
143 [label="Exit block"];
}
59 [label="Exit when branch result"];
60 [label="Enter when branch result"];
144 [label="Exit when branch result"];
145 [label="Enter when branch result"];
subgraph cluster_39 {
color=blue
61 [label="Enter block"];
62 [label="Access variable R|<local>/b|"];
63 [label="Smart cast: R|<local>/b|"];
64 [label="Access variable R|kotlin/String.length|"];
65 [label="Function call: this@R|/A|.R|<local>/bar|()" style="filled" fillcolor=yellow];
66 [label="Exit block"];
146 [label="Enter block"];
147 [label="Access variable R|<local>/b|"];
148 [label="Smart cast: R|<local>/b|"];
149 [label="Access variable R|kotlin/String.length|"];
150 [label="Function call: this@R|/A|.R|<local>/bar|()" style="filled" fillcolor=yellow];
151 [label="Exit block"];
}
67 [label="Exit when branch result"];
68 [label="Exit when"];
152 [label="Exit when branch result"];
153 [label="Exit when"];
}
69 [label="Exit block"];
154 [label="Exit block"];
}
70 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
155 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
37 [label="Postponed exit from lambda"];
38 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
39 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
156 [label="Postponed exit from lambda"];
157 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
158 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=UNKNOWN> {
R|<local>/a|.R|kotlin/String.length|
^ when () {
(R|<local>/b| is R|kotlin/String|) -> {
@@ -324,16 +324,16 @@ digraph localClassesWithImplicit_kt {
}
)"];
40 [label="Stub" style="filled" fillcolor=gray];
41 [label="Exit block" style="filled" fillcolor=gray];
159 [label="Stub" style="filled" fillcolor=gray];
160 [label="Exit block" style="filled" fillcolor=gray];
}
42 [label="Exit function foo" style="filled" fillcolor=red];
161 [label="Exit function foo" style="filled" fillcolor=red];
}
subgraph cluster_40 {
color=blue
31 [label="Enter function <init>" style="filled" fillcolor=red];
32 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
33 [label="Exit function <init>" style="filled" fillcolor=red];
162 [label="Enter function <init>" style="filled" fillcolor=red];
163 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
164 [label="Exit function <init>" style="filled" fillcolor=red];
}
7 -> {8};
8 -> {9};
@@ -345,38 +345,38 @@ digraph localClassesWithImplicit_kt {
14 -> {21};
15 -> {16};
16 -> {17};
17 -> {28};
17 -> {30};
17 -> {18} [style=dotted];
18 -> {19} [style=dotted];
19 -> {20} [style=dotted];
20 -> {21} [style=dotted];
21 -> {22};
22 -> {23 29};
22 -> {29} [style=dashed];
23 -> {97};
23 -> {24} [color=red];
23 -> {97} [style=dashed];
24 -> {25};
25 -> {26};
22 -> {23 97};
22 -> {97} [style=dashed];
23 -> {24};
23 -> {26} [color=red];
23 -> {24} [style=dashed];
24 -> {25} [color=green];
24 -> {31 38 57 94} [color=red];
25 -> {26 31 38 57 94} [color=green];
25 -> {31 38 57 94} [style=dashed];
26 -> {27};
27 -> {28};
29 -> {30} [color=green];
29 -> {31 34 71 90} [color=red];
30 -> {31 34 71 90} [color=green];
30 -> {31 34 71 90} [style=dashed];
28 -> {29};
29 -> {30};
31 -> {32};
32 -> {33};
34 -> {35};
35 -> {36};
36 -> {37 38 43};
36 -> {43} [style=dashed];
37 -> {38};
37 -> {36} [color=green style=dashed];
33 -> {34};
34 -> {37};
34 -> {35} [style=dotted];
35 -> {36} [style=dotted];
36 -> {37} [style=dotted];
38 -> {39};
39 -> {42};
39 -> {40} [style=dotted];
40 -> {41} [style=dotted];
41 -> {42} [style=dotted];
39 -> {40};
40 -> {41 51 52};
40 -> {41} [style=dashed];
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
@@ -386,14 +386,16 @@ digraph localClassesWithImplicit_kt {
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53 60};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
51 -> {40} [color=green style=dashed];
52 -> {53};
53 -> {56};
53 -> {54} [style=dotted];
54 -> {55} [style=dotted];
55 -> {56} [style=dotted];
57 -> {58};
58 -> {59};
59 -> {68};
59 -> {60 88 89};
59 -> {60} [style=dashed];
60 -> {61};
61 -> {62};
62 -> {63};
@@ -403,19 +405,17 @@ digraph localClassesWithImplicit_kt {
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {37};
69 -> {70 77};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74 75 80};
73 -> {80} [style=dashed];
73 -> {74};
74 -> {75};
74 -> {73} [color=green style=dashed];
75 -> {76};
76 -> {79};
76 -> {77} [style=dotted];
77 -> {78} [style=dotted];
78 -> {79} [style=dotted];
76 -> {85};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
@@ -425,31 +425,31 @@ digraph localClassesWithImplicit_kt {
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {74};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {96};
93 -> {94} [style=dotted];
94 -> {95} [style=dotted];
95 -> {96} [style=dotted];
88 -> {59} [color=green style=dashed];
89 -> {90};
90 -> {93};
90 -> {91} [style=dotted];
91 -> {92} [style=dotted];
92 -> {93} [style=dotted];
94 -> {95};
95 -> {96};
97 -> {98} [color=green];
97 -> {99 102 139 158} [color=red];
98 -> {24 99 102 139 158} [color=green];
98 -> {99 102 139 158} [style=dashed];
97 -> {99 106 125 162} [color=red];
98 -> {99 106 125 162} [color=green];
98 -> {99 106 125 162} [style=dashed];
99 -> {100};
100 -> {101};
102 -> {103};
103 -> {104};
104 -> {105 106 111};
104 -> {111} [style=dashed];
105 -> {106};
105 -> {104} [color=green style=dashed];
101 -> {102};
102 -> {105};
102 -> {103} [style=dotted];
103 -> {104} [style=dotted];
104 -> {105} [style=dotted];
106 -> {107};
107 -> {110};
107 -> {108} [style=dotted];
108 -> {109} [style=dotted];
109 -> {110} [style=dotted];
107 -> {108};
108 -> {109 119 120};
108 -> {109} [style=dashed];
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {114};
@@ -459,14 +459,16 @@ digraph localClassesWithImplicit_kt {
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121 128};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
119 -> {108} [color=green style=dashed];
120 -> {121};
121 -> {124};
121 -> {122} [style=dotted];
122 -> {123} [style=dotted];
123 -> {124} [style=dotted];
125 -> {126};
126 -> {127};
127 -> {136};
127 -> {128 156 157};
127 -> {128} [style=dashed];
128 -> {129};
129 -> {130};
130 -> {131};
@@ -476,19 +478,17 @@ digraph localClassesWithImplicit_kt {
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {105};
137 -> {138 145};
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {142 143 148};
141 -> {148} [style=dashed];
141 -> {142};
142 -> {143};
142 -> {141} [color=green style=dashed];
143 -> {144};
144 -> {147};
144 -> {145} [style=dotted];
145 -> {146} [style=dotted];
146 -> {147} [style=dotted];
144 -> {153};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {151};
@@ -498,13 +498,13 @@ digraph localClassesWithImplicit_kt {
154 -> {155};
155 -> {156};
156 -> {157};
157 -> {142};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {164};
161 -> {162} [style=dotted];
162 -> {163} [style=dotted];
163 -> {164} [style=dotted];
156 -> {127} [color=green style=dashed];
157 -> {158};
158 -> {161};
158 -> {159} [style=dotted];
159 -> {160} [style=dotted];
160 -> {161} [style=dotted];
162 -> {163};
163 -> {164};
}
+21 -21
View File
@@ -276,22 +276,22 @@ digraph loops_kt {
color=blue
94 [label="Enter block"];
95 [label="Jump: break@@@[Boolean(true)] "];
100 [label="Stub" style="filled" fillcolor=gray];
101 [label="Exit block" style="filled" fillcolor=gray];
96 [label="Stub" style="filled" fillcolor=gray];
97 [label="Exit block" style="filled" fillcolor=gray];
}
102 [label="Exit when branch result" style="filled" fillcolor=gray];
103 [label="Exit when"];
98 [label="Exit when branch result" style="filled" fillcolor=gray];
99 [label="Exit when"];
}
104 [label="Exit block"];
100 [label="Exit block"];
}
105 [label="Exit loop block"];
101 [label="Exit loop block"];
}
96 [label="Exit whileloop"];
102 [label="Exit whileloop"];
}
97 [label="Const: Int(1)"];
98 [label="Exit block"];
103 [label="Const: Int(1)"];
104 [label="Exit block"];
}
99 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red];
105 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red];
}
80 -> {81};
81 -> {82};
@@ -299,27 +299,27 @@ digraph loops_kt {
83 -> {84};
84 -> {85};
85 -> {86};
85 -> {96} [style=dotted];
85 -> {102} [style=dotted];
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92 93};
92 -> {103};
92 -> {99};
93 -> {94};
94 -> {95};
95 -> {96};
95 -> {100} [style=dotted];
96 -> {97};
97 -> {98};
98 -> {99};
100 -> {101} [style=dotted];
101 -> {102} [style=dotted];
102 -> {103} [style=dotted];
95 -> {102};
95 -> {96} [style=dotted];
96 -> {97} [style=dotted];
97 -> {98} [style=dotted];
98 -> {99} [style=dotted];
99 -> {100};
100 -> {101};
101 -> {83} [color=green style=dashed];
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {83} [color=green style=dashed];
subgraph cluster_34 {
color=red
@@ -5,107 +5,107 @@ digraph postponedLambdaInConstructor_kt {
subgraph cluster_0 {
color=red
3 [label="Enter class A" style="filled" fillcolor=red];
4 [label="Exit class A" style="filled" fillcolor=red];
0 [label="Enter class A" style="filled" fillcolor=red];
1 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
2 [label="Enter function <init>" style="filled" fillcolor=red];
3 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
4 [label="Exit function <init>" style="filled" fillcolor=red];
}
3 -> {4} [color=green];
4 -> {0} [color=green];
4 -> {0} [style=dashed];
0 -> {1};
1 -> {2};
0 -> {1} [color=green];
1 -> {2} [color=green];
1 -> {2} [style=dashed];
2 -> {3};
3 -> {4};
subgraph cluster_2 {
color=red
30 [label="Enter class B" style="filled" fillcolor=red];
31 [label="Part of class initialization"];
5 [label="Enter class B" style="filled" fillcolor=red];
6 [label="Part of class initialization"];
subgraph cluster_3 {
color=blue
22 [label="Enter property" style="filled" fillcolor=red];
23 [label="Access variable R|<local>/s|"];
24 [label="Exit property" style="filled" fillcolor=red];
7 [label="Enter property" style="filled" fillcolor=red];
8 [label="Access variable R|<local>/s|"];
9 [label="Exit property" style="filled" fillcolor=red];
}
32 [label="Exit class B" style="filled" fillcolor=red];
10 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
25 [label="Enter function foo" style="filled" fillcolor=red];
11 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
26 [label="Enter block"];
27 [label="Function call: this@R|/B|.R|/B.foo|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
12 [label="Enter block"];
13 [label="Function call: this@R|/B|.R|/B.foo|()" style="filled" fillcolor=yellow];
14 [label="Exit block"];
}
29 [label="Exit function foo" style="filled" fillcolor=red];
15 [label="Exit function foo" style="filled" fillcolor=red];
}
subgraph cluster_6 {
color=blue
5 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Access variable R|<local>/s|"];
7 [label="Postponed enter to lambda"];
16 [label="Enter function <init>" style="filled" fillcolor=red];
17 [label="Access variable R|<local>/s|"];
18 [label="Postponed enter to lambda"];
subgraph cluster_7 {
color=blue
12 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
19 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
13 [label="Enter block"];
14 [label="Exit anonymous function expression"];
20 [label="Enter block"];
21 [label="Exit anonymous function expression"];
subgraph cluster_9 {
color=blue
17 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
22 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
18 [label="Enter block"];
19 [label="Access variable R|<local>/it|"];
20 [label="Exit block"];
23 [label="Enter block"];
24 [label="Access variable R|<local>/it|"];
25 [label="Exit block"];
}
21 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
26 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
15 [label="Exit block"];
27 [label="Exit block"];
}
16 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
28 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
8 [label="Postponed exit from lambda"];
9 [label="Function call: R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(...)" style="filled" fillcolor=yellow];
10 [label="Delegated constructor call: super<R|A|>(...)" style="filled" fillcolor=yellow];
11 [label="Exit function <init>" style="filled" fillcolor=red];
29 [label="Postponed exit from lambda"];
30 [label="Function call: R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(...)" style="filled" fillcolor=yellow];
31 [label="Delegated constructor call: super<R|A|>(...)" style="filled" fillcolor=yellow];
32 [label="Exit function <init>" style="filled" fillcolor=red];
}
30 -> {31} [color=green];
31 -> {22} [color=green];
31 -> {32} [style=dotted];
31 -> {22} [style=dashed];
32 -> {5 25} [color=green];
32 -> {5 25} [style=dashed];
22 -> {23};
23 -> {24};
24 -> {32} [color=green];
5 -> {6};
6 -> {7};
7 -> {9 12};
7 -> {8} [style=dotted];
7 -> {12} [style=dashed];
8 -> {9} [color=green];
8 -> {10} [color=red];
9 -> {10};
10 -> {11};
5 -> {6} [color=green];
6 -> {7} [color=green];
6 -> {10} [style=dotted];
6 -> {7} [style=dashed];
7 -> {8};
8 -> {9};
9 -> {10} [color=green];
10 -> {11 16} [color=green];
10 -> {11 16} [style=dashed];
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15 17};
14 -> {17} [style=dashed];
15 -> {16};
16 -> {8};
14 -> {15};
16 -> {17};
17 -> {18};
18 -> {19};
18 -> {19 30};
18 -> {29} [style=dotted];
18 -> {19} [style=dashed];
19 -> {20};
20 -> {21};
21 -> {22 27};
21 -> {22} [style=dashed];
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30} [color=green];
29 -> {31} [color=red];
30 -> {31};
31 -> {32};
}
@@ -5,20 +5,20 @@ digraph postponedLambdaInReturn_kt {
subgraph cluster_0 {
color=red
3 [label="Enter class Lateinit" style="filled" fillcolor=red];
4 [label="Exit class Lateinit" style="filled" fillcolor=red];
0 [label="Enter class Lateinit" style="filled" fillcolor=red];
1 [label="Exit class Lateinit" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
2 [label="Enter function <init>" style="filled" fillcolor=red];
3 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
4 [label="Exit function <init>" style="filled" fillcolor=red];
}
3 -> {4} [color=green];
4 -> {0} [color=green];
4 -> {0} [style=dashed];
0 -> {1};
1 -> {2};
0 -> {1} [color=green];
1 -> {2} [color=green];
1 -> {2} [style=dashed];
2 -> {3};
3 -> {4};
subgraph cluster_2 {
color=red
@@ -56,441 +56,441 @@ digraph postponedLambdaInReturn_kt {
subgraph cluster_5 {
color=red
25 [label="Enter property" style="filled" fillcolor=red];
26 [label="Const: Boolean(false)"];
27 [label="Exit property" style="filled" fillcolor=red];
17 [label="Enter property" style="filled" fillcolor=red];
18 [label="Const: Boolean(false)"];
19 [label="Exit property" style="filled" fillcolor=red];
}
25 -> {26};
26 -> {27};
17 -> {18};
18 -> {19};
subgraph cluster_6 {
color=red
28 [label="Enter function test1" style="filled" fillcolor=red];
20 [label="Enter function test1" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
29 [label="Enter block"];
30 [label="Const: Null(null)"];
31 [label="Variable declaration: lvar y: R|kotlin/String?|"];
32 [label="Postponed enter to lambda"];
21 [label="Enter block"];
22 [label="Const: Null(null)"];
23 [label="Variable declaration: lvar y: R|kotlin/String?|"];
24 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
40 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
25 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
41 [label="Enter block"];
26 [label="Enter block"];
subgraph cluster_10 {
color=blue
42 [label="Enter when"];
27 [label="Enter when"];
subgraph cluster_11 {
color=blue
43 [label="Enter when branch condition "];
44 [label="Access variable R|/p|"];
45 [label="Exit when branch condition"];
28 [label="Enter when branch condition "];
29 [label="Access variable R|/p|"];
30 [label="Exit when branch condition"];
}
subgraph cluster_12 {
color=blue
46 [label="Enter when branch condition else"];
47 [label="Exit when branch condition"];
31 [label="Enter when branch condition else"];
32 [label="Exit when branch condition"];
}
48 [label="Enter when branch result"];
33 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
49 [label="Enter block"];
50 [label="Const: String()"];
51 [label="Jump: ^@run String()"];
52 [label="Stub" style="filled" fillcolor=gray];
53 [label="Exit block" style="filled" fillcolor=gray];
34 [label="Enter block"];
35 [label="Const: String()"];
36 [label="Jump: ^@run String()"];
37 [label="Stub" style="filled" fillcolor=gray];
38 [label="Exit block" style="filled" fillcolor=gray];
}
54 [label="Exit when branch result" style="filled" fillcolor=gray];
55 [label="Enter when branch result"];
39 [label="Exit when branch result" style="filled" fillcolor=gray];
40 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
56 [label="Enter block"];
57 [label="Postponed enter to lambda"];
41 [label="Enter block"];
42 [label="Postponed enter to lambda"];
subgraph cluster_15 {
color=blue
67 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
43 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
68 [label="Enter block"];
69 [label="Access variable R|<local>/y|"];
70 [label="Type operator: (R|<local>/y| as R|kotlin/String|)"];
71 [label="Const: String(...)"];
72 [label="Assignment: R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>|"];
73 [label="Exit block"];
44 [label="Enter block"];
45 [label="Access variable R|<local>/y|"];
46 [label="Type operator: (R|<local>/y| as R|kotlin/String|)"];
47 [label="Const: String(...)"];
48 [label="Assignment: R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>|"];
49 [label="Exit block"];
}
74 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
50 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
58 [label="Postponed exit from lambda"];
59 [label="Function call: R|/build|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
60 [label="Jump: ^@run R|/build|<R|kotlin/String|>(<L> = build@fun R|Lateinit<kotlin/String>|.<anonymous>(): R|kotlin/Unit| <inline=CrossInline, kind=EXACTLY_ONCE> {
51 [label="Postponed exit from lambda"];
52 [label="Function call: R|/build|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
53 [label="Jump: ^@run R|/build|<R|kotlin/String|>(<L> = build@fun R|Lateinit<kotlin/String>|.<anonymous>(): R|kotlin/Unit| <inline=CrossInline, kind=EXACTLY_ONCE> {
(R|<local>/y| as R|kotlin/String|)
this@R|special/anonymous|.R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>| = String(...)
}
)"];
61 [label="Stub" style="filled" fillcolor=gray];
62 [label="Exit block" style="filled" fillcolor=gray];
54 [label="Stub" style="filled" fillcolor=gray];
55 [label="Exit block" style="filled" fillcolor=gray];
}
63 [label="Exit when branch result" style="filled" fillcolor=gray];
64 [label="Exit when" style="filled" fillcolor=gray];
56 [label="Exit when branch result" style="filled" fillcolor=gray];
57 [label="Exit when" style="filled" fillcolor=gray];
}
65 [label="Exit block" style="filled" fillcolor=gray];
58 [label="Exit block" style="filled" fillcolor=gray];
}
66 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
59 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
33 [label="Postponed exit from lambda"];
34 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
35 [label="Variable declaration: lval x: R|kotlin/String|"];
36 [label="Access variable R|<local>/y|"];
37 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
38 [label="Exit block"];
60 [label="Postponed exit from lambda"];
61 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
62 [label="Variable declaration: lval x: R|kotlin/String|"];
63 [label="Access variable R|<local>/y|"];
64 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
65 [label="Exit block"];
}
39 [label="Exit function test1" style="filled" fillcolor=red];
66 [label="Exit function test1" style="filled" fillcolor=red];
}
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25 61};
24 -> {60} [style=dotted];
24 -> {25} [style=dashed];
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
30 -> {31 40};
31 -> {32};
32 -> {34 40};
32 -> {33} [style=dotted];
32 -> {40} [style=dashed];
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
36 -> {59};
36 -> {37} [style=dotted];
37 -> {38} [style=dotted];
38 -> {39} [style=dotted];
39 -> {57} [style=dotted];
40 -> {41};
41 -> {42};
42 -> {43};
42 -> {43 52};
42 -> {51} [style=dotted];
42 -> {43} [style=dashed];
43 -> {44};
44 -> {45};
45 -> {46 55};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {66};
51 -> {52} [style=dotted];
52 -> {53} [style=dotted];
51 -> {52} [color=green];
52 -> {53};
53 -> {59};
53 -> {54} [style=dotted];
54 -> {64} [style=dotted];
55 -> {56};
56 -> {57};
57 -> {59 67};
54 -> {55} [style=dotted];
55 -> {56} [style=dotted];
56 -> {57} [style=dotted];
57 -> {58} [style=dotted];
57 -> {67} [style=dashed];
58 -> {59} [color=green];
58 -> {59} [style=dotted];
59 -> {60};
60 -> {66};
60 -> {61} [style=dotted];
61 -> {62} [style=dotted];
62 -> {63} [style=dotted];
63 -> {64} [style=dotted];
64 -> {65} [style=dotted];
65 -> {66} [style=dotted];
66 -> {33};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
subgraph cluster_17 {
color=red
67 [label="Enter function test2" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
68 [label="Enter block"];
69 [label="Postponed enter to lambda"];
subgraph cluster_19 {
color=blue
70 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_20 {
color=blue
71 [label="Enter block"];
subgraph cluster_21 {
color=blue
72 [label="Enter while loop"];
subgraph cluster_22 {
color=blue
73 [label="Enter loop condition"];
74 [label="Const: Boolean(true)"];
75 [label="Exit loop condition"];
}
subgraph cluster_23 {
color=blue
76 [label="Enter loop block"];
subgraph cluster_24 {
color=blue
77 [label="Enter block"];
subgraph cluster_25 {
color=blue
78 [label="Try expression enter"];
subgraph cluster_26 {
color=blue
79 [label="Try main block enter"];
subgraph cluster_27 {
color=blue
80 [label="Enter block"];
81 [label="Postponed enter to lambda"];
subgraph cluster_28 {
color=blue
82 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
83 [label="Enter block"];
84 [label="Const: String(...)"];
85 [label="Assignment: R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>|"];
86 [label="Exit block"];
}
87 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
88 [label="Postponed exit from lambda"];
89 [label="Function call: R|/build|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
90 [label="Jump: ^@run R|/build|<R|kotlin/String|>(<L> = build@fun R|Lateinit<kotlin/String>|.<anonymous>(): R|kotlin/Unit| <inline=CrossInline, kind=EXACTLY_ONCE> {
this@R|special/anonymous|.R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>| = String(...)
}
)"];
91 [label="Stub" style="filled" fillcolor=gray];
92 [label="Exit block" style="filled" fillcolor=gray];
}
93 [label="Try main block exit" style="filled" fillcolor=gray];
}
subgraph cluster_30 {
color=blue
94 [label="Catch enter"];
95 [label="Variable declaration: e: R|kotlin/Throwable|"];
subgraph cluster_31 {
color=blue
96 [label="Enter block"];
97 [label="Exit block"];
}
98 [label="Catch exit"];
}
99 [label="Try expression exit"];
}
100 [label="Exit block"];
}
101 [label="Exit loop block"];
}
102 [label="Exit whileloop" style="filled" fillcolor=gray];
}
103 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=gray];
104 [label="Throw: throw R|java/lang/Exception.Exception|()" style="filled" fillcolor=gray];
105 [label="Stub" style="filled" fillcolor=gray];
106 [label="Exit block" style="filled" fillcolor=gray];
}
107 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
108 [label="Postponed exit from lambda"];
109 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
110 [label="Variable declaration: lval x: R|kotlin/String|"];
111 [label="Access variable R|<local>/x|"];
112 [label="Access variable R|kotlin/String.length|"];
113 [label="Exit block"];
}
114 [label="Exit function test2" style="filled" fillcolor=red];
}
67 -> {68};
68 -> {69};
69 -> {70};
69 -> {70 109};
69 -> {108} [style=dotted];
69 -> {70} [style=dashed];
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {58};
subgraph cluster_17 {
color=red
75 [label="Enter function test2" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
76 [label="Enter block"];
77 [label="Postponed enter to lambda"];
subgraph cluster_19 {
color=blue
85 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_20 {
color=blue
86 [label="Enter block"];
subgraph cluster_21 {
color=blue
87 [label="Enter while loop"];
subgraph cluster_22 {
color=blue
88 [label="Enter loop condition"];
89 [label="Const: Boolean(true)"];
90 [label="Exit loop condition"];
}
subgraph cluster_23 {
color=blue
91 [label="Enter loop block"];
subgraph cluster_24 {
color=blue
92 [label="Enter block"];
subgraph cluster_25 {
color=blue
93 [label="Try expression enter"];
subgraph cluster_26 {
color=blue
94 [label="Try main block enter"];
subgraph cluster_27 {
color=blue
95 [label="Enter block"];
96 [label="Postponed enter to lambda"];
subgraph cluster_28 {
color=blue
117 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
118 [label="Enter block"];
119 [label="Const: String(...)"];
120 [label="Assignment: R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>|"];
121 [label="Exit block"];
}
122 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
97 [label="Postponed exit from lambda"];
98 [label="Function call: R|/build|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
99 [label="Jump: ^@run R|/build|<R|kotlin/String|>(<L> = build@fun R|Lateinit<kotlin/String>|.<anonymous>(): R|kotlin/Unit| <inline=CrossInline, kind=EXACTLY_ONCE> {
this@R|special/anonymous|.R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>| = String(...)
}
)"];
100 [label="Stub" style="filled" fillcolor=gray];
101 [label="Exit block" style="filled" fillcolor=gray];
}
102 [label="Try main block exit" style="filled" fillcolor=gray];
}
subgraph cluster_30 {
color=blue
103 [label="Catch enter"];
104 [label="Variable declaration: e: R|kotlin/Throwable|"];
subgraph cluster_31 {
color=blue
105 [label="Enter block"];
106 [label="Exit block"];
}
107 [label="Catch exit"];
}
108 [label="Try expression exit"];
}
109 [label="Exit block"];
}
110 [label="Exit loop block"];
}
111 [label="Exit whileloop" style="filled" fillcolor=gray];
}
112 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=gray];
113 [label="Throw: throw R|java/lang/Exception.Exception|()" style="filled" fillcolor=gray];
114 [label="Stub" style="filled" fillcolor=gray];
115 [label="Exit block" style="filled" fillcolor=gray];
}
116 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
78 [label="Postponed exit from lambda"];
79 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
80 [label="Variable declaration: lval x: R|kotlin/String|"];
81 [label="Access variable R|<local>/x|"];
82 [label="Access variable R|kotlin/String.length|"];
83 [label="Exit block"];
}
84 [label="Exit function test2" style="filled" fillcolor=red];
}
74 -> {75};
75 -> {76};
75 -> {102} [style=dotted];
76 -> {77};
77 -> {79 85};
77 -> {78} [style=dotted];
77 -> {85} [style=dashed];
78 -> {79};
77 -> {78};
78 -> {79 94};
79 -> {80};
80 -> {81};
81 -> {82};
81 -> {82 89};
81 -> {88} [style=dotted];
81 -> {82} [style=dashed];
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
88 -> {89} [color=green];
89 -> {90};
90 -> {91};
90 -> {111} [style=dotted];
91 -> {92};
92 -> {93};
93 -> {94 103};
90 -> {107};
90 -> {91} [style=dotted];
91 -> {92} [style=dotted];
92 -> {93} [style=dotted];
93 -> {94 99} [style=dotted];
94 -> {95};
95 -> {96};
96 -> {98 117};
96 -> {97} [style=dotted];
96 -> {117} [style=dashed];
97 -> {98} [color=green];
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {116};
99 -> {100} [style=dotted];
100 -> {101} [style=dotted];
101 -> {102} [style=dotted];
102 -> {103 108} [style=dotted];
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
99 -> {100};
100 -> {101};
101 -> {73} [color=green style=dashed];
102 -> {103} [style=dotted];
103 -> {104} [style=dotted];
104 -> {105} [style=dotted];
105 -> {106} [style=dotted];
106 -> {107} [style=dotted];
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {88} [color=green style=dashed];
111 -> {112} [style=dotted];
112 -> {113} [style=dotted];
113 -> {114} [style=dotted];
114 -> {115} [style=dotted];
115 -> {116} [style=dotted];
116 -> {78};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {97};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {114};
subgraph cluster_32 {
color=red
123 [label="Enter function test3" style="filled" fillcolor=red];
115 [label="Enter function test3" style="filled" fillcolor=red];
subgraph cluster_33 {
color=blue
124 [label="Enter block"];
125 [label="Variable declaration: lvar y: R|kotlin/String?|"];
126 [label="Const: String()"];
127 [label="Assignment: R|<local>/y|"];
128 [label="Postponed enter to lambda"];
116 [label="Enter block"];
117 [label="Variable declaration: lvar y: R|kotlin/String?|"];
118 [label="Const: String()"];
119 [label="Assignment: R|<local>/y|"];
120 [label="Postponed enter to lambda"];
subgraph cluster_34 {
color=blue
137 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
121 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_35 {
color=blue
138 [label="Enter block"];
122 [label="Enter block"];
subgraph cluster_36 {
color=blue
139 [label="Enter when"];
123 [label="Enter when"];
subgraph cluster_37 {
color=blue
140 [label="Enter when branch condition "];
141 [label="Access variable R|/p|"];
142 [label="Function call: R|/p|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
143 [label="Exit when branch condition"];
124 [label="Enter when branch condition "];
125 [label="Access variable R|/p|"];
126 [label="Function call: R|/p|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
127 [label="Exit when branch condition"];
}
subgraph cluster_38 {
color=blue
144 [label="Enter when branch condition else"];
145 [label="Exit when branch condition"];
128 [label="Enter when branch condition else"];
129 [label="Exit when branch condition"];
}
146 [label="Enter when branch result"];
130 [label="Enter when branch result"];
subgraph cluster_39 {
color=blue
147 [label="Enter block"];
148 [label="Const: String()"];
149 [label="Jump: ^@run String()"];
150 [label="Stub" style="filled" fillcolor=gray];
151 [label="Exit block" style="filled" fillcolor=gray];
131 [label="Enter block"];
132 [label="Const: String()"];
133 [label="Jump: ^@run String()"];
134 [label="Stub" style="filled" fillcolor=gray];
135 [label="Exit block" style="filled" fillcolor=gray];
}
152 [label="Exit when branch result" style="filled" fillcolor=gray];
153 [label="Enter when branch result"];
136 [label="Exit when branch result" style="filled" fillcolor=gray];
137 [label="Enter when branch result"];
subgraph cluster_40 {
color=blue
154 [label="Enter block"];
155 [label="Postponed enter to lambda"];
138 [label="Enter block"];
139 [label="Postponed enter to lambda"];
subgraph cluster_41 {
color=blue
165 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
140 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_42 {
color=blue
166 [label="Enter block"];
167 [label="Const: Null(null)"];
168 [label="Assignment: R|<local>/y|"];
169 [label="Const: String(...)"];
170 [label="Assignment: R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>|"];
171 [label="Exit block"];
141 [label="Enter block"];
142 [label="Const: Null(null)"];
143 [label="Assignment: R|<local>/y|"];
144 [label="Const: String(...)"];
145 [label="Assignment: R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>|"];
146 [label="Exit block"];
}
172 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
147 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
156 [label="Postponed exit from lambda"];
157 [label="Function call: R|/build|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
158 [label="Jump: ^@run R|/build|<R|kotlin/String|>(<L> = build@fun R|Lateinit<kotlin/String>|.<anonymous>(): R|kotlin/Unit| <inline=CrossInline, kind=EXACTLY_ONCE> {
148 [label="Postponed exit from lambda"];
149 [label="Function call: R|/build|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
150 [label="Jump: ^@run R|/build|<R|kotlin/String|>(<L> = build@fun R|Lateinit<kotlin/String>|.<anonymous>(): R|kotlin/Unit| <inline=CrossInline, kind=EXACTLY_ONCE> {
R|<local>/y| = Null(null)
this@R|special/anonymous|.R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>| = String(...)
}
)"];
159 [label="Stub" style="filled" fillcolor=gray];
160 [label="Exit block" style="filled" fillcolor=gray];
151 [label="Stub" style="filled" fillcolor=gray];
152 [label="Exit block" style="filled" fillcolor=gray];
}
161 [label="Exit when branch result" style="filled" fillcolor=gray];
162 [label="Exit when" style="filled" fillcolor=gray];
153 [label="Exit when branch result" style="filled" fillcolor=gray];
154 [label="Exit when" style="filled" fillcolor=gray];
}
163 [label="Exit block" style="filled" fillcolor=gray];
155 [label="Exit block" style="filled" fillcolor=gray];
}
164 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
156 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
129 [label="Postponed exit from lambda"];
130 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
131 [label="Variable declaration: lval x: R|kotlin/String|"];
132 [label="Access variable R|<local>/y|"];
133 [label="Smart cast: R|<local>/y|"];
134 [label="Access variable R|kotlin/String.length|"];
135 [label="Exit block"];
157 [label="Postponed exit from lambda"];
158 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
159 [label="Variable declaration: lval x: R|kotlin/String|"];
160 [label="Access variable R|<local>/y|"];
161 [label="Smart cast: R|<local>/y|"];
162 [label="Access variable R|kotlin/String.length|"];
163 [label="Exit block"];
}
136 [label="Exit function test3" style="filled" fillcolor=red];
164 [label="Exit function test3" style="filled" fillcolor=red];
}
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121 158};
120 -> {157} [style=dotted];
120 -> {121} [style=dashed];
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {130 137};
128 -> {129} [style=dotted];
128 -> {137} [style=dashed];
127 -> {128 137};
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {135};
135 -> {136};
133 -> {156};
133 -> {134} [style=dotted];
134 -> {135} [style=dotted];
135 -> {136} [style=dotted];
136 -> {154} [style=dotted];
137 -> {138};
138 -> {139};
139 -> {140};
139 -> {140 149};
139 -> {148} [style=dotted];
139 -> {140} [style=dashed];
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {144 153};
143 -> {144};
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {164};
149 -> {150} [style=dotted];
148 -> {149} [color=green];
149 -> {150};
150 -> {156};
150 -> {151} [style=dotted];
151 -> {152} [style=dotted];
152 -> {162} [style=dotted];
153 -> {154};
154 -> {155};
155 -> {157 165};
152 -> {153} [style=dotted];
153 -> {154} [style=dotted];
154 -> {155} [style=dotted];
155 -> {156} [style=dotted];
155 -> {165} [style=dashed];
156 -> {157} [color=green];
156 -> {157};
157 -> {158};
158 -> {164};
158 -> {159} [style=dotted];
159 -> {160} [style=dotted];
160 -> {161} [style=dotted];
161 -> {162} [style=dotted];
162 -> {163} [style=dotted];
163 -> {164} [style=dotted];
164 -> {129};
165 -> {166};
166 -> {167};
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {172};
172 -> {156};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {162};
162 -> {163};
163 -> {164};
}
@@ -28,31 +28,31 @@ digraph postponedLambdas_kt {
8 [label="Postponed enter to lambda"];
subgraph cluster_4 {
color=blue
13 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
9 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
14 [label="Enter block"];
15 [label="Const: String()"];
16 [label="Exit block"];
10 [label="Enter block"];
11 [label="Const: String()"];
12 [label="Exit block"];
}
17 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
13 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
9 [label="Postponed exit from lambda"];
10 [label="Function call: R|/foo|(...)" style="filled" fillcolor=yellow];
11 [label="Exit block"];
14 [label="Postponed exit from lambda"];
15 [label="Function call: R|/foo|(...)" style="filled" fillcolor=yellow];
16 [label="Exit block"];
}
12 [label="Exit function test" style="filled" fillcolor=red];
17 [label="Exit function test" style="filled" fillcolor=red];
}
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9 10 13};
8 -> {13} [style=dashed];
8 -> {9 14 15};
8 -> {9} [style=dashed];
9 -> {10};
10 -> {11};
11 -> {12};
13 -> {14};
12 -> {13};
14 -> {15};
15 -> {16};
16 -> {17};
@@ -78,172 +78,172 @@ digraph propertiesAndInitBlocks_kt {
subgraph cluster_8 {
color=red
58 [label="Enter function getter" style="filled" fillcolor=red];
24 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
59 [label="Enter block"];
60 [label="Exit local class <getter>"];
61 [label="Exit block"];
25 [label="Enter block"];
26 [label="Exit local class <getter>"];
27 [label="Exit block"];
}
62 [label="Exit function getter" style="filled" fillcolor=red];
28 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_10 {
color=blue
63 [label="Enter class GetterLocalClass" style="filled" fillcolor=red];
64 [label="Part of class initialization"];
29 [label="Enter class GetterLocalClass" style="filled" fillcolor=red];
30 [label="Part of class initialization"];
subgraph cluster_11 {
color=blue
66 [label="Enter init block" style="filled" fillcolor=red];
31 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
67 [label="Enter block"];
68 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
69 [label="Throw: throw R|java/lang/Exception.Exception|()"];
70 [label="Stub" style="filled" fillcolor=gray];
71 [label="Exit block" style="filled" fillcolor=gray];
32 [label="Enter block"];
33 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
34 [label="Throw: throw R|java/lang/Exception.Exception|()"];
35 [label="Stub" style="filled" fillcolor=gray];
36 [label="Exit block" style="filled" fillcolor=gray];
}
72 [label="Exit init block" style="filled" fillcolor=gray];
37 [label="Exit init block" style="filled" fillcolor=gray];
}
65 [label="Exit class GetterLocalClass" style="filled" fillcolor=gray];
38 [label="Exit class GetterLocalClass" style="filled" fillcolor=gray];
}
subgraph cluster_13 {
color=blue
73 [label="Enter function <init>" style="filled" fillcolor=gray];
74 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
75 [label="Exit function <init>" style="filled" fillcolor=red];
39 [label="Enter function <init>" style="filled" fillcolor=gray];
40 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
41 [label="Exit function <init>" style="filled" fillcolor=red];
}
58 -> {59};
59 -> {60};
60 -> {61 63};
60 -> {63} [style=dashed];
61 -> {62};
63 -> {64} [color=green];
63 -> {66 73} [color=red];
64 -> {66} [color=green];
64 -> {65} [style=dotted];
64 -> {66} [style=dashed];
65 -> {73} [style=dotted];
65 -> {73} [style=dashed];
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70} [style=dotted];
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
72 -> {65} [style=dotted];
73 -> {74};
74 -> {75};
24 -> {25};
25 -> {26};
26 -> {27 29};
26 -> {29} [style=dashed];
27 -> {28};
29 -> {30} [color=green];
29 -> {31 39} [color=red];
30 -> {31} [color=green];
30 -> {38} [style=dotted];
30 -> {31} [style=dashed];
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35} [style=dotted];
35 -> {36} [style=dotted];
36 -> {37} [style=dotted];
37 -> {38} [style=dotted];
38 -> {39} [style=dotted];
38 -> {39} [style=dashed];
39 -> {40};
40 -> {41};
subgraph cluster_14 {
color=red
76 [label="Enter property" style="filled" fillcolor=red];
77 [label="Postponed enter to lambda"];
42 [label="Enter property" style="filled" fillcolor=red];
43 [label="Postponed enter to lambda"];
subgraph cluster_15 {
color=blue
24 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
44 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
25 [label="Enter block"];
26 [label="Local function declaration <anonymous>"];
27 [label="Exit local class <anonymous>"];
28 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
29 [label="Throw: throw R|java/lang/Exception.Exception|()"];
30 [label="Stub" style="filled" fillcolor=gray];
31 [label="Exit block" style="filled" fillcolor=gray];
45 [label="Enter block"];
46 [label="Local function declaration <anonymous>"];
47 [label="Exit local class <anonymous>"];
48 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
49 [label="Throw: throw R|java/lang/Exception.Exception|()"];
50 [label="Stub" style="filled" fillcolor=gray];
51 [label="Exit block" style="filled" fillcolor=gray];
}
32 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
52 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
}
subgraph cluster_17 {
color=blue
44 [label="Enter class InitializerLocalClass" style="filled" fillcolor=red];
45 [label="Part of class initialization"];
53 [label="Enter class InitializerLocalClass" style="filled" fillcolor=red];
54 [label="Part of class initialization"];
subgraph cluster_18 {
color=blue
47 [label="Enter init block" style="filled" fillcolor=red];
55 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
48 [label="Enter block"];
49 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
50 [label="Throw: throw R|java/lang/Exception.Exception|()"];
51 [label="Stub" style="filled" fillcolor=gray];
52 [label="Const: Int(1)" style="filled" fillcolor=gray];
53 [label="Exit block" style="filled" fillcolor=gray];
56 [label="Enter block"];
57 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
58 [label="Throw: throw R|java/lang/Exception.Exception|()"];
59 [label="Stub" style="filled" fillcolor=gray];
60 [label="Const: Int(1)" style="filled" fillcolor=gray];
61 [label="Exit block" style="filled" fillcolor=gray];
}
54 [label="Exit init block" style="filled" fillcolor=gray];
62 [label="Exit init block" style="filled" fillcolor=gray];
}
46 [label="Exit class InitializerLocalClass" style="filled" fillcolor=gray];
63 [label="Exit class InitializerLocalClass" style="filled" fillcolor=gray];
}
subgraph cluster_20 {
color=blue
55 [label="Enter function <init>" style="filled" fillcolor=gray];
56 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
57 [label="Exit function <init>" style="filled" fillcolor=red];
64 [label="Enter function <init>" style="filled" fillcolor=gray];
65 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
66 [label="Exit function <init>" style="filled" fillcolor=red];
}
subgraph cluster_21 {
color=blue
33 [label="Enter function foo" style="filled" fillcolor=red];
67 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
34 [label="Enter block"];
35 [label="Const: Int(1)"];
36 [label="Const: Int(1)"];
37 [label="Function call: Int(1).R|kotlin/Int.plus|(...)" style="filled" fillcolor=yellow];
38 [label="Variable declaration: lval c: R|kotlin/Int|"];
39 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
40 [label="Throw: throw R|java/lang/Exception.Exception|()"];
41 [label="Stub" style="filled" fillcolor=gray];
42 [label="Exit block" style="filled" fillcolor=gray];
68 [label="Enter block"];
69 [label="Const: Int(1)"];
70 [label="Const: Int(1)"];
71 [label="Function call: Int(1).R|kotlin/Int.plus|(...)" style="filled" fillcolor=yellow];
72 [label="Variable declaration: lval c: R|kotlin/Int|"];
73 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
74 [label="Throw: throw R|java/lang/Exception.Exception|()"];
75 [label="Stub" style="filled" fillcolor=gray];
76 [label="Exit block" style="filled" fillcolor=gray];
}
43 [label="Exit function foo" style="filled" fillcolor=gray];
77 [label="Exit function foo" style="filled" fillcolor=gray];
}
78 [label="Postponed exit from lambda"];
79 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow];
80 [label="Exit property" style="filled" fillcolor=red];
}
76 -> {77};
77 -> {24 78 79};
77 -> {24} [style=dashed];
78 -> {79};
78 -> {77} [color=green style=dashed];
79 -> {80};
24 -> {25};
25 -> {26};
26 -> {27 33};
26 -> {33} [style=dashed];
27 -> {28 44};
27 -> {44} [style=dashed];
28 -> {29};
29 -> {30} [style=dotted];
30 -> {31} [style=dotted];
31 -> {32} [style=dotted];
32 -> {78} [style=dotted];
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41} [style=dotted];
41 -> {42} [style=dotted];
42 -> {43} [style=dotted];
44 -> {45} [color=green];
44 -> {47 55} [color=red];
45 -> {47} [color=green];
45 -> {46} [style=dotted];
45 -> {47} [style=dashed];
46 -> {55} [style=dotted];
46 -> {55} [style=dashed];
47 -> {48};
42 -> {43};
43 -> {44 78 79};
43 -> {44} [style=dashed];
44 -> {45};
45 -> {46};
46 -> {47 67};
46 -> {67} [style=dashed];
47 -> {48 53};
47 -> {53} [style=dashed];
48 -> {49};
49 -> {50};
49 -> {50} [style=dotted];
50 -> {51} [style=dotted];
51 -> {52} [style=dotted];
52 -> {53} [style=dotted];
53 -> {54} [style=dotted];
54 -> {46} [style=dotted];
52 -> {78} [style=dotted];
53 -> {54} [color=green];
53 -> {55 64} [color=red];
54 -> {55} [color=green];
54 -> {63} [style=dotted];
54 -> {55} [style=dashed];
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59} [style=dotted];
59 -> {60} [style=dotted];
60 -> {61} [style=dotted];
61 -> {62} [style=dotted];
62 -> {63} [style=dotted];
63 -> {64} [style=dotted];
63 -> {64} [style=dashed];
64 -> {65};
65 -> {66};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75} [style=dotted];
75 -> {76} [style=dotted];
76 -> {77} [style=dotted];
78 -> {79};
78 -> {43} [color=green style=dashed];
79 -> {80};
subgraph cluster_23 {
color=red
@@ -12,37 +12,37 @@ digraph returnValuesFromLambda_kt {
subgraph cluster_1 {
color=red
5 [label="Enter class B" style="filled" fillcolor=red];
6 [label="Exit class B" style="filled" fillcolor=red];
2 [label="Enter class B" style="filled" fillcolor=red];
3 [label="Exit class B" style="filled" fillcolor=red];
}
subgraph cluster_2 {
color=blue
2 [label="Enter function <init>" style="filled" fillcolor=red];
3 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
4 [label="Exit function <init>" style="filled" fillcolor=red];
4 [label="Enter function <init>" style="filled" fillcolor=red];
5 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
6 [label="Exit function <init>" style="filled" fillcolor=red];
}
5 -> {6} [color=green];
6 -> {2} [color=green];
6 -> {2} [style=dashed];
2 -> {3};
3 -> {4};
2 -> {3} [color=green];
3 -> {4} [color=green];
3 -> {4} [style=dashed];
4 -> {5};
5 -> {6};
subgraph cluster_3 {
color=red
10 [label="Enter class C" style="filled" fillcolor=red];
11 [label="Exit class C" style="filled" fillcolor=red];
7 [label="Enter class C" style="filled" fillcolor=red];
8 [label="Exit class C" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
7 [label="Enter function <init>" style="filled" fillcolor=red];
8 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
9 [label="Exit function <init>" style="filled" fillcolor=red];
9 [label="Enter function <init>" style="filled" fillcolor=red];
10 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
11 [label="Exit function <init>" style="filled" fillcolor=red];
}
10 -> {11} [color=green];
11 -> {7} [color=green];
11 -> {7} [style=dashed];
7 -> {8};
8 -> {9};
7 -> {8} [color=green];
8 -> {9} [color=green];
8 -> {9} [style=dashed];
9 -> {10};
10 -> {11};
subgraph cluster_5 {
color=red
@@ -53,72 +53,72 @@ digraph returnValuesFromLambda_kt {
14 [label="Postponed enter to lambda"];
subgraph cluster_7 {
color=blue
20 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
15 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
21 [label="Enter block"];
16 [label="Enter block"];
subgraph cluster_9 {
color=blue
22 [label="Enter when"];
17 [label="Enter when"];
subgraph cluster_10 {
color=blue
23 [label="Enter when branch condition "];
24 [label="Access variable R|<local>/b|"];
25 [label="Exit when branch condition"];
18 [label="Enter when branch condition "];
19 [label="Access variable R|<local>/b|"];
20 [label="Exit when branch condition"];
}
26 [label="Synthetic else branch"];
27 [label="Enter when branch result"];
21 [label="Synthetic else branch"];
22 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
28 [label="Enter block"];
29 [label="Function call: R|/B.B|()" style="filled" fillcolor=yellow];
30 [label="Jump: ^@run R|/B.B|()"];
31 [label="Stub" style="filled" fillcolor=gray];
32 [label="Exit block" style="filled" fillcolor=gray];
23 [label="Enter block"];
24 [label="Function call: R|/B.B|()" style="filled" fillcolor=yellow];
25 [label="Jump: ^@run R|/B.B|()"];
26 [label="Stub" style="filled" fillcolor=gray];
27 [label="Exit block" style="filled" fillcolor=gray];
}
33 [label="Exit when branch result" style="filled" fillcolor=gray];
34 [label="Exit when"];
28 [label="Exit when branch result" style="filled" fillcolor=gray];
29 [label="Exit when"];
}
35 [label="Function call: R|/C.C|()" style="filled" fillcolor=yellow];
36 [label="Exit block"];
30 [label="Function call: R|/C.C|()" style="filled" fillcolor=yellow];
31 [label="Exit block"];
}
37 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
32 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
15 [label="Postponed exit from lambda"];
16 [label="Function call: R|kotlin/run|<R|A|>(...)" style="filled" fillcolor=yellow];
17 [label="Variable declaration: lval x: R|A|"];
18 [label="Exit block"];
33 [label="Postponed exit from lambda"];
34 [label="Function call: R|kotlin/run|<R|A|>(...)" style="filled" fillcolor=yellow];
35 [label="Variable declaration: lval x: R|A|"];
36 [label="Exit block"];
}
19 [label="Exit function test_1" style="filled" fillcolor=red];
37 [label="Exit function test_1" style="filled" fillcolor=red];
}
12 -> {13};
13 -> {14};
14 -> {16 20};
14 -> {15} [style=dotted];
14 -> {20} [style=dashed];
14 -> {15 34};
14 -> {33} [style=dotted];
14 -> {15} [style=dashed];
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
20 -> {21};
21 -> {22};
19 -> {20};
20 -> {21 22};
21 -> {29};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26 27};
26 -> {34};
27 -> {28};
28 -> {29};
25 -> {32};
25 -> {26} [style=dotted];
26 -> {27} [style=dotted];
27 -> {28} [style=dotted];
28 -> {29} [style=dotted];
29 -> {30};
30 -> {37};
30 -> {31} [style=dotted];
31 -> {32} [style=dotted];
32 -> {33} [style=dotted];
33 -> {34} [style=dotted];
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {15};
subgraph cluster_12 {
color=red
@@ -129,41 +129,41 @@ digraph returnValuesFromLambda_kt {
40 [label="Postponed enter to lambda"];
subgraph cluster_14 {
color=blue
46 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
41 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
47 [label="Enter block"];
48 [label="Function call: R|/C.C|()" style="filled" fillcolor=yellow];
49 [label="Jump: ^@run R|/C.C|()"];
50 [label="Stub" style="filled" fillcolor=gray];
51 [label="Exit block" style="filled" fillcolor=gray];
42 [label="Enter block"];
43 [label="Function call: R|/C.C|()" style="filled" fillcolor=yellow];
44 [label="Jump: ^@run R|/C.C|()"];
45 [label="Stub" style="filled" fillcolor=gray];
46 [label="Exit block" style="filled" fillcolor=gray];
}
52 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
47 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
41 [label="Postponed exit from lambda"];
42 [label="Function call: R|kotlin/run|<R|C|>(...)" style="filled" fillcolor=yellow];
43 [label="Variable declaration: lval x: R|C|"];
44 [label="Exit block"];
48 [label="Postponed exit from lambda"];
49 [label="Function call: R|kotlin/run|<R|C|>(...)" style="filled" fillcolor=yellow];
50 [label="Variable declaration: lval x: R|C|"];
51 [label="Exit block"];
}
45 [label="Exit function test_2" style="filled" fillcolor=red];
52 [label="Exit function test_2" style="filled" fillcolor=red];
}
38 -> {39};
39 -> {40};
40 -> {42 46};
40 -> {41} [style=dotted];
40 -> {46} [style=dashed];
40 -> {41 49};
40 -> {48} [style=dotted];
40 -> {41} [style=dashed];
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
46 -> {47};
44 -> {47};
44 -> {45} [style=dotted];
45 -> {46} [style=dotted];
46 -> {47} [style=dotted];
47 -> {48};
48 -> {49};
49 -> {52};
49 -> {50} [style=dotted];
50 -> {51} [style=dotted];
51 -> {52} [style=dotted];
52 -> {41};
49 -> {50};
50 -> {51};
51 -> {52};
subgraph cluster_16 {
color=red
@@ -174,40 +174,40 @@ digraph returnValuesFromLambda_kt {
55 [label="Postponed enter to lambda"];
subgraph cluster_18 {
color=blue
62 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
56 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
63 [label="Enter block"];
64 [label="Jump: ^test_3 Unit"];
65 [label="Stub" style="filled" fillcolor=gray];
66 [label="Exit block" style="filled" fillcolor=gray];
57 [label="Enter block"];
58 [label="Jump: ^test_3 Unit"];
59 [label="Stub" style="filled" fillcolor=gray];
60 [label="Exit block" style="filled" fillcolor=gray];
}
67 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
61 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
}
56 [label="Postponed exit from lambda" style="filled" fillcolor=gray];
57 [label="Function call: R|kotlin/run|<R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
58 [label="Stub" style="filled" fillcolor=gray];
59 [label="Variable declaration: lval x: R|kotlin/Nothing|" style="filled" fillcolor=gray];
60 [label="Exit block" style="filled" fillcolor=gray];
62 [label="Postponed exit from lambda" style="filled" fillcolor=gray];
63 [label="Function call: R|kotlin/run|<R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
64 [label="Stub" style="filled" fillcolor=gray];
65 [label="Variable declaration: lval x: R|kotlin/Nothing|" style="filled" fillcolor=gray];
66 [label="Exit block" style="filled" fillcolor=gray];
}
61 [label="Exit function test_3" style="filled" fillcolor=red];
67 [label="Exit function test_3" style="filled" fillcolor=red];
}
53 -> {54};
54 -> {55};
55 -> {62};
55 -> {56 57} [style=dotted];
55 -> {62} [style=dashed];
56 -> {57} [style=dotted];
57 -> {58} [style=dotted];
55 -> {56};
55 -> {62 63} [style=dotted];
55 -> {56} [style=dashed];
56 -> {57};
57 -> {58};
58 -> {67};
58 -> {59} [style=dotted];
59 -> {60} [style=dotted];
60 -> {61} [style=dotted];
62 -> {63};
63 -> {64};
64 -> {61};
61 -> {62} [style=dotted];
62 -> {63} [style=dotted];
63 -> {64} [style=dotted];
64 -> {65} [style=dotted];
65 -> {66} [style=dotted];
66 -> {67} [style=dotted];
67 -> {56} [style=dotted];
}
@@ -5,8 +5,8 @@ digraph safeCalls_kt {
subgraph cluster_0 {
color=red
4 [label="Enter class A" style="filled" fillcolor=red];
5 [label="Exit class A" style="filled" fillcolor=red];
0 [label="Enter class A" style="filled" fillcolor=red];
1 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
@@ -15,14 +15,14 @@ digraph safeCalls_kt {
}
subgraph cluster_2 {
color=blue
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
4 [label="Enter function foo" style="filled" fillcolor=red];
5 [label="Exit function foo" style="filled" fillcolor=red];
}
4 -> {5} [color=green];
5 -> {0 2} [color=green];
5 -> {0 2} [style=dashed];
0 -> {1};
0 -> {1} [color=green];
1 -> {2 4} [color=green];
1 -> {2 4} [style=dashed];
2 -> {3};
4 -> {5};
subgraph cluster_3 {
color=red
+27 -27
View File
@@ -239,26 +239,26 @@ digraph tryCatch_kt {
color=blue
93 [label="Enter block"];
94 [label="Jump: break@@@[Boolean(true)] "];
100 [label="Stub" style="filled" fillcolor=gray];
101 [label="Exit block" style="filled" fillcolor=gray];
95 [label="Stub" style="filled" fillcolor=gray];
96 [label="Exit block" style="filled" fillcolor=gray];
}
102 [label="Catch exit" style="filled" fillcolor=gray];
97 [label="Catch exit" style="filled" fillcolor=gray];
}
103 [label="Try expression exit"];
98 [label="Try expression exit"];
}
104 [label="Const: Int(2)"];
105 [label="Variable declaration: lval y: R|kotlin/Int|"];
106 [label="Exit block"];
99 [label="Const: Int(2)"];
100 [label="Variable declaration: lval y: R|kotlin/Int|"];
101 [label="Exit block"];
}
107 [label="Exit loop block"];
102 [label="Exit loop block"];
}
95 [label="Exit whileloop"];
103 [label="Exit whileloop"];
}
96 [label="Const: Int(3)"];
97 [label="Variable declaration: lval z: R|kotlin/Int|"];
98 [label="Exit block"];
104 [label="Const: Int(3)"];
105 [label="Variable declaration: lval z: R|kotlin/Int|"];
106 [label="Exit block"];
}
99 [label="Exit function test_3" style="filled" fillcolor=red];
107 [label="Exit function test_3" style="filled" fillcolor=red];
}
44 -> {45};
45 -> {46};
@@ -266,7 +266,7 @@ digraph tryCatch_kt {
47 -> {48};
48 -> {49};
49 -> {50};
49 -> {95} [style=dotted];
49 -> {103} [style=dotted];
50 -> {51};
51 -> {52};
52 -> {53 84 91};
@@ -279,7 +279,7 @@ digraph tryCatch_kt {
59 -> {66};
60 -> {61};
61 -> {62};
62 -> {99};
62 -> {107};
62 -> {63} [style=dotted];
63 -> {64} [style=dotted];
64 -> {65} [style=dotted];
@@ -295,14 +295,14 @@ digraph tryCatch_kt {
74 -> {81};
75 -> {76};
76 -> {77};
77 -> {95};
77 -> {103};
77 -> {78} [style=dotted];
78 -> {79} [style=dotted];
79 -> {80} [style=dotted];
80 -> {81} [style=dotted];
81 -> {82};
82 -> {83};
83 -> {84 91 103};
83 -> {84 91 98};
84 -> {85};
85 -> {86};
86 -> {87};
@@ -310,23 +310,23 @@ digraph tryCatch_kt {
87 -> {88} [style=dotted];
88 -> {89} [style=dotted];
89 -> {90} [style=dotted];
90 -> {103} [style=dotted];
90 -> {98} [style=dotted];
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
94 -> {100} [style=dotted];
95 -> {96};
96 -> {97};
97 -> {98};
94 -> {103};
94 -> {95} [style=dotted];
95 -> {96} [style=dotted];
96 -> {97} [style=dotted];
97 -> {98} [style=dotted];
98 -> {99};
100 -> {101} [style=dotted];
101 -> {102} [style=dotted];
102 -> {103} [style=dotted];
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {47} [color=green style=dashed];
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {47} [color=green style=dashed];
}