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 { subgraph cluster_0 {
color=red color=red
3 [label="Enter class Ann" style="filled" fillcolor=red]; 0 [label="Enter class Ann" style="filled" fillcolor=red];
4 [label="Exit class Ann" style="filled" fillcolor=red]; 1 [label="Exit class Ann" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 2 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 3 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 4 [label="Exit function <init>" style="filled" fillcolor=red];
} }
3 -> {4} [color=green]; 0 -> {1} [color=green];
4 -> {0} [color=green]; 1 -> {2} [color=green];
4 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
1 -> {2}; 3 -> {4};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
@@ -5,18 +5,18 @@ digraph complex_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
2 [label="Enter class AutoCloseable" style="filled" fillcolor=red]; 0 [label="Enter class AutoCloseable" style="filled" fillcolor=red];
3 [label="Exit class AutoCloseable" style="filled" fillcolor=red]; 1 [label="Exit class AutoCloseable" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function close" style="filled" fillcolor=red]; 2 [label="Enter function close" style="filled" fillcolor=red];
1 [label="Exit function close" style="filled" fillcolor=red]; 3 [label="Exit function close" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 0 -> {1} [color=green];
3 -> {0} [color=green]; 1 -> {2} [color=green];
3 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
@@ -30,66 +30,66 @@ digraph defaultArguments_kt {
8 [label="Enter default value of y"]; 8 [label="Enter default value of y"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
16 [label="Enter default value of y" style="filled" fillcolor=red]; 9 [label="Enter default value of y" style="filled" fillcolor=red];
17 [label="Access variable R|<local>/x|"]; 10 [label="Access variable R|<local>/x|"];
18 [label="Type operator: (R|<local>/x| as R|kotlin/String|)"]; 11 [label="Type operator: (R|<local>/x| as R|kotlin/String|)"];
19 [label="Exit default value of y" style="filled" fillcolor=red]; 12 [label="Exit default value of y" style="filled" fillcolor=red];
} }
9 [label="Exit default value of y"]; 13 [label="Exit default value of y"];
10 [label="Enter default value of z"]; 14 [label="Enter default value of z"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
20 [label="Enter default value of z" style="filled" fillcolor=red]; 15 [label="Enter default value of z" style="filled" fillcolor=red];
21 [label="Postponed enter to lambda"]; 16 [label="Postponed enter to lambda"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
25 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 17 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
26 [label="Enter block"]; 18 [label="Enter block"];
27 [label="Function call: R|/foo|()" style="filled" fillcolor=yellow]; 19 [label="Function call: R|/foo|()" style="filled" fillcolor=yellow];
28 [label="Exit block"]; 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"]; 22 [label="Postponed exit from lambda"];
23 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow]; 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]; 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 { subgraph cluster_7 {
color=blue color=blue
12 [label="Enter block"]; 26 [label="Enter block"];
13 [label="Function call: R|/foo|()" style="filled" fillcolor=yellow]; 27 [label="Function call: R|/foo|()" style="filled" fillcolor=yellow];
14 [label="Exit block"]; 28 [label="Exit block"];
} }
15 [label="Exit function test" style="filled" fillcolor=red]; 29 [label="Exit function test" style="filled" fillcolor=red];
} }
7 -> {8}; 7 -> {8};
8 -> {9 16}; 8 -> {9 13};
8 -> {16} [style=dashed]; 8 -> {9} [style=dashed];
9 -> {10}; 9 -> {10};
10 -> {11 20}; 10 -> {11};
10 -> {20} [style=dashed];
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15 25};
16 -> {17}; 14 -> {15} [style=dashed];
15 -> {16};
16 -> {17 23};
16 -> {22} [style=dotted];
16 -> {17} [style=dashed];
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {9}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {23 25}; 21 -> {22};
21 -> {22} [style=dotted];
21 -> {25} [style=dashed];
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {11}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29}; 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 { subgraph cluster_3 {
color=red color=red
15 [label="Enter function atLeastOnce" style="filled" fillcolor=red]; 7 [label="Enter function atLeastOnce" style="filled" fillcolor=red];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
16 [label="Enter block"]; 8 [label="Enter block"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
17 [label="Enter block"]; 9 [label="Enter block"];
18 [label="Exit block"]; 10 [label="Exit block"];
} }
19 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 11 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
20 [label="Exit block"]; 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}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {21};
subgraph cluster_6 { subgraph cluster_9 {
color=red color=red
30 [label="Enter function exactlyOnce" style="filled" fillcolor=red]; 21 [label="Enter function atMostOnce" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_10 {
color=blue color=blue
31 [label="Enter block"]; 22 [label="Enter block"];
subgraph cluster_8 { subgraph cluster_11 {
color=blue color=blue
32 [label="Enter block"]; 23 [label="Enter block"];
33 [label="Exit block"]; 24 [label="Exit block"];
} }
34 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 25 [label="Exit block"];
35 [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}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36 42 43};
35 -> {36} [style=dashed];
subgraph cluster_9 { 36 -> {37};
color=red 37 -> {38};
45 [label="Enter function atMostOnce" style="filled" fillcolor=red]; 38 -> {39};
subgraph cluster_10 { 39 -> {40};
color=blue 40 -> {41};
46 [label="Enter block"]; 41 -> {42};
subgraph cluster_11 { 42 -> {43};
color=blue 42 -> {35} [color=green style=dashed];
47 [label="Enter block"]; 43 -> {44};
48 [label="Exit block"]; 44 -> {45};
}
49 [label="Exit block"];
}
50 [label="Exit function atMostOnce" style="filled" fillcolor=red];
}
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {51};
subgraph cluster_12 { subgraph cluster_16 {
color=red color=red
59 [label="Enter function test1" style="filled" fillcolor=red]; 52 [label="Enter function test1m" style="filled" fillcolor=red];
subgraph cluster_13 { subgraph cluster_17 {
color=blue color=blue
60 [label="Enter block"]; 53 [label="Enter block"];
61 [label="Variable declaration: lvar x: R|kotlin/Any?|"]; 54 [label="Variable declaration: lvar x: R|kotlin/Any?|"];
62 [label="Const: String()"]; 55 [label="Const: String()"];
63 [label="Assignment: R|<local>/x|"]; 56 [label="Assignment: R|<local>/x|"];
64 [label="Access variable R|<local>/x|"]; 57 [label="Access variable R|<local>/x|"];
65 [label="Smart cast: R|<local>/x|"]; 58 [label="Smart cast: R|<local>/x|"];
66 [label="Access variable R|kotlin/String.length|"]; 59 [label="Access variable R|kotlin/String.length|"];
67 [label="Postponed enter to lambda"]; 60 [label="Postponed enter to lambda"];
subgraph cluster_14 { subgraph cluster_18 {
color=blue color=blue
78 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 61 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_15 { subgraph cluster_19 {
color=blue color=blue
79 [label="Enter block"]; 62 [label="Enter block"];
80 [label="Const: Int(1)"]; 63 [label="Const: String()"];
81 [label="Assignment: R|<local>/x|"]; 64 [label="Assignment: R|<local>/x|"];
82 [label="Exit block"]; 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"]; 67 [label="Postponed exit from lambda"];
69 [label="Function call: R|/unknown|(...)" style="filled" fillcolor=yellow]; 68 [label="Function call: R|/unknown|(...)" style="filled" fillcolor=yellow];
70 [label="Access variable R|<local>/x|"]; 69 [label="Access variable R|<local>/x|"];
71 [label="Smart cast: R|<local>/x|"]; 70 [label="Smart cast: R|<local>/x|"];
72 [label="Access variable <Unresolved name: length>#"]; 71 [label="Access variable R|kotlin/String.length|"];
73 [label="Access variable R|<local>/x|"]; 72 [label="Exit block"];
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"];
} }
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}; 59 -> {60};
60 -> {61}; 60 -> {61 67 68};
60 -> {61} [style=dashed];
61 -> {62}; 61 -> {62};
62 -> {63}; 62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {67};
67 -> {68 69 78}; 67 -> {68};
67 -> {78} [style=dashed]; 67 -> {60} [color=green style=dashed];
68 -> {69}; 68 -> {69};
68 -> {67} [color=green style=dashed];
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {72};
72 -> {73}; 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}; 74 -> {75};
75 -> {76}; 75 -> {76};
76 -> {77}; 76 -> {77};
77 -> {78};
78 -> {79}; 78 -> {79};
79 -> {80}; 79 -> {80};
80 -> {81}; 80 -> {81};
81 -> {82}; 81 -> {82};
82 -> {83}; 82 -> {83 90};
83 -> {68}; 82 -> {89} [style=dotted];
82 -> {83} [style=dashed];
subgraph cluster_16 { 83 -> {84};
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];
}
84 -> {85}; 84 -> {85};
85 -> {86}; 85 -> {86};
86 -> {87}; 86 -> {87};
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {89};
89 -> {90}; 89 -> {90};
89 -> {82} [color=green style=dashed];
90 -> {91}; 90 -> {91};
91 -> {92}; 91 -> {92};
92 -> {93 94 100}; 92 -> {93};
92 -> {100} [style=dashed];
93 -> {94}; 93 -> {94};
93 -> {92} [color=green style=dashed];
94 -> {95}; 94 -> {95};
95 -> {96}; 95 -> {96};
96 -> {97}; 96 -> {97};
97 -> {98}; 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}; 100 -> {101};
101 -> {102}; 101 -> {102};
102 -> {103}; 102 -> {103};
103 -> {104}; 103 -> {104};
104 -> {105}; 104 -> {105};
105 -> {93}; 105 -> {106};
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];
}
106 -> {107}; 106 -> {107};
107 -> {108}; 107 -> {108 115};
107 -> {114} [style=dotted];
107 -> {108} [style=dashed];
108 -> {109}; 108 -> {109};
109 -> {110}; 109 -> {110};
110 -> {111}; 110 -> {111};
111 -> {112}; 111 -> {112};
112 -> {113}; 112 -> {113};
113 -> {114}; 113 -> {114};
114 -> {116 125}; 114 -> {115};
114 -> {115} [style=dotted];
114 -> {125} [style=dashed];
115 -> {116}; 115 -> {116};
115 -> {114} [color=green style=dashed];
116 -> {117}; 116 -> {117};
117 -> {118}; 117 -> {118};
118 -> {119}; 118 -> {119};
@@ -272,62 +343,61 @@ digraph flowFromInplaceLambda3_kt {
120 -> {121}; 120 -> {121};
121 -> {122}; 121 -> {122};
122 -> {123}; 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}; 125 -> {126};
126 -> {127}; 126 -> {127};
127 -> {128}; 127 -> {128};
128 -> {129}; 128 -> {129};
129 -> {130}; 129 -> {130};
130 -> {115}; 130 -> {131};
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];
}
131 -> {132}; 131 -> {132};
132 -> {133}; 132 -> {133 139 140};
132 -> {133} [style=dashed];
133 -> {134}; 133 -> {134};
134 -> {135}; 134 -> {135};
135 -> {136}; 135 -> {136};
136 -> {137}; 136 -> {137};
137 -> {138}; 137 -> {138};
138 -> {139}; 138 -> {139};
139 -> {141 150}; 139 -> {140};
139 -> {140} [style=dotted];
139 -> {150} [style=dashed];
140 -> {141}; 140 -> {141};
141 -> {142}; 141 -> {142};
142 -> {143}; 142 -> {143};
@@ -336,75 +406,5 @@ digraph flowFromInplaceLambda3_kt {
145 -> {146}; 145 -> {146};
146 -> {147}; 146 -> {147};
147 -> {148}; 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 { subgraph cluster_0 {
color=red color=red
9 [label="Enter class Foo" style="filled" fillcolor=red]; 0 [label="Enter class Foo" style="filled" fillcolor=red];
10 [label="Part of class initialization"]; 1 [label="Part of class initialization"];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
3 [label="Enter init block" style="filled" fillcolor=red]; 2 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
4 [label="Enter block"]; 3 [label="Enter block"];
5 [label="Const: Int(1)"]; 4 [label="Const: Int(1)"];
6 [label="Variable declaration: lval x: R|kotlin/Int|"]; 5 [label="Variable declaration: lval x: R|kotlin/Int|"];
7 [label="Exit block"]; 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 { subgraph cluster_3 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 9 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 10 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 11 [label="Exit function <init>" style="filled" fillcolor=red];
} }
9 -> {10} [color=green]; 0 -> {1} [color=green];
10 -> {3} [color=green]; 1 -> {2} [color=green];
10 -> {11} [style=dotted]; 1 -> {8} [style=dotted];
10 -> {3} [style=dashed]; 1 -> {2} [style=dashed];
11 -> {0} [color=green]; 2 -> {3};
11 -> {0} [style=dashed];
3 -> {4}; 3 -> {4};
4 -> {5}; 4 -> {5};
5 -> {6}; 5 -> {6};
6 -> {7}; 6 -> {7};
7 -> {8}; 7 -> {8} [color=green];
8 -> {11} [color=green]; 8 -> {9} [color=green];
0 -> {1}; 8 -> {9} [style=dashed];
1 -> {2}; 9 -> {10};
10 -> {11};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
26 [label="Enter class Bar" style="filled" fillcolor=red]; 12 [label="Enter class Bar" style="filled" fillcolor=red];
27 [label="Part of class initialization"]; 13 [label="Part of class initialization"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
15 [label="Enter init block" style="filled" fillcolor=red]; 14 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
16 [label="Enter block"]; 15 [label="Enter block"];
17 [label="Const: Int(1)"]; 16 [label="Const: Int(1)"];
18 [label="Variable declaration: lval x: R|kotlin/Int|"]; 17 [label="Variable declaration: lval x: R|kotlin/Int|"];
19 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow]; 18 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
20 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 19 [label="Throw: throw R|java/lang/Exception.Exception|()"];
21 [label="Stub" style="filled" fillcolor=gray]; 20 [label="Stub" style="filled" fillcolor=gray];
22 [label="Const: Int(2)" style="filled" fillcolor=gray]; 21 [label="Const: Int(2)" style="filled" fillcolor=gray];
23 [label="Variable declaration: lval y: R|kotlin/Int|" style="filled" fillcolor=gray]; 22 [label="Variable declaration: lval y: R|kotlin/Int|" style="filled" fillcolor=gray];
24 [label="Exit block" 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 { subgraph cluster_7 {
color=blue color=blue
12 [label="Enter function <init>" style="filled" fillcolor=gray]; 26 [label="Enter function <init>" style="filled" fillcolor=gray];
13 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 27 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
14 [label="Exit function <init>" style="filled" fillcolor=red]; 28 [label="Exit function <init>" style="filled" fillcolor=red];
} }
26 -> {27} [color=green]; 12 -> {13} [color=green];
27 -> {15} [color=green]; 13 -> {14} [color=green];
27 -> {28} [style=dotted]; 13 -> {25} [style=dotted];
27 -> {15} [style=dashed]; 13 -> {14} [style=dashed];
28 -> {12} [style=dotted]; 14 -> {15};
28 -> {12} [style=dashed];
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20} [style=dotted];
20 -> {21} [style=dotted]; 20 -> {21} [style=dotted];
21 -> {22} [style=dotted]; 21 -> {22} [style=dotted];
22 -> {23} [style=dotted]; 22 -> {23} [style=dotted];
23 -> {24} [style=dotted]; 23 -> {24} [style=dotted];
24 -> {25} [style=dotted]; 24 -> {25} [style=dotted];
25 -> {28} [style=dotted]; 25 -> {26} [style=dotted];
12 -> {13}; 25 -> {26} [style=dashed];
13 -> {14}; 26 -> {27};
27 -> {28};
} }
@@ -19,75 +19,75 @@ digraph initBlockAndInPlaceLambda_kt {
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
26 [label="Enter class C" style="filled" fillcolor=red]; 4 [label="Enter class C" style="filled" fillcolor=red];
27 [label="Part of class initialization"]; 5 [label="Part of class initialization"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
7 [label="Enter init block" style="filled" fillcolor=red]; 6 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
8 [label="Enter block"]; 7 [label="Enter block"];
9 [label="Access variable R|<local>/a|"]; 8 [label="Access variable R|<local>/a|"];
10 [label="Access variable R|/A.b|"]; 9 [label="Access variable R|/A.b|"];
11 [label="Enter safe call"]; 10 [label="Enter safe call"];
12 [label="Postponed enter to lambda"]; 11 [label="Postponed enter to lambda"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
19 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 12 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
20 [label="Enter block"]; 13 [label="Enter block"];
21 [label="Access variable R|<local>/a|"]; 14 [label="Access variable R|<local>/a|"];
22 [label="Access variable R|<local>/it|"]; 15 [label="Access variable R|<local>/it|"];
23 [label="Function call: R|/C.C|(...)" style="filled" fillcolor=yellow]; 16 [label="Function call: R|/C.C|(...)" style="filled" fillcolor=yellow];
24 [label="Exit block"]; 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"]; 19 [label="Postponed exit from lambda"];
14 [label="Function call: $subj$.R|kotlin/let|<R|B|, R|C|>(...)" style="filled" fillcolor=yellow]; 20 [label="Function call: $subj$.R|kotlin/let|<R|B|, R|C|>(...)" style="filled" fillcolor=yellow];
15 [label="Exit safe call"]; 21 [label="Exit safe call"];
16 [label="Variable declaration: lval c: R|C?|"]; 22 [label="Variable declaration: lval c: R|C?|"];
17 [label="Exit block"]; 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 { subgraph cluster_7 {
color=blue color=blue
4 [label="Enter function <init>" style="filled" fillcolor=red]; 26 [label="Enter function <init>" style="filled" fillcolor=red];
5 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 27 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
6 [label="Exit function <init>" style="filled" fillcolor=red]; 28 [label="Exit function <init>" style="filled" fillcolor=red];
} }
26 -> {27} [color=green]; 4 -> {5} [color=green];
27 -> {7} [color=green]; 5 -> {6} [color=green];
27 -> {28} [style=dotted]; 5 -> {25} [style=dotted];
27 -> {7} [style=dashed]; 5 -> {6} [style=dashed];
28 -> {4} [color=green]; 6 -> {7};
28 -> {4} [style=dashed];
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9};
9 -> {10}; 9 -> {10 21};
10 -> {11 15}; 10 -> {11};
11 -> {12}; 11 -> {12 20};
12 -> {14 19}; 11 -> {19} [style=dotted];
12 -> {13} [style=dotted]; 11 -> {12} [style=dashed];
12 -> {19} [style=dashed]; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18};
18 -> {28} [color=green]; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25} [color=green];
25 -> {13}; 25 -> {26} [color=green];
4 -> {5}; 25 -> {26} [style=dashed];
5 -> {6}; 26 -> {27};
27 -> {28};
} }
@@ -5,64 +5,64 @@ digraph innerClassInAnonymousObject_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
14 [label="Enter property" style="filled" fillcolor=red]; 0 [label="Enter property" style="filled" fillcolor=red];
15 [label="Enter anonymous object"]; 1 [label="Enter anonymous object"];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
12 [label="Enter class <anonymous object>" style="filled" fillcolor=red]; 2 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
13 [label="Exit class <anonymous object>" style="filled" fillcolor=red]; 3 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
} }
16 [label="Exit anonymous object"]; 4 [label="Exit anonymous object"];
17 [label="Exit anonymous object expression"]; 5 [label="Exit anonymous object expression"];
18 [label="Exit property" style="filled" fillcolor=red]; 6 [label="Exit property" style="filled" fillcolor=red];
} }
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
10 [label="Enter class Nested" style="filled" fillcolor=red]; 7 [label="Enter class Nested" style="filled" fillcolor=red];
11 [label="Exit class Nested" style="filled" fillcolor=red]; 8 [label="Exit class Nested" style="filled" fillcolor=red];
} }
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
6 [label="Enter function foo" style="filled" fillcolor=red]; 9 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
7 [label="Enter block"]; 10 [label="Enter block"];
8 [label="Exit 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 { subgraph cluster_5 {
color=blue color=blue
3 [label="Enter function <init>" style="filled" fillcolor=red]; 13 [label="Enter function <init>" style="filled" fillcolor=red];
4 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 14 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
5 [label="Exit function <init>" style="filled" fillcolor=red]; 15 [label="Exit function <init>" style="filled" fillcolor=red];
} }
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 16 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 17 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 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}; 0 -> {1};
1 -> {2}; 1 -> {2};
10 -> {11} [color=green]; 1 -> {4} [color=red];
10 -> {3 6} [color=red]; 1 -> {2} [style=dashed];
11 -> {3 6} [color=green]; 2 -> {3} [color=green];
11 -> {3 6} [style=dashed]; 2 -> {7 16} [color=red];
3 -> {4}; 3 -> {4 7 16} [color=green];
3 -> {7 16} [style=dashed];
4 -> {5}; 4 -> {5};
6 -> {7}; 5 -> {6};
7 -> {8}; 7 -> {8} [color=green];
8 -> {9}; 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"]; 24 [label="Postponed enter to lambda"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
33 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 25 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
34 [label="Enter block"]; 26 [label="Enter block"];
35 [label="Function call: R|/materialize|<R|kotlin/String|>()" style="filled" fillcolor=yellow]; 27 [label="Function call: R|/materialize|<R|kotlin/String|>()" style="filled" fillcolor=yellow];
36 [label="Exit block"]; 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"]; 30 [label="Postponed exit from lambda"];
26 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow]; 31 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
27 [label="Exit block"]; 32 [label="Exit block"];
} }
28 [label="Exit when branch result"]; 33 [label="Exit when branch result"];
29 [label="Exit when"]; 34 [label="Exit when"];
} }
30 [label="Variable declaration: lval x: R|kotlin/String|"]; 35 [label="Variable declaration: lval x: R|kotlin/String|"];
31 [label="Exit block"]; 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}; 9 -> {10};
10 -> {11}; 10 -> {11};
@@ -95,25 +95,25 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {29}; 21 -> {34};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {26 33}; 24 -> {25 31};
24 -> {25} [style=dotted]; 24 -> {30} [style=dotted];
24 -> {33} [style=dashed]; 24 -> {25} [style=dashed];
25 -> {26} [color=green]; 25 -> {26};
25 -> {29} [color=red];
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {31} [color=green];
30 -> {34} [color=red];
31 -> {32}; 31 -> {32};
32 -> {33};
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37};
37 -> {25};
subgraph cluster_11 { subgraph cluster_11 {
color=red color=red
@@ -133,67 +133,67 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
43 [label="Postponed enter to lambda"]; 43 [label="Postponed enter to lambda"];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
58 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 44 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
59 [label="Enter block"]; 45 [label="Enter block"];
60 [label="Function call: R|/materialize|<R|kotlin/String|>()" style="filled" fillcolor=yellow]; 46 [label="Function call: R|/materialize|<R|kotlin/String|>()" style="filled" fillcolor=yellow];
61 [label="Exit block"]; 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"]; 49 [label="Postponed exit from lambda"];
45 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow]; 50 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
46 [label="Exit block"]; 51 [label="Exit block"];
} }
47 [label="Try main block exit"]; 52 [label="Try main block exit"];
} }
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
48 [label="Catch enter"]; 53 [label="Catch enter"];
49 [label="Variable declaration: e: R|kotlin/Exception|"]; 54 [label="Variable declaration: e: R|kotlin/Exception|"];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
50 [label="Enter block"]; 55 [label="Enter block"];
51 [label="Const: String()"]; 56 [label="Const: String()"];
52 [label="Exit block"]; 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|"]; 60 [label="Variable declaration: lval x: R|kotlin/String|"];
56 [label="Exit block"]; 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}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41 48}; 40 -> {41 53};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {45 58}; 43 -> {44 50};
43 -> {44} [style=dotted]; 43 -> {49} [style=dotted];
43 -> {58} [style=dashed]; 43 -> {44} [style=dashed];
44 -> {45} [color=green]; 44 -> {45};
44 -> {54} [color=red];
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48 54}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50} [color=green];
49 -> {59} [color=red];
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {53 59};
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {57};
57 -> {58};
58 -> {59}; 58 -> {59};
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {62};
62 -> {44};
subgraph cluster_20 { subgraph cluster_20 {
color=red color=red
@@ -204,38 +204,38 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
65 [label="Postponed enter to lambda"]; 65 [label="Postponed enter to lambda"];
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
72 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 66 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
73 [label="Enter block"]; 67 [label="Enter block"];
74 [label="Function call: R|/materialize|<R|kotlin/String?|>()" style="filled" fillcolor=yellow]; 68 [label="Function call: R|/materialize|<R|kotlin/String?|>()" style="filled" fillcolor=yellow];
75 [label="Exit block"]; 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"]; 71 [label="Postponed exit from lambda"];
67 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)" style="filled" fillcolor=yellow]; 72 [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]; 73 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!" style="filled" fillcolor=yellow];
69 [label="Variable declaration: lval x: R|kotlin/String|"]; 74 [label="Variable declaration: lval x: R|kotlin/String|"];
70 [label="Exit block"]; 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}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {67 72}; 65 -> {66 72};
65 -> {66} [style=dotted]; 65 -> {71} [style=dotted];
65 -> {72} [style=dashed]; 65 -> {66} [style=dashed];
66 -> {67} [color=green]; 66 -> {67};
66 -> {68} [color=red];
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {71};
71 -> {72} [color=green];
71 -> {73} [color=red];
72 -> {73}; 72 -> {73};
73 -> {74}; 73 -> {74};
74 -> {75}; 74 -> {75};
75 -> {76}; 75 -> {76};
76 -> {66};
} }
+38 -38
View File
@@ -189,19 +189,19 @@ digraph jumps_kt {
68 [label="Access variable R|<local>/x|"]; 68 [label="Access variable R|<local>/x|"];
69 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"]; 69 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
70 [label="Jump: break@@@[Boolean(true)] "]; 70 [label="Jump: break@@@[Boolean(true)] "];
77 [label="Stub" style="filled" fillcolor=gray]; 71 [label="Stub" style="filled" fillcolor=gray];
78 [label="Exit block" 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|"]; 75 [label="Access variable R|<local>/x|"];
73 [label="Smart cast: R|<local>/x|"]; 76 [label="Smart cast: R|<local>/x|"];
74 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow]; 77 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
75 [label="Exit block"]; 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}; 60 -> {61};
61 -> {62}; 61 -> {62};
@@ -209,21 +209,21 @@ digraph jumps_kt {
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
65 -> {71} [style=dotted]; 65 -> {74} [style=dotted];
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {74};
70 -> {77} [style=dotted]; 70 -> {71} [style=dotted];
71 -> {72}; 71 -> {72} [style=dotted];
72 -> {73}; 72 -> {73} [style=dotted];
73 -> {74}; 73 -> {63} [color=green style=dotted];
74 -> {75}; 74 -> {75};
75 -> {76}; 75 -> {76};
77 -> {78} [style=dotted]; 76 -> {77};
78 -> {79} [style=dotted]; 77 -> {78};
79 -> {63} [color=green style=dotted]; 78 -> {79};
subgraph cluster_20 { subgraph cluster_20 {
color=red color=red
@@ -388,36 +388,36 @@ digraph jumps_kt {
132 [label="Postponed enter to lambda"]; 132 [label="Postponed enter to lambda"];
subgraph cluster_39 { subgraph cluster_39 {
color=blue color=blue
137 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 133 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_40 { subgraph cluster_40 {
color=blue color=blue
138 [label="Enter block"]; 134 [label="Enter block"];
139 [label="Jump: ^@run Unit"]; 135 [label="Jump: ^@run Unit"];
140 [label="Stub" style="filled" fillcolor=gray]; 136 [label="Stub" style="filled" fillcolor=gray];
141 [label="Exit block" 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"]; 139 [label="Postponed exit from lambda"];
134 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow]; 140 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow];
135 [label="Exit block"]; 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}; 130 -> {131};
131 -> {132}; 131 -> {132};
132 -> {133 134 137}; 132 -> {133 139 140};
132 -> {137} [style=dashed]; 132 -> {133} [style=dashed];
133 -> {134}; 133 -> {134};
133 -> {132} [color=green style=dashed];
134 -> {135}; 134 -> {135};
135 -> {136}; 135 -> {138};
137 -> {138}; 135 -> {136} [style=dotted];
136 -> {137} [style=dotted];
137 -> {138} [style=dotted];
138 -> {139}; 138 -> {139};
139 -> {142}; 139 -> {140};
139 -> {140} [style=dotted]; 139 -> {132} [color=green style=dashed];
140 -> {141} [style=dotted]; 140 -> {141};
141 -> {142} [style=dotted]; 141 -> {142};
142 -> {133};
} }
@@ -5,58 +5,58 @@ digraph lambdaAsReturnOfLambda_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
13 [label="Enter property" style="filled" fillcolor=red]; 0 [label="Enter property" style="filled" fillcolor=red];
14 [label="Postponed enter to lambda"]; 1 [label="Postponed enter to lambda"];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 2 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
1 [label="Enter block"]; 3 [label="Enter block"];
2 [label="Exit anonymous function expression"]; 4 [label="Exit anonymous function expression"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
7 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 5 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
8 [label="Enter block"]; 6 [label="Enter block"];
9 [label="Access variable R|<local>/foo|"]; 7 [label="Access variable R|<local>/foo|"];
10 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow]; 8 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
11 [label="Exit block"]; 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|) R|/bar|(R|<local>/foo|)
} }
"]; "];
4 [label="Stub" style="filled" fillcolor=gray]; 12 [label="Stub" style="filled" fillcolor=gray];
5 [label="Exit block" 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"]; 15 [label="Postponed exit from lambda"];
16 [label="Function call: R|/run|<R|(kotlin/String) -> kotlin/Unit|>(...)" style="filled" fillcolor=yellow]; 16 [label="Function call: R|/run|<R|(kotlin/String) -> kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
17 [label="Exit property" style="filled" fillcolor=red]; 17 [label="Exit property" style="filled" fillcolor=red];
} }
13 -> {14};
14 -> {0 15 16};
14 -> {0} [style=dashed];
15 -> {16};
16 -> {17};
0 -> {1}; 0 -> {1};
1 -> {2}; 1 -> {2 15 16};
2 -> {3 7}; 1 -> {2} [style=dashed];
2 -> {7} [style=dashed]; 2 -> {3};
3 -> {6}; 3 -> {4};
3 -> {4} [style=dotted]; 4 -> {5 11};
4 -> {5} [style=dotted]; 4 -> {5} [style=dashed];
5 -> {6} [style=dotted]; 5 -> {6};
6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9};
9 -> {10}; 9 -> {10};
10 -> {11}; 11 -> {14};
11 -> {12}; 11 -> {12} [style=dotted];
12 -> {13} [style=dotted];
13 -> {14} [style=dotted];
15 -> {16};
16 -> {17};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
@@ -33,20 +33,20 @@ digraph lambdaReturningObject_kt {
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
11 [label="Enter class IrStarProjectionImpl" style="filled" fillcolor=red]; 8 [label="Enter class IrStarProjectionImpl" style="filled" fillcolor=red];
12 [label="Exit class IrStarProjectionImpl" style="filled" fillcolor=red]; 9 [label="Exit class IrStarProjectionImpl" style="filled" fillcolor=red];
} }
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
8 [label="Enter function <init>" style="filled" fillcolor=red]; 10 [label="Enter function <init>" style="filled" fillcolor=red];
9 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 11 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
10 [label="Exit function <init>" style="filled" fillcolor=red]; 12 [label="Exit function <init>" style="filled" fillcolor=red];
} }
11 -> {12} [color=green]; 8 -> {9} [color=green];
12 -> {8} [color=green]; 9 -> {10} [color=green];
12 -> {8} [style=dashed]; 9 -> {10} [style=dashed];
8 -> {9}; 10 -> {11};
9 -> {10}; 11 -> {12};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
@@ -79,32 +79,32 @@ digraph lambdaReturningObject_kt {
23 [label="Postponed enter to lambda"]; 23 [label="Postponed enter to lambda"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
29 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 24 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
30 [label="Enter block"]; 25 [label="Enter block"];
31 [label="Access qualifier /IrStarProjectionImpl"]; 26 [label="Access qualifier /IrStarProjectionImpl"];
32 [label="Exit block"]; 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"]; 29 [label="Postponed exit from lambda"];
25 [label="Function call: R|/MyOut|<R|IrStarProjectionImpl|>(...)" style="filled" fillcolor=yellow]; 30 [label="Function call: R|/MyOut|<R|IrStarProjectionImpl|>(...)" style="filled" fillcolor=yellow];
26 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow]; 31 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
27 [label="Exit block"]; 32 [label="Exit block"];
} }
28 [label="Exit function foo" style="filled" fillcolor=red]; 33 [label="Exit function foo" style="filled" fillcolor=red];
} }
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24 25 29}; 23 -> {24 29 30};
23 -> {29} [style=dashed]; 23 -> {24} [style=dashed];
24 -> {25} [color=green]; 24 -> {25};
24 -> {26} [color=red];
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
29 -> {30}; 29 -> {30} [color=green];
29 -> {31} [color=red];
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
+61 -61
View File
@@ -43,27 +43,27 @@ digraph lambdas_kt {
15 [label="Postponed enter to lambda"]; 15 [label="Postponed enter to lambda"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
23 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 16 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
24 [label="Enter block"]; 17 [label="Enter block"];
25 [label="Access variable R|<local>/x|"]; 18 [label="Access variable R|<local>/x|"];
26 [label="Smart cast: R|<local>/x|"]; 19 [label="Smart cast: R|<local>/x|"];
27 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow]; 20 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
28 [label="Exit block"]; 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"]; 23 [label="Postponed exit from lambda"];
17 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow]; 24 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow];
18 [label="Exit block"]; 25 [label="Exit block"];
} }
19 [label="Exit when branch result"]; 26 [label="Exit when branch result"];
20 [label="Exit when"]; 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}; 5 -> {6};
6 -> {7}; 6 -> {7};
@@ -72,25 +72,25 @@ digraph lambdas_kt {
9 -> {10}; 9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12 13}; 11 -> {12 13};
12 -> {20}; 12 -> {27};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15};
15 -> {16 17 23}; 15 -> {16 23 24};
15 -> {23} [style=dashed]; 15 -> {16} [style=dashed];
16 -> {17}; 16 -> {17};
16 -> {15} [color=green style=dashed];
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23};
23 -> {24}; 23 -> {24};
23 -> {15} [color=green style=dashed];
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {16};
subgraph cluster_9 { subgraph cluster_9 {
color=red color=red
@@ -193,47 +193,47 @@ digraph lambdas_kt {
64 [label="Postponed enter to lambda"]; 64 [label="Postponed enter to lambda"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
71 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 65 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
72 [label="Enter block"]; 66 [label="Enter block"];
73 [label="Const: Int(1)"]; 67 [label="Const: Int(1)"];
74 [label="Jump: ^test_3 Int(1)"]; 68 [label="Jump: ^test_3 Int(1)"];
75 [label="Stub" style="filled" fillcolor=gray]; 69 [label="Stub" style="filled" fillcolor=gray];
76 [label="Exit block" 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"]; 72 [label="Postponed exit from lambda"];
66 [label="Function call: R|/getInt|(...)" style="filled" fillcolor=yellow]; 73 [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> { 74 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <inline=Inline, kind=UNKNOWN> {
^test_3 Int(1) ^test_3 Int(1)
} }
)"]; )"];
68 [label="Stub" style="filled" fillcolor=gray]; 75 [label="Stub" style="filled" fillcolor=gray];
69 [label="Exit block" 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}; 62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {65 66 71}; 64 -> {65 72 73};
64 -> {71} [style=dashed]; 64 -> {65} [style=dashed];
65 -> {66}; 65 -> {66};
65 -> {64} [color=green style=dashed];
66 -> {67}; 66 -> {67};
67 -> {70}; 67 -> {68};
67 -> {68} [style=dotted]; 68 -> {77};
68 -> {69} [style=dotted]; 68 -> {69} [style=dotted];
69 -> {70} [style=dotted]; 69 -> {70} [style=dotted];
71 -> {72}; 70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
72 -> {73}; 72 -> {73};
72 -> {64} [color=green style=dashed];
73 -> {74}; 73 -> {74};
74 -> {70}; 74 -> {77};
74 -> {75} [style=dotted]; 74 -> {75} [style=dotted];
75 -> {76} [style=dotted]; 75 -> {76} [style=dotted];
76 -> {77} [style=dotted]; 76 -> {77} [style=dotted];
77 -> {65} [style=dotted];
subgraph cluster_22 { subgraph cluster_22 {
color=red color=red
@@ -244,46 +244,46 @@ digraph lambdas_kt {
80 [label="Postponed enter to lambda"]; 80 [label="Postponed enter to lambda"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
87 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 81 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
88 [label="Enter block"]; 82 [label="Enter block"];
89 [label="Const: Int(1)"]; 83 [label="Const: Int(1)"];
90 [label="Jump: ^test_4 Int(1)"]; 84 [label="Jump: ^test_4 Int(1)"];
91 [label="Stub" style="filled" fillcolor=gray]; 85 [label="Stub" style="filled" fillcolor=gray];
92 [label="Exit block" 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"]; 88 [label="Postponed exit from lambda"];
82 [label="Function call: R|/getInt|(...)" style="filled" fillcolor=yellow]; 89 [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> { 90 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <inline=Inline, kind=UNKNOWN> {
^test_4 Int(1) ^test_4 Int(1)
} }
)"]; )"];
84 [label="Stub" style="filled" fillcolor=gray]; 91 [label="Stub" style="filled" fillcolor=gray];
85 [label="Exit block" 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}; 78 -> {79};
79 -> {80}; 79 -> {80};
80 -> {81 82 87}; 80 -> {81 88 89};
80 -> {87} [style=dashed]; 80 -> {81} [style=dashed];
81 -> {82}; 81 -> {82};
81 -> {80} [color=green style=dashed];
82 -> {83}; 82 -> {83};
83 -> {86}; 83 -> {84};
83 -> {84} [style=dotted]; 84 -> {93};
84 -> {85} [style=dotted]; 84 -> {85} [style=dotted];
85 -> {86} [style=dotted]; 85 -> {86} [style=dotted];
87 -> {88}; 86 -> {87} [style=dotted];
87 -> {88} [style=dotted];
88 -> {89}; 88 -> {89};
88 -> {80} [color=green style=dashed];
89 -> {90}; 89 -> {90};
90 -> {86}; 90 -> {93};
90 -> {91} [style=dotted]; 90 -> {91} [style=dotted];
91 -> {92} [style=dotted]; 91 -> {92} [style=dotted];
92 -> {93} [style=dotted]; 92 -> {93} [style=dotted];
93 -> {81} [style=dotted];
} }
@@ -56,124 +56,124 @@ digraph localClassesWithImplicit_kt {
23 [label="Enter anonymous object"]; 23 [label="Enter anonymous object"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
97 [label="Enter class <anonymous object>" style="filled" fillcolor=red]; 24 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
98 [label="Exit class <anonymous object>" style="filled" fillcolor=red]; 25 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
} }
24 [label="Exit anonymous object"]; 26 [label="Exit anonymous object"];
25 [label="Exit anonymous object expression"]; 27 [label="Exit anonymous object expression"];
26 [label="Variable declaration: lval x: R|<anonymous>|"]; 28 [label="Variable declaration: lval x: R|<anonymous>|"];
27 [label="Exit block"]; 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 { subgraph cluster_8 {
color=blue color=blue
158 [label="Enter function baz" style="filled" fillcolor=red]; 31 [label="Enter function baz" style="filled" fillcolor=red];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
159 [label="Enter block"]; 32 [label="Enter block"];
160 [label="Const: Int(1)"]; 33 [label="Const: Int(1)"];
161 [label="Jump: ^baz Int(1)"]; 34 [label="Jump: ^baz Int(1)"];
162 [label="Stub" style="filled" fillcolor=gray]; 35 [label="Stub" style="filled" fillcolor=gray];
163 [label="Exit block" 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 { subgraph cluster_10 {
color=blue color=blue
139 [label="Enter function bar" style="filled" fillcolor=red]; 38 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
140 [label="Enter block"]; 39 [label="Enter block"];
141 [label="Postponed enter to lambda"]; 40 [label="Postponed enter to lambda"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
148 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 41 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
149 [label="Enter block"]; 42 [label="Enter block"];
150 [label="Access variable R|<local>/a|"]; 43 [label="Access variable R|<local>/a|"];
151 [label="Smart cast: R|<local>/a|"]; 44 [label="Smart cast: R|<local>/a|"];
152 [label="Access variable R|kotlin/String.length|"]; 45 [label="Access variable R|kotlin/String.length|"];
153 [label="Access variable R|<local>/b|"]; 46 [label="Access variable R|<local>/b|"];
154 [label="Access variable <Unresolved name: length>#"]; 47 [label="Access variable <Unresolved name: length>#"];
155 [label="Function call: this@R|/<anonymous>|.R|/<anonymous>.baz|()" style="filled" fillcolor=yellow]; 48 [label="Function call: this@R|/<anonymous>|.R|/<anonymous>.baz|()" style="filled" fillcolor=yellow];
156 [label="Exit block"]; 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"]; 51 [label="Postponed exit from lambda"];
143 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow]; 52 [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> { 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>/a|.R|kotlin/String.length|
R|<local>/b|.<Unresolved name: length># R|<local>/b|.<Unresolved name: length>#
^ this@R|/<anonymous>|.R|/<anonymous>.baz|() ^ this@R|/<anonymous>|.R|/<anonymous>.baz|()
} }
)"]; )"];
145 [label="Stub" style="filled" fillcolor=gray]; 54 [label="Stub" style="filled" fillcolor=gray];
146 [label="Exit block" 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 { subgraph cluster_14 {
color=blue color=blue
102 [label="Enter function foo" style="filled" fillcolor=red]; 57 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
103 [label="Enter block"]; 58 [label="Enter block"];
104 [label="Postponed enter to lambda"]; 59 [label="Postponed enter to lambda"];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
111 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 60 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
112 [label="Enter block"]; 61 [label="Enter block"];
113 [label="Access variable R|<local>/a|"]; 62 [label="Access variable R|<local>/a|"];
114 [label="Smart cast: R|<local>/a|"]; 63 [label="Smart cast: R|<local>/a|"];
115 [label="Access variable R|kotlin/String.length|"]; 64 [label="Access variable R|kotlin/String.length|"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
116 [label="Enter when"]; 65 [label="Enter when"];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
117 [label="Enter when branch condition "]; 66 [label="Enter when branch condition "];
118 [label="Access variable R|<local>/b|"]; 67 [label="Access variable R|<local>/b|"];
119 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"]; 68 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
120 [label="Exit when branch condition"]; 69 [label="Exit when branch condition"];
} }
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
121 [label="Enter when branch condition else"]; 70 [label="Enter when branch condition else"];
122 [label="Exit when branch condition"]; 71 [label="Exit when branch condition"];
} }
123 [label="Enter when branch result"]; 72 [label="Enter when branch result"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
124 [label="Enter block"]; 73 [label="Enter block"];
125 [label="Const: Int(1)"]; 74 [label="Const: Int(1)"];
126 [label="Exit block"]; 75 [label="Exit block"];
} }
127 [label="Exit when branch result"]; 76 [label="Exit when branch result"];
128 [label="Enter when branch result"]; 77 [label="Enter when branch result"];
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
129 [label="Enter block"]; 78 [label="Enter block"];
130 [label="Access variable R|<local>/b|"]; 79 [label="Access variable R|<local>/b|"];
131 [label="Smart cast: R|<local>/b|"]; 80 [label="Smart cast: R|<local>/b|"];
132 [label="Access variable R|kotlin/String.length|"]; 81 [label="Access variable R|kotlin/String.length|"];
133 [label="Function call: this@R|/<anonymous>|.R|/<anonymous>.bar|()" style="filled" fillcolor=yellow]; 82 [label="Function call: this@R|/<anonymous>|.R|/<anonymous>.bar|()" style="filled" fillcolor=yellow];
134 [label="Exit block"]; 83 [label="Exit block"];
} }
135 [label="Exit when branch result"]; 84 [label="Exit when branch result"];
136 [label="Exit when"]; 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"]; 88 [label="Postponed exit from lambda"];
106 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow]; 89 [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> { 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| R|<local>/a|.R|kotlin/String.length|
^ when () { ^ when () {
(R|<local>/b| is R|kotlin/String|) -> { (R|<local>/b| is R|kotlin/String|) -> {
@@ -187,130 +187,130 @@ digraph localClassesWithImplicit_kt {
} }
)"]; )"];
108 [label="Stub" style="filled" fillcolor=gray]; 91 [label="Stub" style="filled" fillcolor=gray];
109 [label="Exit block" 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 { subgraph cluster_23 {
color=blue color=blue
99 [label="Enter function <init>" style="filled" fillcolor=red]; 94 [label="Enter function <init>" style="filled" fillcolor=red];
100 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 95 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
101 [label="Exit function <init>" style="filled" fillcolor=red]; 96 [label="Exit function <init>" style="filled" fillcolor=red];
} }
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
29 [label="Enter class A" style="filled" fillcolor=red]; 97 [label="Enter class A" style="filled" fillcolor=red];
30 [label="Exit class A" style="filled" fillcolor=red]; 98 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
90 [label="Enter function baz" style="filled" fillcolor=red]; 99 [label="Enter function baz" style="filled" fillcolor=red];
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
91 [label="Enter block"]; 100 [label="Enter block"];
92 [label="Const: Int(1)"]; 101 [label="Const: Int(1)"];
93 [label="Jump: ^baz Int(1)"]; 102 [label="Jump: ^baz Int(1)"];
94 [label="Stub" style="filled" fillcolor=gray]; 103 [label="Stub" style="filled" fillcolor=gray];
95 [label="Exit block" 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 { subgraph cluster_27 {
color=blue color=blue
71 [label="Enter function bar" style="filled" fillcolor=red]; 106 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_28 { subgraph cluster_28 {
color=blue color=blue
72 [label="Enter block"]; 107 [label="Enter block"];
73 [label="Postponed enter to lambda"]; 108 [label="Postponed enter to lambda"];
subgraph cluster_29 { subgraph cluster_29 {
color=blue color=blue
80 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 109 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_30 { subgraph cluster_30 {
color=blue color=blue
81 [label="Enter block"]; 110 [label="Enter block"];
82 [label="Access variable R|<local>/b|"]; 111 [label="Access variable R|<local>/b|"];
83 [label="Access variable <Unresolved name: length>#"]; 112 [label="Access variable <Unresolved name: length>#"];
84 [label="Access variable R|<local>/a|"]; 113 [label="Access variable R|<local>/a|"];
85 [label="Smart cast: R|<local>/a|"]; 114 [label="Smart cast: R|<local>/a|"];
86 [label="Access variable R|kotlin/String.length|"]; 115 [label="Access variable R|kotlin/String.length|"];
87 [label="Function call: this@R|/A|.R|<local>/baz|()" style="filled" fillcolor=yellow]; 116 [label="Function call: this@R|/A|.R|<local>/baz|()" style="filled" fillcolor=yellow];
88 [label="Exit block"]; 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"]; 119 [label="Postponed exit from lambda"];
75 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow]; 120 [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> { 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>/b|.<Unresolved name: length>#
R|<local>/a|.R|kotlin/String.length| R|<local>/a|.R|kotlin/String.length|
^ this@R|/A|.R|<local>/baz|() ^ this@R|/A|.R|<local>/baz|()
} }
)"]; )"];
77 [label="Stub" style="filled" fillcolor=gray]; 122 [label="Stub" style="filled" fillcolor=gray];
78 [label="Exit block" 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 { subgraph cluster_31 {
color=blue color=blue
34 [label="Enter function foo" style="filled" fillcolor=red]; 125 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_32 { subgraph cluster_32 {
color=blue color=blue
35 [label="Enter block"]; 126 [label="Enter block"];
36 [label="Postponed enter to lambda"]; 127 [label="Postponed enter to lambda"];
subgraph cluster_33 { subgraph cluster_33 {
color=blue color=blue
43 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 128 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_34 { subgraph cluster_34 {
color=blue color=blue
44 [label="Enter block"]; 129 [label="Enter block"];
45 [label="Access variable R|<local>/a|"]; 130 [label="Access variable R|<local>/a|"];
46 [label="Smart cast: R|<local>/a|"]; 131 [label="Smart cast: R|<local>/a|"];
47 [label="Access variable R|kotlin/String.length|"]; 132 [label="Access variable R|kotlin/String.length|"];
subgraph cluster_35 { subgraph cluster_35 {
color=blue color=blue
48 [label="Enter when"]; 133 [label="Enter when"];
subgraph cluster_36 { subgraph cluster_36 {
color=blue color=blue
49 [label="Enter when branch condition "]; 134 [label="Enter when branch condition "];
50 [label="Access variable R|<local>/b|"]; 135 [label="Access variable R|<local>/b|"];
51 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"]; 136 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
52 [label="Exit when branch condition"]; 137 [label="Exit when branch condition"];
} }
subgraph cluster_37 { subgraph cluster_37 {
color=blue color=blue
53 [label="Enter when branch condition else"]; 138 [label="Enter when branch condition else"];
54 [label="Exit when branch condition"]; 139 [label="Exit when branch condition"];
} }
55 [label="Enter when branch result"]; 140 [label="Enter when branch result"];
subgraph cluster_38 { subgraph cluster_38 {
color=blue color=blue
56 [label="Enter block"]; 141 [label="Enter block"];
57 [label="Const: Int(1)"]; 142 [label="Const: Int(1)"];
58 [label="Exit block"]; 143 [label="Exit block"];
} }
59 [label="Exit when branch result"]; 144 [label="Exit when branch result"];
60 [label="Enter when branch result"]; 145 [label="Enter when branch result"];
subgraph cluster_39 { subgraph cluster_39 {
color=blue color=blue
61 [label="Enter block"]; 146 [label="Enter block"];
62 [label="Access variable R|<local>/b|"]; 147 [label="Access variable R|<local>/b|"];
63 [label="Smart cast: R|<local>/b|"]; 148 [label="Smart cast: R|<local>/b|"];
64 [label="Access variable R|kotlin/String.length|"]; 149 [label="Access variable R|kotlin/String.length|"];
65 [label="Function call: this@R|/A|.R|<local>/bar|()" style="filled" fillcolor=yellow]; 150 [label="Function call: this@R|/A|.R|<local>/bar|()" style="filled" fillcolor=yellow];
66 [label="Exit block"]; 151 [label="Exit block"];
} }
67 [label="Exit when branch result"]; 152 [label="Exit when branch result"];
68 [label="Exit when"]; 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"]; 156 [label="Postponed exit from lambda"];
38 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow]; 157 [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> { 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| R|<local>/a|.R|kotlin/String.length|
^ when () { ^ when () {
(R|<local>/b| is R|kotlin/String|) -> { (R|<local>/b| is R|kotlin/String|) -> {
@@ -324,16 +324,16 @@ digraph localClassesWithImplicit_kt {
} }
)"]; )"];
40 [label="Stub" style="filled" fillcolor=gray]; 159 [label="Stub" style="filled" fillcolor=gray];
41 [label="Exit block" 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 { subgraph cluster_40 {
color=blue color=blue
31 [label="Enter function <init>" style="filled" fillcolor=red]; 162 [label="Enter function <init>" style="filled" fillcolor=red];
32 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 163 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
33 [label="Exit function <init>" style="filled" fillcolor=red]; 164 [label="Exit function <init>" style="filled" fillcolor=red];
} }
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9};
@@ -345,38 +345,38 @@ digraph localClassesWithImplicit_kt {
14 -> {21}; 14 -> {21};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {28}; 17 -> {30};
17 -> {18} [style=dotted]; 17 -> {18} [style=dotted];
18 -> {19} [style=dotted]; 18 -> {19} [style=dotted];
19 -> {20} [style=dotted]; 19 -> {20} [style=dotted];
20 -> {21} [style=dotted]; 20 -> {21} [style=dotted];
21 -> {22}; 21 -> {22};
22 -> {23 29}; 22 -> {23 97};
22 -> {29} [style=dashed]; 22 -> {97} [style=dashed];
23 -> {97}; 23 -> {24};
23 -> {24} [color=red]; 23 -> {26} [color=red];
23 -> {97} [style=dashed]; 23 -> {24} [style=dashed];
24 -> {25}; 24 -> {25} [color=green];
25 -> {26}; 24 -> {31 38 57 94} [color=red];
25 -> {26 31 38 57 94} [color=green];
25 -> {31 38 57 94} [style=dashed];
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
29 -> {30} [color=green]; 28 -> {29};
29 -> {31 34 71 90} [color=red]; 29 -> {30};
30 -> {31 34 71 90} [color=green];
30 -> {31 34 71 90} [style=dashed];
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
34 -> {35}; 33 -> {34};
35 -> {36}; 34 -> {37};
36 -> {37 38 43}; 34 -> {35} [style=dotted];
36 -> {43} [style=dashed]; 35 -> {36} [style=dotted];
37 -> {38}; 36 -> {37} [style=dotted];
37 -> {36} [color=green style=dashed];
38 -> {39}; 38 -> {39};
39 -> {42}; 39 -> {40};
39 -> {40} [style=dotted]; 40 -> {41 51 52};
40 -> {41} [style=dotted]; 40 -> {41} [style=dashed];
41 -> {42} [style=dotted]; 41 -> {42};
42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {46};
@@ -386,14 +386,16 @@ digraph localClassesWithImplicit_kt {
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {53 60}; 51 -> {40} [color=green style=dashed];
53 -> {54}; 52 -> {53};
54 -> {55}; 53 -> {56};
55 -> {56}; 53 -> {54} [style=dotted];
56 -> {57}; 54 -> {55} [style=dotted];
55 -> {56} [style=dotted];
57 -> {58}; 57 -> {58};
58 -> {59}; 58 -> {59};
59 -> {68}; 59 -> {60 88 89};
59 -> {60} [style=dashed];
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {62};
62 -> {63}; 62 -> {63};
@@ -403,19 +405,17 @@ digraph localClassesWithImplicit_kt {
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70 77};
70 -> {37}; 70 -> {71};
71 -> {72}; 71 -> {72};
72 -> {73}; 72 -> {73};
73 -> {74 75 80}; 73 -> {74};
73 -> {80} [style=dashed];
74 -> {75}; 74 -> {75};
74 -> {73} [color=green style=dashed];
75 -> {76}; 75 -> {76};
76 -> {79}; 76 -> {85};
76 -> {77} [style=dotted]; 77 -> {78};
77 -> {78} [style=dotted]; 78 -> {79};
78 -> {79} [style=dotted]; 79 -> {80};
80 -> {81}; 80 -> {81};
81 -> {82}; 81 -> {82};
82 -> {83}; 82 -> {83};
@@ -425,31 +425,31 @@ digraph localClassesWithImplicit_kt {
86 -> {87}; 86 -> {87};
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {89};
89 -> {74}; 88 -> {59} [color=green style=dashed];
90 -> {91}; 89 -> {90};
91 -> {92}; 90 -> {93};
92 -> {93}; 90 -> {91} [style=dotted];
93 -> {96}; 91 -> {92} [style=dotted];
93 -> {94} [style=dotted]; 92 -> {93} [style=dotted];
94 -> {95} [style=dotted]; 94 -> {95};
95 -> {96} [style=dotted]; 95 -> {96};
97 -> {98} [color=green]; 97 -> {98} [color=green];
97 -> {99 102 139 158} [color=red]; 97 -> {99 106 125 162} [color=red];
98 -> {24 99 102 139 158} [color=green]; 98 -> {99 106 125 162} [color=green];
98 -> {99 102 139 158} [style=dashed]; 98 -> {99 106 125 162} [style=dashed];
99 -> {100}; 99 -> {100};
100 -> {101}; 100 -> {101};
102 -> {103}; 101 -> {102};
103 -> {104}; 102 -> {105};
104 -> {105 106 111}; 102 -> {103} [style=dotted];
104 -> {111} [style=dashed]; 103 -> {104} [style=dotted];
105 -> {106}; 104 -> {105} [style=dotted];
105 -> {104} [color=green style=dashed];
106 -> {107}; 106 -> {107};
107 -> {110}; 107 -> {108};
107 -> {108} [style=dotted]; 108 -> {109 119 120};
108 -> {109} [style=dotted]; 108 -> {109} [style=dashed];
109 -> {110} [style=dotted]; 109 -> {110};
110 -> {111};
111 -> {112}; 111 -> {112};
112 -> {113}; 112 -> {113};
113 -> {114}; 113 -> {114};
@@ -459,14 +459,16 @@ digraph localClassesWithImplicit_kt {
117 -> {118}; 117 -> {118};
118 -> {119}; 118 -> {119};
119 -> {120}; 119 -> {120};
120 -> {121 128}; 119 -> {108} [color=green style=dashed];
121 -> {122}; 120 -> {121};
122 -> {123}; 121 -> {124};
123 -> {124}; 121 -> {122} [style=dotted];
124 -> {125}; 122 -> {123} [style=dotted];
123 -> {124} [style=dotted];
125 -> {126}; 125 -> {126};
126 -> {127}; 126 -> {127};
127 -> {136}; 127 -> {128 156 157};
127 -> {128} [style=dashed];
128 -> {129}; 128 -> {129};
129 -> {130}; 129 -> {130};
130 -> {131}; 130 -> {131};
@@ -476,19 +478,17 @@ digraph localClassesWithImplicit_kt {
134 -> {135}; 134 -> {135};
135 -> {136}; 135 -> {136};
136 -> {137}; 136 -> {137};
137 -> {138}; 137 -> {138 145};
138 -> {105}; 138 -> {139};
139 -> {140}; 139 -> {140};
140 -> {141}; 140 -> {141};
141 -> {142 143 148}; 141 -> {142};
141 -> {148} [style=dashed];
142 -> {143}; 142 -> {143};
142 -> {141} [color=green style=dashed];
143 -> {144}; 143 -> {144};
144 -> {147}; 144 -> {153};
144 -> {145} [style=dotted]; 145 -> {146};
145 -> {146} [style=dotted]; 146 -> {147};
146 -> {147} [style=dotted]; 147 -> {148};
148 -> {149}; 148 -> {149};
149 -> {150}; 149 -> {150};
150 -> {151}; 150 -> {151};
@@ -498,13 +498,13 @@ digraph localClassesWithImplicit_kt {
154 -> {155}; 154 -> {155};
155 -> {156}; 155 -> {156};
156 -> {157}; 156 -> {157};
157 -> {142}; 156 -> {127} [color=green style=dashed];
158 -> {159}; 157 -> {158};
159 -> {160}; 158 -> {161};
160 -> {161}; 158 -> {159} [style=dotted];
161 -> {164}; 159 -> {160} [style=dotted];
161 -> {162} [style=dotted]; 160 -> {161} [style=dotted];
162 -> {163} [style=dotted]; 162 -> {163};
163 -> {164} [style=dotted]; 163 -> {164};
} }
+21 -21
View File
@@ -276,22 +276,22 @@ digraph loops_kt {
color=blue color=blue
94 [label="Enter block"]; 94 [label="Enter block"];
95 [label="Jump: break@@@[Boolean(true)] "]; 95 [label="Jump: break@@@[Boolean(true)] "];
100 [label="Stub" style="filled" fillcolor=gray]; 96 [label="Stub" style="filled" fillcolor=gray];
101 [label="Exit block" style="filled" fillcolor=gray]; 97 [label="Exit block" style="filled" fillcolor=gray];
} }
102 [label="Exit when branch result" style="filled" fillcolor=gray]; 98 [label="Exit when branch result" style="filled" fillcolor=gray];
103 [label="Exit when"]; 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)"]; 103 [label="Const: Int(1)"];
98 [label="Exit block"]; 104 [label="Exit block"];
} }
99 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red]; 105 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red];
} }
80 -> {81}; 80 -> {81};
81 -> {82}; 81 -> {82};
@@ -299,27 +299,27 @@ digraph loops_kt {
83 -> {84}; 83 -> {84};
84 -> {85}; 84 -> {85};
85 -> {86}; 85 -> {86};
85 -> {96} [style=dotted]; 85 -> {102} [style=dotted];
86 -> {87}; 86 -> {87};
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {89};
89 -> {90}; 89 -> {90};
90 -> {91}; 90 -> {91};
91 -> {92 93}; 91 -> {92 93};
92 -> {103}; 92 -> {99};
93 -> {94}; 93 -> {94};
94 -> {95}; 94 -> {95};
95 -> {96}; 95 -> {102};
95 -> {100} [style=dotted]; 95 -> {96} [style=dotted];
96 -> {97}; 96 -> {97} [style=dotted];
97 -> {98}; 97 -> {98} [style=dotted];
98 -> {99}; 98 -> {99} [style=dotted];
100 -> {101} [style=dotted]; 99 -> {100};
101 -> {102} [style=dotted]; 100 -> {101};
102 -> {103} [style=dotted]; 101 -> {83} [color=green style=dashed];
102 -> {103};
103 -> {104}; 103 -> {104};
104 -> {105}; 104 -> {105};
105 -> {83} [color=green style=dashed];
subgraph cluster_34 { subgraph cluster_34 {
color=red color=red
@@ -5,107 +5,107 @@ digraph postponedLambdaInConstructor_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
3 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
4 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 2 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 3 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 4 [label="Exit function <init>" style="filled" fillcolor=red];
} }
3 -> {4} [color=green]; 0 -> {1} [color=green];
4 -> {0} [color=green]; 1 -> {2} [color=green];
4 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
1 -> {2}; 3 -> {4};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
30 [label="Enter class B" style="filled" fillcolor=red]; 5 [label="Enter class B" style="filled" fillcolor=red];
31 [label="Part of class initialization"]; 6 [label="Part of class initialization"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
22 [label="Enter property" style="filled" fillcolor=red]; 7 [label="Enter property" style="filled" fillcolor=red];
23 [label="Access variable R|<local>/s|"]; 8 [label="Access variable R|<local>/s|"];
24 [label="Exit property" style="filled" fillcolor=red]; 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 { subgraph cluster_4 {
color=blue color=blue
25 [label="Enter function foo" style="filled" fillcolor=red]; 11 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
26 [label="Enter block"]; 12 [label="Enter block"];
27 [label="Function call: this@R|/B|.R|/B.foo|()" style="filled" fillcolor=yellow]; 13 [label="Function call: this@R|/B|.R|/B.foo|()" style="filled" fillcolor=yellow];
28 [label="Exit block"]; 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 { subgraph cluster_6 {
color=blue color=blue
5 [label="Enter function <init>" style="filled" fillcolor=red]; 16 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Access variable R|<local>/s|"]; 17 [label="Access variable R|<local>/s|"];
7 [label="Postponed enter to lambda"]; 18 [label="Postponed enter to lambda"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
12 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 19 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
13 [label="Enter block"]; 20 [label="Enter block"];
14 [label="Exit anonymous function expression"]; 21 [label="Exit anonymous function expression"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
17 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 22 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
18 [label="Enter block"]; 23 [label="Enter block"];
19 [label="Access variable R|<local>/it|"]; 24 [label="Access variable R|<local>/it|"];
20 [label="Exit block"]; 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"]; 29 [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]; 30 [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]; 31 [label="Delegated constructor call: super<R|A|>(...)" style="filled" fillcolor=yellow];
11 [label="Exit function <init>" style="filled" fillcolor=red]; 32 [label="Exit function <init>" style="filled" fillcolor=red];
} }
30 -> {31} [color=green]; 5 -> {6} [color=green];
31 -> {22} [color=green]; 6 -> {7} [color=green];
31 -> {32} [style=dotted]; 6 -> {10} [style=dotted];
31 -> {22} [style=dashed]; 6 -> {7} [style=dashed];
32 -> {5 25} [color=green]; 7 -> {8};
32 -> {5 25} [style=dashed]; 8 -> {9};
22 -> {23}; 9 -> {10} [color=green];
23 -> {24}; 10 -> {11 16} [color=green];
24 -> {32} [color=green]; 10 -> {11 16} [style=dashed];
5 -> {6}; 11 -> {12};
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};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15 17}; 14 -> {15};
14 -> {17} [style=dashed]; 16 -> {17};
15 -> {16};
16 -> {8};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19 30};
18 -> {29} [style=dotted];
18 -> {19} [style=dashed];
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22 27};
21 -> {22} [style=dashed];
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30} [color=green];
29 -> {31} [color=red];
30 -> {31};
31 -> {32};
} }
@@ -5,20 +5,20 @@ digraph postponedLambdaInReturn_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
3 [label="Enter class Lateinit" style="filled" fillcolor=red]; 0 [label="Enter class Lateinit" style="filled" fillcolor=red];
4 [label="Exit class Lateinit" style="filled" fillcolor=red]; 1 [label="Exit class Lateinit" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 2 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 3 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 4 [label="Exit function <init>" style="filled" fillcolor=red];
} }
3 -> {4} [color=green]; 0 -> {1} [color=green];
4 -> {0} [color=green]; 1 -> {2} [color=green];
4 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
1 -> {2}; 3 -> {4};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
@@ -56,441 +56,441 @@ digraph postponedLambdaInReturn_kt {
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
25 [label="Enter property" style="filled" fillcolor=red]; 17 [label="Enter property" style="filled" fillcolor=red];
26 [label="Const: Boolean(false)"]; 18 [label="Const: Boolean(false)"];
27 [label="Exit property" style="filled" fillcolor=red]; 19 [label="Exit property" style="filled" fillcolor=red];
} }
25 -> {26}; 17 -> {18};
26 -> {27}; 18 -> {19};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
28 [label="Enter function test1" style="filled" fillcolor=red]; 20 [label="Enter function test1" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
29 [label="Enter block"]; 21 [label="Enter block"];
30 [label="Const: Null(null)"]; 22 [label="Const: Null(null)"];
31 [label="Variable declaration: lvar y: R|kotlin/String?|"]; 23 [label="Variable declaration: lvar y: R|kotlin/String?|"];
32 [label="Postponed enter to lambda"]; 24 [label="Postponed enter to lambda"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
40 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 25 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
41 [label="Enter block"]; 26 [label="Enter block"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
42 [label="Enter when"]; 27 [label="Enter when"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
43 [label="Enter when branch condition "]; 28 [label="Enter when branch condition "];
44 [label="Access variable R|/p|"]; 29 [label="Access variable R|/p|"];
45 [label="Exit when branch condition"]; 30 [label="Exit when branch condition"];
} }
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
46 [label="Enter when branch condition else"]; 31 [label="Enter when branch condition else"];
47 [label="Exit when branch condition"]; 32 [label="Exit when branch condition"];
} }
48 [label="Enter when branch result"]; 33 [label="Enter when branch result"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
49 [label="Enter block"]; 34 [label="Enter block"];
50 [label="Const: String()"]; 35 [label="Const: String()"];
51 [label="Jump: ^@run String()"]; 36 [label="Jump: ^@run String()"];
52 [label="Stub" style="filled" fillcolor=gray]; 37 [label="Stub" style="filled" fillcolor=gray];
53 [label="Exit block" style="filled" fillcolor=gray]; 38 [label="Exit block" style="filled" fillcolor=gray];
} }
54 [label="Exit when branch result" style="filled" fillcolor=gray]; 39 [label="Exit when branch result" style="filled" fillcolor=gray];
55 [label="Enter when branch result"]; 40 [label="Enter when branch result"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
56 [label="Enter block"]; 41 [label="Enter block"];
57 [label="Postponed enter to lambda"]; 42 [label="Postponed enter to lambda"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
67 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 43 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
68 [label="Enter block"]; 44 [label="Enter block"];
69 [label="Access variable R|<local>/y|"]; 45 [label="Access variable R|<local>/y|"];
70 [label="Type operator: (R|<local>/y| as R|kotlin/String|)"]; 46 [label="Type operator: (R|<local>/y| as R|kotlin/String|)"];
71 [label="Const: String(...)"]; 47 [label="Const: String(...)"];
72 [label="Assignment: R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>|"]; 48 [label="Assignment: R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>|"];
73 [label="Exit block"]; 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"]; 51 [label="Postponed exit from lambda"];
59 [label="Function call: R|/build|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow]; 52 [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> { 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|) (R|<local>/y| as R|kotlin/String|)
this@R|special/anonymous|.R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>| = String(...) this@R|special/anonymous|.R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>| = String(...)
} }
)"]; )"];
61 [label="Stub" style="filled" fillcolor=gray]; 54 [label="Stub" style="filled" fillcolor=gray];
62 [label="Exit block" style="filled" fillcolor=gray]; 55 [label="Exit block" style="filled" fillcolor=gray];
} }
63 [label="Exit when branch result" style="filled" fillcolor=gray]; 56 [label="Exit when branch result" style="filled" fillcolor=gray];
64 [label="Exit when" 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"]; 60 [label="Postponed exit from lambda"];
34 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow]; 61 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
35 [label="Variable declaration: lval x: R|kotlin/String|"]; 62 [label="Variable declaration: lval x: R|kotlin/String|"];
36 [label="Access variable R|<local>/y|"]; 63 [label="Access variable R|<local>/y|"];
37 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"]; 64 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
38 [label="Exit block"]; 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}; 28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {31 40};
31 -> {32}; 31 -> {32};
32 -> {34 40}; 32 -> {33};
32 -> {33} [style=dotted];
32 -> {40} [style=dashed];
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {59};
37 -> {38}; 36 -> {37} [style=dotted];
38 -> {39}; 37 -> {38} [style=dotted];
38 -> {39} [style=dotted];
39 -> {57} [style=dotted];
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43 52};
42 -> {51} [style=dotted];
42 -> {43} [style=dashed];
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46 55}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {66}; 51 -> {52} [color=green];
51 -> {52} [style=dotted]; 52 -> {53};
52 -> {53} [style=dotted]; 53 -> {59};
53 -> {54} [style=dotted]; 53 -> {54} [style=dotted];
54 -> {64} [style=dotted]; 54 -> {55} [style=dotted];
55 -> {56}; 55 -> {56} [style=dotted];
56 -> {57}; 56 -> {57} [style=dotted];
57 -> {59 67};
57 -> {58} [style=dotted]; 57 -> {58} [style=dotted];
57 -> {67} [style=dashed]; 58 -> {59} [style=dotted];
58 -> {59} [color=green];
59 -> {60}; 59 -> {60};
60 -> {66}; 60 -> {61};
60 -> {61} [style=dotted]; 61 -> {62};
61 -> {62} [style=dotted]; 62 -> {63};
62 -> {63} [style=dotted]; 63 -> {64};
63 -> {64} [style=dotted]; 64 -> {65};
64 -> {65} [style=dotted]; 65 -> {66};
65 -> {66} [style=dotted];
66 -> {33}; 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}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70 109};
69 -> {108} [style=dotted];
69 -> {70} [style=dashed];
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {72};
72 -> {73}; 72 -> {73};
73 -> {74}; 73 -> {74};
74 -> {58}; 74 -> {75};
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];
}
75 -> {76}; 75 -> {76};
75 -> {102} [style=dotted];
76 -> {77}; 76 -> {77};
77 -> {79 85}; 77 -> {78};
77 -> {78} [style=dotted]; 78 -> {79 94};
77 -> {85} [style=dashed];
78 -> {79};
79 -> {80}; 79 -> {80};
80 -> {81}; 80 -> {81};
81 -> {82}; 81 -> {82 89};
81 -> {88} [style=dotted];
81 -> {82} [style=dashed];
82 -> {83}; 82 -> {83};
83 -> {84}; 83 -> {84};
84 -> {85};
85 -> {86}; 85 -> {86};
86 -> {87}; 86 -> {87};
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {89} [color=green];
89 -> {90}; 89 -> {90};
90 -> {91}; 90 -> {107};
90 -> {111} [style=dotted]; 90 -> {91} [style=dotted];
91 -> {92}; 91 -> {92} [style=dotted];
92 -> {93}; 92 -> {93} [style=dotted];
93 -> {94 103}; 93 -> {94 99} [style=dotted];
94 -> {95}; 94 -> {95};
95 -> {96}; 95 -> {96};
96 -> {98 117}; 96 -> {97};
96 -> {97} [style=dotted]; 97 -> {98};
96 -> {117} [style=dashed];
97 -> {98} [color=green];
98 -> {99}; 98 -> {99};
99 -> {116}; 99 -> {100};
99 -> {100} [style=dotted]; 100 -> {101};
100 -> {101} [style=dotted]; 101 -> {73} [color=green style=dashed];
101 -> {102} [style=dotted]; 102 -> {103} [style=dotted];
102 -> {103 108} [style=dotted]; 103 -> {104} [style=dotted];
103 -> {104}; 104 -> {105} [style=dotted];
104 -> {105}; 105 -> {106} [style=dotted];
105 -> {106}; 106 -> {107} [style=dotted];
106 -> {107};
107 -> {108}; 107 -> {108};
108 -> {109}; 108 -> {109};
109 -> {110}; 109 -> {110};
110 -> {88} [color=green style=dashed]; 110 -> {111};
111 -> {112} [style=dotted]; 111 -> {112};
112 -> {113} [style=dotted]; 112 -> {113};
113 -> {114} [style=dotted]; 113 -> {114};
114 -> {115} [style=dotted];
115 -> {116} [style=dotted];
116 -> {78};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {97};
subgraph cluster_32 { subgraph cluster_32 {
color=red color=red
123 [label="Enter function test3" style="filled" fillcolor=red]; 115 [label="Enter function test3" style="filled" fillcolor=red];
subgraph cluster_33 { subgraph cluster_33 {
color=blue color=blue
124 [label="Enter block"]; 116 [label="Enter block"];
125 [label="Variable declaration: lvar y: R|kotlin/String?|"]; 117 [label="Variable declaration: lvar y: R|kotlin/String?|"];
126 [label="Const: String()"]; 118 [label="Const: String()"];
127 [label="Assignment: R|<local>/y|"]; 119 [label="Assignment: R|<local>/y|"];
128 [label="Postponed enter to lambda"]; 120 [label="Postponed enter to lambda"];
subgraph cluster_34 { subgraph cluster_34 {
color=blue color=blue
137 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 121 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_35 { subgraph cluster_35 {
color=blue color=blue
138 [label="Enter block"]; 122 [label="Enter block"];
subgraph cluster_36 { subgraph cluster_36 {
color=blue color=blue
139 [label="Enter when"]; 123 [label="Enter when"];
subgraph cluster_37 { subgraph cluster_37 {
color=blue color=blue
140 [label="Enter when branch condition "]; 124 [label="Enter when branch condition "];
141 [label="Access variable R|/p|"]; 125 [label="Access variable R|/p|"];
142 [label="Function call: R|/p|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow]; 126 [label="Function call: R|/p|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
143 [label="Exit when branch condition"]; 127 [label="Exit when branch condition"];
} }
subgraph cluster_38 { subgraph cluster_38 {
color=blue color=blue
144 [label="Enter when branch condition else"]; 128 [label="Enter when branch condition else"];
145 [label="Exit when branch condition"]; 129 [label="Exit when branch condition"];
} }
146 [label="Enter when branch result"]; 130 [label="Enter when branch result"];
subgraph cluster_39 { subgraph cluster_39 {
color=blue color=blue
147 [label="Enter block"]; 131 [label="Enter block"];
148 [label="Const: String()"]; 132 [label="Const: String()"];
149 [label="Jump: ^@run String()"]; 133 [label="Jump: ^@run String()"];
150 [label="Stub" style="filled" fillcolor=gray]; 134 [label="Stub" style="filled" fillcolor=gray];
151 [label="Exit block" style="filled" fillcolor=gray]; 135 [label="Exit block" style="filled" fillcolor=gray];
} }
152 [label="Exit when branch result" style="filled" fillcolor=gray]; 136 [label="Exit when branch result" style="filled" fillcolor=gray];
153 [label="Enter when branch result"]; 137 [label="Enter when branch result"];
subgraph cluster_40 { subgraph cluster_40 {
color=blue color=blue
154 [label="Enter block"]; 138 [label="Enter block"];
155 [label="Postponed enter to lambda"]; 139 [label="Postponed enter to lambda"];
subgraph cluster_41 { subgraph cluster_41 {
color=blue color=blue
165 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 140 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_42 { subgraph cluster_42 {
color=blue color=blue
166 [label="Enter block"]; 141 [label="Enter block"];
167 [label="Const: Null(null)"]; 142 [label="Const: Null(null)"];
168 [label="Assignment: R|<local>/y|"]; 143 [label="Assignment: R|<local>/y|"];
169 [label="Const: String(...)"]; 144 [label="Const: String(...)"];
170 [label="Assignment: R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>|"]; 145 [label="Assignment: R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>|"];
171 [label="Exit block"]; 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"]; 148 [label="Postponed exit from lambda"];
157 [label="Function call: R|/build|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow]; 149 [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> { 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) R|<local>/y| = Null(null)
this@R|special/anonymous|.R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>| = String(...) this@R|special/anonymous|.R|SubstitutionOverride</Lateinit.value: R|kotlin/String|>| = String(...)
} }
)"]; )"];
159 [label="Stub" style="filled" fillcolor=gray]; 151 [label="Stub" style="filled" fillcolor=gray];
160 [label="Exit block" style="filled" fillcolor=gray]; 152 [label="Exit block" style="filled" fillcolor=gray];
} }
161 [label="Exit when branch result" style="filled" fillcolor=gray]; 153 [label="Exit when branch result" style="filled" fillcolor=gray];
162 [label="Exit when" 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"]; 157 [label="Postponed exit from lambda"];
130 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow]; 158 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
131 [label="Variable declaration: lval x: R|kotlin/String|"]; 159 [label="Variable declaration: lval x: R|kotlin/String|"];
132 [label="Access variable R|<local>/y|"]; 160 [label="Access variable R|<local>/y|"];
133 [label="Smart cast: R|<local>/y|"]; 161 [label="Smart cast: R|<local>/y|"];
134 [label="Access variable R|kotlin/String.length|"]; 162 [label="Access variable R|kotlin/String.length|"];
135 [label="Exit block"]; 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}; 123 -> {124};
124 -> {125}; 124 -> {125};
125 -> {126}; 125 -> {126};
126 -> {127}; 126 -> {127};
127 -> {128}; 127 -> {128 137};
128 -> {130 137}; 128 -> {129};
128 -> {129} [style=dotted];
128 -> {137} [style=dashed];
129 -> {130}; 129 -> {130};
130 -> {131}; 130 -> {131};
131 -> {132}; 131 -> {132};
132 -> {133}; 132 -> {133};
133 -> {134}; 133 -> {156};
134 -> {135}; 133 -> {134} [style=dotted];
135 -> {136}; 134 -> {135} [style=dotted];
135 -> {136} [style=dotted];
136 -> {154} [style=dotted];
137 -> {138}; 137 -> {138};
138 -> {139}; 138 -> {139};
139 -> {140}; 139 -> {140 149};
139 -> {148} [style=dotted];
139 -> {140} [style=dashed];
140 -> {141}; 140 -> {141};
141 -> {142}; 141 -> {142};
142 -> {143}; 142 -> {143};
143 -> {144 153}; 143 -> {144};
144 -> {145}; 144 -> {145};
145 -> {146}; 145 -> {146};
146 -> {147}; 146 -> {147};
147 -> {148}; 147 -> {148};
148 -> {149}; 148 -> {149} [color=green];
149 -> {164}; 149 -> {150};
149 -> {150} [style=dotted]; 150 -> {156};
150 -> {151} [style=dotted]; 150 -> {151} [style=dotted];
151 -> {152} [style=dotted]; 151 -> {152} [style=dotted];
152 -> {162} [style=dotted]; 152 -> {153} [style=dotted];
153 -> {154}; 153 -> {154} [style=dotted];
154 -> {155}; 154 -> {155} [style=dotted];
155 -> {157 165};
155 -> {156} [style=dotted]; 155 -> {156} [style=dotted];
155 -> {165} [style=dashed]; 156 -> {157};
156 -> {157} [color=green];
157 -> {158}; 157 -> {158};
158 -> {164}; 158 -> {159};
158 -> {159} [style=dotted]; 159 -> {160};
159 -> {160} [style=dotted]; 160 -> {161};
160 -> {161} [style=dotted]; 161 -> {162};
161 -> {162} [style=dotted]; 162 -> {163};
162 -> {163} [style=dotted]; 163 -> {164};
163 -> {164} [style=dotted];
164 -> {129};
165 -> {166};
166 -> {167};
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {172};
172 -> {156};
} }
@@ -28,31 +28,31 @@ digraph postponedLambdas_kt {
8 [label="Postponed enter to lambda"]; 8 [label="Postponed enter to lambda"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
13 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 9 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
14 [label="Enter block"]; 10 [label="Enter block"];
15 [label="Const: String()"]; 11 [label="Const: String()"];
16 [label="Exit block"]; 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"]; 14 [label="Postponed exit from lambda"];
10 [label="Function call: R|/foo|(...)" style="filled" fillcolor=yellow]; 15 [label="Function call: R|/foo|(...)" style="filled" fillcolor=yellow];
11 [label="Exit block"]; 16 [label="Exit block"];
} }
12 [label="Exit function test" style="filled" fillcolor=red]; 17 [label="Exit function test" style="filled" fillcolor=red];
} }
4 -> {5}; 4 -> {5};
5 -> {6}; 5 -> {6};
6 -> {7}; 6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {9 10 13}; 8 -> {9 14 15};
8 -> {13} [style=dashed]; 8 -> {9} [style=dashed];
9 -> {10}; 9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
13 -> {14}; 12 -> {13};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
@@ -78,172 +78,172 @@ digraph propertiesAndInitBlocks_kt {
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
58 [label="Enter function getter" style="filled" fillcolor=red]; 24 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
59 [label="Enter block"]; 25 [label="Enter block"];
60 [label="Exit local class <getter>"]; 26 [label="Exit local class <getter>"];
61 [label="Exit block"]; 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 { subgraph cluster_10 {
color=blue color=blue
63 [label="Enter class GetterLocalClass" style="filled" fillcolor=red]; 29 [label="Enter class GetterLocalClass" style="filled" fillcolor=red];
64 [label="Part of class initialization"]; 30 [label="Part of class initialization"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
66 [label="Enter init block" style="filled" fillcolor=red]; 31 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
67 [label="Enter block"]; 32 [label="Enter block"];
68 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow]; 33 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
69 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 34 [label="Throw: throw R|java/lang/Exception.Exception|()"];
70 [label="Stub" style="filled" fillcolor=gray]; 35 [label="Stub" style="filled" fillcolor=gray];
71 [label="Exit block" 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 { subgraph cluster_13 {
color=blue color=blue
73 [label="Enter function <init>" style="filled" fillcolor=gray]; 39 [label="Enter function <init>" style="filled" fillcolor=gray];
74 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 40 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
75 [label="Exit function <init>" style="filled" fillcolor=red]; 41 [label="Exit function <init>" style="filled" fillcolor=red];
} }
58 -> {59}; 24 -> {25};
59 -> {60}; 25 -> {26};
60 -> {61 63}; 26 -> {27 29};
60 -> {63} [style=dashed]; 26 -> {29} [style=dashed];
61 -> {62}; 27 -> {28};
63 -> {64} [color=green]; 29 -> {30} [color=green];
63 -> {66 73} [color=red]; 29 -> {31 39} [color=red];
64 -> {66} [color=green]; 30 -> {31} [color=green];
64 -> {65} [style=dotted]; 30 -> {38} [style=dotted];
64 -> {66} [style=dashed]; 30 -> {31} [style=dashed];
65 -> {73} [style=dotted]; 31 -> {32};
65 -> {73} [style=dashed]; 32 -> {33};
66 -> {67}; 33 -> {34};
67 -> {68}; 34 -> {35} [style=dotted];
68 -> {69}; 35 -> {36} [style=dotted];
69 -> {70} [style=dotted]; 36 -> {37} [style=dotted];
70 -> {71} [style=dotted]; 37 -> {38} [style=dotted];
71 -> {72} [style=dotted]; 38 -> {39} [style=dotted];
72 -> {65} [style=dotted]; 38 -> {39} [style=dashed];
73 -> {74}; 39 -> {40};
74 -> {75}; 40 -> {41};
subgraph cluster_14 { subgraph cluster_14 {
color=red color=red
76 [label="Enter property" style="filled" fillcolor=red]; 42 [label="Enter property" style="filled" fillcolor=red];
77 [label="Postponed enter to lambda"]; 43 [label="Postponed enter to lambda"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
24 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 44 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
25 [label="Enter block"]; 45 [label="Enter block"];
26 [label="Local function declaration <anonymous>"]; 46 [label="Local function declaration <anonymous>"];
27 [label="Exit local class <anonymous>"]; 47 [label="Exit local class <anonymous>"];
28 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow]; 48 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
29 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 49 [label="Throw: throw R|java/lang/Exception.Exception|()"];
30 [label="Stub" style="filled" fillcolor=gray]; 50 [label="Stub" style="filled" fillcolor=gray];
31 [label="Exit block" 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 { subgraph cluster_17 {
color=blue color=blue
44 [label="Enter class InitializerLocalClass" style="filled" fillcolor=red]; 53 [label="Enter class InitializerLocalClass" style="filled" fillcolor=red];
45 [label="Part of class initialization"]; 54 [label="Part of class initialization"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
47 [label="Enter init block" style="filled" fillcolor=red]; 55 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
48 [label="Enter block"]; 56 [label="Enter block"];
49 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow]; 57 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
50 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 58 [label="Throw: throw R|java/lang/Exception.Exception|()"];
51 [label="Stub" style="filled" fillcolor=gray]; 59 [label="Stub" style="filled" fillcolor=gray];
52 [label="Const: Int(1)" style="filled" fillcolor=gray]; 60 [label="Const: Int(1)" style="filled" fillcolor=gray];
53 [label="Exit block" 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 { subgraph cluster_20 {
color=blue color=blue
55 [label="Enter function <init>" style="filled" fillcolor=gray]; 64 [label="Enter function <init>" style="filled" fillcolor=gray];
56 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 65 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
57 [label="Exit function <init>" style="filled" fillcolor=red]; 66 [label="Exit function <init>" style="filled" fillcolor=red];
} }
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
33 [label="Enter function foo" style="filled" fillcolor=red]; 67 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
34 [label="Enter block"]; 68 [label="Enter block"];
35 [label="Const: Int(1)"]; 69 [label="Const: Int(1)"];
36 [label="Const: Int(1)"]; 70 [label="Const: Int(1)"];
37 [label="Function call: Int(1).R|kotlin/Int.plus|(...)" style="filled" fillcolor=yellow]; 71 [label="Function call: Int(1).R|kotlin/Int.plus|(...)" style="filled" fillcolor=yellow];
38 [label="Variable declaration: lval c: R|kotlin/Int|"]; 72 [label="Variable declaration: lval c: R|kotlin/Int|"];
39 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow]; 73 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
40 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 74 [label="Throw: throw R|java/lang/Exception.Exception|()"];
41 [label="Stub" style="filled" fillcolor=gray]; 75 [label="Stub" style="filled" fillcolor=gray];
42 [label="Exit block" 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"]; 78 [label="Postponed exit from lambda"];
79 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow]; 79 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow];
80 [label="Exit property" style="filled" fillcolor=red]; 80 [label="Exit property" style="filled" fillcolor=red];
} }
76 -> {77}; 42 -> {43};
77 -> {24 78 79}; 43 -> {44 78 79};
77 -> {24} [style=dashed]; 43 -> {44} [style=dashed];
78 -> {79}; 44 -> {45};
78 -> {77} [color=green style=dashed]; 45 -> {46};
79 -> {80}; 46 -> {47 67};
24 -> {25}; 46 -> {67} [style=dashed];
25 -> {26}; 47 -> {48 53};
26 -> {27 33}; 47 -> {53} [style=dashed];
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};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50} [style=dotted];
50 -> {51} [style=dotted]; 50 -> {51} [style=dotted];
51 -> {52} [style=dotted]; 51 -> {52} [style=dotted];
52 -> {53} [style=dotted]; 52 -> {78} [style=dotted];
53 -> {54} [style=dotted]; 53 -> {54} [color=green];
54 -> {46} [style=dotted]; 53 -> {55 64} [color=red];
54 -> {55} [color=green];
54 -> {63} [style=dotted];
54 -> {55} [style=dashed];
55 -> {56}; 55 -> {56};
56 -> {57}; 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 { subgraph cluster_23 {
color=red color=red
@@ -12,37 +12,37 @@ digraph returnValuesFromLambda_kt {
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
5 [label="Enter class B" style="filled" fillcolor=red]; 2 [label="Enter class B" style="filled" fillcolor=red];
6 [label="Exit class B" style="filled" fillcolor=red]; 3 [label="Exit class B" style="filled" fillcolor=red];
} }
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
2 [label="Enter function <init>" style="filled" fillcolor=red]; 4 [label="Enter function <init>" style="filled" fillcolor=red];
3 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 5 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
4 [label="Exit function <init>" style="filled" fillcolor=red]; 6 [label="Exit function <init>" style="filled" fillcolor=red];
} }
5 -> {6} [color=green]; 2 -> {3} [color=green];
6 -> {2} [color=green]; 3 -> {4} [color=green];
6 -> {2} [style=dashed]; 3 -> {4} [style=dashed];
2 -> {3}; 4 -> {5};
3 -> {4}; 5 -> {6};
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
10 [label="Enter class C" style="filled" fillcolor=red]; 7 [label="Enter class C" style="filled" fillcolor=red];
11 [label="Exit class C" style="filled" fillcolor=red]; 8 [label="Exit class C" style="filled" fillcolor=red];
} }
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
7 [label="Enter function <init>" style="filled" fillcolor=red]; 9 [label="Enter function <init>" style="filled" fillcolor=red];
8 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 10 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
9 [label="Exit function <init>" style="filled" fillcolor=red]; 11 [label="Exit function <init>" style="filled" fillcolor=red];
} }
10 -> {11} [color=green]; 7 -> {8} [color=green];
11 -> {7} [color=green]; 8 -> {9} [color=green];
11 -> {7} [style=dashed]; 8 -> {9} [style=dashed];
7 -> {8}; 9 -> {10};
8 -> {9}; 10 -> {11};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
@@ -53,72 +53,72 @@ digraph returnValuesFromLambda_kt {
14 [label="Postponed enter to lambda"]; 14 [label="Postponed enter to lambda"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
20 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 15 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
21 [label="Enter block"]; 16 [label="Enter block"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
22 [label="Enter when"]; 17 [label="Enter when"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
23 [label="Enter when branch condition "]; 18 [label="Enter when branch condition "];
24 [label="Access variable R|<local>/b|"]; 19 [label="Access variable R|<local>/b|"];
25 [label="Exit when branch condition"]; 20 [label="Exit when branch condition"];
} }
26 [label="Synthetic else branch"]; 21 [label="Synthetic else branch"];
27 [label="Enter when branch result"]; 22 [label="Enter when branch result"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
28 [label="Enter block"]; 23 [label="Enter block"];
29 [label="Function call: R|/B.B|()" style="filled" fillcolor=yellow]; 24 [label="Function call: R|/B.B|()" style="filled" fillcolor=yellow];
30 [label="Jump: ^@run R|/B.B|()"]; 25 [label="Jump: ^@run R|/B.B|()"];
31 [label="Stub" style="filled" fillcolor=gray]; 26 [label="Stub" style="filled" fillcolor=gray];
32 [label="Exit block" style="filled" fillcolor=gray]; 27 [label="Exit block" style="filled" fillcolor=gray];
} }
33 [label="Exit when branch result" style="filled" fillcolor=gray]; 28 [label="Exit when branch result" style="filled" fillcolor=gray];
34 [label="Exit when"]; 29 [label="Exit when"];
} }
35 [label="Function call: R|/C.C|()" style="filled" fillcolor=yellow]; 30 [label="Function call: R|/C.C|()" style="filled" fillcolor=yellow];
36 [label="Exit block"]; 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"]; 33 [label="Postponed exit from lambda"];
16 [label="Function call: R|kotlin/run|<R|A|>(...)" style="filled" fillcolor=yellow]; 34 [label="Function call: R|kotlin/run|<R|A|>(...)" style="filled" fillcolor=yellow];
17 [label="Variable declaration: lval x: R|A|"]; 35 [label="Variable declaration: lval x: R|A|"];
18 [label="Exit block"]; 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}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {16 20}; 14 -> {15 34};
14 -> {15} [style=dotted]; 14 -> {33} [style=dotted];
14 -> {20} [style=dashed]; 14 -> {15} [style=dashed];
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
20 -> {21}; 19 -> {20};
21 -> {22}; 20 -> {21 22};
21 -> {29};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26 27}; 25 -> {32};
26 -> {34}; 25 -> {26} [style=dotted];
27 -> {28}; 26 -> {27} [style=dotted];
28 -> {29}; 27 -> {28} [style=dotted];
28 -> {29} [style=dotted];
29 -> {30}; 29 -> {30};
30 -> {37}; 30 -> {31};
30 -> {31} [style=dotted]; 31 -> {32};
31 -> {32} [style=dotted]; 32 -> {33};
32 -> {33} [style=dotted]; 33 -> {34};
33 -> {34} [style=dotted];
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37};
37 -> {15};
subgraph cluster_12 { subgraph cluster_12 {
color=red color=red
@@ -129,41 +129,41 @@ digraph returnValuesFromLambda_kt {
40 [label="Postponed enter to lambda"]; 40 [label="Postponed enter to lambda"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
46 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 41 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
47 [label="Enter block"]; 42 [label="Enter block"];
48 [label="Function call: R|/C.C|()" style="filled" fillcolor=yellow]; 43 [label="Function call: R|/C.C|()" style="filled" fillcolor=yellow];
49 [label="Jump: ^@run R|/C.C|()"]; 44 [label="Jump: ^@run R|/C.C|()"];
50 [label="Stub" style="filled" fillcolor=gray]; 45 [label="Stub" style="filled" fillcolor=gray];
51 [label="Exit block" 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"]; 48 [label="Postponed exit from lambda"];
42 [label="Function call: R|kotlin/run|<R|C|>(...)" style="filled" fillcolor=yellow]; 49 [label="Function call: R|kotlin/run|<R|C|>(...)" style="filled" fillcolor=yellow];
43 [label="Variable declaration: lval x: R|C|"]; 50 [label="Variable declaration: lval x: R|C|"];
44 [label="Exit block"]; 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}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {42 46}; 40 -> {41 49};
40 -> {41} [style=dotted]; 40 -> {48} [style=dotted];
40 -> {46} [style=dashed]; 40 -> {41} [style=dashed];
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {47};
46 -> {47}; 44 -> {45} [style=dotted];
45 -> {46} [style=dotted];
46 -> {47} [style=dotted];
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {52}; 49 -> {50};
49 -> {50} [style=dotted]; 50 -> {51};
50 -> {51} [style=dotted]; 51 -> {52};
51 -> {52} [style=dotted];
52 -> {41};
subgraph cluster_16 { subgraph cluster_16 {
color=red color=red
@@ -174,40 +174,40 @@ digraph returnValuesFromLambda_kt {
55 [label="Postponed enter to lambda"]; 55 [label="Postponed enter to lambda"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
62 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 56 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
63 [label="Enter block"]; 57 [label="Enter block"];
64 [label="Jump: ^test_3 Unit"]; 58 [label="Jump: ^test_3 Unit"];
65 [label="Stub" style="filled" fillcolor=gray]; 59 [label="Stub" style="filled" fillcolor=gray];
66 [label="Exit block" 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]; 62 [label="Postponed exit from lambda" style="filled" fillcolor=gray];
57 [label="Function call: R|kotlin/run|<R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray]; 63 [label="Function call: R|kotlin/run|<R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
58 [label="Stub" style="filled" fillcolor=gray]; 64 [label="Stub" style="filled" fillcolor=gray];
59 [label="Variable declaration: lval x: R|kotlin/Nothing|" style="filled" fillcolor=gray]; 65 [label="Variable declaration: lval x: R|kotlin/Nothing|" style="filled" fillcolor=gray];
60 [label="Exit block" 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}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {62}; 55 -> {56};
55 -> {56 57} [style=dotted]; 55 -> {62 63} [style=dotted];
55 -> {62} [style=dashed]; 55 -> {56} [style=dashed];
56 -> {57} [style=dotted]; 56 -> {57};
57 -> {58} [style=dotted]; 57 -> {58};
58 -> {67};
58 -> {59} [style=dotted]; 58 -> {59} [style=dotted];
59 -> {60} [style=dotted]; 59 -> {60} [style=dotted];
60 -> {61} [style=dotted]; 60 -> {61} [style=dotted];
62 -> {63}; 61 -> {62} [style=dotted];
63 -> {64}; 62 -> {63} [style=dotted];
64 -> {61}; 63 -> {64} [style=dotted];
64 -> {65} [style=dotted]; 64 -> {65} [style=dotted];
65 -> {66} [style=dotted]; 65 -> {66} [style=dotted];
66 -> {67} [style=dotted]; 66 -> {67} [style=dotted];
67 -> {56} [style=dotted];
} }
@@ -5,8 +5,8 @@ digraph safeCalls_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
4 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
5 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
@@ -15,14 +15,14 @@ digraph safeCalls_kt {
} }
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 4 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 5 [label="Exit function foo" style="filled" fillcolor=red];
} }
4 -> {5} [color=green]; 0 -> {1} [color=green];
5 -> {0 2} [color=green]; 1 -> {2 4} [color=green];
5 -> {0 2} [style=dashed]; 1 -> {2 4} [style=dashed];
0 -> {1};
2 -> {3}; 2 -> {3};
4 -> {5};
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
+27 -27
View File
@@ -239,26 +239,26 @@ digraph tryCatch_kt {
color=blue color=blue
93 [label="Enter block"]; 93 [label="Enter block"];
94 [label="Jump: break@@@[Boolean(true)] "]; 94 [label="Jump: break@@@[Boolean(true)] "];
100 [label="Stub" style="filled" fillcolor=gray]; 95 [label="Stub" style="filled" fillcolor=gray];
101 [label="Exit block" 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)"]; 99 [label="Const: Int(2)"];
105 [label="Variable declaration: lval y: R|kotlin/Int|"]; 100 [label="Variable declaration: lval y: R|kotlin/Int|"];
106 [label="Exit block"]; 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)"]; 104 [label="Const: Int(3)"];
97 [label="Variable declaration: lval z: R|kotlin/Int|"]; 105 [label="Variable declaration: lval z: R|kotlin/Int|"];
98 [label="Exit block"]; 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}; 44 -> {45};
45 -> {46}; 45 -> {46};
@@ -266,7 +266,7 @@ digraph tryCatch_kt {
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
49 -> {95} [style=dotted]; 49 -> {103} [style=dotted];
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {53 84 91}; 52 -> {53 84 91};
@@ -279,7 +279,7 @@ digraph tryCatch_kt {
59 -> {66}; 59 -> {66};
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {62};
62 -> {99}; 62 -> {107};
62 -> {63} [style=dotted]; 62 -> {63} [style=dotted];
63 -> {64} [style=dotted]; 63 -> {64} [style=dotted];
64 -> {65} [style=dotted]; 64 -> {65} [style=dotted];
@@ -295,14 +295,14 @@ digraph tryCatch_kt {
74 -> {81}; 74 -> {81};
75 -> {76}; 75 -> {76};
76 -> {77}; 76 -> {77};
77 -> {95}; 77 -> {103};
77 -> {78} [style=dotted]; 77 -> {78} [style=dotted];
78 -> {79} [style=dotted]; 78 -> {79} [style=dotted];
79 -> {80} [style=dotted]; 79 -> {80} [style=dotted];
80 -> {81} [style=dotted]; 80 -> {81} [style=dotted];
81 -> {82}; 81 -> {82};
82 -> {83}; 82 -> {83};
83 -> {84 91 103}; 83 -> {84 91 98};
84 -> {85}; 84 -> {85};
85 -> {86}; 85 -> {86};
86 -> {87}; 86 -> {87};
@@ -310,23 +310,23 @@ digraph tryCatch_kt {
87 -> {88} [style=dotted]; 87 -> {88} [style=dotted];
88 -> {89} [style=dotted]; 88 -> {89} [style=dotted];
89 -> {90} [style=dotted]; 89 -> {90} [style=dotted];
90 -> {103} [style=dotted]; 90 -> {98} [style=dotted];
91 -> {92}; 91 -> {92};
92 -> {93}; 92 -> {93};
93 -> {94}; 93 -> {94};
94 -> {95}; 94 -> {103};
94 -> {100} [style=dotted]; 94 -> {95} [style=dotted];
95 -> {96}; 95 -> {96} [style=dotted];
96 -> {97}; 96 -> {97} [style=dotted];
97 -> {98}; 97 -> {98} [style=dotted];
98 -> {99}; 98 -> {99};
100 -> {101} [style=dotted]; 99 -> {100};
101 -> {102} [style=dotted]; 100 -> {101};
102 -> {103} [style=dotted]; 101 -> {102};
102 -> {47} [color=green style=dashed];
103 -> {104}; 103 -> {104};
104 -> {105}; 104 -> {105};
105 -> {106}; 105 -> {106};
106 -> {107}; 106 -> {107};
107 -> {47} [color=green style=dashed];
} }
@@ -13,44 +13,44 @@ digraph classCallInLambda_kt {
3 [label="Postponed enter to lambda"]; 3 [label="Postponed enter to lambda"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
10 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 4 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
11 [label="Enter block"]; 5 [label="Enter block"];
12 [label="Access variable R|<local>/it|"]; 6 [label="Access variable R|<local>/it|"];
13 [label="::class call"]; 7 [label="::class call"];
14 [label="Exit block"]; 8 [label="Exit block"];
} }
15 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 9 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
4 [label="Postponed exit from lambda"]; 10 [label="Postponed exit from lambda"];
5 [label="Function call: R|<local>/x|.R|kotlin/let|<R|kotlin/String|, R|kotlin/reflect/KClass<out kotlin/String>|>(...)" style="filled" fillcolor=yellow]; 11 [label="Function call: R|<local>/x|.R|kotlin/let|<R|kotlin/String|, R|kotlin/reflect/KClass<out kotlin/String>|>(...)" style="filled" fillcolor=yellow];
6 [label="Jump: ^test R|<local>/x|.R|kotlin/let|<R|kotlin/String|, R|kotlin/reflect/KClass<out kotlin/String>|>(<L> = let@fun <anonymous>(it: R|kotlin/String|): R|kotlin/reflect/KClass<out kotlin/String>| <inline=Inline, kind=EXACTLY_ONCE> { 12 [label="Jump: ^test R|<local>/x|.R|kotlin/let|<R|kotlin/String|, R|kotlin/reflect/KClass<out kotlin/String>|>(<L> = let@fun <anonymous>(it: R|kotlin/String|): R|kotlin/reflect/KClass<out kotlin/String>| <inline=Inline, kind=EXACTLY_ONCE> {
^ <getClass>(R|<local>/it|) ^ <getClass>(R|<local>/it|)
} }
)"]; )"];
7 [label="Stub" style="filled" fillcolor=gray]; 13 [label="Stub" style="filled" fillcolor=gray];
8 [label="Exit block" style="filled" fillcolor=gray]; 14 [label="Exit block" style="filled" fillcolor=gray];
} }
9 [label="Exit function test" style="filled" fillcolor=red]; 15 [label="Exit function test" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
1 -> {2}; 1 -> {2};
2 -> {3}; 2 -> {3};
3 -> {5 10}; 3 -> {4 11};
3 -> {4} [style=dotted]; 3 -> {10} [style=dotted];
3 -> {10} [style=dashed]; 3 -> {4} [style=dashed];
4 -> {5}; 4 -> {5};
5 -> {6}; 5 -> {6};
6 -> {9}; 6 -> {7};
6 -> {7} [style=dotted]; 7 -> {8};
7 -> {8} [style=dotted]; 8 -> {9};
8 -> {9} [style=dotted]; 9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {15};
13 -> {14}; 12 -> {13} [style=dotted];
14 -> {15}; 13 -> {14} [style=dotted];
15 -> {4}; 14 -> {15} [style=dotted];
} }
@@ -5,37 +5,37 @@ digraph exhaustiveWhenAndDNNType_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
3 [label="Enter class SomeEnum" style="filled" fillcolor=red]; 0 [label="Enter class SomeEnum" style="filled" fillcolor=red];
4 [label="Exit class SomeEnum" style="filled" fillcolor=red]; 1 [label="Exit class SomeEnum" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 2 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Enum<SomeEnum>|>()" style="filled" fillcolor=yellow]; 3 [label="Delegated constructor call: super<R|kotlin/Enum<SomeEnum>|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 4 [label="Exit function <init>" style="filled" fillcolor=red];
} }
3 -> {4} [color=green]; 0 -> {1} [color=green];
4 -> {0} [color=green]; 1 -> {2} [color=green];
4 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
1 -> {2}; 3 -> {4};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
8 [label="Enter class B" style="filled" fillcolor=red]; 5 [label="Enter class B" style="filled" fillcolor=red];
9 [label="Exit class B" style="filled" fillcolor=red]; 6 [label="Exit class B" style="filled" fillcolor=red];
} }
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
5 [label="Enter function <init>" style="filled" fillcolor=red]; 7 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 8 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
7 [label="Exit function <init>" style="filled" fillcolor=red]; 9 [label="Exit function <init>" style="filled" fillcolor=red];
} }
8 -> {9} [color=green]; 5 -> {6} [color=green];
9 -> {5} [color=green]; 6 -> {7} [color=green];
9 -> {5} [style=dashed]; 6 -> {7} [style=dashed];
5 -> {6}; 7 -> {8};
6 -> {7}; 8 -> {9};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
@@ -5,15 +5,15 @@ digraph secondaryConstructorCfg_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
27 [label="Enter class B" style="filled" fillcolor=red]; 0 [label="Enter class B" style="filled" fillcolor=red];
28 [label="Part of class initialization"]; 1 [label="Part of class initialization"];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
3 [label="Enter property" style="filled" fillcolor=red]; 2 [label="Enter property" style="filled" fillcolor=red];
4 [label="Access variable R|<local>/p0|"]; 3 [label="Access variable R|<local>/p0|"];
5 [label="Exit property" style="filled" fillcolor=red]; 4 [label="Exit property" style="filled" fillcolor=red];
} }
29 [label="Part of class initialization"]; 5 [label="Part of class initialization"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
6 [label="Enter property" style="filled" fillcolor=red]; 6 [label="Enter property" style="filled" fillcolor=red];
@@ -21,80 +21,80 @@ digraph secondaryConstructorCfg_kt {
8 [label="Access variable R|kotlin/String.length|"]; 8 [label="Access variable R|kotlin/String.length|"];
9 [label="Exit property" style="filled" fillcolor=red]; 9 [label="Exit property" style="filled" fillcolor=red];
} }
30 [label="Part of class initialization"]; 10 [label="Part of class initialization"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
18 [label="Enter init block" style="filled" fillcolor=red]; 11 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
19 [label="Enter block"]; 12 [label="Enter block"];
20 [label="Access variable R|<local>/p0|"]; 13 [label="Access variable R|<local>/p0|"];
21 [label="Access variable R|kotlin/String.length|"]; 14 [label="Access variable R|kotlin/String.length|"];
22 [label="Assignment: R|/B.p1|"]; 15 [label="Assignment: R|/B.p1|"];
23 [label="Const: String()"]; 16 [label="Const: String()"];
24 [label="Assignment: R|/B.p3|"]; 17 [label="Assignment: R|/B.p3|"];
25 [label="Exit block"]; 18 [label="Exit block"];
} }
26 [label="Exit init block" style="filled" fillcolor=red]; 19 [label="Exit init block" style="filled" fillcolor=red];
} }
31 [label="Exit class B" style="filled" fillcolor=red]; 20 [label="Exit class B" style="filled" fillcolor=red];
} }
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
10 [label="Enter function <init>" style="filled" fillcolor=red]; 21 [label="Enter function <init>" style="filled" fillcolor=red];
11 [label="Access variable R|<local>/p0|"]; 22 [label="Access variable R|<local>/p0|"];
12 [label="Delegated constructor call: this<R|B|>(...)" style="filled" fillcolor=yellow]; 23 [label="Delegated constructor call: this<R|B|>(...)" style="filled" fillcolor=yellow];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
13 [label="Enter block"]; 24 [label="Enter block"];
14 [label="Access variable R|<local>/p1|"]; 25 [label="Access variable R|<local>/p1|"];
15 [label="Assignment: R|/B.p3|"]; 26 [label="Assignment: R|/B.p3|"];
16 [label="Exit block"]; 27 [label="Exit block"];
} }
17 [label="Exit function <init>" style="filled" fillcolor=red]; 28 [label="Exit function <init>" style="filled" fillcolor=red];
} }
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 29 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 30 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 31 [label="Exit function <init>" style="filled" fillcolor=red];
} }
27 -> {28} [color=green]; 0 -> {1} [color=green];
28 -> {3} [color=green]; 1 -> {2} [color=green];
28 -> {29} [style=dotted]; 1 -> {5} [style=dotted];
28 -> {3} [style=dashed]; 1 -> {2} [style=dashed];
29 -> {6} [color=green]; 2 -> {3};
29 -> {30} [style=dotted];
29 -> {6} [style=dashed];
30 -> {18} [color=green];
30 -> {31} [style=dotted];
30 -> {18} [style=dashed];
31 -> {0 10} [color=green];
31 -> {0 10} [style=dashed];
3 -> {4}; 3 -> {4};
4 -> {5}; 4 -> {5} [color=green];
5 -> {29} [color=green]; 5 -> {6} [color=green];
5 -> {10} [style=dotted];
5 -> {6} [style=dashed];
6 -> {7}; 6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9};
9 -> {30} [color=green]; 9 -> {10} [color=green];
18 -> {19}; 10 -> {11} [color=green];
19 -> {20}; 10 -> {20} [style=dotted];
20 -> {21}; 10 -> {11} [style=dashed];
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {31} [color=green];
0 -> {1};
1 -> {2};
10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20} [color=green];
20 -> {21 29} [color=green];
20 -> {21 29} [style=dashed];
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
29 -> {30};
30 -> {31};
} }
@@ -5,18 +5,18 @@ digraph bangbang_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
2 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 3 [label="Exit function foo" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 0 -> {1} [color=green];
3 -> {0} [color=green]; 1 -> {2} [color=green];
3 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
@@ -5,8 +5,8 @@ digraph booleanOperators_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
4 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
5 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
@@ -15,44 +15,44 @@ digraph booleanOperators_kt {
} }
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 4 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 5 [label="Exit function foo" style="filled" fillcolor=red];
} }
4 -> {5} [color=green]; 0 -> {1} [color=green];
5 -> {0 2} [color=green]; 1 -> {2 4} [color=green];
5 -> {0 2} [style=dashed]; 1 -> {2 4} [style=dashed];
0 -> {1};
2 -> {3}; 2 -> {3};
4 -> {5};
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
8 [label="Enter class B" style="filled" fillcolor=red]; 6 [label="Enter class B" style="filled" fillcolor=red];
9 [label="Exit class B" style="filled" fillcolor=red]; 7 [label="Exit class B" style="filled" fillcolor=red];
} }
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
6 [label="Enter function bar" style="filled" fillcolor=red]; 8 [label="Enter function bar" style="filled" fillcolor=red];
7 [label="Exit function bar" style="filled" fillcolor=red]; 9 [label="Exit function bar" style="filled" fillcolor=red];
} }
8 -> {9} [color=green]; 6 -> {7} [color=green];
9 -> {6} [color=green]; 7 -> {8} [color=green];
9 -> {6} [style=dashed]; 7 -> {8} [style=dashed];
6 -> {7}; 8 -> {9};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
12 [label="Enter class C" style="filled" fillcolor=red]; 10 [label="Enter class C" style="filled" fillcolor=red];
13 [label="Exit class C" style="filled" fillcolor=red]; 11 [label="Exit class C" style="filled" fillcolor=red];
} }
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
10 [label="Enter function baz" style="filled" fillcolor=red]; 12 [label="Enter function baz" style="filled" fillcolor=red];
11 [label="Exit function baz" style="filled" fillcolor=red]; 13 [label="Exit function baz" style="filled" fillcolor=red];
} }
12 -> {13} [color=green]; 10 -> {11} [color=green];
13 -> {10} [color=green]; 11 -> {12} [color=green];
13 -> {10} [style=dashed]; 11 -> {12} [style=dashed];
10 -> {11}; 12 -> {13};
subgraph cluster_7 { subgraph cluster_7 {
color=red color=red
@@ -5,18 +5,18 @@ digraph equalsToBoolean_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
2 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 3 [label="Exit function foo" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 0 -> {1} [color=green];
3 -> {0} [color=green]; 1 -> {2} [color=green];
3 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
@@ -5,18 +5,18 @@ digraph jumpFromRhsOfOperator_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
2 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 3 [label="Exit function foo" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 0 -> {1} [color=green];
3 -> {0} [color=green]; 1 -> {2} [color=green];
3 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
@@ -5,33 +5,33 @@ digraph boundSmartcasts_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
2 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 3 [label="Exit function foo" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 0 -> {1} [color=green];
3 -> {0} [color=green]; 1 -> {2} [color=green];
3 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
6 [label="Enter class B" style="filled" fillcolor=red]; 4 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red]; 5 [label="Exit class B" style="filled" fillcolor=red];
} }
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
4 [label="Enter function bar" style="filled" fillcolor=red]; 6 [label="Enter function bar" style="filled" fillcolor=red];
5 [label="Exit function bar" style="filled" fillcolor=red]; 7 [label="Exit function bar" style="filled" fillcolor=red];
} }
6 -> {7} [color=green]; 4 -> {5} [color=green];
7 -> {4} [color=green]; 5 -> {6} [color=green];
7 -> {4} [style=dashed]; 5 -> {6} [style=dashed];
4 -> {5}; 6 -> {7};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
@@ -338,33 +338,33 @@ digraph boundSmartcasts_kt {
subgraph cluster_27 { subgraph cluster_27 {
color=red color=red
131 [label="Enter class D" style="filled" fillcolor=red]; 125 [label="Enter class D" style="filled" fillcolor=red];
132 [label="Part of class initialization"]; 126 [label="Part of class initialization"];
subgraph cluster_28 { subgraph cluster_28 {
color=blue color=blue
128 [label="Enter property" style="filled" fillcolor=red]; 127 [label="Enter property" style="filled" fillcolor=red];
129 [label="Access variable R|<local>/any|"]; 128 [label="Access variable R|<local>/any|"];
130 [label="Exit property" style="filled" fillcolor=red]; 129 [label="Exit property" style="filled" fillcolor=red];
} }
133 [label="Exit class D" style="filled" fillcolor=red]; 130 [label="Exit class D" style="filled" fillcolor=red];
} }
subgraph cluster_29 { subgraph cluster_29 {
color=blue color=blue
125 [label="Enter function <init>" style="filled" fillcolor=red]; 131 [label="Enter function <init>" style="filled" fillcolor=red];
126 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 132 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
127 [label="Exit function <init>" style="filled" fillcolor=red]; 133 [label="Exit function <init>" style="filled" fillcolor=red];
} }
131 -> {132} [color=green]; 125 -> {126} [color=green];
132 -> {128} [color=green]; 126 -> {127} [color=green];
132 -> {133} [style=dotted]; 126 -> {130} [style=dotted];
132 -> {128} [style=dashed]; 126 -> {127} [style=dashed];
133 -> {125} [color=green]; 127 -> {128};
133 -> {125} [style=dashed];
128 -> {129}; 128 -> {129};
129 -> {130}; 129 -> {130} [color=green];
130 -> {133} [color=green]; 130 -> {131} [color=green];
125 -> {126}; 130 -> {131} [style=dashed];
126 -> {127}; 131 -> {132};
132 -> {133};
subgraph cluster_30 { subgraph cluster_30 {
color=red color=red
@@ -5,33 +5,33 @@ digraph boundSmartcastsInBranches_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
6 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
7 [label="Part of class initialization"]; 1 [label="Part of class initialization"];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
3 [label="Enter property" style="filled" fillcolor=red]; 2 [label="Enter property" style="filled" fillcolor=red];
4 [label="Const: String()"]; 3 [label="Const: String()"];
5 [label="Exit property" style="filled" fillcolor=red]; 4 [label="Exit property" style="filled" fillcolor=red];
} }
8 [label="Exit class A" style="filled" fillcolor=red]; 5 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 6 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 7 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 8 [label="Exit function <init>" style="filled" fillcolor=red];
} }
6 -> {7} [color=green]; 0 -> {1} [color=green];
7 -> {3} [color=green]; 1 -> {2} [color=green];
7 -> {8} [style=dotted]; 1 -> {5} [style=dotted];
7 -> {3} [style=dashed]; 1 -> {2} [style=dashed];
8 -> {0} [color=green]; 2 -> {3};
8 -> {0} [style=dashed];
3 -> {4}; 3 -> {4};
4 -> {5}; 4 -> {5} [color=green];
5 -> {8} [color=green]; 5 -> {6} [color=green];
0 -> {1}; 5 -> {6} [style=dashed];
1 -> {2}; 6 -> {7};
7 -> {8};
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
@@ -5,50 +5,50 @@ digraph functionCallBound_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
3 [label="Enter class Base" style="filled" fillcolor=red]; 0 [label="Enter class Base" style="filled" fillcolor=red];
4 [label="Exit class Base" style="filled" fillcolor=red]; 1 [label="Exit class Base" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 2 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 3 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 4 [label="Exit function <init>" style="filled" fillcolor=red];
} }
3 -> {4} [color=green]; 0 -> {1} [color=green];
4 -> {0} [color=green]; 1 -> {2} [color=green];
4 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
1 -> {2}; 3 -> {4};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
11 [label="Enter class Sub" style="filled" fillcolor=red]; 5 [label="Enter class Sub" style="filled" fillcolor=red];
12 [label="Part of class initialization"]; 6 [label="Part of class initialization"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
8 [label="Enter property" style="filled" fillcolor=red]; 7 [label="Enter property" style="filled" fillcolor=red];
9 [label="Access variable R|<local>/data|"]; 8 [label="Access variable R|<local>/data|"];
10 [label="Exit property" style="filled" fillcolor=red]; 9 [label="Exit property" style="filled" fillcolor=red];
} }
13 [label="Exit class Sub" style="filled" fillcolor=red]; 10 [label="Exit class Sub" style="filled" fillcolor=red];
} }
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
5 [label="Enter function <init>" style="filled" fillcolor=red]; 11 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Delegated constructor call: super<R|Base|>()" style="filled" fillcolor=yellow]; 12 [label="Delegated constructor call: super<R|Base|>()" style="filled" fillcolor=yellow];
7 [label="Exit function <init>" style="filled" fillcolor=red]; 13 [label="Exit function <init>" style="filled" fillcolor=red];
} }
11 -> {12} [color=green]; 5 -> {6} [color=green];
12 -> {8} [color=green]; 6 -> {7} [color=green];
12 -> {13} [style=dotted]; 6 -> {10} [style=dotted];
12 -> {8} [style=dashed]; 6 -> {7} [style=dashed];
13 -> {5} [color=green]; 7 -> {8};
13 -> {5} [style=dashed];
8 -> {9}; 8 -> {9};
9 -> {10}; 9 -> {10} [color=green];
10 -> {13} [color=green]; 10 -> {11} [color=green];
5 -> {6}; 10 -> {11} [style=dashed];
6 -> {7}; 11 -> {12};
12 -> {13};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
@@ -5,18 +5,18 @@ digraph elvis_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
2 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 3 [label="Exit function foo" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 0 -> {1} [color=green];
3 -> {0} [color=green]; 1 -> {2} [color=green];
3 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
@@ -154,48 +154,48 @@ digraph returns_kt {
subgraph cluster_14 { subgraph cluster_14 {
color=red color=red
55 [label="Enter class A" style="filled" fillcolor=red]; 53 [label="Enter class A" style="filled" fillcolor=red];
56 [label="Exit class A" style="filled" fillcolor=red]; 54 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
53 [label="Enter function foo" style="filled" fillcolor=red]; 55 [label="Enter function foo" style="filled" fillcolor=red];
54 [label="Exit function foo" style="filled" fillcolor=red]; 56 [label="Exit function foo" style="filled" fillcolor=red];
} }
55 -> {56} [color=green]; 53 -> {54} [color=green];
56 -> {53} [color=green]; 54 -> {55} [color=green];
56 -> {53} [style=dashed]; 54 -> {55} [style=dashed];
53 -> {54}; 55 -> {56};
subgraph cluster_16 { subgraph cluster_16 {
color=red color=red
59 [label="Enter class B" style="filled" fillcolor=red]; 57 [label="Enter class B" style="filled" fillcolor=red];
60 [label="Exit class B" style="filled" fillcolor=red]; 58 [label="Exit class B" style="filled" fillcolor=red];
} }
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
57 [label="Enter function bar" style="filled" fillcolor=red]; 59 [label="Enter function bar" style="filled" fillcolor=red];
58 [label="Exit function bar" style="filled" fillcolor=red]; 60 [label="Exit function bar" style="filled" fillcolor=red];
} }
59 -> {60} [color=green]; 57 -> {58} [color=green];
60 -> {57} [color=green]; 58 -> {59} [color=green];
60 -> {57} [style=dashed]; 58 -> {59} [style=dashed];
57 -> {58}; 59 -> {60};
subgraph cluster_18 { subgraph cluster_18 {
color=red color=red
63 [label="Enter class C" style="filled" fillcolor=red]; 61 [label="Enter class C" style="filled" fillcolor=red];
64 [label="Exit class C" style="filled" fillcolor=red]; 62 [label="Exit class C" style="filled" fillcolor=red];
} }
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
61 [label="Enter function baz" style="filled" fillcolor=red]; 63 [label="Enter function baz" style="filled" fillcolor=red];
62 [label="Exit function baz" style="filled" fillcolor=red]; 64 [label="Exit function baz" style="filled" fillcolor=red];
} }
63 -> {64} [color=green]; 61 -> {62} [color=green];
64 -> {61} [color=green]; 62 -> {63} [color=green];
64 -> {61} [style=dashed]; 62 -> {63} [style=dashed];
61 -> {62}; 63 -> {64};
subgraph cluster_20 { subgraph cluster_20 {
color=red color=red
@@ -471,22 +471,22 @@ digraph returns_kt {
175 [label="Postponed enter to lambda"]; 175 [label="Postponed enter to lambda"];
subgraph cluster_42 { subgraph cluster_42 {
color=blue color=blue
180 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 176 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_43 { subgraph cluster_43 {
color=blue color=blue
181 [label="Enter block"]; 177 [label="Enter block"];
182 [label="Access variable R|<local>/s|"]; 178 [label="Access variable R|<local>/s|"];
183 [label="Smart cast: R|<local>/s|"]; 179 [label="Smart cast: R|<local>/s|"];
184 [label="Access variable R|kotlin/String.length|"]; 180 [label="Access variable R|kotlin/String.length|"];
185 [label="Exit block"]; 181 [label="Exit block"];
} }
186 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 182 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
176 [label="Postponed exit from lambda"]; 183 [label="Postponed exit from lambda"];
177 [label="Function call: R|/runHigherOrder|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow]; 184 [label="Function call: R|/runHigherOrder|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
178 [label="Exit block"]; 185 [label="Exit block"];
} }
179 [label="Exit function test_4" style="filled" fillcolor=red]; 186 [label="Exit function test_4" style="filled" fillcolor=red];
} }
159 -> {160}; 159 -> {160};
160 -> {161}; 160 -> {161};
@@ -499,20 +499,20 @@ digraph returns_kt {
167 -> {168}; 167 -> {168};
168 -> {169 172}; 168 -> {169 172};
169 -> {170}; 169 -> {170};
170 -> {179}; 170 -> {186};
170 -> {171} [style=dotted]; 170 -> {171} [style=dotted];
171 -> {173} [style=dotted]; 171 -> {173} [style=dotted];
172 -> {173}; 172 -> {173};
173 -> {174}; 173 -> {174};
174 -> {175}; 174 -> {175};
175 -> {176 177 180}; 175 -> {176 183 184};
175 -> {180} [style=dashed]; 175 -> {176} [style=dashed];
176 -> {177}; 176 -> {177};
177 -> {178}; 177 -> {178};
178 -> {179}; 178 -> {179};
179 -> {180};
180 -> {181}; 180 -> {181};
181 -> {182}; 181 -> {182};
182 -> {183};
183 -> {184}; 183 -> {184};
184 -> {185}; 184 -> {185};
185 -> {186}; 185 -> {186};
@@ -5,18 +5,18 @@ digraph smartcastFromArgument_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
2 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 3 [label="Exit function foo" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 0 -> {1} [color=green];
3 -> {0} [color=green]; 1 -> {2} [color=green];
3 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
@@ -5,33 +5,33 @@ digraph when_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
2 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 3 [label="Exit function foo" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 0 -> {1} [color=green];
3 -> {0} [color=green]; 1 -> {2} [color=green];
3 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
6 [label="Enter class B" style="filled" fillcolor=red]; 4 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red]; 5 [label="Exit class B" style="filled" fillcolor=red];
} }
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
4 [label="Enter function bar" style="filled" fillcolor=red]; 6 [label="Enter function bar" style="filled" fillcolor=red];
5 [label="Exit function bar" style="filled" fillcolor=red]; 7 [label="Exit function bar" style="filled" fillcolor=red];
} }
6 -> {7} [color=green]; 4 -> {5} [color=green];
7 -> {4} [color=green]; 5 -> {6} [color=green];
7 -> {4} [style=dashed]; 5 -> {6} [style=dashed];
4 -> {5}; 6 -> {7};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
@@ -5,18 +5,18 @@ digraph equalsAndIdentity_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
2 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 3 [label="Exit function foo" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 0 -> {1} [color=green];
3 -> {0} [color=green]; 1 -> {2} [color=green];
3 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
@@ -71,30 +71,30 @@ digraph incorrectSmartcastToNothing_kt {
35 [label="Postponed enter to lambda"]; 35 [label="Postponed enter to lambda"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
46 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 36 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
47 [label="Enter block"]; 37 [label="Enter block"];
48 [label="Access variable R|<local>/it|"]; 38 [label="Access variable R|<local>/it|"];
49 [label="Const: String(main.kts.compiled.cache)"]; 39 [label="Const: String(main.kts.compiled.cache)"];
50 [label="Function call: R|java/io/File.File|(...)" style="filled" fillcolor=yellow]; 40 [label="Function call: R|java/io/File.File|(...)" style="filled" fillcolor=yellow];
51 [label="Exit block"]; 41 [label="Exit block"];
} }
52 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 42 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
36 [label="Postponed exit from lambda"]; 43 [label="Postponed exit from lambda"];
37 [label="Function call: $subj$.R|kotlin/let|<R|java/io/File|, R|java/io/File|>(...)" style="filled" fillcolor=yellow]; 44 [label="Function call: $subj$.R|kotlin/let|<R|java/io/File|, R|java/io/File|>(...)" style="filled" fillcolor=yellow];
38 [label="Exit safe call"]; 45 [label="Exit safe call"];
39 [label="Exit block"]; 46 [label="Exit block"];
} }
40 [label="Exit when branch result"]; 47 [label="Exit when branch result"];
41 [label="Merge postponed lambda exits"]; 48 [label="Merge postponed lambda exits"];
42 [label="Exit when"]; 49 [label="Exit when"];
} }
43 [label="Variable declaration: lval cacheBaseDir: R|java/io/File?|"]; 50 [label="Variable declaration: lval cacheBaseDir: R|java/io/File?|"];
44 [label="Exit block"]; 51 [label="Exit block"];
} }
45 [label="Exit function test" style="filled" fillcolor=red]; 52 [label="Exit function test" style="filled" fillcolor=red];
} }
4 -> {5}; 4 -> {5};
5 -> {6}; 5 -> {6};
@@ -117,35 +117,35 @@ digraph incorrectSmartcastToNothing_kt {
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {42}; 25 -> {49};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {42}; 30 -> {49};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34 38}; 33 -> {34 45};
34 -> {35}; 34 -> {35};
35 -> {37 46}; 35 -> {36 44};
35 -> {36} [style=dotted]; 35 -> {43} [style=dotted];
35 -> {46} [style=dashed]; 35 -> {36} [style=dashed];
36 -> {37} [color=green]; 36 -> {37};
36 -> {41} [color=red];
37 -> {38}; 37 -> {38};
38 -> {39 41}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {42}; 40 -> {41};
41 -> {42} [color=red]; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44} [color=green];
43 -> {48} [color=red];
44 -> {45}; 44 -> {45};
45 -> {46 48};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {49};
48 -> {49}; 48 -> {49} [color=red];
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {36};
} }
@@ -5,33 +5,33 @@ digraph inPlaceLambdas_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
2 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 3 [label="Exit function foo" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 0 -> {1} [color=green];
3 -> {0} [color=green]; 1 -> {2} [color=green];
3 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
6 [label="Enter class B" style="filled" fillcolor=red]; 4 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red]; 5 [label="Exit class B" style="filled" fillcolor=red];
} }
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
4 [label="Enter function bar" style="filled" fillcolor=red]; 6 [label="Enter function bar" style="filled" fillcolor=red];
5 [label="Exit function bar" style="filled" fillcolor=red]; 7 [label="Exit function bar" style="filled" fillcolor=red];
} }
6 -> {7} [color=green]; 4 -> {5} [color=green];
7 -> {4} [color=green]; 5 -> {6} [color=green];
7 -> {4} [style=dashed]; 5 -> {6} [style=dashed];
4 -> {5}; 6 -> {7};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
@@ -57,27 +57,27 @@ digraph inPlaceLambdas_kt {
18 [label="Postponed enter to lambda"]; 18 [label="Postponed enter to lambda"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
26 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 19 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
27 [label="Enter block"]; 20 [label="Enter block"];
28 [label="Access variable R|<local>/x|"]; 21 [label="Access variable R|<local>/x|"];
29 [label="Smart cast: R|<local>/x|"]; 22 [label="Smart cast: R|<local>/x|"];
30 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow]; 23 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
31 [label="Exit block"]; 24 [label="Exit block"];
} }
32 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 25 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
19 [label="Postponed exit from lambda"]; 26 [label="Postponed exit from lambda"];
20 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow]; 27 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
21 [label="Exit block"]; 28 [label="Exit block"];
} }
22 [label="Exit when branch result"]; 29 [label="Exit when branch result"];
23 [label="Exit when"]; 30 [label="Exit when"];
} }
24 [label="Exit block"]; 31 [label="Exit block"];
} }
25 [label="Exit function test_1" style="filled" fillcolor=red]; 32 [label="Exit function test_1" style="filled" fillcolor=red];
} }
8 -> {9}; 8 -> {9};
9 -> {10}; 9 -> {10};
@@ -86,25 +86,25 @@ digraph inPlaceLambdas_kt {
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15 16}; 14 -> {15 16};
15 -> {23}; 15 -> {30};
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18};
18 -> {20 26}; 18 -> {19 27};
18 -> {19} [style=dotted]; 18 -> {26} [style=dotted];
18 -> {26} [style=dashed]; 18 -> {19} [style=dashed];
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {19};
subgraph cluster_11 { subgraph cluster_11 {
color=red color=red
@@ -115,42 +115,42 @@ digraph inPlaceLambdas_kt {
35 [label="Postponed enter to lambda"]; 35 [label="Postponed enter to lambda"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
43 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 36 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
44 [label="Enter block"]; 37 [label="Enter block"];
45 [label="Access variable R|<local>/x|"]; 38 [label="Access variable R|<local>/x|"];
46 [label="Type operator: (R|<local>/x| as R|B|)"]; 39 [label="Type operator: (R|<local>/x| as R|B|)"];
47 [label="Exit block"]; 40 [label="Exit block"];
} }
48 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 41 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
36 [label="Postponed exit from lambda"]; 42 [label="Postponed exit from lambda"];
37 [label="Function call: R|kotlin/run|<R|B|>(...)" style="filled" fillcolor=yellow]; 43 [label="Function call: R|kotlin/run|<R|B|>(...)" style="filled" fillcolor=yellow];
38 [label="Access variable R|<local>/x|"]; 44 [label="Access variable R|<local>/x|"];
39 [label="Smart cast: R|<local>/x|"]; 45 [label="Smart cast: R|<local>/x|"];
40 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow]; 46 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
41 [label="Exit block"]; 47 [label="Exit block"];
} }
42 [label="Exit function test_2" style="filled" fillcolor=red]; 48 [label="Exit function test_2" style="filled" fillcolor=red];
} }
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {35};
35 -> {37 43}; 35 -> {36 43};
35 -> {36} [style=dotted]; 35 -> {42} [style=dotted];
35 -> {43} [style=dashed]; 35 -> {36} [style=dashed];
36 -> {37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {48};
48 -> {36};
subgraph cluster_15 { subgraph cluster_15 {
color=red color=red
@@ -176,33 +176,33 @@ digraph inPlaceLambdas_kt {
59 [label="Postponed enter to lambda"]; 59 [label="Postponed enter to lambda"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
70 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 60 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
71 [label="Enter block"]; 61 [label="Enter block"];
72 [label="Access variable R|<local>/x|"]; 62 [label="Access variable R|<local>/x|"];
73 [label="Smart cast: R|<local>/x|"]; 63 [label="Smart cast: R|<local>/x|"];
74 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow]; 64 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
75 [label="Access variable R|<local>/x|"]; 65 [label="Access variable R|<local>/x|"];
76 [label="Smart cast: R|<local>/x|"]; 66 [label="Smart cast: R|<local>/x|"];
77 [label="Type operator: (R|<local>/x| as R|B|)"]; 67 [label="Type operator: (R|<local>/x| as R|B|)"];
78 [label="Exit block"]; 68 [label="Exit block"];
} }
79 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 69 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
60 [label="Postponed exit from lambda"]; 70 [label="Postponed exit from lambda"];
61 [label="Function call: R|kotlin/run|<R|B|>(...)" style="filled" fillcolor=yellow]; 71 [label="Function call: R|kotlin/run|<R|B|>(...)" style="filled" fillcolor=yellow];
62 [label="Access variable R|<local>/x|"]; 72 [label="Access variable R|<local>/x|"];
63 [label="Smart cast: R|<local>/x|"]; 73 [label="Smart cast: R|<local>/x|"];
64 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow]; 74 [label="Function call: R|<local>/x|.R|/B.bar|()" style="filled" fillcolor=yellow];
65 [label="Exit block"]; 75 [label="Exit block"];
} }
66 [label="Exit when branch result"]; 76 [label="Exit when branch result"];
67 [label="Exit when"]; 77 [label="Exit when"];
} }
68 [label="Exit block"]; 78 [label="Exit block"];
} }
69 [label="Exit function test_3" style="filled" fillcolor=red]; 79 [label="Exit function test_3" style="filled" fillcolor=red];
} }
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
@@ -211,12 +211,12 @@ digraph inPlaceLambdas_kt {
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {56 57}; 55 -> {56 57};
56 -> {67}; 56 -> {77};
57 -> {58}; 57 -> {58};
58 -> {59}; 58 -> {59};
59 -> {61 70}; 59 -> {60 71};
59 -> {60} [style=dotted]; 59 -> {70} [style=dotted];
59 -> {70} [style=dashed]; 59 -> {60} [style=dashed];
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {62};
62 -> {63}; 62 -> {63};
@@ -226,6 +226,7 @@ digraph inPlaceLambdas_kt {
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70};
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {72};
72 -> {73}; 72 -> {73};
@@ -235,6 +236,5 @@ digraph inPlaceLambdas_kt {
76 -> {77}; 76 -> {77};
77 -> {78}; 77 -> {78};
78 -> {79}; 78 -> {79};
79 -> {60};
} }
@@ -5,99 +5,99 @@ digraph lambdaInWhenBranch_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
3 [label="Enter class Sealed" style="filled" fillcolor=red]; 0 [label="Enter class Sealed" style="filled" fillcolor=red];
4 [label="Exit class Sealed" style="filled" fillcolor=red]; 1 [label="Exit class Sealed" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 2 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 3 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 4 [label="Exit function <init>" style="filled" fillcolor=red];
} }
3 -> {4} [color=green]; 0 -> {1} [color=green];
4 -> {0} [color=green]; 1 -> {2} [color=green];
4 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
1 -> {2}; 3 -> {4};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
20 [label="Enter class SubClass1" style="filled" fillcolor=red]; 5 [label="Enter class SubClass1" style="filled" fillcolor=red];
21 [label="Part of class initialization"]; 6 [label="Part of class initialization"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
8 [label="Enter property" style="filled" fillcolor=red]; 7 [label="Enter property" style="filled" fillcolor=red];
9 [label="Access variable R|<local>/t|"]; 8 [label="Access variable R|<local>/t|"];
10 [label="Exit property" style="filled" fillcolor=red]; 9 [label="Exit property" style="filled" fillcolor=red];
} }
22 [label="Exit class SubClass1" style="filled" fillcolor=red]; 10 [label="Exit class SubClass1" style="filled" fillcolor=red];
} }
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
13 [label="Enter function copy" style="filled" fillcolor=red]; 11 [label="Enter function copy" style="filled" fillcolor=red];
14 [label="Enter default value of t"]; 12 [label="Enter default value of t"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
17 [label="Enter default value of t" style="filled" fillcolor=red]; 13 [label="Enter default value of t" style="filled" fillcolor=red];
18 [label="Access variable R|/SubClass1.t|"]; 14 [label="Access variable R|/SubClass1.t|"];
19 [label="Exit default value of t" style="filled" fillcolor=red]; 15 [label="Exit default value of t" style="filled" fillcolor=red];
} }
15 [label="Exit default value of t"]; 16 [label="Exit default value of t"];
16 [label="Exit function copy" style="filled" fillcolor=red]; 17 [label="Exit function copy" style="filled" fillcolor=red];
} }
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
11 [label="Enter function component1" style="filled" fillcolor=red]; 18 [label="Enter function component1" style="filled" fillcolor=red];
12 [label="Exit function component1" style="filled" fillcolor=red]; 19 [label="Exit function component1" style="filled" fillcolor=red];
} }
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
5 [label="Enter function <init>" style="filled" fillcolor=red]; 20 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow]; 21 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
7 [label="Exit function <init>" style="filled" fillcolor=red]; 22 [label="Exit function <init>" style="filled" fillcolor=red];
} }
20 -> {21} [color=green]; 5 -> {6} [color=green];
21 -> {8} [color=green]; 6 -> {7} [color=green];
21 -> {22} [style=dotted]; 6 -> {10} [style=dotted];
21 -> {8} [style=dashed]; 6 -> {7} [style=dashed];
22 -> {5 11 13} [color=green]; 7 -> {8};
22 -> {5 11 13} [style=dashed];
8 -> {9}; 8 -> {9};
9 -> {10}; 9 -> {10} [color=green];
10 -> {22} [color=green]; 10 -> {11 18 20} [color=green];
5 -> {6}; 10 -> {11 18 20} [style=dashed];
6 -> {7};
11 -> {12}; 11 -> {12};
12 -> {13 16};
12 -> {13} [style=dashed];
13 -> {14}; 13 -> {14};
14 -> {15 17}; 14 -> {15};
14 -> {17} [style=dashed];
15 -> {16}; 15 -> {16};
17 -> {18}; 16 -> {17};
18 -> {19}; 18 -> {19};
19 -> {15}; 20 -> {21};
21 -> {22};
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
28 [label="Enter class SubClass2" style="filled" fillcolor=red]; 23 [label="Enter class SubClass2" style="filled" fillcolor=red];
29 [label="Exit class SubClass2" style="filled" fillcolor=red]; 24 [label="Exit class SubClass2" style="filled" fillcolor=red];
} }
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
26 [label="Enter function copy" style="filled" fillcolor=red]; 25 [label="Enter function copy" style="filled" fillcolor=red];
27 [label="Exit function copy" style="filled" fillcolor=red]; 26 [label="Exit function copy" style="filled" fillcolor=red];
} }
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
23 [label="Enter function <init>" style="filled" fillcolor=red]; 27 [label="Enter function <init>" style="filled" fillcolor=red];
24 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow]; 28 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
25 [label="Exit function <init>" style="filled" fillcolor=red]; 29 [label="Exit function <init>" style="filled" fillcolor=red];
} }
28 -> {29} [color=green]; 23 -> {24} [color=green];
29 -> {23 26} [color=green]; 24 -> {25 27} [color=green];
29 -> {23 26} [style=dashed]; 24 -> {25 27} [style=dashed];
23 -> {24}; 25 -> {26};
24 -> {25}; 27 -> {28};
26 -> {27}; 28 -> {29};
subgraph cluster_11 { subgraph cluster_11 {
color=red color=red
@@ -139,66 +139,66 @@ digraph lambdaInWhenBranch_kt {
50 [label="Postponed enter to lambda"]; 50 [label="Postponed enter to lambda"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
84 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 51 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
85 [label="Enter block"]; 52 [label="Enter block"];
86 [label="Access variable R|<local>/it|"]; 53 [label="Access variable R|<local>/it|"];
87 [label="Exit block"]; 54 [label="Exit block"];
} }
88 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 55 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
51 [label="Postponed exit from lambda"]; 56 [label="Postponed exit from lambda"];
52 [label="Function call: String().R|kotlin/let|<R|kotlin/String|, R|kotlin/String|>(...)" style="filled" fillcolor=yellow]; 57 [label="Function call: String().R|kotlin/let|<R|kotlin/String|, R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
53 [label="Exit block"]; 58 [label="Exit block"];
} }
54 [label="Exit when branch result"]; 59 [label="Exit when branch result"];
55 [label="Exit when"]; 60 [label="Exit when"];
} }
56 [label="Access variable R|<local>/p|"]; 61 [label="Access variable R|<local>/p|"];
57 [label="Access variable <Unresolved name: t>#"]; 62 [label="Access variable <Unresolved name: t>#"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
58 [label="Enter when"]; 63 [label="Enter when"];
59 [label="Access variable R|<local>/p|"]; 64 [label="Access variable R|<local>/p|"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
60 [label="Enter when branch condition "]; 65 [label="Enter when branch condition "];
61 [label="Exit $subj"]; 66 [label="Exit $subj"];
62 [label="Type operator: ($subj$ is R|SubClass1|)"]; 67 [label="Type operator: ($subj$ is R|SubClass1|)"];
63 [label="Exit when branch condition"]; 68 [label="Exit when branch condition"];
} }
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
64 [label="Enter when branch condition "]; 69 [label="Enter when branch condition "];
65 [label="Exit $subj"]; 70 [label="Exit $subj"];
66 [label="Type operator: ($subj$ is R|SubClass2|)"]; 71 [label="Type operator: ($subj$ is R|SubClass2|)"];
67 [label="Exit when branch condition"]; 72 [label="Exit when branch condition"];
} }
68 [label="Enter when branch result"]; 73 [label="Enter when branch result"];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
69 [label="Enter block"]; 74 [label="Enter block"];
70 [label="Const: String(2)"]; 75 [label="Const: String(2)"];
71 [label="Exit block"]; 76 [label="Exit block"];
} }
72 [label="Exit when branch result"]; 77 [label="Exit when branch result"];
73 [label="Enter when branch result"]; 78 [label="Enter when branch result"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
74 [label="Enter block"]; 79 [label="Enter block"];
75 [label="Access variable R|<local>/p|"]; 80 [label="Access variable R|<local>/p|"];
76 [label="Smart cast: R|<local>/p|"]; 81 [label="Smart cast: R|<local>/p|"];
77 [label="Access variable R|/SubClass1.t|"]; 82 [label="Access variable R|/SubClass1.t|"];
78 [label="Exit block"]; 83 [label="Exit block"];
} }
79 [label="Exit when branch result"]; 84 [label="Exit when branch result"];
80 [label="Exit when"]; 85 [label="Exit when"];
} }
81 [label="Access variable R|kotlin/String.length|"]; 86 [label="Access variable R|kotlin/String.length|"];
82 [label="Exit block"]; 87 [label="Exit block"];
} }
83 [label="Exit function foo" style="filled" fillcolor=red]; 88 [label="Exit function foo" style="filled" fillcolor=red];
} }
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
@@ -216,50 +216,50 @@ digraph lambdaInWhenBranch_kt {
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {55}; 46 -> {60};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {52 84}; 50 -> {51 57};
50 -> {51} [style=dotted]; 50 -> {56} [style=dotted];
50 -> {84} [style=dashed]; 50 -> {51} [style=dashed];
51 -> {52} [color=green]; 51 -> {52};
51 -> {55} [color=red];
52 -> {53}; 52 -> {53};
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {57} [color=green];
56 -> {60} [color=red];
57 -> {58}; 57 -> {58};
58 -> {59}; 58 -> {59};
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {62};
62 -> {63}; 62 -> {63};
63 -> {64 73}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69 78};
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {72};
72 -> {80}; 72 -> {73};
73 -> {74}; 73 -> {74};
74 -> {75}; 74 -> {75};
75 -> {76}; 75 -> {76};
76 -> {77}; 76 -> {77};
77 -> {78}; 77 -> {85};
78 -> {79}; 78 -> {79};
79 -> {80}; 79 -> {80};
80 -> {81}; 80 -> {81};
81 -> {82}; 81 -> {82};
82 -> {83}; 82 -> {83};
83 -> {84};
84 -> {85}; 84 -> {85};
85 -> {86}; 85 -> {86};
86 -> {87}; 86 -> {87};
87 -> {88}; 87 -> {88};
88 -> {51};
} }
@@ -5,18 +5,18 @@ digraph dataFlowInfoFromWhileCondition_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
2 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 3 [label="Exit function foo" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 0 -> {1} [color=green];
3 -> {0} [color=green]; 1 -> {2} [color=green];
3 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
@@ -5,18 +5,18 @@ digraph endlessLoops_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
2 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 3 [label="Exit function foo" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 0 -> {1} [color=green];
3 -> {0} [color=green]; 1 -> {2} [color=green];
3 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
@@ -56,24 +56,24 @@ digraph endlessLoops_kt {
color=blue color=blue
20 [label="Enter block"]; 20 [label="Enter block"];
21 [label="Jump: break@@@[Boolean(true)] "]; 21 [label="Jump: break@@@[Boolean(true)] "];
28 [label="Stub" style="filled" fillcolor=gray]; 22 [label="Stub" style="filled" fillcolor=gray];
29 [label="Exit block" style="filled" fillcolor=gray]; 23 [label="Exit block" style="filled" fillcolor=gray];
} }
30 [label="Exit when branch result" style="filled" fillcolor=gray]; 24 [label="Exit when branch result" style="filled" fillcolor=gray];
31 [label="Exit when"]; 25 [label="Exit when"];
} }
32 [label="Exit block"]; 26 [label="Exit block"];
} }
33 [label="Exit loop block"]; 27 [label="Exit loop block"];
} }
22 [label="Exit whileloop"]; 28 [label="Exit whileloop"];
} }
23 [label="Access variable R|<local>/x|"]; 29 [label="Access variable R|<local>/x|"];
24 [label="Smart cast: R|<local>/x|"]; 30 [label="Smart cast: R|<local>/x|"];
25 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow]; 31 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
26 [label="Exit block"]; 32 [label="Exit block"];
} }
27 [label="Exit function test_1" style="filled" fillcolor=red]; 33 [label="Exit function test_1" style="filled" fillcolor=red];
} }
4 -> {5}; 4 -> {5};
5 -> {6}; 5 -> {6};
@@ -81,7 +81,7 @@ digraph endlessLoops_kt {
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9};
9 -> {10}; 9 -> {10};
9 -> {22} [style=dotted]; 9 -> {28} [style=dotted];
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {13};
@@ -90,22 +90,22 @@ digraph endlessLoops_kt {
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {18 19}; 17 -> {18 19};
18 -> {31}; 18 -> {25};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {28};
21 -> {28} [style=dotted]; 21 -> {22} [style=dotted];
22 -> {23}; 22 -> {23} [style=dotted];
23 -> {24}; 23 -> {24} [style=dotted];
24 -> {25}; 24 -> {25} [style=dotted];
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
28 -> {29} [style=dotted]; 27 -> {7} [color=green style=dashed];
29 -> {30} [style=dotted]; 28 -> {29};
30 -> {31} [style=dotted]; 29 -> {30};
30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {7} [color=green style=dashed];
subgraph cluster_11 { subgraph cluster_11 {
color=red color=red
@@ -145,24 +145,24 @@ digraph endlessLoops_kt {
49 [label="Access variable R|<local>/x|"]; 49 [label="Access variable R|<local>/x|"];
50 [label="Type operator: (R|<local>/x| as R|A|)"]; 50 [label="Type operator: (R|<local>/x| as R|A|)"];
51 [label="Jump: break@@@[Boolean(true)] "]; 51 [label="Jump: break@@@[Boolean(true)] "];
58 [label="Stub" style="filled" fillcolor=gray]; 52 [label="Stub" style="filled" fillcolor=gray];
59 [label="Exit block" style="filled" fillcolor=gray]; 53 [label="Exit block" style="filled" fillcolor=gray];
} }
60 [label="Exit when branch result" style="filled" fillcolor=gray]; 54 [label="Exit when branch result" style="filled" fillcolor=gray];
61 [label="Exit when"]; 55 [label="Exit when"];
} }
62 [label="Exit block"]; 56 [label="Exit block"];
} }
63 [label="Exit loop block"]; 57 [label="Exit loop block"];
} }
52 [label="Exit whileloop"]; 58 [label="Exit whileloop"];
} }
53 [label="Access variable R|<local>/x|"]; 59 [label="Access variable R|<local>/x|"];
54 [label="Smart cast: R|<local>/x|"]; 60 [label="Smart cast: R|<local>/x|"];
55 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow]; 61 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
56 [label="Exit block"]; 62 [label="Exit block"];
} }
57 [label="Exit function test_2" style="filled" fillcolor=red]; 63 [label="Exit function test_2" style="filled" fillcolor=red];
} }
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36};
@@ -170,31 +170,31 @@ digraph endlessLoops_kt {
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
39 -> {52} [style=dotted]; 39 -> {58} [style=dotted];
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46 47}; 45 -> {46 47};
46 -> {61}; 46 -> {55};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {58};
51 -> {58} [style=dotted]; 51 -> {52} [style=dotted];
52 -> {53}; 52 -> {53} [style=dotted];
53 -> {54}; 53 -> {54} [style=dotted];
54 -> {55}; 54 -> {55} [style=dotted];
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {57};
58 -> {59} [style=dotted]; 57 -> {37} [color=green style=dashed];
59 -> {60} [style=dotted]; 58 -> {59};
60 -> {61} [style=dotted]; 59 -> {60};
60 -> {61};
61 -> {62}; 61 -> {62};
62 -> {63}; 62 -> {63};
63 -> {37} [color=green style=dashed];
subgraph cluster_20 { subgraph cluster_20 {
color=red color=red
@@ -255,24 +255,24 @@ digraph endlessLoops_kt {
color=blue color=blue
92 [label="Enter block"]; 92 [label="Enter block"];
93 [label="Jump: break@@@[Boolean(true)] "]; 93 [label="Jump: break@@@[Boolean(true)] "];
100 [label="Stub" style="filled" fillcolor=gray]; 94 [label="Stub" style="filled" fillcolor=gray];
101 [label="Exit block" style="filled" fillcolor=gray]; 95 [label="Exit block" style="filled" fillcolor=gray];
} }
102 [label="Exit when branch result" style="filled" fillcolor=gray]; 96 [label="Exit when branch result" style="filled" fillcolor=gray];
103 [label="Exit when"]; 97 [label="Exit when"];
} }
104 [label="Exit block"]; 98 [label="Exit block"];
} }
105 [label="Exit loop block"]; 99 [label="Exit loop block"];
} }
94 [label="Exit whileloop"]; 100 [label="Exit whileloop"];
} }
95 [label="Access variable R|<local>/x|"]; 101 [label="Access variable R|<local>/x|"];
96 [label="Smart cast: R|<local>/x|"]; 102 [label="Smart cast: R|<local>/x|"];
97 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow]; 103 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
98 [label="Exit block"]; 104 [label="Exit block"];
} }
99 [label="Exit function test_3" style="filled" fillcolor=red]; 105 [label="Exit function test_3" style="filled" fillcolor=red];
} }
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
@@ -280,7 +280,7 @@ digraph endlessLoops_kt {
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70};
69 -> {94} [style=dotted]; 69 -> {100} [style=dotted];
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {72};
72 -> {73}; 72 -> {73};
@@ -292,7 +292,7 @@ digraph endlessLoops_kt {
78 -> {85}; 78 -> {85};
79 -> {80}; 79 -> {80};
80 -> {81}; 80 -> {81};
81 -> {94}; 81 -> {100};
81 -> {82} [style=dotted]; 81 -> {82} [style=dotted];
82 -> {83} [style=dotted]; 82 -> {83} [style=dotted];
83 -> {84} [style=dotted]; 83 -> {84} [style=dotted];
@@ -302,22 +302,22 @@ digraph endlessLoops_kt {
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {89};
89 -> {90 91}; 89 -> {90 91};
90 -> {103}; 90 -> {97};
91 -> {92}; 91 -> {92};
92 -> {93}; 92 -> {93};
93 -> {94}; 93 -> {100};
93 -> {100} [style=dotted]; 93 -> {94} [style=dotted];
94 -> {95}; 94 -> {95} [style=dotted];
95 -> {96}; 95 -> {96} [style=dotted];
96 -> {97}; 96 -> {97} [style=dotted];
97 -> {98}; 97 -> {98};
98 -> {99}; 98 -> {99};
100 -> {101} [style=dotted]; 99 -> {67} [color=green style=dashed];
101 -> {102} [style=dotted]; 100 -> {101};
102 -> {103} [style=dotted]; 101 -> {102};
102 -> {103};
103 -> {104}; 103 -> {104};
104 -> {105}; 104 -> {105};
105 -> {67} [color=green style=dashed];
subgraph cluster_32 { subgraph cluster_32 {
color=red color=red
@@ -364,18 +364,18 @@ digraph endlessLoops_kt {
127 [label="Exit when"]; 127 [label="Exit when"];
} }
128 [label="Jump: break@@@[Boolean(true)] "]; 128 [label="Jump: break@@@[Boolean(true)] "];
134 [label="Stub" style="filled" fillcolor=gray]; 129 [label="Stub" style="filled" fillcolor=gray];
135 [label="Exit block" style="filled" fillcolor=gray]; 130 [label="Exit block" style="filled" fillcolor=gray];
} }
136 [label="Exit loop block" style="filled" fillcolor=gray]; 131 [label="Exit loop block" style="filled" fillcolor=gray];
} }
129 [label="Exit whileloop"]; 132 [label="Exit whileloop"];
} }
130 [label="Access variable R|<local>/x|"]; 133 [label="Access variable R|<local>/x|"];
131 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow]; 134 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
132 [label="Exit block"]; 135 [label="Exit block"];
} }
133 [label="Exit function test_4" style="filled" fillcolor=red]; 136 [label="Exit function test_4" style="filled" fillcolor=red];
} }
106 -> {107}; 106 -> {107};
107 -> {108}; 107 -> {108};
@@ -383,7 +383,7 @@ digraph endlessLoops_kt {
109 -> {110}; 109 -> {110};
110 -> {111}; 110 -> {111};
111 -> {112}; 111 -> {112};
111 -> {129} [style=dotted]; 111 -> {132} [style=dotted];
112 -> {113}; 112 -> {113};
113 -> {114}; 113 -> {114};
114 -> {115}; 114 -> {115};
@@ -395,21 +395,21 @@ digraph endlessLoops_kt {
120 -> {121}; 120 -> {121};
121 -> {122}; 121 -> {122};
122 -> {123}; 122 -> {123};
123 -> {129}; 123 -> {132};
123 -> {124} [style=dotted]; 123 -> {124} [style=dotted];
124 -> {125} [style=dotted]; 124 -> {125} [style=dotted];
125 -> {126} [style=dotted]; 125 -> {126} [style=dotted];
126 -> {127} [style=dotted]; 126 -> {127} [style=dotted];
127 -> {128}; 127 -> {128};
128 -> {129}; 128 -> {132};
128 -> {134} [style=dotted]; 128 -> {129} [style=dotted];
129 -> {130}; 129 -> {130} [style=dotted];
130 -> {131}; 130 -> {131} [style=dotted];
131 -> {132}; 131 -> {109} [color=green style=dotted];
132 -> {133}; 132 -> {133};
134 -> {135} [style=dotted]; 133 -> {134};
135 -> {136} [style=dotted]; 134 -> {135};
136 -> {109} [color=green style=dotted]; 135 -> {136};
subgraph cluster_41 { subgraph cluster_41 {
color=red color=red
@@ -5,33 +5,33 @@ digraph multipleCasts_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
2 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 3 [label="Exit function foo" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 0 -> {1} [color=green];
3 -> {0} [color=green]; 1 -> {2} [color=green];
3 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
6 [label="Enter class B" style="filled" fillcolor=red]; 4 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red]; 5 [label="Exit class B" style="filled" fillcolor=red];
} }
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
4 [label="Enter function foo" style="filled" fillcolor=red]; 6 [label="Enter function foo" style="filled" fillcolor=red];
5 [label="Exit function foo" style="filled" fillcolor=red]; 7 [label="Exit function foo" style="filled" fillcolor=red];
} }
6 -> {7} [color=green]; 4 -> {5} [color=green];
7 -> {4} [color=green]; 5 -> {6} [color=green];
7 -> {4} [style=dashed]; 5 -> {6} [style=dashed];
4 -> {5}; 6 -> {7};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
@@ -5,8 +5,8 @@ digraph nullability_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
4 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
5 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
@@ -15,56 +15,56 @@ digraph nullability_kt {
} }
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
0 [label="Enter function foo" style="filled" fillcolor=red]; 4 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 5 [label="Exit function foo" style="filled" fillcolor=red];
} }
4 -> {5} [color=green]; 0 -> {1} [color=green];
5 -> {0 2} [color=green]; 1 -> {2 4} [color=green];
5 -> {0 2} [style=dashed]; 1 -> {2 4} [style=dashed];
0 -> {1};
2 -> {3}; 2 -> {3};
4 -> {5};
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
8 [label="Enter class MyData" style="filled" fillcolor=red]; 6 [label="Enter class MyData" style="filled" fillcolor=red];
9 [label="Exit class MyData" style="filled" fillcolor=red]; 7 [label="Exit class MyData" style="filled" fillcolor=red];
} }
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
6 [label="Enter function fs" style="filled" fillcolor=red]; 8 [label="Enter function fs" style="filled" fillcolor=red];
7 [label="Exit function fs" style="filled" fillcolor=red]; 9 [label="Exit function fs" style="filled" fillcolor=red];
} }
8 -> {9} [color=green]; 6 -> {7} [color=green];
9 -> {6} [color=green]; 7 -> {8} [color=green];
9 -> {6} [style=dashed]; 7 -> {8} [style=dashed];
6 -> {7}; 8 -> {9};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
12 [label="Enter class Q" style="filled" fillcolor=red]; 10 [label="Enter class Q" style="filled" fillcolor=red];
13 [label="Exit class Q" style="filled" fillcolor=red]; 11 [label="Exit class Q" style="filled" fillcolor=red];
} }
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
10 [label="Enter function fdata" style="filled" fillcolor=red]; 12 [label="Enter function fdata" style="filled" fillcolor=red];
11 [label="Exit function fdata" style="filled" fillcolor=red]; 13 [label="Exit function fdata" style="filled" fillcolor=red];
} }
12 -> {13} [color=green]; 10 -> {11} [color=green];
13 -> {10} [color=green]; 11 -> {12} [color=green];
13 -> {10} [style=dashed]; 11 -> {12} [style=dashed];
10 -> {11}; 12 -> {13};
subgraph cluster_7 { subgraph cluster_7 {
color=red color=red
27 [label="Enter class QImpl" style="filled" fillcolor=red]; 14 [label="Enter class QImpl" style="filled" fillcolor=red];
28 [label="Part of class initialization"]; 15 [label="Part of class initialization"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
17 [label="Enter property" style="filled" fillcolor=red]; 16 [label="Enter property" style="filled" fillcolor=red];
18 [label="Access variable R|<local>/data|"]; 17 [label="Access variable R|<local>/data|"];
19 [label="Exit property" style="filled" fillcolor=red]; 18 [label="Exit property" style="filled" fillcolor=red];
} }
29 [label="Exit class QImpl" style="filled" fillcolor=red]; 19 [label="Exit class QImpl" style="filled" fillcolor=red];
} }
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
@@ -81,21 +81,19 @@ digraph nullability_kt {
} }
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
14 [label="Enter function <init>" style="filled" fillcolor=red]; 27 [label="Enter function <init>" style="filled" fillcolor=red];
15 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 28 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
16 [label="Exit function <init>" style="filled" fillcolor=red]; 29 [label="Exit function <init>" style="filled" fillcolor=red];
} }
27 -> {28} [color=green]; 14 -> {15} [color=green];
28 -> {17} [color=green]; 15 -> {16} [color=green];
28 -> {29} [style=dotted]; 15 -> {19} [style=dotted];
28 -> {17} [style=dashed]; 15 -> {16} [style=dashed];
29 -> {14 20} [color=green]; 16 -> {17};
29 -> {14 20} [style=dashed];
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19} [color=green];
19 -> {29} [color=green]; 19 -> {20 27} [color=green];
14 -> {15}; 19 -> {20 27} [style=dashed];
15 -> {16};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
@@ -103,18 +101,20 @@ digraph nullability_kt {
23 -> {24} [style=dotted]; 23 -> {24} [style=dotted];
24 -> {25} [style=dotted]; 24 -> {25} [style=dotted];
25 -> {26} [style=dotted]; 25 -> {26} [style=dotted];
27 -> {28};
28 -> {29};
subgraph cluster_12 { subgraph cluster_12 {
color=red color=red
43 [label="Enter class QImplMutable" style="filled" fillcolor=red]; 30 [label="Enter class QImplMutable" style="filled" fillcolor=red];
44 [label="Part of class initialization"]; 31 [label="Part of class initialization"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
33 [label="Enter property" style="filled" fillcolor=red]; 32 [label="Enter property" style="filled" fillcolor=red];
34 [label="Access variable R|<local>/data|"]; 33 [label="Access variable R|<local>/data|"];
35 [label="Exit property" style="filled" fillcolor=red]; 34 [label="Exit property" style="filled" fillcolor=red];
} }
45 [label="Exit class QImplMutable" style="filled" fillcolor=red]; 35 [label="Exit class QImplMutable" style="filled" fillcolor=red];
} }
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
@@ -131,21 +131,19 @@ digraph nullability_kt {
} }
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
30 [label="Enter function <init>" style="filled" fillcolor=red]; 43 [label="Enter function <init>" style="filled" fillcolor=red];
31 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 44 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
32 [label="Exit function <init>" style="filled" fillcolor=red]; 45 [label="Exit function <init>" style="filled" fillcolor=red];
} }
43 -> {44} [color=green]; 30 -> {31} [color=green];
44 -> {33} [color=green]; 31 -> {32} [color=green];
44 -> {45} [style=dotted]; 31 -> {35} [style=dotted];
44 -> {33} [style=dashed]; 31 -> {32} [style=dashed];
45 -> {30 36} [color=green]; 32 -> {33};
45 -> {30 36} [style=dashed];
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {35} [color=green];
35 -> {45} [color=green]; 35 -> {36 43} [color=green];
30 -> {31}; 35 -> {36 43} [style=dashed];
31 -> {32};
36 -> {37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
@@ -153,63 +151,65 @@ digraph nullability_kt {
39 -> {40} [style=dotted]; 39 -> {40} [style=dotted];
40 -> {41} [style=dotted]; 40 -> {41} [style=dotted];
41 -> {42} [style=dotted]; 41 -> {42} [style=dotted];
43 -> {44};
44 -> {45};
subgraph cluster_17 { subgraph cluster_17 {
color=red color=red
63 [label="Enter class QImplWithCustomGetter" style="filled" fillcolor=red]; 46 [label="Enter class QImplWithCustomGetter" style="filled" fillcolor=red];
64 [label="Exit class QImplWithCustomGetter" style="filled" fillcolor=red]; 47 [label="Exit class QImplWithCustomGetter" style="filled" fillcolor=red];
} }
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
56 [label="Enter function fdata" style="filled" fillcolor=red]; 48 [label="Enter function fdata" style="filled" fillcolor=red];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
57 [label="Enter block"]; 49 [label="Enter block"];
58 [label="Const: Null(null)"]; 50 [label="Const: Null(null)"];
59 [label="Jump: ^fdata Null(null)"]; 51 [label="Jump: ^fdata Null(null)"];
60 [label="Stub" style="filled" fillcolor=gray]; 52 [label="Stub" style="filled" fillcolor=gray];
61 [label="Exit block" style="filled" fillcolor=gray]; 53 [label="Exit block" style="filled" fillcolor=gray];
} }
62 [label="Exit function fdata" style="filled" fillcolor=red]; 54 [label="Exit function fdata" style="filled" fillcolor=red];
} }
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
49 [label="Enter function getter" style="filled" fillcolor=red]; 55 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
50 [label="Enter block"]; 56 [label="Enter block"];
51 [label="Const: Null(null)"]; 57 [label="Const: Null(null)"];
52 [label="Jump: ^ Null(null)"]; 58 [label="Jump: ^ Null(null)"];
53 [label="Stub" style="filled" fillcolor=gray]; 59 [label="Stub" style="filled" fillcolor=gray];
54 [label="Exit block" style="filled" fillcolor=gray]; 60 [label="Exit block" style="filled" fillcolor=gray];
} }
55 [label="Exit function getter" style="filled" fillcolor=red]; 61 [label="Exit function getter" style="filled" fillcolor=red];
} }
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
46 [label="Enter function <init>" style="filled" fillcolor=red]; 62 [label="Enter function <init>" style="filled" fillcolor=red];
47 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 63 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
48 [label="Exit function <init>" style="filled" fillcolor=red]; 64 [label="Exit function <init>" style="filled" fillcolor=red];
} }
63 -> {64} [color=green]; 46 -> {47} [color=green];
64 -> {46 49 56} [color=green]; 47 -> {48 55 62} [color=green];
64 -> {46 49 56} [style=dashed]; 47 -> {48 55 62} [style=dashed];
46 -> {47}; 48 -> {49};
47 -> {48};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {54};
52 -> {55}; 51 -> {52} [style=dotted];
52 -> {53} [style=dotted]; 52 -> {53} [style=dotted];
53 -> {54} [style=dotted]; 53 -> {54} [style=dotted];
54 -> {55} [style=dotted]; 55 -> {56};
56 -> {57}; 56 -> {57};
57 -> {58}; 57 -> {58};
58 -> {59}; 58 -> {61};
59 -> {62}; 58 -> {59} [style=dotted];
59 -> {60} [style=dotted]; 59 -> {60} [style=dotted];
60 -> {61} [style=dotted]; 60 -> {61} [style=dotted];
61 -> {62} [style=dotted]; 62 -> {63};
63 -> {64};
subgraph cluster_23 { subgraph cluster_23 {
color=red color=red
@@ -5,63 +5,63 @@ digraph implicitReceivers_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
7 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
8 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
3 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
4 [label="Enter block"]; 3 [label="Enter block"];
5 [label="Exit block"]; 4 [label="Exit block"];
} }
6 [label="Exit function foo" style="filled" fillcolor=red]; 5 [label="Exit function foo" style="filled" fillcolor=red];
} }
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 6 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 7 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 8 [label="Exit function <init>" style="filled" fillcolor=red];
} }
7 -> {8} [color=green]; 0 -> {1} [color=green];
8 -> {0 3} [color=green]; 1 -> {2 6} [color=green];
8 -> {0 3} [style=dashed]; 1 -> {2 6} [style=dashed];
0 -> {1}; 2 -> {3};
1 -> {2};
3 -> {4}; 3 -> {4};
4 -> {5}; 4 -> {5};
5 -> {6}; 6 -> {7};
7 -> {8};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
16 [label="Enter class B" style="filled" fillcolor=red]; 9 [label="Enter class B" style="filled" fillcolor=red];
17 [label="Exit class B" style="filled" fillcolor=red]; 10 [label="Exit class B" style="filled" fillcolor=red];
} }
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
12 [label="Enter function bar" style="filled" fillcolor=red]; 11 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
13 [label="Enter block"]; 12 [label="Enter block"];
14 [label="Exit block"]; 13 [label="Exit block"];
} }
15 [label="Exit function bar" style="filled" fillcolor=red]; 14 [label="Exit function bar" style="filled" fillcolor=red];
} }
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
9 [label="Enter function <init>" style="filled" fillcolor=red]; 15 [label="Enter function <init>" style="filled" fillcolor=red];
10 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 16 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
11 [label="Exit function <init>" style="filled" fillcolor=red]; 17 [label="Exit function <init>" style="filled" fillcolor=red];
} }
16 -> {17} [color=green]; 9 -> {10} [color=green];
17 -> {9 12} [color=green]; 10 -> {11 15} [color=green];
17 -> {9 12} [style=dashed]; 10 -> {11 15} [style=dashed];
9 -> {10}; 11 -> {12};
10 -> {11};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 15 -> {16};
16 -> {17};
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
@@ -249,84 +249,84 @@ digraph implicitReceivers_kt {
85 [label="Postponed enter to lambda"]; 85 [label="Postponed enter to lambda"];
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
90 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 86 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_27 { subgraph cluster_27 {
color=blue color=blue
91 [label="Enter block"]; 87 [label="Enter block"];
92 [label="Access variable R|<local>/b|"]; 88 [label="Access variable R|<local>/b|"];
93 [label="Postponed enter to lambda"]; 89 [label="Postponed enter to lambda"];
subgraph cluster_28 { subgraph cluster_28 {
color=blue color=blue
98 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 90 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_29 { subgraph cluster_29 {
color=blue color=blue
99 [label="Enter block"]; 91 [label="Enter block"];
100 [label="Access variable R|<local>/c|"]; 92 [label="Access variable R|<local>/c|"];
101 [label="Postponed enter to lambda"]; 93 [label="Postponed enter to lambda"];
subgraph cluster_30 { subgraph cluster_30 {
color=blue color=blue
110 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 94 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_31 { subgraph cluster_31 {
color=blue color=blue
111 [label="Enter block"]; 95 [label="Enter block"];
112 [label="Access variable this@R|special/anonymous|"]; 96 [label="Access variable this@R|special/anonymous|"];
113 [label="Type operator: (this@R|special/anonymous| as R|A|)"]; 97 [label="Type operator: (this@R|special/anonymous| as R|A|)"];
114 [label="Access variable this@R|special/anonymous|"]; 98 [label="Access variable this@R|special/anonymous|"];
115 [label="Smart cast: this@R|special/anonymous|"]; 99 [label="Smart cast: this@R|special/anonymous|"];
116 [label="Function call: this@R|special/anonymous|.R|/A.foo|()" style="filled" fillcolor=yellow]; 100 [label="Function call: this@R|special/anonymous|.R|/A.foo|()" style="filled" fillcolor=yellow];
117 [label="Function call: this@R|special/anonymous|.R|/A.foo|()" style="filled" fillcolor=yellow]; 101 [label="Function call: this@R|special/anonymous|.R|/A.foo|()" style="filled" fillcolor=yellow];
118 [label="Exit block"]; 102 [label="Exit block"];
} }
119 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 103 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
102 [label="Postponed exit from lambda"]; 104 [label="Postponed exit from lambda"];
103 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow]; 105 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
104 [label="Access variable this@R|special/anonymous|"]; 106 [label="Access variable this@R|special/anonymous|"];
105 [label="Smart cast: this@R|special/anonymous|"]; 107 [label="Smart cast: this@R|special/anonymous|"];
106 [label="Function call: this@R|special/anonymous|.R|/A.foo|()" style="filled" fillcolor=yellow]; 108 [label="Function call: this@R|special/anonymous|.R|/A.foo|()" style="filled" fillcolor=yellow];
107 [label="Function call: this@R|special/anonymous|.R|/A.foo|()" style="filled" fillcolor=yellow]; 109 [label="Function call: this@R|special/anonymous|.R|/A.foo|()" style="filled" fillcolor=yellow];
108 [label="Exit block"]; 110 [label="Exit block"];
} }
109 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 111 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
94 [label="Postponed exit from lambda"]; 112 [label="Postponed exit from lambda"];
95 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow]; 113 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
96 [label="Exit block"]; 114 [label="Exit block"];
} }
97 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 115 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
86 [label="Postponed exit from lambda"]; 116 [label="Postponed exit from lambda"];
87 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow]; 117 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
88 [label="Exit block"]; 118 [label="Exit block"];
} }
89 [label="Exit function test_3" style="filled" fillcolor=red]; 119 [label="Exit function test_3" style="filled" fillcolor=red];
} }
82 -> {83}; 82 -> {83};
83 -> {84}; 83 -> {84};
84 -> {85}; 84 -> {85};
85 -> {87 90}; 85 -> {86 117};
85 -> {86} [style=dotted]; 85 -> {116} [style=dotted];
85 -> {90} [style=dashed]; 85 -> {86} [style=dashed];
86 -> {87}; 86 -> {87};
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {89};
89 -> {90 113};
89 -> {112} [style=dotted];
89 -> {90} [style=dashed];
90 -> {91}; 90 -> {91};
91 -> {92}; 91 -> {92};
92 -> {93}; 92 -> {93};
93 -> {95 98}; 93 -> {94 105};
93 -> {94} [style=dotted]; 93 -> {104} [style=dotted];
93 -> {98} [style=dashed]; 93 -> {94} [style=dashed];
94 -> {95} [color=green]; 94 -> {95};
94 -> {87} [color=red];
95 -> {96}; 95 -> {96};
96 -> {97}; 96 -> {97};
97 -> {86}; 97 -> {98};
98 -> {99}; 98 -> {99};
99 -> {100}; 99 -> {100};
100 -> {101}; 100 -> {101};
101 -> {103 110}; 101 -> {102};
101 -> {102} [style=dotted];
101 -> {110} [style=dashed];
102 -> {103}; 102 -> {103};
103 -> {104}; 103 -> {104};
104 -> {105}; 104 -> {105};
@@ -334,17 +334,17 @@ digraph implicitReceivers_kt {
106 -> {107}; 106 -> {107};
107 -> {108}; 107 -> {108};
108 -> {109}; 108 -> {109};
109 -> {94}; 109 -> {110};
110 -> {111}; 110 -> {111};
111 -> {112}; 111 -> {112};
112 -> {113}; 112 -> {113} [color=green];
112 -> {117} [color=red];
113 -> {114}; 113 -> {114};
114 -> {115}; 114 -> {115};
115 -> {116}; 115 -> {116};
116 -> {117}; 116 -> {117};
117 -> {118}; 117 -> {118};
118 -> {119}; 118 -> {119};
119 -> {102};
subgraph cluster_32 { subgraph cluster_32 {
color=red color=red
@@ -5,66 +5,66 @@ digraph assignSafeCall_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
17 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
18 [label="Part of class initialization"]; 1 [label="Part of class initialization"];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
10 [label="Enter property" style="filled" fillcolor=red]; 2 [label="Enter property" style="filled" fillcolor=red];
11 [label="Const: Int(1)"]; 3 [label="Const: Int(1)"];
12 [label="Exit property" style="filled" fillcolor=red]; 4 [label="Exit property" style="filled" fillcolor=red];
} }
19 [label="Exit class A" style="filled" fillcolor=red]; 5 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
13 [label="Enter function bar" style="filled" fillcolor=red]; 6 [label="Enter function bar" style="filled" fillcolor=red];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
14 [label="Enter block"]; 7 [label="Enter block"];
15 [label="Exit block"]; 8 [label="Exit block"];
} }
16 [label="Exit function bar" style="filled" fillcolor=red]; 9 [label="Exit function bar" style="filled" fillcolor=red];
} }
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
3 [label="Enter function foo" style="filled" fillcolor=red]; 10 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
4 [label="Enter block"]; 11 [label="Enter block"];
5 [label="Const: Int(1)"]; 12 [label="Const: Int(1)"];
6 [label="Jump: ^foo Int(1)"]; 13 [label="Jump: ^foo Int(1)"];
7 [label="Stub" style="filled" fillcolor=gray]; 14 [label="Stub" style="filled" fillcolor=gray];
8 [label="Exit block" style="filled" fillcolor=gray]; 15 [label="Exit block" style="filled" fillcolor=gray];
} }
9 [label="Exit function foo" style="filled" fillcolor=red]; 16 [label="Exit function foo" style="filled" fillcolor=red];
} }
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 17 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 18 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 19 [label="Exit function <init>" style="filled" fillcolor=red];
} }
17 -> {18} [color=green]; 0 -> {1} [color=green];
18 -> {10} [color=green]; 1 -> {2} [color=green];
18 -> {19} [style=dotted]; 1 -> {5} [style=dotted];
18 -> {10} [style=dashed]; 1 -> {2} [style=dashed];
19 -> {0 3 13} [color=green]; 2 -> {3};
19 -> {0 3 13} [style=dashed]; 3 -> {4};
4 -> {5} [color=green];
5 -> {6 10 17} [color=green];
5 -> {6 10 17} [style=dashed];
6 -> {7};
7 -> {8};
8 -> {9};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {19} [color=green]; 12 -> {13};
0 -> {1}; 13 -> {16};
1 -> {2}; 13 -> {14} [style=dotted];
3 -> {4}; 14 -> {15} [style=dotted];
4 -> {5}; 15 -> {16} [style=dotted];
5 -> {6}; 17 -> {18};
6 -> {9}; 18 -> {19};
6 -> {7} [style=dotted];
7 -> {8} [style=dotted];
8 -> {9} [style=dotted];
13 -> {14};
14 -> {15};
15 -> {16};
subgraph cluster_7 { subgraph cluster_7 {
color=red color=red
@@ -237,8 +237,8 @@ digraph assignSafeCall_kt {
subgraph cluster_19 { subgraph cluster_19 {
color=red color=red
90 [label="Enter class B" style="filled" fillcolor=red]; 86 [label="Enter class B" style="filled" fillcolor=red];
91 [label="Exit class B" style="filled" fillcolor=red]; 87 [label="Exit class B" style="filled" fillcolor=red];
} }
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
@@ -247,14 +247,14 @@ digraph assignSafeCall_kt {
} }
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
86 [label="Enter function foo" style="filled" fillcolor=red]; 90 [label="Enter function foo" style="filled" fillcolor=red];
87 [label="Exit function foo" style="filled" fillcolor=red]; 91 [label="Exit function foo" style="filled" fillcolor=red];
} }
90 -> {91} [color=green]; 86 -> {87} [color=green];
91 -> {86 88} [color=green]; 87 -> {88 90} [color=green];
91 -> {86 88} [style=dashed]; 87 -> {88 90} [style=dashed];
86 -> {87};
88 -> {89}; 88 -> {89};
90 -> {91};
subgraph cluster_22 { subgraph cluster_22 {
color=red color=red
@@ -76,30 +76,30 @@ digraph safeCalls_kt {
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
32 [label="Enter class A" style="filled" fillcolor=red]; 26 [label="Enter class A" style="filled" fillcolor=red];
33 [label="Exit class A" style="filled" fillcolor=red]; 27 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
30 [label="Enter function id" style="filled" fillcolor=red]; 28 [label="Enter function id" style="filled" fillcolor=red];
31 [label="Exit function id" style="filled" fillcolor=red]; 29 [label="Exit function id" style="filled" fillcolor=red];
} }
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
28 [label="Enter function bool" style="filled" fillcolor=red]; 30 [label="Enter function bool" style="filled" fillcolor=red];
29 [label="Exit function bool" style="filled" fillcolor=red]; 31 [label="Exit function bool" style="filled" fillcolor=red];
} }
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
26 [label="Enter function bar" style="filled" fillcolor=red]; 32 [label="Enter function bar" style="filled" fillcolor=red];
27 [label="Exit function bar" style="filled" fillcolor=red]; 33 [label="Exit function bar" style="filled" fillcolor=red];
} }
32 -> {33} [color=green]; 26 -> {27} [color=green];
33 -> {26 28 30} [color=green]; 27 -> {28 30 32} [color=green];
33 -> {26 28 30} [style=dashed]; 27 -> {28 30 32} [style=dashed];
26 -> {27};
28 -> {29}; 28 -> {29};
30 -> {31}; 30 -> {31};
32 -> {33};
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
@@ -150,52 +150,52 @@ digraph safeCalls_kt {
59 [label="Postponed enter to lambda"]; 59 [label="Postponed enter to lambda"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
69 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 60 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
70 [label="Enter block"]; 61 [label="Enter block"];
71 [label="Access variable R|<local>/x|"]; 62 [label="Access variable R|<local>/x|"];
72 [label="Smart cast: R|<local>/x|"]; 63 [label="Smart cast: R|<local>/x|"];
73 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=yellow]; 64 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=yellow];
74 [label="Exit block"]; 65 [label="Exit block"];
} }
75 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 66 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
60 [label="Postponed exit from lambda"]; 67 [label="Postponed exit from lambda"];
61 [label="Function call: $subj$.R|/let|(...)" style="filled" fillcolor=yellow]; 68 [label="Function call: $subj$.R|/let|(...)" style="filled" fillcolor=yellow];
62 [label="Exit safe call"]; 69 [label="Exit safe call"];
63 [label="Exit safe call"]; 70 [label="Exit safe call"];
64 [label="Exit safe call"]; 71 [label="Exit safe call"];
65 [label="Access variable R|<local>/x|"]; 72 [label="Access variable R|<local>/x|"];
66 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()" style="filled" fillcolor=yellow]; 73 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()" style="filled" fillcolor=yellow];
67 [label="Exit block"]; 74 [label="Exit block"];
} }
68 [label="Exit function test_3" style="filled" fillcolor=red]; 75 [label="Exit function test_3" style="filled" fillcolor=red];
} }
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {48};
48 -> {49 62}; 48 -> {49 69};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {53 62}; 52 -> {53 69};
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {57};
57 -> {58 63}; 57 -> {58 70};
58 -> {59}; 58 -> {59};
59 -> {60 61 69}; 59 -> {60 67 68};
59 -> {69} [style=dashed]; 59 -> {60} [style=dashed];
60 -> {61}; 60 -> {61};
61 -> {64}; 61 -> {62};
62 -> {63}; 62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {71};
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {72};
@@ -260,58 +260,58 @@ digraph safeCalls_kt {
97 [label="Postponed enter to lambda"]; 97 [label="Postponed enter to lambda"];
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
112 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 98 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
113 [label="Enter block"]; 99 [label="Enter block"];
114 [label="Jump: ^test_5 Unit"]; 100 [label="Jump: ^test_5 Unit"];
115 [label="Stub" style="filled" fillcolor=gray]; 101 [label="Stub" style="filled" fillcolor=gray];
116 [label="Exit block" style="filled" fillcolor=gray]; 102 [label="Exit block" style="filled" fillcolor=gray];
} }
117 [label="Exit function anonymousFunction" style="filled" fillcolor=gray]; 103 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
} }
98 [label="Postponed exit from lambda" style="filled" fillcolor=gray]; 104 [label="Postponed exit from lambda" style="filled" fillcolor=gray];
99 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray]; 105 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
100 [label="Stub" style="filled" fillcolor=gray]; 106 [label="Stub" style="filled" fillcolor=gray];
101 [label="Enter safe call" style="filled" fillcolor=gray]; 107 [label="Enter safe call" style="filled" fillcolor=gray];
102 [label="Access variable R|<local>/x|" style="filled" fillcolor=gray]; 108 [label="Access variable R|<local>/x|" style="filled" fillcolor=gray];
103 [label="Smart cast: R|<local>/x|" style="filled" fillcolor=gray]; 109 [label="Smart cast: R|<local>/x|" style="filled" fillcolor=gray];
104 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=gray]; 110 [label="Function call: R|<local>/x|.R|/A.bool|()" style="filled" fillcolor=gray];
105 [label="Function call: $subj$.R|/boo|(...)" style="filled" fillcolor=gray]; 111 [label="Function call: $subj$.R|/boo|(...)" style="filled" fillcolor=gray];
106 [label="Exit safe call"]; 112 [label="Exit safe call"];
107 [label="Exit safe call"]; 113 [label="Exit safe call"];
108 [label="Access variable R|<local>/x|"]; 114 [label="Access variable R|<local>/x|"];
109 [label="Function call: R|<local>/x|.R|/A.id<Inapplicable(UNSAFE_CALL): /A.id>#|()" style="filled" fillcolor=yellow]; 115 [label="Function call: R|<local>/x|.R|/A.id<Inapplicable(UNSAFE_CALL): /A.id>#|()" style="filled" fillcolor=yellow];
110 [label="Exit block"]; 116 [label="Exit block"];
} }
111 [label="Exit function test_5" style="filled" fillcolor=red]; 117 [label="Exit function test_5" style="filled" fillcolor=red];
} }
93 -> {94}; 93 -> {94};
94 -> {95}; 94 -> {95};
95 -> {96 106}; 95 -> {96 112};
96 -> {97}; 96 -> {97};
97 -> {112}; 97 -> {98};
97 -> {98 99} [style=dotted]; 97 -> {104 105} [style=dotted];
97 -> {112} [style=dashed]; 97 -> {98} [style=dashed];
98 -> {99} [style=dotted]; 98 -> {99};
99 -> {100} [style=dotted]; 99 -> {100};
100 -> {101 106} [style=dotted]; 100 -> {117};
100 -> {101} [style=dotted];
101 -> {102} [style=dotted]; 101 -> {102} [style=dotted];
102 -> {103} [style=dotted]; 102 -> {103} [style=dotted];
103 -> {104} [style=dotted]; 103 -> {104} [style=dotted];
104 -> {105} [style=dotted]; 104 -> {105} [style=dotted];
105 -> {107} [style=dotted]; 105 -> {106} [style=dotted];
106 -> {107}; 106 -> {107 112} [style=dotted];
107 -> {108}; 107 -> {108} [style=dotted];
108 -> {109}; 108 -> {109} [style=dotted];
109 -> {110}; 109 -> {110} [style=dotted];
110 -> {111}; 110 -> {111} [style=dotted];
111 -> {113} [style=dotted];
112 -> {113}; 112 -> {113};
113 -> {114}; 113 -> {114};
114 -> {111}; 114 -> {115};
114 -> {115} [style=dotted]; 115 -> {116};
115 -> {116} [style=dotted]; 116 -> {117};
116 -> {117} [style=dotted];
117 -> {98} [style=dotted];
} }
@@ -12,18 +12,18 @@ digraph smartCastInInit_kt {
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
4 [label="Enter class S" style="filled" fillcolor=red]; 2 [label="Enter class S" style="filled" fillcolor=red];
5 [label="Exit class S" style="filled" fillcolor=red]; 3 [label="Exit class S" style="filled" fillcolor=red];
} }
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
2 [label="Enter function foo" style="filled" fillcolor=red]; 4 [label="Enter function foo" style="filled" fillcolor=red];
3 [label="Exit function foo" style="filled" fillcolor=red]; 5 [label="Exit function foo" style="filled" fillcolor=red];
} }
4 -> {5} [color=green]; 2 -> {3} [color=green];
5 -> {2} [color=green]; 3 -> {4} [color=green];
5 -> {2} [style=dashed]; 3 -> {4} [style=dashed];
2 -> {3}; 4 -> {5};
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
@@ -49,37 +49,36 @@ digraph smartCastInInit_kt {
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
26 [label="Enter class Main" style="filled" fillcolor=red]; 14 [label="Enter class Main" style="filled" fillcolor=red];
27 [label="Part of class initialization"]; 15 [label="Part of class initialization"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
17 [label="Enter init block" style="filled" fillcolor=red]; 16 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
18 [label="Enter block"]; 17 [label="Enter block"];
19 [label="Function call: R|/s|()" style="filled" fillcolor=yellow]; 18 [label="Function call: R|/s|()" style="filled" fillcolor=yellow];
20 [label="Assignment: R|/Main.x|"]; 19 [label="Assignment: R|/Main.x|"];
21 [label="Access variable R|/Main.x|"]; 20 [label="Access variable R|/Main.x|"];
22 [label="Smart cast: this@R|/Main|.R|/Main.x|"]; 21 [label="Smart cast: this@R|/Main|.R|/Main.x|"];
23 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()" style="filled" fillcolor=yellow]; 22 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()" style="filled" fillcolor=yellow];
24 [label="Exit block"]; 23 [label="Exit block"];
} }
25 [label="Exit init block" style="filled" fillcolor=red]; 24 [label="Exit init block" style="filled" fillcolor=red];
} }
28 [label="Exit class Main" style="filled" fillcolor=red]; 25 [label="Exit class Main" style="filled" fillcolor=red];
} }
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
14 [label="Enter function <init>" style="filled" fillcolor=red]; 26 [label="Enter function <init>" style="filled" fillcolor=red];
15 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 27 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
16 [label="Exit function <init>" style="filled" fillcolor=red]; 28 [label="Exit function <init>" style="filled" fillcolor=red];
} }
26 -> {27} [color=green]; 14 -> {15} [color=green];
27 -> {17} [color=green]; 15 -> {16} [color=green];
27 -> {28} [style=dotted]; 15 -> {25} [style=dotted];
27 -> {17} [style=dashed]; 15 -> {16} [style=dashed];
28 -> {14} [color=green]; 16 -> {17};
28 -> {14} [style=dashed];
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
@@ -87,9 +86,10 @@ digraph smartCastInInit_kt {
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25} [color=green];
25 -> {28} [color=green]; 25 -> {26} [color=green];
14 -> {15}; 25 -> {26} [style=dashed];
15 -> {16}; 26 -> {27};
27 -> {28};
} }
@@ -5,46 +5,46 @@ digraph smartcastInByClause_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
9 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
10 [label="Part of class initialization"]; 1 [label="Part of class initialization"];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
3 [label="Enter property" style="filled" fillcolor=red]; 2 [label="Enter property" style="filled" fillcolor=red];
4 [label="Access variable R|<local>/path|"]; 3 [label="Access variable R|<local>/path|"];
5 [label="Exit property" style="filled" fillcolor=red]; 4 [label="Exit property" style="filled" fillcolor=red];
} }
11 [label="Part of class initialization"]; 5 [label="Part of class initialization"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
6 [label="Enter property" style="filled" fillcolor=red]; 6 [label="Enter property" style="filled" fillcolor=red];
7 [label="Access variable R|<local>/index|"]; 7 [label="Access variable R|<local>/index|"];
8 [label="Exit property" style="filled" fillcolor=red]; 8 [label="Exit property" style="filled" fillcolor=red];
} }
12 [label="Exit class A" style="filled" fillcolor=red]; 9 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 10 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 11 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 12 [label="Exit function <init>" style="filled" fillcolor=red];
} }
9 -> {10} [color=green]; 0 -> {1} [color=green];
10 -> {3} [color=green]; 1 -> {2} [color=green];
10 -> {11} [style=dotted]; 1 -> {5} [style=dotted];
10 -> {3} [style=dashed]; 1 -> {2} [style=dashed];
11 -> {6} [color=green]; 2 -> {3};
11 -> {12} [style=dotted];
11 -> {6} [style=dashed];
12 -> {0} [color=green];
12 -> {0} [style=dashed];
3 -> {4}; 3 -> {4};
4 -> {5}; 4 -> {5} [color=green];
5 -> {11} [color=green]; 5 -> {6} [color=green];
5 -> {9} [style=dotted];
5 -> {6} [style=dashed];
6 -> {7}; 6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {12} [color=green]; 8 -> {9} [color=green];
0 -> {1}; 9 -> {10} [color=green];
1 -> {2}; 9 -> {10} [style=dashed];
10 -> {11};
11 -> {12};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
@@ -55,33 +55,33 @@ digraph smartcastInByClause_kt {
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
21 [label="Enter class Derived" style="filled" fillcolor=red]; 15 [label="Enter class Derived" style="filled" fillcolor=red];
22 [label="Part of class initialization"]; 16 [label="Part of class initialization"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
18 [label="Enter property" style="filled" fillcolor=red]; 17 [label="Enter property" style="filled" fillcolor=red];
19 [label="Access variable R|<local>/index|"]; 18 [label="Access variable R|<local>/index|"];
20 [label="Exit property" style="filled" fillcolor=red]; 19 [label="Exit property" style="filled" fillcolor=red];
} }
23 [label="Exit class Derived" style="filled" fillcolor=red]; 20 [label="Exit class Derived" style="filled" fillcolor=red];
} }
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
15 [label="Enter function <init>" style="filled" fillcolor=red]; 21 [label="Enter function <init>" style="filled" fillcolor=red];
16 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 22 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
17 [label="Exit function <init>" style="filled" fillcolor=red]; 23 [label="Exit function <init>" style="filled" fillcolor=red];
} }
21 -> {22} [color=green]; 15 -> {16} [color=green];
22 -> {18} [color=green]; 16 -> {17} [color=green];
22 -> {23} [style=dotted]; 16 -> {20} [style=dotted];
22 -> {18} [style=dashed]; 16 -> {17} [style=dashed];
23 -> {15} [color=green]; 17 -> {18};
23 -> {15} [style=dashed];
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20} [color=green];
20 -> {23} [color=green]; 20 -> {21} [color=green];
15 -> {16}; 20 -> {21} [style=dashed];
16 -> {17}; 21 -> {22};
22 -> {23};
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
@@ -108,31 +108,31 @@ digraph smartcastInByClause_kt {
42 [label="Enter anonymous object"]; 42 [label="Enter anonymous object"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
49 [label="Enter class <anonymous object>" style="filled" fillcolor=red]; 43 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
50 [label="Part of class initialization"]; 44 [label="Part of class initialization"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
53 [label="Enter field" style="filled" fillcolor=red]; 45 [label="Enter field" style="filled" fillcolor=red];
54 [label="Access variable R|<local>/a|"]; 46 [label="Access variable R|<local>/a|"];
55 [label="Smart cast: R|<local>/a|"]; 47 [label="Smart cast: R|<local>/a|"];
56 [label="Access variable R|/A.index|"]; 48 [label="Access variable R|/A.index|"];
57 [label="Function call: R|/Derived.Derived|(...)" style="filled" fillcolor=yellow]; 49 [label="Function call: R|/Derived.Derived|(...)" style="filled" fillcolor=yellow];
58 [label="Exit field" style="filled" fillcolor=red]; 50 [label="Exit field" style="filled" fillcolor=red];
} }
51 [label="Part of class initialization"]; 51 [label="Part of class initialization"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
59 [label="Enter property" style="filled" fillcolor=red]; 52 [label="Enter property" style="filled" fillcolor=red];
60 [label="Access variable R|<local>/a|"]; 53 [label="Access variable R|<local>/a|"];
61 [label="Smart cast: R|<local>/a|"]; 54 [label="Smart cast: R|<local>/a|"];
62 [label="Access variable R|/A.index|"]; 55 [label="Access variable R|/A.index|"];
63 [label="Exit property" style="filled" fillcolor=red]; 56 [label="Exit property" style="filled" fillcolor=red];
} }
52 [label="Exit class <anonymous object>" style="filled" fillcolor=red]; 57 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
} }
43 [label="Exit anonymous object"]; 58 [label="Exit anonymous object"];
44 [label="Exit anonymous object expression"]; 59 [label="Exit anonymous object expression"];
45 [label="Jump: ^test object : R|Base| { 60 [label="Jump: ^test object : R|Base| {
private constructor(): R|<anonymous>| { private constructor(): R|<anonymous>| {
super<R|kotlin/Any|>() super<R|kotlin/Any|>()
} }
@@ -148,30 +148,30 @@ digraph smartcastInByClause_kt {
} }
"]; "];
46 [label="Stub" style="filled" fillcolor=gray]; 61 [label="Stub" style="filled" fillcolor=gray];
47 [label="Exit block" style="filled" fillcolor=gray]; 62 [label="Exit block" style="filled" fillcolor=gray];
} }
48 [label="Exit function test" style="filled" fillcolor=red]; 63 [label="Exit function test" style="filled" fillcolor=red];
} }
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
67 [label="Enter function foo" style="filled" fillcolor=red]; 64 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
68 [label="Enter block"]; 65 [label="Enter block"];
69 [label="Access variable R|<local>/a|"]; 66 [label="Access variable R|<local>/a|"];
70 [label="Smart cast: R|<local>/a|"]; 67 [label="Smart cast: R|<local>/a|"];
71 [label="Access variable R|/A.index|"]; 68 [label="Access variable R|/A.index|"];
72 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow]; 69 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
73 [label="Exit block"]; 70 [label="Exit block"];
} }
74 [label="Exit function foo" style="filled" fillcolor=red]; 71 [label="Exit function foo" style="filled" fillcolor=red];
} }
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
64 [label="Enter function <init>" style="filled" fillcolor=red]; 72 [label="Enter function <init>" style="filled" fillcolor=red];
65 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 73 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
66 [label="Exit function <init>" style="filled" fillcolor=red]; 74 [label="Exit function <init>" style="filled" fillcolor=red];
} }
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
@@ -182,7 +182,7 @@ digraph smartcastInByClause_kt {
30 -> {31 35}; 30 -> {31 35};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {48}; 33 -> {63};
33 -> {34} [style=dotted]; 33 -> {34} [style=dotted];
34 -> {36} [style=dotted]; 34 -> {36} [style=dotted];
35 -> {36}; 35 -> {36};
@@ -192,43 +192,43 @@ digraph smartcastInByClause_kt {
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {49}; 42 -> {43};
42 -> {43} [color=red]; 42 -> {58} [color=red];
42 -> {49} [style=dashed]; 42 -> {43} [style=dashed];
43 -> {44}; 43 -> {44} [color=green];
44 -> {45}; 43 -> {45 52 64 72} [color=red];
45 -> {48}; 44 -> {45} [color=green];
45 -> {46} [style=dotted]; 44 -> {51} [style=dotted];
46 -> {47} [style=dotted]; 44 -> {45} [style=dashed];
47 -> {48} [style=dotted]; 45 -> {46};
49 -> {50} [color=green]; 46 -> {47};
49 -> {53 59 64 67} [color=red]; 47 -> {48};
50 -> {53} [color=green]; 48 -> {49};
50 -> {51} [style=dotted]; 49 -> {50};
50 -> {53} [style=dashed]; 50 -> {51} [color=green];
51 -> {59} [color=green]; 51 -> {52} [color=green];
51 -> {52} [style=dotted]; 51 -> {57} [style=dotted];
51 -> {59} [style=dashed]; 51 -> {52} [style=dashed];
52 -> {43 64 67} [color=green]; 52 -> {53};
52 -> {64 67} [style=dashed];
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {57} [color=green];
57 -> {58}; 57 -> {58 64 72} [color=green];
58 -> {51} [color=green]; 57 -> {64 72} [style=dashed];
58 -> {59};
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {63};
61 -> {62}; 60 -> {61} [style=dotted];
62 -> {63}; 61 -> {62} [style=dotted];
63 -> {52} [color=green]; 62 -> {63} [style=dotted];
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {71};
71 -> {72};
72 -> {73}; 72 -> {73};
73 -> {74}; 73 -> {74};
@@ -116,46 +116,46 @@ digraph smartcastToNothing_kt {
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
48 [label="Enter class A" style="filled" fillcolor=red]; 39 [label="Enter class A" style="filled" fillcolor=red];
49 [label="Part of class initialization"]; 40 [label="Part of class initialization"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
42 [label="Enter property" style="filled" fillcolor=red]; 41 [label="Enter property" style="filled" fillcolor=red];
43 [label="Const: Int(1)"]; 42 [label="Const: Int(1)"];
44 [label="Exit property" style="filled" fillcolor=red]; 43 [label="Exit property" style="filled" fillcolor=red];
} }
50 [label="Part of class initialization"]; 44 [label="Part of class initialization"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
45 [label="Enter property" style="filled" fillcolor=red]; 45 [label="Enter property" style="filled" fillcolor=red];
46 [label="Const: Boolean(true)"]; 46 [label="Const: Boolean(true)"];
47 [label="Exit property" style="filled" fillcolor=red]; 47 [label="Exit property" style="filled" fillcolor=red];
} }
51 [label="Exit class A" style="filled" fillcolor=red]; 48 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
39 [label="Enter function <init>" style="filled" fillcolor=red]; 49 [label="Enter function <init>" style="filled" fillcolor=red];
40 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 50 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
41 [label="Exit function <init>" style="filled" fillcolor=red]; 51 [label="Exit function <init>" style="filled" fillcolor=red];
} }
48 -> {49} [color=green]; 39 -> {40} [color=green];
49 -> {42} [color=green]; 40 -> {41} [color=green];
49 -> {50} [style=dotted]; 40 -> {44} [style=dotted];
49 -> {42} [style=dashed]; 40 -> {41} [style=dashed];
50 -> {45} [color=green]; 41 -> {42};
50 -> {51} [style=dotted];
50 -> {45} [style=dashed];
51 -> {39} [color=green];
51 -> {39} [style=dashed];
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44} [color=green];
44 -> {50} [color=green]; 44 -> {45} [color=green];
44 -> {48} [style=dotted];
44 -> {45} [style=dashed];
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {51} [color=green]; 47 -> {48} [color=green];
39 -> {40}; 48 -> {49} [color=green];
40 -> {41}; 48 -> {49} [style=dashed];
49 -> {50};
50 -> {51};
subgraph cluster_14 { subgraph cluster_14 {
color=red color=red
@@ -211,41 +211,41 @@ digraph smartcastToNothing_kt {
color=blue color=blue
82 [label="Enter block" style="filled" fillcolor=gray]; 82 [label="Enter block" style="filled" fillcolor=gray];
83 [label="Jump: break@@@[R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()] " style="filled" fillcolor=gray]; 83 [label="Jump: break@@@[R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()] " style="filled" fillcolor=gray];
94 [label="Stub" style="filled" fillcolor=gray]; 84 [label="Stub" style="filled" fillcolor=gray];
95 [label="Exit block" style="filled" fillcolor=gray]; 85 [label="Exit block" style="filled" fillcolor=gray];
} }
96 [label="Exit when branch result" style="filled" fillcolor=gray]; 86 [label="Exit when branch result" style="filled" fillcolor=gray];
97 [label="Exit when" style="filled" fillcolor=gray]; 87 [label="Exit when" style="filled" fillcolor=gray];
} }
98 [label="Exit block" style="filled" fillcolor=gray]; 88 [label="Exit block" style="filled" fillcolor=gray];
} }
99 [label="Exit loop block" style="filled" fillcolor=gray]; 89 [label="Exit loop block" style="filled" fillcolor=gray];
} }
84 [label="Exit whileloop"]; 90 [label="Exit whileloop"];
} }
85 [label="Exit block"]; 91 [label="Exit block"];
} }
86 [label="Access variable R|<local>/s|"]; 92 [label="Access variable R|<local>/s|"];
87 [label="Enter safe call"]; 93 [label="Enter safe call"];
88 [label="Postponed enter to lambda"]; 94 [label="Postponed enter to lambda"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
100 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 95 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
101 [label="Enter block"]; 96 [label="Enter block"];
102 [label="Access variable R|<local>/it|"]; 97 [label="Access variable R|<local>/it|"];
103 [label="Access variable R|/A.a|"]; 98 [label="Access variable R|/A.a|"];
104 [label="Exit block"]; 99 [label="Exit block"];
} }
105 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 100 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
89 [label="Postponed exit from lambda"]; 101 [label="Postponed exit from lambda"];
90 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)" style="filled" fillcolor=yellow]; 102 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
91 [label="Exit safe call"]; 103 [label="Exit safe call"];
92 [label="Exit block"]; 104 [label="Exit block"];
} }
93 [label="Exit function test_0" style="filled" fillcolor=red]; 105 [label="Exit function test_0" style="filled" fillcolor=red];
} }
52 -> {53}; 52 -> {53};
53 -> {54}; 53 -> {54};
@@ -259,7 +259,7 @@ digraph smartcastToNothing_kt {
61 -> {62}; 61 -> {62};
62 -> {63}; 62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {65 84}; 64 -> {65 90};
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {68};
@@ -275,33 +275,33 @@ digraph smartcastToNothing_kt {
77 -> {78} [style=dotted]; 77 -> {78} [style=dotted];
78 -> {79} [style=dotted]; 78 -> {79} [style=dotted];
79 -> {80 81} [style=dotted]; 79 -> {80 81} [style=dotted];
80 -> {97} [style=dotted]; 80 -> {87} [style=dotted];
81 -> {82} [style=dotted]; 81 -> {82} [style=dotted];
82 -> {83} [style=dotted]; 82 -> {83} [style=dotted];
83 -> {84 94} [style=dotted]; 83 -> {84 90} [style=dotted];
84 -> {85}; 84 -> {85} [style=dotted];
85 -> {86}; 85 -> {86} [style=dotted];
86 -> {87 91}; 86 -> {87} [style=dotted];
87 -> {88}; 87 -> {88} [style=dotted];
88 -> {90 100};
88 -> {89} [style=dotted]; 88 -> {89} [style=dotted];
88 -> {100} [style=dashed]; 89 -> {61} [color=green style=dotted];
89 -> {90};
90 -> {91}; 90 -> {91};
91 -> {92}; 91 -> {92};
92 -> {93}; 92 -> {93 103};
94 -> {95} [style=dotted]; 93 -> {94};
95 -> {96} [style=dotted]; 94 -> {95 102};
96 -> {97} [style=dotted]; 94 -> {101} [style=dotted];
97 -> {98} [style=dotted]; 94 -> {95} [style=dashed];
98 -> {99} [style=dotted]; 95 -> {96};
99 -> {61} [color=green style=dotted]; 96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101}; 100 -> {101};
101 -> {102}; 101 -> {102};
102 -> {103}; 102 -> {103};
103 -> {104}; 103 -> {104};
104 -> {105}; 104 -> {105};
105 -> {89};
subgraph cluster_26 { subgraph cluster_26 {
color=red color=red
@@ -5,93 +5,92 @@ digraph overridenOpenVal_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
6 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
7 [label="Part of class initialization"]; 1 [label="Part of class initialization"];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
3 [label="Enter property" style="filled" fillcolor=red]; 2 [label="Enter property" style="filled" fillcolor=red];
4 [label="Access variable R|<local>/x|"]; 3 [label="Access variable R|<local>/x|"];
5 [label="Exit property" style="filled" fillcolor=red]; 4 [label="Exit property" style="filled" fillcolor=red];
} }
8 [label="Exit class A" style="filled" fillcolor=red]; 5 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 6 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 7 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 8 [label="Exit function <init>" style="filled" fillcolor=red];
} }
6 -> {7} [color=green]; 0 -> {1} [color=green];
7 -> {3} [color=green]; 1 -> {2} [color=green];
7 -> {8} [style=dotted]; 1 -> {5} [style=dotted];
7 -> {3} [style=dashed]; 1 -> {2} [style=dashed];
8 -> {0} [color=green]; 2 -> {3};
8 -> {0} [style=dashed];
3 -> {4}; 3 -> {4};
4 -> {5}; 4 -> {5} [color=green];
5 -> {8} [color=green]; 5 -> {6} [color=green];
0 -> {1}; 5 -> {6} [style=dashed];
1 -> {2}; 6 -> {7};
7 -> {8};
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
31 [label="Enter class B" style="filled" fillcolor=red]; 9 [label="Enter class B" 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 { subgraph cluster_4 {
color=blue color=blue
13 [label="Enter function test_1" style="filled" fillcolor=red]; 11 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
14 [label="Enter block"]; 12 [label="Enter block"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
15 [label="Enter when"]; 13 [label="Enter when"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
16 [label="Enter when branch condition "]; 14 [label="Enter when branch condition "];
17 [label="Access variable R|/A.x|"]; 15 [label="Access variable R|/A.x|"];
18 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"]; 16 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"];
19 [label="Exit when branch condition"]; 17 [label="Exit when branch condition"];
} }
20 [label="Synthetic else branch"]; 18 [label="Synthetic else branch"];
21 [label="Enter when branch result"]; 19 [label="Enter when branch result"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
22 [label="Enter block"]; 20 [label="Enter block"];
23 [label="Access variable R|/A.x|"]; 21 [label="Access variable R|/A.x|"];
24 [label="Smart cast: this@R|/B|.R|/A.x|"]; 22 [label="Smart cast: this@R|/B|.R|/A.x|"];
25 [label="Access variable R|kotlin/String.length|"]; 23 [label="Access variable R|kotlin/String.length|"];
26 [label="Exit block"]; 24 [label="Exit block"];
} }
27 [label="Exit when branch result"]; 25 [label="Exit when branch result"];
28 [label="Exit when"]; 26 [label="Exit when"];
} }
29 [label="Exit block"]; 27 [label="Exit block"];
} }
30 [label="Exit function test_1" style="filled" fillcolor=red]; 28 [label="Exit function test_1" style="filled" fillcolor=red];
} }
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
9 [label="Enter function <init>" style="filled" fillcolor=red]; 29 [label="Enter function <init>" style="filled" fillcolor=red];
10 [label="Access variable R|<local>/x|"]; 30 [label="Access variable R|<local>/x|"];
11 [label="Delegated constructor call: super<R|A|>(...)" style="filled" fillcolor=yellow]; 31 [label="Delegated constructor call: super<R|A|>(...)" style="filled" fillcolor=yellow];
12 [label="Exit function <init>" style="filled" fillcolor=red]; 32 [label="Exit function <init>" style="filled" fillcolor=red];
} }
31 -> {32} [color=green]; 9 -> {10} [color=green];
32 -> {9 13} [color=green]; 10 -> {11 29} [color=green];
32 -> {9 13} [style=dashed]; 10 -> {11 29} [style=dashed];
9 -> {10};
10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18 19};
18 -> {19}; 18 -> {26};
19 -> {20 21}; 19 -> {20};
20 -> {28}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
@@ -99,8 +98,9 @@ digraph overridenOpenVal_kt {
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {31};
31 -> {32};
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
@@ -5,33 +5,33 @@ digraph delayedAssignment_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
7 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
8 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
3 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
4 [label="Enter block"]; 3 [label="Enter block"];
5 [label="Exit block"]; 4 [label="Exit block"];
} }
6 [label="Exit function foo" style="filled" fillcolor=red]; 5 [label="Exit function foo" style="filled" fillcolor=red];
} }
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 6 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 7 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 8 [label="Exit function <init>" style="filled" fillcolor=red];
} }
7 -> {8} [color=green]; 0 -> {1} [color=green];
8 -> {0 3} [color=green]; 1 -> {2 6} [color=green];
8 -> {0 3} [style=dashed]; 1 -> {2 6} [style=dashed];
0 -> {1}; 2 -> {3};
1 -> {2};
3 -> {4}; 3 -> {4};
4 -> {5}; 4 -> {5};
5 -> {6}; 6 -> {7};
7 -> {8};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
@@ -29,86 +29,87 @@ digraph complexPostponedCfg_kt {
9 [label="Postponed enter to lambda"]; 9 [label="Postponed enter to lambda"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 10 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
19 [label="Enter block"]; 11 [label="Enter block"];
20 [label="Postponed enter to lambda"]; 12 [label="Postponed enter to lambda"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
25 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 13 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
26 [label="Enter block"]; 14 [label="Enter block"];
27 [label="Access variable this@R|special/anonymous|"]; 15 [label="Access variable this@R|special/anonymous|"];
28 [label="Function call: this@R|special/anonymous|.R|SubstitutionOverride<kotlin/collections/MutableList.add: R|kotlin/Boolean|>|(...)" style="filled" fillcolor=yellow]; 16 [label="Function call: this@R|special/anonymous|.R|SubstitutionOverride<kotlin/collections/MutableList.add: R|kotlin/Boolean|>|(...)" style="filled" fillcolor=yellow];
29 [label="Access variable R|<local>/arguments|"]; 17 [label="Access variable R|<local>/arguments|"];
30 [label="Function call: R|<local>/arguments|.R|kotlin/collections/last|<R|FirBase|>()" style="filled" fillcolor=yellow]; 18 [label="Function call: R|<local>/arguments|.R|kotlin/collections/last|<R|FirBase|>()" style="filled" fillcolor=yellow];
31 [label="Type operator: (R|<local>/arguments|.R|kotlin/collections/last|<R|FirBase|>() as R|FirFunctionCall|)"]; 19 [label="Type operator: (R|<local>/arguments|.R|kotlin/collections/last|<R|FirBase|>() as R|FirFunctionCall|)"];
32 [label="Postponed enter to lambda"]; 20 [label="Postponed enter to lambda"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
37 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 21 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
38 [label="Enter block"]; 22 [label="Enter block"];
39 [label="Access variable this@R|special/anonymous|"]; 23 [label="Access variable this@R|special/anonymous|"];
40 [label="Function call: this@R|special/anonymous|.R|SubstitutionOverride<kotlin/collections/MutableList.add: R|kotlin/Boolean|>|(...)" style="filled" fillcolor=yellow]; 24 [label="Function call: this@R|special/anonymous|.R|SubstitutionOverride<kotlin/collections/MutableList.add: R|kotlin/Boolean|>|(...)" style="filled" fillcolor=yellow];
41 [label="Access variable R|<local>/explicitReceiver|"]; 25 [label="Access variable R|<local>/explicitReceiver|"];
42 [label="Type operator: (R|<local>/explicitReceiver| as R|FirFunctionCall|)"]; 26 [label="Type operator: (R|<local>/explicitReceiver| as R|FirFunctionCall|)"];
43 [label="Function call: this@R|special/anonymous|.R|SubstitutionOverride<kotlin/collections/MutableList.add: R|kotlin/Boolean|>|(...)" style="filled" fillcolor=yellow]; 27 [label="Function call: this@R|special/anonymous|.R|SubstitutionOverride<kotlin/collections/MutableList.add: R|kotlin/Boolean|>|(...)" style="filled" fillcolor=yellow];
44 [label="Exit block"]; 28 [label="Exit block"];
} }
45 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 29 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
33 [label="Postponed exit from lambda"]; 30 [label="Postponed exit from lambda"];
34 [label="Function call: R|kotlin/with|<R|FirFunctionCall|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow]; 31 [label="Function call: R|kotlin/with|<R|FirFunctionCall|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
35 [label="Exit block"]; 32 [label="Exit block"];
} }
36 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 33 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
21 [label="Postponed exit from lambda"]; 34 [label="Postponed exit from lambda"];
22 [label="Function call: R|kotlin/collections/buildList|<R|FirFunctionCall|>(...)" style="filled" fillcolor=yellow]; 35 [label="Function call: R|kotlin/collections/buildList|<R|FirFunctionCall|>(...)" style="filled" fillcolor=yellow];
23 [label="Exit block"]; 36 [label="Exit block"];
} }
24 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 37 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
10 [label="Postponed exit from lambda"]; 38 [label="Postponed exit from lambda"];
11 [label="Function call: R|kotlin/with|<R|FirFunctionCall|, R|kotlin/collections/List<FirFunctionCall>|>(...)" style="filled" fillcolor=yellow]; 39 [label="Function call: R|kotlin/with|<R|FirFunctionCall|, R|kotlin/collections/List<FirFunctionCall>|>(...)" style="filled" fillcolor=yellow];
12 [label="Variable declaration: lval firstCalls: R|kotlin/collections/List<FirFunctionCall>|"]; 40 [label="Variable declaration: lval firstCalls: R|kotlin/collections/List<FirFunctionCall>|"];
13 [label="Access variable R|<local>/firstCalls|"]; 41 [label="Access variable R|<local>/firstCalls|"];
14 [label="Jump: ^foo R|<local>/firstCalls|"]; 42 [label="Jump: ^foo R|<local>/firstCalls|"];
15 [label="Stub" style="filled" fillcolor=gray]; 43 [label="Stub" style="filled" fillcolor=gray];
16 [label="Exit block" style="filled" fillcolor=gray]; 44 [label="Exit block" style="filled" fillcolor=gray];
} }
17 [label="Exit function foo" style="filled" fillcolor=red]; 45 [label="Exit function foo" style="filled" fillcolor=red];
} }
4 -> {5}; 4 -> {5};
5 -> {6}; 5 -> {6};
6 -> {7}; 6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9};
9 -> {11 18}; 9 -> {10 39};
9 -> {10} [style=dotted]; 9 -> {38} [style=dotted];
9 -> {18} [style=dashed]; 9 -> {10} [style=dashed];
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {13 35};
12 -> {34} [style=dotted];
12 -> {13} [style=dashed];
13 -> {14}; 13 -> {14};
14 -> {17}; 14 -> {15};
14 -> {15} [style=dotted]; 15 -> {16};
15 -> {16} [style=dotted]; 16 -> {17};
16 -> {17} [style=dotted]; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {22 25}; 20 -> {21 31};
20 -> {21} [style=dotted]; 20 -> {30} [style=dotted];
20 -> {25} [style=dashed]; 20 -> {21} [style=dashed];
21 -> {22} [color=green]; 21 -> {22};
21 -> {11} [color=red];
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {10}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
@@ -116,21 +117,20 @@ digraph complexPostponedCfg_kt {
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {34 37}; 32 -> {33};
32 -> {33} [style=dotted];
32 -> {37} [style=dashed];
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {35} [color=green];
34 -> {39} [color=red];
35 -> {36}; 35 -> {36};
36 -> {21}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {45};
43 -> {44}; 42 -> {43} [style=dotted];
44 -> {45}; 43 -> {44} [style=dotted];
45 -> {33}; 44 -> {45} [style=dotted];
} }
@@ -13,41 +13,41 @@ digraph callsInPlace_kt {
3 [label="Postponed enter to lambda"]; 3 [label="Postponed enter to lambda"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
10 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 4 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
11 [label="Enter block"]; 5 [label="Enter block"];
12 [label="Const: Int(1)"]; 6 [label="Const: Int(1)"];
13 [label="Assignment: R|<local>/x|"]; 7 [label="Assignment: R|<local>/x|"];
14 [label="Exit block"]; 8 [label="Exit block"];
} }
15 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 9 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
4 [label="Postponed exit from lambda"]; 10 [label="Postponed exit from lambda"];
5 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow]; 11 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
6 [label="Access variable R|<local>/x|"]; 12 [label="Access variable R|<local>/x|"];
7 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow]; 13 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
8 [label="Exit block"]; 14 [label="Exit block"];
} }
9 [label="Exit function test" style="filled" fillcolor=red]; 15 [label="Exit function test" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
1 -> {2}; 1 -> {2};
2 -> {3}; 2 -> {3};
3 -> {5 10}; 3 -> {4 11};
3 -> {4} [style=dotted]; 3 -> {10} [style=dotted];
3 -> {10} [style=dashed]; 3 -> {4} [style=dashed];
4 -> {5}; 4 -> {5};
5 -> {6}; 5 -> {6};
6 -> {7}; 6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9};
9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15};
15 -> {4};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
@@ -59,35 +59,35 @@ digraph callsInPlace_kt {
19 [label="Postponed enter to lambda"]; 19 [label="Postponed enter to lambda"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
24 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 20 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
25 [label="Enter block"]; 21 [label="Enter block"];
26 [label="Const: String(test_2)"]; 22 [label="Const: String(test_2)"];
27 [label="Exit block"]; 23 [label="Exit block"];
} }
28 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 24 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
20 [label="Postponed exit from lambda"]; 25 [label="Postponed exit from lambda"];
21 [label="Function call: R|kotlin/repeat|(...)" style="filled" fillcolor=yellow]; 26 [label="Function call: R|kotlin/repeat|(...)" style="filled" fillcolor=yellow];
22 [label="Exit block"]; 27 [label="Exit block"];
} }
23 [label="Exit function test_2" style="filled" fillcolor=red]; 28 [label="Exit function test_2" style="filled" fillcolor=red];
} }
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20 21 24}; 19 -> {20 25 26};
19 -> {24} [style=dashed]; 19 -> {20} [style=dashed];
20 -> {21}; 20 -> {21};
20 -> {19} [color=green style=dashed];
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
25 -> {19} [color=green style=dashed];
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {20};
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
@@ -99,35 +99,35 @@ digraph callsInPlace_kt {
32 [label="Postponed enter to lambda"]; 32 [label="Postponed enter to lambda"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
37 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 33 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
38 [label="Enter block"]; 34 [label="Enter block"];
39 [label="Const: String(test_3)"]; 35 [label="Const: String(test_3)"];
40 [label="Exit block"]; 36 [label="Exit block"];
} }
41 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 37 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
33 [label="Postponed exit from lambda"]; 38 [label="Postponed exit from lambda"];
34 [label="Function call: R|kotlin/repeat|(...)" style="filled" fillcolor=yellow]; 39 [label="Function call: R|kotlin/repeat|(...)" style="filled" fillcolor=yellow];
35 [label="Exit block"]; 40 [label="Exit block"];
} }
36 [label="Exit function test_3" style="filled" fillcolor=red]; 41 [label="Exit function test_3" style="filled" fillcolor=red];
} }
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33 34 37}; 32 -> {33 38 39};
32 -> {37} [style=dashed]; 32 -> {33} [style=dashed];
33 -> {34}; 33 -> {34};
33 -> {32} [color=green style=dashed];
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
38 -> {32} [color=green style=dashed];
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {33};
subgraph cluster_12 { subgraph cluster_12 {
color=red color=red
@@ -139,34 +139,35 @@ digraph callsInPlace_kt {
45 [label="Postponed enter to lambda"]; 45 [label="Postponed enter to lambda"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
50 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 46 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
51 [label="Enter block"]; 47 [label="Enter block"];
52 [label="Const: String(test_4)"]; 48 [label="Const: String(test_4)"];
53 [label="Access variable R|<local>/it|"]; 49 [label="Access variable R|<local>/it|"];
54 [label="Const: Int(0)"]; 50 [label="Const: Int(0)"];
55 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)" style="filled" fillcolor=yellow]; 51 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)" style="filled" fillcolor=yellow];
56 [label="Comparison >"]; 52 [label="Comparison >"];
57 [label="Exit block"]; 53 [label="Exit block"];
} }
58 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 54 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
46 [label="Postponed exit from lambda"]; 55 [label="Postponed exit from lambda"];
47 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow]; 56 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
48 [label="Exit block"]; 57 [label="Exit block"];
} }
49 [label="Exit function test_4" style="filled" fillcolor=red]; 58 [label="Exit function test_4" style="filled" fillcolor=red];
} }
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {47 50}; 45 -> {46 56};
45 -> {46} [style=dotted]; 45 -> {55} [style=dotted];
45 -> {50} [style=dashed]; 45 -> {46} [style=dashed];
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {53};
@@ -175,7 +176,6 @@ digraph callsInPlace_kt {
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {57};
57 -> {58}; 57 -> {58};
58 -> {46};
subgraph cluster_16 { subgraph cluster_16 {
color=red color=red
@@ -187,34 +187,35 @@ digraph callsInPlace_kt {
62 [label="Postponed enter to lambda"]; 62 [label="Postponed enter to lambda"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
67 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 63 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
68 [label="Enter block"]; 64 [label="Enter block"];
69 [label="Const: String(test_5)"]; 65 [label="Const: String(test_5)"];
70 [label="Access variable R|<local>/it|"]; 66 [label="Access variable R|<local>/it|"];
71 [label="Const: Int(0)"]; 67 [label="Const: Int(0)"];
72 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)" style="filled" fillcolor=yellow]; 68 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)" style="filled" fillcolor=yellow];
73 [label="Comparison >"]; 69 [label="Comparison >"];
74 [label="Exit block"]; 70 [label="Exit block"];
} }
75 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 71 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
63 [label="Postponed exit from lambda"]; 72 [label="Postponed exit from lambda"];
64 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow]; 73 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
65 [label="Exit block"]; 74 [label="Exit block"];
} }
66 [label="Exit function test_5" style="filled" fillcolor=red]; 75 [label="Exit function test_5" style="filled" fillcolor=red];
} }
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {62};
62 -> {64 67}; 62 -> {63 73};
62 -> {63} [style=dotted]; 62 -> {72} [style=dotted];
62 -> {67} [style=dashed]; 62 -> {63} [style=dashed];
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70};
@@ -223,7 +224,6 @@ digraph callsInPlace_kt {
72 -> {73}; 72 -> {73};
73 -> {74}; 73 -> {74};
74 -> {75}; 74 -> {75};
75 -> {63};
subgraph cluster_20 { subgraph cluster_20 {
color=red color=red
@@ -252,14 +252,14 @@ digraph callsInPlace_kt {
84 [label="Postponed enter to lambda"]; 84 [label="Postponed enter to lambda"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
95 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 85 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
96 [label="Enter block"]; 86 [label="Enter block"];
97 [label="Const: String(test_6_2)"]; 87 [label="Const: String(test_6_2)"];
98 [label="Exit block"]; 88 [label="Exit block"];
} }
99 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 89 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
@@ -272,33 +272,33 @@ digraph callsInPlace_kt {
} }
94 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 94 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
85 [label="Postponed exit from lambda"]; 95 [label="Postponed exit from lambda"];
86 [label="Postponed exit from lambda"]; 96 [label="Postponed exit from lambda"];
87 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow]; 97 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
88 [label="Exit block"]; 98 [label="Exit block"];
} }
89 [label="Exit function test_6" style="filled" fillcolor=red]; 99 [label="Exit function test_6" style="filled" fillcolor=red];
} }
82 -> {83}; 82 -> {83};
83 -> {84}; 83 -> {84};
84 -> {85 86 87 90 95}; 84 -> {85 90 95 96 97};
84 -> {90 95} [style=dashed]; 84 -> {85 90} [style=dashed];
85 -> {87}; 85 -> {86};
85 -> {84} [color=green style=dashed];
86 -> {87}; 86 -> {87};
86 -> {84} [color=green style=dashed];
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {89};
89 -> {95};
90 -> {91}; 90 -> {91};
91 -> {92}; 91 -> {92};
92 -> {93}; 92 -> {93};
93 -> {94}; 93 -> {94};
94 -> {86}; 94 -> {96};
95 -> {96}; 95 -> {97};
95 -> {84} [color=green style=dashed];
96 -> {97}; 96 -> {97};
96 -> {84} [color=green style=dashed];
97 -> {98}; 97 -> {98};
98 -> {99}; 98 -> {99};
99 -> {85};
subgraph cluster_28 { subgraph cluster_28 {
color=red color=red
@@ -309,14 +309,14 @@ digraph callsInPlace_kt {
102 [label="Postponed enter to lambda"]; 102 [label="Postponed enter to lambda"];
subgraph cluster_30 { subgraph cluster_30 {
color=blue color=blue
113 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 103 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_31 { subgraph cluster_31 {
color=blue color=blue
114 [label="Enter block"]; 104 [label="Enter block"];
115 [label="Const: String(test_7_1)"]; 105 [label="Const: String(test_7_1)"];
116 [label="Exit block"]; 106 [label="Exit block"];
} }
117 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 107 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
subgraph cluster_32 { subgraph cluster_32 {
color=blue color=blue
@@ -329,33 +329,33 @@ digraph callsInPlace_kt {
} }
112 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 112 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
103 [label="Postponed exit from lambda"]; 113 [label="Postponed exit from lambda"];
104 [label="Postponed exit from lambda"]; 114 [label="Postponed exit from lambda"];
105 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow]; 115 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
106 [label="Exit block"]; 116 [label="Exit block"];
} }
107 [label="Exit function test_7" style="filled" fillcolor=red]; 117 [label="Exit function test_7" style="filled" fillcolor=red];
} }
100 -> {101}; 100 -> {101};
101 -> {102}; 101 -> {102};
102 -> {103 104 105 108 113}; 102 -> {103 108 113 114 115};
102 -> {108 113} [style=dashed]; 102 -> {103 108} [style=dashed];
103 -> {105}; 103 -> {104};
103 -> {102} [color=green style=dashed];
104 -> {105}; 104 -> {105};
104 -> {102} [color=green style=dashed];
105 -> {106}; 105 -> {106};
106 -> {107}; 106 -> {107};
107 -> {113};
108 -> {109}; 108 -> {109};
109 -> {110}; 109 -> {110};
110 -> {111}; 110 -> {111};
111 -> {112}; 111 -> {112};
112 -> {104}; 112 -> {114};
113 -> {114}; 113 -> {115};
113 -> {102} [color=green style=dashed];
114 -> {115}; 114 -> {115};
114 -> {102} [color=green style=dashed];
115 -> {116}; 115 -> {116};
116 -> {117}; 116 -> {117};
117 -> {103};
subgraph cluster_34 { subgraph cluster_34 {
color=red color=red
@@ -382,29 +382,29 @@ digraph callsInPlace_kt {
125 [label="Postponed enter to lambda"]; 125 [label="Postponed enter to lambda"];
subgraph cluster_38 { subgraph cluster_38 {
color=blue color=blue
130 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 126 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_39 { subgraph cluster_39 {
color=blue color=blue
131 [label="Enter block"]; 127 [label="Enter block"];
132 [label="Const: String(test_8)"]; 128 [label="Const: String(test_8)"];
133 [label="Exit block"]; 129 [label="Exit block"];
} }
134 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 130 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
126 [label="Postponed exit from lambda"]; 131 [label="Postponed exit from lambda"];
127 [label="Function call: R|/myDummyRun|(...)" style="filled" fillcolor=yellow]; 132 [label="Function call: R|/myDummyRun|(...)" style="filled" fillcolor=yellow];
128 [label="Exit block"]; 133 [label="Exit block"];
} }
129 [label="Exit function test_8" style="filled" fillcolor=red]; 134 [label="Exit function test_8" style="filled" fillcolor=red];
} }
123 -> {124}; 123 -> {124};
124 -> {125}; 124 -> {125};
125 -> {126 127 130}; 125 -> {126 131 132};
125 -> {130} [style=dashed]; 125 -> {126} [style=dashed];
126 -> {127}; 126 -> {127};
127 -> {128}; 127 -> {128};
128 -> {129}; 128 -> {129};
130 -> {131}; 129 -> {130};
131 -> {132}; 131 -> {132};
132 -> {133}; 132 -> {133};
133 -> {134}; 133 -> {134};
@@ -17,93 +17,93 @@ digraph inAnonymousObject_kt {
4 [label="Enter anonymous object"]; 4 [label="Enter anonymous object"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
13 [label="Enter class <anonymous object>" style="filled" fillcolor=red]; 5 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
14 [label="Part of class initialization"]; 6 [label="Part of class initialization"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
17 [label="Enter property" style="filled" fillcolor=red]; 7 [label="Enter property" style="filled" fillcolor=red];
18 [label="Access variable R|<local>/a|"]; 8 [label="Access variable R|<local>/a|"];
19 [label="Exit property" style="filled" fillcolor=red]; 9 [label="Exit property" style="filled" fillcolor=red];
} }
15 [label="Part of class initialization"]; 10 [label="Part of class initialization"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
20 [label="Enter init block" style="filled" fillcolor=red]; 11 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
21 [label="Enter block"]; 12 [label="Enter block"];
22 [label="Access variable R|<local>/b|"]; 13 [label="Access variable R|<local>/b|"];
23 [label="Assignment: R|/<anonymous>.leaked|"]; 14 [label="Assignment: R|/<anonymous>.leaked|"];
24 [label="Exit block"]; 15 [label="Exit block"];
} }
25 [label="Exit init block" style="filled" fillcolor=red]; 16 [label="Exit init block" style="filled" fillcolor=red];
} }
16 [label="Exit class <anonymous object>" style="filled" fillcolor=red]; 17 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
} }
5 [label="Exit anonymous object"]; 18 [label="Exit anonymous object"];
6 [label="Exit anonymous object expression"]; 19 [label="Exit anonymous object expression"];
7 [label="Variable declaration: lval obj: R|<anonymous>|"]; 20 [label="Variable declaration: lval obj: R|<anonymous>|"];
8 [label="Access variable R|<local>/obj|"]; 21 [label="Access variable R|<local>/obj|"];
9 [label="Function call: R|<local>/obj|.R|/<anonymous>.run|()" style="filled" fillcolor=yellow]; 22 [label="Function call: R|<local>/obj|.R|/<anonymous>.run|()" style="filled" fillcolor=yellow];
10 [label="Function call: R|<local>/d|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 23 [label="Function call: R|<local>/d|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
11 [label="Exit block"]; 24 [label="Exit block"];
} }
12 [label="Exit function foo" style="filled" fillcolor=red]; 25 [label="Exit function foo" style="filled" fillcolor=red];
} }
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
29 [label="Enter function run" style="filled" fillcolor=red]; 26 [label="Enter function run" style="filled" fillcolor=red];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
30 [label="Enter block"]; 27 [label="Enter block"];
31 [label="Function call: R|<local>/c|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 28 [label="Function call: R|<local>/c|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
32 [label="Exit block"]; 29 [label="Exit block"];
} }
33 [label="Exit function run" style="filled" fillcolor=red]; 30 [label="Exit function run" style="filled" fillcolor=red];
} }
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
26 [label="Enter function <init>" style="filled" fillcolor=red]; 31 [label="Enter function <init>" style="filled" fillcolor=red];
27 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 32 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
28 [label="Exit function <init>" style="filled" fillcolor=red]; 33 [label="Exit function <init>" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
1 -> {2}; 1 -> {2};
2 -> {3}; 2 -> {3};
3 -> {4}; 3 -> {4};
4 -> {13}; 4 -> {5};
4 -> {5} [color=red]; 4 -> {18} [color=red];
4 -> {13} [style=dashed]; 4 -> {5} [style=dashed];
5 -> {6}; 5 -> {6} [color=green];
6 -> {7}; 5 -> {7 11 26 31} [color=red];
6 -> {7} [color=green];
6 -> {10} [style=dotted];
6 -> {7} [style=dashed];
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9};
9 -> {10}; 9 -> {10} [color=green];
10 -> {11}; 10 -> {11} [color=green];
10 -> {17} [style=dotted];
10 -> {11} [style=dashed];
11 -> {12}; 11 -> {12};
13 -> {14} [color=green]; 12 -> {13};
13 -> {17 20 26 29} [color=red]; 13 -> {14};
14 -> {17} [color=green]; 14 -> {15};
14 -> {15} [style=dotted]; 15 -> {16};
14 -> {17} [style=dashed]; 16 -> {17} [color=green];
15 -> {20} [color=green]; 17 -> {18 26 31} [color=green];
15 -> {16} [style=dotted]; 17 -> {26 31} [style=dashed];
15 -> {20} [style=dashed];
16 -> {5 26 29} [color=green];
16 -> {26 29} [style=dashed];
17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {15} [color=green]; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {16} [color=green];
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
@@ -28,47 +28,47 @@ digraph inLocalClass_kt {
11 [label="Part of class initialization"]; 11 [label="Part of class initialization"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
14 [label="Enter property" style="filled" fillcolor=red]; 12 [label="Enter property" style="filled" fillcolor=red];
15 [label="Access variable R|<local>/a|"]; 13 [label="Access variable R|<local>/a|"];
16 [label="Exit property" style="filled" fillcolor=red]; 14 [label="Exit property" style="filled" fillcolor=red];
} }
12 [label="Part of class initialization"]; 15 [label="Part of class initialization"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
17 [label="Enter init block" style="filled" fillcolor=red]; 16 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
18 [label="Enter block"]; 17 [label="Enter block"];
19 [label="Access variable R|<local>/c|"]; 18 [label="Access variable R|<local>/c|"];
20 [label="Assignment: R|<local>/leaked|"]; 19 [label="Assignment: R|<local>/leaked|"];
21 [label="Exit block"]; 20 [label="Exit block"];
} }
22 [label="Exit init block" style="filled" fillcolor=red]; 21 [label="Exit init block" style="filled" fillcolor=red];
} }
13 [label="Exit class LocalClass" style="filled" fillcolor=red]; 22 [label="Exit class LocalClass" style="filled" fillcolor=red];
} }
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
29 [label="Enter function run" style="filled" fillcolor=red]; 23 [label="Enter function run" style="filled" fillcolor=red];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
30 [label="Enter block"]; 24 [label="Enter block"];
31 [label="Function call: R|<local>/d|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 25 [label="Function call: R|<local>/d|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
32 [label="Exit block"]; 26 [label="Exit block"];
} }
33 [label="Exit function run" style="filled" fillcolor=red]; 27 [label="Exit function run" style="filled" fillcolor=red];
} }
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
23 [label="Enter function <init>" style="filled" fillcolor=red]; 28 [label="Enter function <init>" style="filled" fillcolor=red];
24 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 29 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
25 [label="Enter block"]; 30 [label="Enter block"];
26 [label="Function call: R|<local>/b|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 31 [label="Function call: R|<local>/b|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
27 [label="Exit block"]; 32 [label="Exit block"];
} }
28 [label="Exit function <init>" style="filled" fillcolor=red]; 33 [label="Exit function <init>" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
1 -> {2}; 1 -> {2};
@@ -81,29 +81,29 @@ digraph inLocalClass_kt {
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9};
10 -> {11} [color=green]; 10 -> {11} [color=green];
10 -> {14 17 23 29} [color=red]; 10 -> {12 16 23 28} [color=red];
11 -> {14} [color=green]; 11 -> {12} [color=green];
11 -> {12} [style=dotted]; 11 -> {15} [style=dotted];
11 -> {14} [style=dashed]; 11 -> {12} [style=dashed];
12 -> {17} [color=green]; 12 -> {13};
12 -> {13} [style=dotted]; 13 -> {14};
12 -> {17} [style=dashed]; 14 -> {15} [color=green];
13 -> {23 29} [color=green]; 15 -> {16} [color=green];
13 -> {23 29} [style=dashed]; 15 -> {22} [style=dotted];
14 -> {15}; 15 -> {16} [style=dashed];
15 -> {16}; 16 -> {17};
16 -> {12} [color=green];
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22} [color=green];
22 -> {13} [color=green]; 22 -> {23 28} [color=green];
22 -> {23 28} [style=dashed];
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {28}; 28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
@@ -28,119 +28,119 @@ digraph atLeastOnce_kt {
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
15 [label="Enter function myRun" style="filled" fillcolor=red]; 7 [label="Enter function myRun" style="filled" fillcolor=red];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
16 [label="Enter block"]; 8 [label="Enter block"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
17 [label="Enter block"]; 9 [label="Enter block"];
18 [label="Exit block"]; 10 [label="Exit block"];
} }
19 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 11 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
20 [label="Exit block"]; 12 [label="Exit block"];
} }
21 [label="Exit function myRun" style="filled" fillcolor=red]; 13 [label="Exit function myRun" style="filled" fillcolor=red];
} }
15 -> {16}; 7 -> {8};
16 -> {17}; 8 -> {9};
17 -> {18}; 9 -> {10};
18 -> {19}; 10 -> {11};
19 -> {20}; 11 -> {12};
20 -> {21}; 12 -> {13};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
30 [label="Enter function test_1" style="filled" fillcolor=red]; 14 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue
15 [label="Enter block"];
16 [label="Variable declaration: lval x: R|kotlin/Int|"];
17 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
19 [label="Enter block"];
20 [label="Const: Int(1)"];
21 [label="Assignment: R|<local>/x|"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
24 [label="Postponed exit from lambda"];
25 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
26 [label="Access variable R|<local>/x|"];
27 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
29 [label="Exit function test_1" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18 25};
17 -> {24} [style=dotted];
17 -> {18} [style=dashed];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
24 -> {17} [color=green style=dashed];
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
subgraph cluster_10 {
color=red
30 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue color=blue
31 [label="Enter block"]; 31 [label="Enter block"];
32 [label="Variable declaration: lval x: R|kotlin/Int|"]; 32 [label="Variable declaration: lval x: R|kotlin/Int|"];
33 [label="Postponed enter to lambda"]; 33 [label="Postponed enter to lambda"];
subgraph cluster_8 { subgraph cluster_12 {
color=blue color=blue
40 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 34 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 { subgraph cluster_13 {
color=blue color=blue
41 [label="Enter block"]; 35 [label="Enter block"];
42 [label="Const: Int(1)"]; 36 [label="Const: Int(1)"];
43 [label="Assignment: R|<local>/x|"]; 37 [label="Assignment: R|<local>/x|"];
44 [label="Exit block"]; 38 [label="Exit block"];
} }
45 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
34 [label="Postponed exit from lambda"]; 40 [label="Postponed exit from lambda"];
35 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow]; 41 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
36 [label="Access variable R|<local>/x|"]; 42 [label="Access variable R|<local>/x|"];
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow]; 43 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
38 [label="Exit block"]; 44 [label="Exit block"];
} }
39 [label="Exit function test_1" style="filled" fillcolor=red]; 45 [label="Exit function test_2" style="filled" fillcolor=red];
} }
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {35 40}; 33 -> {34 41};
33 -> {34} [style=dotted]; 33 -> {40} [style=dotted];
33 -> {40} [style=dashed]; 33 -> {34} [style=dashed];
34 -> {35}; 34 -> {35};
34 -> {33} [color=green style=dashed];
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40};
40 -> {41}; 40 -> {41};
40 -> {33} [color=green style=dashed];
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {34};
subgraph cluster_10 {
color=red
46 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
47 [label="Enter block"];
48 [label="Variable declaration: lval x: R|kotlin/Int|"];
49 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
56 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
57 [label="Enter block"];
58 [label="Const: Int(1)"];
59 [label="Assignment: R|<local>/x|"];
60 [label="Exit block"];
}
61 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
50 [label="Postponed exit from lambda"];
51 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
52 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
54 [label="Exit block"];
}
55 [label="Exit function test_2" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {51 56};
49 -> {50} [style=dotted];
49 -> {56} [style=dashed];
50 -> {51};
50 -> {49} [color=green style=dashed];
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {50};
} }
@@ -28,115 +28,115 @@ digraph atMostOnce_kt {
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
15 [label="Enter function myRun" style="filled" fillcolor=red]; 7 [label="Enter function myRun" style="filled" fillcolor=red];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
16 [label="Enter block"]; 8 [label="Enter block"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
17 [label="Enter block"]; 9 [label="Enter block"];
18 [label="Exit block"]; 10 [label="Exit block"];
} }
19 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 11 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
20 [label="Exit block"]; 12 [label="Exit block"];
} }
21 [label="Exit function myRun" style="filled" fillcolor=red]; 13 [label="Exit function myRun" style="filled" fillcolor=red];
} }
15 -> {16}; 7 -> {8};
16 -> {17}; 8 -> {9};
17 -> {18}; 9 -> {10};
18 -> {19}; 10 -> {11};
19 -> {20}; 11 -> {12};
20 -> {21}; 12 -> {13};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
30 [label="Enter function test_1" style="filled" fillcolor=red]; 14 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue
15 [label="Enter block"];
16 [label="Variable declaration: lval x: R|kotlin/Int|"];
17 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
19 [label="Enter block"];
20 [label="Const: Int(1)"];
21 [label="Assignment: R|<local>/x|"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
24 [label="Postponed exit from lambda"];
25 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
26 [label="Access variable R|<local>/x|"];
27 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
29 [label="Exit function test_1" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18 24 25};
17 -> {18} [style=dashed];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
subgraph cluster_10 {
color=red
30 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue color=blue
31 [label="Enter block"]; 31 [label="Enter block"];
32 [label="Variable declaration: lval x: R|kotlin/Int|"]; 32 [label="Variable declaration: lval x: R|kotlin/Int|"];
33 [label="Postponed enter to lambda"]; 33 [label="Postponed enter to lambda"];
subgraph cluster_8 { subgraph cluster_12 {
color=blue color=blue
40 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 34 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 { subgraph cluster_13 {
color=blue color=blue
41 [label="Enter block"]; 35 [label="Enter block"];
42 [label="Const: Int(1)"]; 36 [label="Const: Int(1)"];
43 [label="Assignment: R|<local>/x|"]; 37 [label="Assignment: R|<local>/x|"];
44 [label="Exit block"]; 38 [label="Exit block"];
} }
45 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
34 [label="Postponed exit from lambda"]; 40 [label="Postponed exit from lambda"];
35 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow]; 41 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
36 [label="Access variable R|<local>/x|"]; 42 [label="Access variable R|<local>/x|"];
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow]; 43 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
38 [label="Exit block"]; 44 [label="Exit block"];
} }
39 [label="Exit function test_1" style="filled" fillcolor=red]; 45 [label="Exit function test_2" style="filled" fillcolor=red];
} }
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34 35 40}; 33 -> {34 40 41};
33 -> {40} [style=dashed]; 33 -> {34} [style=dashed];
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {34};
subgraph cluster_10 {
color=red
46 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
47 [label="Enter block"];
48 [label="Variable declaration: lval x: R|kotlin/Int|"];
49 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
56 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
57 [label="Enter block"];
58 [label="Const: Int(1)"];
59 [label="Assignment: R|<local>/x|"];
60 [label="Exit block"];
}
61 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
50 [label="Postponed exit from lambda"];
51 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
52 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
54 [label="Exit block"];
}
55 [label="Exit function test_2" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50 51 56};
49 -> {56} [style=dashed];
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {50};
} }
@@ -30,50 +30,100 @@ digraph contractsUsage_kt {
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
16 [label="Enter function baz" style="filled" fillcolor=red]; 8 [label="Enter function baz" style="filled" fillcolor=red];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
17 [label="Enter block"]; 9 [label="Enter block"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
18 [label="Enter block"]; 10 [label="Enter block"];
19 [label="Exit block"]; 11 [label="Exit block"];
} }
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
20 [label="Enter when"]; 12 [label="Enter when"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
21 [label="Enter when branch condition "]; 13 [label="Enter when branch condition "];
22 [label="Const: Boolean(true)"]; 14 [label="Const: Boolean(true)"];
23 [label="Exit when branch condition"]; 15 [label="Exit when branch condition"];
} }
24 [label="Synthetic else branch"]; 16 [label="Synthetic else branch"];
25 [label="Enter when branch result"]; 17 [label="Enter when branch result"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
26 [label="Enter block"]; 18 [label="Enter block"];
27 [label="Access variable this@R|/baz|"]; 19 [label="Access variable this@R|/baz|"];
28 [label="Function call: this@R|/baz|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 20 [label="Function call: this@R|/baz|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
29 [label="Exit block"]; 21 [label="Exit block"];
} }
30 [label="Exit when branch result"]; 22 [label="Exit when branch result"];
31 [label="Exit when"]; 23 [label="Exit when"];
} }
32 [label="Exit block"]; 24 [label="Exit block"];
} }
33 [label="Exit function baz" style="filled" fillcolor=red]; 25 [label="Exit function baz" style="filled" fillcolor=red];
} }
16 -> {17}; 8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16 17};
16 -> {23};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24 25}; 23 -> {24};
24 -> {31}; 24 -> {25};
25 -> {26};
subgraph cluster_9 {
color=red
26 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
27 [label="Enter block"];
subgraph cluster_11 {
color=blue
28 [label="Enter block"];
29 [label="Exit block"];
}
subgraph cluster_12 {
color=blue
30 [label="Enter when"];
subgraph cluster_13 {
color=blue
31 [label="Enter when branch condition "];
32 [label="Const: Boolean(true)"];
33 [label="Exit when branch condition"];
}
34 [label="Synthetic else branch"];
35 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
36 [label="Enter block"];
37 [label="Access variable R|<local>/x|"];
38 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
39 [label="Access variable R|<local>/y|"];
40 [label="Function call: R|<local>/y|.R|/baz|()" style="filled" fillcolor=yellow];
41 [label="Jump: ^foo Unit"];
42 [label="Stub" style="filled" fillcolor=gray];
43 [label="Exit block" style="filled" fillcolor=gray];
}
44 [label="Exit when branch result" style="filled" fillcolor=gray];
45 [label="Exit when"];
}
46 [label="Access variable R|<local>/x|"];
47 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
48 [label="Exit block"];
}
49 [label="Exit function foo" style="filled" fillcolor=red];
}
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {29};
@@ -81,72 +131,22 @@ digraph contractsUsage_kt {
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34 35};
subgraph cluster_9 { 34 -> {45};
color=red 35 -> {36};
42 [label="Enter function foo" style="filled" fillcolor=red]; 36 -> {37};
subgraph cluster_10 { 37 -> {38};
color=blue 38 -> {39};
43 [label="Enter block"]; 39 -> {40};
subgraph cluster_11 { 40 -> {41};
color=blue 41 -> {49};
44 [label="Enter block"]; 41 -> {42} [style=dotted];
45 [label="Exit block"]; 42 -> {43} [style=dotted];
} 43 -> {44} [style=dotted];
subgraph cluster_12 { 44 -> {45} [style=dotted];
color=blue
46 [label="Enter when"];
subgraph cluster_13 {
color=blue
47 [label="Enter when branch condition "];
48 [label="Const: Boolean(true)"];
49 [label="Exit when branch condition"];
}
50 [label="Synthetic else branch"];
51 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/x|"];
54 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
55 [label="Access variable R|<local>/y|"];
56 [label="Function call: R|<local>/y|.R|/baz|()" style="filled" fillcolor=yellow];
57 [label="Jump: ^foo Unit"];
58 [label="Stub" style="filled" fillcolor=gray];
59 [label="Exit block" style="filled" fillcolor=gray];
}
60 [label="Exit when branch result" style="filled" fillcolor=gray];
61 [label="Exit when"];
}
62 [label="Access variable R|<local>/x|"];
63 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
64 [label="Exit block"];
}
65 [label="Exit function foo" style="filled" fillcolor=red];
}
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {50 51};
50 -> {61};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {65};
57 -> {58} [style=dotted];
58 -> {59} [style=dotted];
59 -> {60} [style=dotted];
60 -> {61} [style=dotted];
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
} }
@@ -28,117 +28,117 @@ digraph exactlyOnce_kt {
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
15 [label="Enter function myRun" style="filled" fillcolor=red]; 7 [label="Enter function myRun" style="filled" fillcolor=red];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
16 [label="Enter block"]; 8 [label="Enter block"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
17 [label="Enter block"]; 9 [label="Enter block"];
18 [label="Exit block"]; 10 [label="Exit block"];
} }
19 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 11 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
20 [label="Exit block"]; 12 [label="Exit block"];
} }
21 [label="Exit function myRun" style="filled" fillcolor=red]; 13 [label="Exit function myRun" style="filled" fillcolor=red];
} }
15 -> {16}; 7 -> {8};
16 -> {17}; 8 -> {9};
17 -> {18}; 9 -> {10};
18 -> {19}; 10 -> {11};
19 -> {20}; 11 -> {12};
20 -> {21}; 12 -> {13};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
30 [label="Enter function test_1" style="filled" fillcolor=red]; 14 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue
15 [label="Enter block"];
16 [label="Variable declaration: lval x: R|kotlin/Int|"];
17 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
19 [label="Enter block"];
20 [label="Const: Int(1)"];
21 [label="Assignment: R|<local>/x|"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
24 [label="Postponed exit from lambda"];
25 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
26 [label="Access variable R|<local>/x|"];
27 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
29 [label="Exit function test_1" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18 25};
17 -> {24} [style=dotted];
17 -> {18} [style=dashed];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
subgraph cluster_10 {
color=red
30 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue color=blue
31 [label="Enter block"]; 31 [label="Enter block"];
32 [label="Variable declaration: lval x: R|kotlin/Int|"]; 32 [label="Variable declaration: lval x: R|kotlin/Int|"];
33 [label="Postponed enter to lambda"]; 33 [label="Postponed enter to lambda"];
subgraph cluster_8 { subgraph cluster_12 {
color=blue color=blue
40 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 34 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 { subgraph cluster_13 {
color=blue color=blue
41 [label="Enter block"]; 35 [label="Enter block"];
42 [label="Const: Int(1)"]; 36 [label="Const: Int(1)"];
43 [label="Assignment: R|<local>/x|"]; 37 [label="Assignment: R|<local>/x|"];
44 [label="Exit block"]; 38 [label="Exit block"];
} }
45 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
34 [label="Postponed exit from lambda"]; 40 [label="Postponed exit from lambda"];
35 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow]; 41 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
36 [label="Access variable R|<local>/x|"]; 42 [label="Access variable R|<local>/x|"];
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow]; 43 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
38 [label="Exit block"]; 44 [label="Exit block"];
} }
39 [label="Exit function test_1" style="filled" fillcolor=red]; 45 [label="Exit function test_2" style="filled" fillcolor=red];
} }
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {35 40}; 33 -> {34 41};
33 -> {34} [style=dotted]; 33 -> {40} [style=dotted];
33 -> {40} [style=dashed]; 33 -> {34} [style=dashed];
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {34};
subgraph cluster_10 {
color=red
46 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
47 [label="Enter block"];
48 [label="Variable declaration: lval x: R|kotlin/Int|"];
49 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
56 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
57 [label="Enter block"];
58 [label="Const: Int(1)"];
59 [label="Assignment: R|<local>/x|"];
60 [label="Exit block"];
}
61 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
50 [label="Postponed exit from lambda"];
51 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
52 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
54 [label="Exit block"];
}
55 [label="Exit function test_2" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {51 56};
49 -> {50} [style=dotted];
49 -> {56} [style=dashed];
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {50};
} }
@@ -68,149 +68,157 @@ digraph flow_kt {
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
30 [label="Enter function foo" style="filled" fillcolor=red]; 22 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
31 [label="Enter block"]; 23 [label="Enter block"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
32 [label="Enter block"]; 24 [label="Enter block"];
33 [label="Exit block"]; 25 [label="Exit block"];
} }
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
34 [label="Enter when"]; 26 [label="Enter when"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
35 [label="Enter when branch condition "]; 27 [label="Enter when branch condition "];
36 [label="Const: Boolean(true)"]; 28 [label="Const: Boolean(true)"];
37 [label="Exit when branch condition"]; 29 [label="Exit when branch condition"];
} }
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
38 [label="Enter when branch condition else"]; 30 [label="Enter when branch condition else"];
39 [label="Exit when branch condition"]; 31 [label="Exit when branch condition"];
} }
40 [label="Enter when branch result"]; 32 [label="Enter when branch result"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
41 [label="Enter block"]; 33 [label="Enter block"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
42 [label="Enter when"]; 34 [label="Enter when"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
43 [label="Enter when branch condition "]; 35 [label="Enter when branch condition "];
44 [label="Const: Boolean(false)"]; 36 [label="Const: Boolean(false)"];
45 [label="Exit when branch condition"]; 37 [label="Exit when branch condition"];
} }
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
46 [label="Enter when branch condition else"]; 38 [label="Enter when branch condition else"];
47 [label="Exit when branch condition"]; 39 [label="Exit when branch condition"];
} }
48 [label="Enter when branch result"]; 40 [label="Enter when branch result"];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
49 [label="Enter block"]; 41 [label="Enter block"];
50 [label="Access variable R|<local>/y|"]; 42 [label="Access variable R|<local>/y|"];
51 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 43 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
52 [label="Access variable R|<local>/z|"]; 44 [label="Access variable R|<local>/z|"];
53 [label="Function call: R|<local>/z|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 45 [label="Function call: R|<local>/z|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
54 [label="Jump: ^foo Unit"]; 46 [label="Jump: ^foo Unit"];
55 [label="Stub" style="filled" fillcolor=gray]; 47 [label="Stub" style="filled" fillcolor=gray];
56 [label="Exit block" style="filled" fillcolor=gray]; 48 [label="Exit block" style="filled" fillcolor=gray];
} }
57 [label="Exit when branch result" style="filled" fillcolor=gray]; 49 [label="Exit when branch result" style="filled" fillcolor=gray];
58 [label="Enter when branch result"]; 50 [label="Enter when branch result"];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
59 [label="Enter block"]; 51 [label="Enter block"];
60 [label="Access variable R|<local>/y|"]; 52 [label="Access variable R|<local>/y|"];
61 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 53 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
62 [label="Exit block"]; 54 [label="Exit block"];
} }
63 [label="Exit when branch result"]; 55 [label="Exit when branch result"];
64 [label="Exit when"]; 56 [label="Exit when"];
} }
65 [label="Exit block"]; 57 [label="Exit block"];
} }
66 [label="Exit when branch result"]; 58 [label="Exit when branch result"];
67 [label="Enter when branch result"]; 59 [label="Enter when branch result"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
68 [label="Enter block"]; 60 [label="Enter block"];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
69 [label="Enter block"]; 61 [label="Enter block"];
70 [label="Const: Int(0)"]; 62 [label="Const: Int(0)"];
71 [label="Const: Int(0)"]; 63 [label="Const: Int(0)"];
72 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...)" style="filled" fillcolor=yellow]; 64 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...)" style="filled" fillcolor=yellow];
73 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...).R|kotlin/ranges/IntProgression.iterator|()" style="filled" fillcolor=yellow]; 65 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...).R|kotlin/ranges/IntProgression.iterator|()" style="filled" fillcolor=yellow];
74 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"]; 66 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
75 [label="Enter while loop"]; 67 [label="Enter while loop"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
76 [label="Enter loop condition"]; 68 [label="Enter loop condition"];
77 [label="Access variable R|<local>/<iterator>|"]; 69 [label="Access variable R|<local>/<iterator>|"];
78 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/IntIterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow]; 70 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/IntIterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
79 [label="Exit loop condition"]; 71 [label="Exit loop condition"];
} }
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
80 [label="Enter loop block"]; 72 [label="Enter loop block"];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
81 [label="Enter block"]; 73 [label="Enter block"];
82 [label="Access variable R|<local>/<iterator>|"]; 74 [label="Access variable R|<local>/<iterator>|"];
83 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()" style="filled" fillcolor=yellow]; 75 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()" style="filled" fillcolor=yellow];
84 [label="Variable declaration: lval i: R|kotlin/Int|"]; 76 [label="Variable declaration: lval i: R|kotlin/Int|"];
85 [label="Access variable R|<local>/x|"]; 77 [label="Access variable R|<local>/x|"];
86 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 78 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
87 [label="Exit block"]; 79 [label="Exit block"];
} }
88 [label="Exit loop block"]; 80 [label="Exit loop block"];
} }
89 [label="Exit whileloop"]; 81 [label="Exit whileloop"];
} }
90 [label="Exit block"]; 82 [label="Exit block"];
} }
91 [label="Access variable R|<local>/y|"]; 83 [label="Access variable R|<local>/y|"];
92 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 84 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
93 [label="Exit block"]; 85 [label="Exit block"];
} }
94 [label="Exit when branch result"]; 86 [label="Exit when branch result"];
95 [label="Exit when"]; 87 [label="Exit when"];
} }
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
96 [label="Enter do-while loop"]; 88 [label="Enter do-while loop"];
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
97 [label="Enter loop block"]; 89 [label="Enter loop block"];
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
98 [label="Enter block"]; 90 [label="Enter block"];
99 [label="Access variable R|<local>/z|"]; 91 [label="Access variable R|<local>/z|"];
100 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow]; 92 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
101 [label="Exit block"]; 93 [label="Exit block"];
} }
102 [label="Exit loop block"]; 94 [label="Exit loop block"];
} }
subgraph cluster_27 { subgraph cluster_27 {
color=blue color=blue
103 [label="Enter loop condition"]; 95 [label="Enter loop condition"];
104 [label="Const: Boolean(true)"]; 96 [label="Const: Boolean(true)"];
105 [label="Exit loop condition"]; 97 [label="Exit loop condition"];
} }
106 [label="Exit do-whileloop" style="filled" fillcolor=gray]; 98 [label="Exit do-whileloop" style="filled" fillcolor=gray];
} }
107 [label="Exit block" style="filled" fillcolor=gray]; 99 [label="Exit block" style="filled" fillcolor=gray];
} }
108 [label="Exit function foo" style="filled" fillcolor=red]; 100 [label="Exit function foo" style="filled" fillcolor=red];
} }
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30 59};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
@@ -218,7 +226,7 @@ digraph flow_kt {
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37};
37 -> {38 67}; 37 -> {38 50};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
@@ -226,21 +234,21 @@ digraph flow_kt {
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46 58}; 45 -> {46};
46 -> {47}; 46 -> {100};
47 -> {48}; 46 -> {47} [style=dotted];
48 -> {49}; 47 -> {48} [style=dotted];
49 -> {50}; 48 -> {49} [style=dotted];
49 -> {56} [style=dotted];
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {53};
53 -> {54}; 53 -> {54};
54 -> {108}; 54 -> {55};
54 -> {55} [style=dotted]; 55 -> {56};
55 -> {56} [style=dotted]; 56 -> {57};
56 -> {57} [style=dotted]; 57 -> {58};
57 -> {64} [style=dotted]; 58 -> {87};
58 -> {59};
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {62};
@@ -248,12 +256,12 @@ digraph flow_kt {
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {95}; 66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {72 81};
72 -> {73}; 72 -> {73};
73 -> {74}; 73 -> {74};
74 -> {75}; 74 -> {75};
@@ -261,8 +269,8 @@ digraph flow_kt {
76 -> {77}; 76 -> {77};
77 -> {78}; 77 -> {78};
78 -> {79}; 78 -> {79};
79 -> {80 89}; 79 -> {80};
80 -> {81}; 80 -> {68} [color=green style=dashed];
81 -> {82}; 81 -> {82};
82 -> {83}; 82 -> {83};
83 -> {84}; 83 -> {84};
@@ -270,7 +278,7 @@ digraph flow_kt {
85 -> {86}; 85 -> {86};
86 -> {87}; 86 -> {87};
87 -> {88}; 87 -> {88};
88 -> {76} [color=green style=dashed]; 88 -> {89};
89 -> {90}; 89 -> {90};
90 -> {91}; 90 -> {91};
91 -> {92}; 91 -> {92};
@@ -279,17 +287,9 @@ digraph flow_kt {
94 -> {95}; 94 -> {95};
95 -> {96}; 95 -> {96};
96 -> {97}; 96 -> {97};
97 -> {98}; 97 -> {89} [color=green style=dashed];
98 -> {99}; 97 -> {98} [style=dotted];
99 -> {100}; 98 -> {99} [style=dotted];
100 -> {101}; 99 -> {100} [style=dotted];
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {97} [color=green style=dashed];
105 -> {106} [style=dotted];
106 -> {107} [style=dotted];
107 -> {108} [style=dotted];
} }
@@ -57,48 +57,48 @@ digraph inPlaceLambda_kt {
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
25 [label="Enter function foo" style="filled" fillcolor=red]; 17 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
26 [label="Enter block"]; 18 [label="Enter block"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
27 [label="Enter block"]; 19 [label="Enter block"];
28 [label="Exit block"]; 20 [label="Exit block"];
} }
29 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 21 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
30 [label="Postponed enter to lambda"]; 22 [label="Postponed enter to lambda"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
35 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 23 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
36 [label="Enter block"]; 24 [label="Enter block"];
37 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 25 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
38 [label="Exit block"]; 26 [label="Exit block"];
} }
39 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 27 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
31 [label="Postponed exit from lambda"]; 28 [label="Postponed exit from lambda"];
32 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow]; 29 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
33 [label="Exit block"]; 30 [label="Exit block"];
} }
34 [label="Exit function foo" style="filled" fillcolor=red]; 31 [label="Exit function foo" style="filled" fillcolor=red];
} }
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23 28 29};
22 -> {23} [style=dashed];
23 -> {24};
24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {31 32 35}; 30 -> {31};
30 -> {35} [style=dashed];
31 -> {32};
32 -> {33};
33 -> {34};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {31};
} }
@@ -30,62 +30,62 @@ digraph simple_kt {
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
16 [label="Enter function foo" style="filled" fillcolor=red]; 8 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
17 [label="Enter block"]; 9 [label="Enter block"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
18 [label="Enter block"]; 10 [label="Enter block"];
19 [label="Exit block"]; 11 [label="Exit block"];
} }
20 [label="Access variable R|<local>/x|"]; 12 [label="Access variable R|<local>/x|"];
21 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 13 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
22 [label="Enter when"]; 14 [label="Enter when"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
23 [label="Enter when branch condition "]; 15 [label="Enter when branch condition "];
24 [label="Const: Boolean(true)"]; 16 [label="Const: Boolean(true)"];
25 [label="Exit when branch condition"]; 17 [label="Exit when branch condition"];
} }
26 [label="Synthetic else branch"]; 18 [label="Synthetic else branch"];
27 [label="Enter when branch result"]; 19 [label="Enter when branch result"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
28 [label="Enter block"]; 20 [label="Enter block"];
29 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 21 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
30 [label="Exit block"]; 22 [label="Exit block"];
} }
31 [label="Exit when branch result"]; 23 [label="Exit when branch result"];
32 [label="Exit when"]; 24 [label="Exit when"];
} }
33 [label="Access variable R|<local>/z|"]; 25 [label="Access variable R|<local>/z|"];
34 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow]; 26 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
35 [label="Exit block"]; 27 [label="Exit block"];
} }
36 [label="Exit function foo" style="filled" fillcolor=red]; 28 [label="Exit function foo" style="filled" fillcolor=red];
} }
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18 19};
18 -> {19}; 18 -> {24};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26 27}; 25 -> {26};
26 -> {32}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
} }
@@ -28,117 +28,117 @@ digraph unknown_kt {
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
15 [label="Enter function myRun" style="filled" fillcolor=red]; 7 [label="Enter function myRun" style="filled" fillcolor=red];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
16 [label="Enter block"]; 8 [label="Enter block"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
17 [label="Enter block"]; 9 [label="Enter block"];
18 [label="Exit block"]; 10 [label="Exit block"];
} }
19 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow]; 11 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
20 [label="Exit block"]; 12 [label="Exit block"];
} }
21 [label="Exit function myRun" style="filled" fillcolor=red]; 13 [label="Exit function myRun" style="filled" fillcolor=red];
} }
15 -> {16}; 7 -> {8};
16 -> {17}; 8 -> {9};
17 -> {18}; 9 -> {10};
18 -> {19}; 10 -> {11};
19 -> {20}; 11 -> {12};
20 -> {21}; 12 -> {13};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
30 [label="Enter function test_1" style="filled" fillcolor=red]; 14 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue
15 [label="Enter block"];
16 [label="Variable declaration: lval x: R|kotlin/Int|"];
17 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
19 [label="Enter block"];
20 [label="Const: Int(1)"];
21 [label="Assignment: R|<local>/x|"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
24 [label="Postponed exit from lambda"];
25 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
26 [label="Access variable R|<local>/x|"];
27 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
29 [label="Exit function test_1" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18 24 25};
17 -> {18} [style=dashed];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
24 -> {17} [color=green style=dashed];
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
subgraph cluster_10 {
color=red
30 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue color=blue
31 [label="Enter block"]; 31 [label="Enter block"];
32 [label="Variable declaration: lval x: R|kotlin/Int|"]; 32 [label="Variable declaration: lval x: R|kotlin/Int|"];
33 [label="Postponed enter to lambda"]; 33 [label="Postponed enter to lambda"];
subgraph cluster_8 { subgraph cluster_12 {
color=blue color=blue
40 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 34 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 { subgraph cluster_13 {
color=blue color=blue
41 [label="Enter block"]; 35 [label="Enter block"];
42 [label="Const: Int(1)"]; 36 [label="Const: Int(1)"];
43 [label="Assignment: R|<local>/x|"]; 37 [label="Assignment: R|<local>/x|"];
44 [label="Exit block"]; 38 [label="Exit block"];
} }
45 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
34 [label="Postponed exit from lambda"]; 40 [label="Postponed exit from lambda"];
35 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow]; 41 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
36 [label="Access variable R|<local>/x|"]; 42 [label="Access variable R|<local>/x|"];
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow]; 43 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
38 [label="Exit block"]; 44 [label="Exit block"];
} }
39 [label="Exit function test_1" style="filled" fillcolor=red]; 45 [label="Exit function test_2" style="filled" fillcolor=red];
} }
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34 35 40}; 33 -> {34 40 41};
33 -> {40} [style=dashed]; 33 -> {34} [style=dashed];
34 -> {35}; 34 -> {35};
34 -> {33} [color=green style=dashed];
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40};
40 -> {41}; 40 -> {41};
40 -> {33} [color=green style=dashed];
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {34};
subgraph cluster_10 {
color=red
46 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
47 [label="Enter block"];
48 [label="Variable declaration: lval x: R|kotlin/Int|"];
49 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
56 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
57 [label="Enter block"];
58 [label="Const: Int(1)"];
59 [label="Assignment: R|<local>/x|"];
60 [label="Exit block"];
}
61 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
50 [label="Postponed exit from lambda"];
51 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
52 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
54 [label="Exit block"];
}
55 [label="Exit function test_2" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50 51 56};
49 -> {56} [style=dashed];
50 -> {51};
50 -> {49} [color=green style=dashed];
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {50};
} }
@@ -5,20 +5,20 @@ digraph delegateWithAnonymousObject_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
3 [label="Enter class DelegateProvider" style="filled" fillcolor=red]; 0 [label="Enter class DelegateProvider" style="filled" fillcolor=red];
4 [label="Exit class DelegateProvider" style="filled" fillcolor=red]; 1 [label="Exit class DelegateProvider" style="filled" fillcolor=red];
} }
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red]; 2 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 3 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 4 [label="Exit function <init>" style="filled" fillcolor=red];
} }
3 -> {4} [color=green]; 0 -> {1} [color=green];
4 -> {0} [color=green]; 1 -> {2} [color=green];
4 -> {0} [style=dashed]; 1 -> {2} [style=dashed];
0 -> {1}; 2 -> {3};
1 -> {2}; 3 -> {4};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
@@ -46,168 +46,159 @@ digraph delegateWithAnonymousObject_kt {
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
21 [label="Enter class IssueListView" style="filled" fillcolor=red]; 14 [label="Enter class IssueListView" style="filled" fillcolor=red];
22 [label="Exit class IssueListView" style="filled" fillcolor=red]; 15 [label="Exit class IssueListView" style="filled" fillcolor=red];
} }
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
17 [label="Enter function updateFrom" style="filled" fillcolor=red]; 16 [label="Enter function updateFrom" style="filled" fillcolor=red];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
18 [label="Enter block"]; 17 [label="Enter block"];
19 [label="Exit block"]; 18 [label="Exit block"];
} }
20 [label="Exit function updateFrom" style="filled" fillcolor=red]; 19 [label="Exit function updateFrom" style="filled" fillcolor=red];
} }
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
14 [label="Enter function <init>" style="filled" fillcolor=red]; 20 [label="Enter function <init>" style="filled" fillcolor=red];
15 [label="Delegated constructor call: super<R|DelegateProvider<IssueListView>|>()" style="filled" fillcolor=yellow]; 21 [label="Delegated constructor call: super<R|DelegateProvider<IssueListView>|>()" style="filled" fillcolor=yellow];
16 [label="Exit function <init>" style="filled" fillcolor=red]; 22 [label="Exit function <init>" style="filled" fillcolor=red];
} }
21 -> {22} [color=green]; 14 -> {15} [color=green];
22 -> {14 17} [color=green]; 15 -> {16 20} [color=green];
22 -> {14 17} [style=dashed]; 15 -> {16 20} [style=dashed];
14 -> {15}; 16 -> {17};
15 -> {16};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 20 -> {21};
21 -> {22};
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
79 [label="Enter class IssuesListUserProfile" style="filled" fillcolor=red]; 23 [label="Enter class IssuesListUserProfile" style="filled" fillcolor=red];
80 [label="Part of class initialization"]; 24 [label="Part of class initialization"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
71 [label="Enter property" style="filled" fillcolor=red]; 25 [label="Enter property" style="filled" fillcolor=red];
72 [label="Postponed enter to lambda"]; 26 [label="Postponed enter to lambda"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
26 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 27 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
27 [label="Enter block"]; 28 [label="Enter block"];
28 [label="Enter anonymous object"]; 29 [label="Enter anonymous object"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
33 [label="Enter class <anonymous object>" style="filled" fillcolor=red]; 30 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
34 [label="Exit class <anonymous object>" style="filled" fillcolor=red]; 31 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
} }
29 [label="Exit anonymous object"]; 32 [label="Exit anonymous object"];
30 [label="Exit anonymous object expression"]; 33 [label="Exit anonymous object expression"];
31 [label="Exit block"]; 34 [label="Exit block"];
} }
32 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 35 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
45 [label="Enter function setValue" style="filled" fillcolor=red]; 36 [label="Enter function setValue" style="filled" fillcolor=red];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
46 [label="Enter block"]; 37 [label="Enter block"];
47 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow]; 38 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
48 [label="Access variable R|<local>/value|"]; 39 [label="Access variable R|<local>/value|"];
49 [label="Function call: R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(...)" style="filled" fillcolor=yellow]; 40 [label="Function call: R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(...)" style="filled" fillcolor=yellow];
50 [label="Jump: ^setValue R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(R|<local>/value|)"]; 41 [label="Jump: ^setValue R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(R|<local>/value|)"];
51 [label="Stub" style="filled" fillcolor=gray];
52 [label="Exit block" style="filled" fillcolor=gray];
}
53 [label="Exit function setValue" style="filled" fillcolor=red];
}
subgraph cluster_15 {
color=blue
38 [label="Enter function getValue" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
39 [label="Enter block"];
40 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
41 [label="Jump: ^getValue R|/IssueListView.IssueListView|()"];
42 [label="Stub" style="filled" fillcolor=gray]; 42 [label="Stub" style="filled" fillcolor=gray];
43 [label="Exit block" style="filled" fillcolor=gray]; 43 [label="Exit block" style="filled" fillcolor=gray];
} }
44 [label="Exit function getValue" style="filled" fillcolor=red]; 44 [label="Exit function setValue" style="filled" fillcolor=red];
}
subgraph cluster_15 {
color=blue
45 [label="Enter function getValue" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
46 [label="Enter block"];
47 [label="Function call: R|/IssueListView.IssueListView|()" style="filled" fillcolor=yellow];
48 [label="Jump: ^getValue R|/IssueListView.IssueListView|()"];
49 [label="Stub" style="filled" fillcolor=gray];
50 [label="Exit block" style="filled" fillcolor=gray];
}
51 [label="Exit function getValue" style="filled" fillcolor=red];
} }
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
35 [label="Enter function <init>" style="filled" fillcolor=red]; 52 [label="Enter function <init>" style="filled" fillcolor=red];
36 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 53 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
37 [label="Exit function <init>" style="filled" fillcolor=red]; 54 [label="Exit function <init>" style="filled" fillcolor=red];
} }
73 [label="Postponed exit from lambda"]; 55 [label="Postponed exit from lambda"];
74 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)" style="filled" fillcolor=yellow]; 56 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)" style="filled" fillcolor=yellow];
75 [label="Access variable this@R|/IssuesListUserProfile|"]; 57 [label="Access variable this@R|/IssuesListUserProfile|"];
76 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...).<Unresolved name: provideDelegate>#(...)" style="filled" fillcolor=yellow]; 58 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...).<Unresolved name: provideDelegate>#(...)" style="filled" fillcolor=yellow];
77 [label="Exit property delegate" style="filled" fillcolor=yellow]; 59 [label="Exit property delegate" style="filled" fillcolor=yellow];
78 [label="Exit property" style="filled" fillcolor=red]; 60 [label="Exit property" style="filled" fillcolor=red];
} }
81 [label="Exit class IssuesListUserProfile" style="filled" fillcolor=red]; 61 [label="Exit class IssuesListUserProfile" style="filled" fillcolor=red];
} }
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
63 [label="Enter function setter" style="filled" fillcolor=red]; 62 [label="Enter function setter" style="filled" fillcolor=red];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
64 [label="Enter block"]; 63 [label="Enter block"];
65 [label="Access variable D|/IssuesListUserProfile.issueListView|"]; 64 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
66 [label="Access variable this@R|/IssuesListUserProfile|"]; 65 [label="Access variable this@R|/IssuesListUserProfile|"];
67 [label="Access variable R|<local>/issueListView|"]; 66 [label="Access variable R|<local>/issueListView|"];
68 [label="Function call: this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.setValue: R|kotlin/Unit|>|(...)" style="filled" fillcolor=yellow]; 67 [label="Function call: this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.setValue: R|kotlin/Unit|>|(...)" style="filled" fillcolor=yellow];
69 [label="Exit block"]; 68 [label="Exit block"];
} }
70 [label="Exit function setter" style="filled" fillcolor=red]; 69 [label="Exit function setter" style="filled" fillcolor=red];
} }
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
54 [label="Enter function getter" style="filled" fillcolor=red]; 70 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
55 [label="Enter block"]; 71 [label="Enter block"];
56 [label="Access variable D|/IssuesListUserProfile.issueListView|"]; 72 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
57 [label="Access variable this@R|/IssuesListUserProfile|"]; 73 [label="Access variable this@R|/IssuesListUserProfile|"];
58 [label="Function call: this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.getValue: R|Stub (chain inference): TypeVariable(_Target)|>|(...)" style="filled" fillcolor=yellow]; 74 [label="Function call: this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.getValue: R|Stub (chain inference): TypeVariable(_Target)|>|(...)" style="filled" fillcolor=yellow];
59 [label="Jump: ^ this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.getValue: R|Stub (chain inference): TypeVariable(_Target)|>|(this@R|/IssuesListUserProfile|, ::R|/IssuesListUserProfile.issueListView|)"]; 75 [label="Jump: ^ this@R|/IssuesListUserProfile|.D|/IssuesListUserProfile.issueListView|.R|SubstitutionOverride<kotlin/properties/ReadWriteProperty.getValue: R|Stub (chain inference): TypeVariable(_Target)|>|(this@R|/IssuesListUserProfile|, ::R|/IssuesListUserProfile.issueListView|)"];
60 [label="Stub" style="filled" fillcolor=gray]; 76 [label="Stub" style="filled" fillcolor=gray];
61 [label="Exit block" style="filled" fillcolor=gray]; 77 [label="Exit block" style="filled" fillcolor=gray];
} }
62 [label="Exit function getter" style="filled" fillcolor=red]; 78 [label="Exit function getter" style="filled" fillcolor=red];
} }
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
23 [label="Enter function <init>" style="filled" fillcolor=red]; 79 [label="Enter function <init>" style="filled" fillcolor=red];
24 [label="Delegated constructor call: super<R|DelegateProvider<IssuesListUserProfile>|>()" style="filled" fillcolor=yellow]; 80 [label="Delegated constructor call: super<R|DelegateProvider<IssuesListUserProfile>|>()" style="filled" fillcolor=yellow];
25 [label="Exit function <init>" style="filled" fillcolor=red]; 81 [label="Exit function <init>" style="filled" fillcolor=red];
} }
79 -> {80} [color=green]; 23 -> {24} [color=green];
80 -> {71} [color=green]; 24 -> {25} [color=green];
80 -> {81} [style=dotted]; 24 -> {61} [style=dotted];
80 -> {71} [style=dashed]; 24 -> {25} [style=dashed];
81 -> {23 54 63} [color=green]; 25 -> {26};
81 -> {23 54 63} [style=dashed]; 26 -> {27 55 56};
71 -> {72}; 26 -> {27} [style=dashed];
72 -> {26 73 74};
72 -> {26} [style=dashed];
73 -> {74} [color=green];
73 -> {77} [color=red];
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {81} [color=green];
26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {33}; 28 -> {29};
28 -> {29} [color=red];
28 -> {33} [style=dashed];
29 -> {30}; 29 -> {30};
30 -> {31}; 29 -> {32} [color=red];
31 -> {32}; 29 -> {30} [style=dashed];
33 -> {34} [color=green]; 30 -> {31} [color=green];
33 -> {35 38 45} [color=red]; 30 -> {36 45 52} [color=red];
34 -> {29 35 38 45} [color=green]; 31 -> {32 36 45 52} [color=green];
34 -> {35 38 45} [style=dashed]; 31 -> {36 45 52} [style=dashed];
35 -> {36}; 32 -> {33};
33 -> {34};
34 -> {35};
36 -> {37}; 36 -> {37};
37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
@@ -218,29 +209,38 @@ digraph delegateWithAnonymousObject_kt {
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {51};
49 -> {50}; 48 -> {49} [style=dotted];
50 -> {53}; 49 -> {50} [style=dotted];
50 -> {51} [style=dotted]; 50 -> {51} [style=dotted];
51 -> {52} [style=dotted]; 52 -> {53};
52 -> {53} [style=dotted]; 53 -> {54};
23 -> {24}; 55 -> {56} [color=green];
24 -> {25}; 55 -> {59} [color=red];
54 -> {55};
55 -> {56};
56 -> {57}; 56 -> {57};
57 -> {58}; 57 -> {58};
58 -> {59}; 58 -> {59};
59 -> {62}; 59 -> {60};
59 -> {60} [style=dotted]; 60 -> {61} [color=green];
60 -> {61} [style=dotted]; 61 -> {62 70 79} [color=green];
61 -> {62} [style=dotted]; 61 -> {62 70 79} [style=dashed];
62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {78};
75 -> {76} [style=dotted];
76 -> {77} [style=dotted];
77 -> {78} [style=dotted];
79 -> {80};
80 -> {81};
} }
@@ -17,20 +17,20 @@ digraph plusAssignWithLambdaInRhs_kt {
7 [label="Postponed enter to lambda" style="filled" fillcolor=gray]; 7 [label="Postponed enter to lambda" style="filled" fillcolor=gray];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
12 [label="Enter function anonymousFunction" style="filled" fillcolor=gray]; 8 [label="Enter function anonymousFunction" style="filled" fillcolor=gray];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
13 [label="Enter block" style="filled" fillcolor=gray]; 9 [label="Enter block" style="filled" fillcolor=gray];
14 [label="Access variable R|<local>/it|" style="filled" fillcolor=gray]; 10 [label="Access variable R|<local>/it|" style="filled" fillcolor=gray];
15 [label="Exit block" style="filled" fillcolor=gray]; 11 [label="Exit block" style="filled" fillcolor=gray];
} }
16 [label="Exit function anonymousFunction" style="filled" fillcolor=gray]; 12 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
} }
8 [label="Postponed exit from lambda" style="filled" fillcolor=gray]; 13 [label="Postponed exit from lambda" style="filled" fillcolor=gray];
9 [label="Function call: R|<local>/list|.R|kotlin/collections/plusAssign|<R|(kotlin/String) -> kotlin/String|>(...)" style="filled" fillcolor=gray]; 14 [label="Function call: R|<local>/list|.R|kotlin/collections/plusAssign|<R|(kotlin/String) -> kotlin/String|>(...)" style="filled" fillcolor=gray];
10 [label="Exit block" style="filled" fillcolor=gray]; 15 [label="Exit block" style="filled" fillcolor=gray];
} }
11 [label="Exit function test" style="filled" fillcolor=gray]; 16 [label="Exit function test" style="filled" fillcolor=gray];
} }
0 -> {1}; 0 -> {1};
1 -> {2}; 1 -> {2};
@@ -39,45 +39,45 @@ digraph plusAssignWithLambdaInRhs_kt {
4 -> {5} [style=dotted]; 4 -> {5} [style=dotted];
5 -> {6} [style=dotted]; 5 -> {6} [style=dotted];
6 -> {7} [style=dotted]; 6 -> {7} [style=dotted];
7 -> {8 9 12} [style=dotted]; 7 -> {8 13 14} [style=dotted];
7 -> {12} [style=dashed]; 7 -> {8} [style=dashed];
8 -> {9} [style=dotted]; 8 -> {9} [style=dotted];
9 -> {10} [style=dotted]; 9 -> {10} [style=dotted];
10 -> {11} [style=dotted]; 10 -> {11} [style=dotted];
12 -> {13} [style=dotted]; 11 -> {12} [style=dotted];
13 -> {14} [style=dotted]; 13 -> {14} [style=dotted];
14 -> {15} [style=dotted]; 14 -> {15} [style=dotted];
15 -> {16} [style=dotted]; 15 -> {16} [style=dotted];
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
23 [label="Enter class A" style="filled" fillcolor=red]; 17 [label="Enter class A" style="filled" fillcolor=red];
24 [label="Part of class initialization"]; 18 [label="Part of class initialization"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
20 [label="Enter property" style="filled" fillcolor=red]; 19 [label="Enter property" style="filled" fillcolor=red];
21 [label="Access variable R|<local>/executor|"]; 20 [label="Access variable R|<local>/executor|"];
22 [label="Exit property" style="filled" fillcolor=red]; 21 [label="Exit property" style="filled" fillcolor=red];
} }
25 [label="Exit class A" style="filled" fillcolor=red]; 22 [label="Exit class A" style="filled" fillcolor=red];
} }
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
17 [label="Enter function <init>" style="filled" fillcolor=red]; 23 [label="Enter function <init>" style="filled" fillcolor=red];
18 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow]; 24 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
19 [label="Exit function <init>" style="filled" fillcolor=red]; 25 [label="Exit function <init>" style="filled" fillcolor=red];
} }
23 -> {24} [color=green]; 17 -> {18} [color=green];
24 -> {20} [color=green]; 18 -> {19} [color=green];
24 -> {25} [style=dotted]; 18 -> {22} [style=dotted];
24 -> {20} [style=dashed]; 18 -> {19} [style=dashed];
25 -> {17} [color=green]; 19 -> {20};
25 -> {17} [style=dashed];
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22} [color=green];
22 -> {25} [color=green]; 22 -> {23} [color=green];
17 -> {18}; 22 -> {23} [style=dashed];
18 -> {19}; 23 -> {24};
24 -> {25};
subgraph cluster_7 { subgraph cluster_7 {
color=red color=red
@@ -90,23 +90,23 @@ digraph plusAssignWithLambdaInRhs_kt {
30 [label="Postponed enter to lambda"]; 30 [label="Postponed enter to lambda"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
37 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 31 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
38 [label="Enter block"]; 32 [label="Enter block"];
39 [label="Access variable R|<local>/queue|"]; 33 [label="Access variable R|<local>/queue|"];
40 [label="Postponed enter to lambda"]; 34 [label="Postponed enter to lambda"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
45 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 35 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
46 [label="Enter block"]; 36 [label="Enter block"];
47 [label="Function call: R|<local>/computation|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()" style="filled" fillcolor=yellow]; 37 [label="Function call: R|<local>/computation|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()" style="filled" fillcolor=yellow];
48 [label="Function call: R|<local>/resolve|.R|SubstitutionOverride<kotlin/Function1.invoke: R|kotlin/Unit|>|(...)" style="filled" fillcolor=yellow]; 38 [label="Function call: R|<local>/resolve|.R|SubstitutionOverride<kotlin/Function1.invoke: R|kotlin/Unit|>|(...)" style="filled" fillcolor=yellow];
49 [label="Exit block"]; 39 [label="Exit block"];
} }
50 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 40 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
41 [label="Postponed exit from lambda"]; 41 [label="Postponed exit from lambda"];
42 [label="Function call: R|<local>/queue|.R|kotlin/collections/plusAssign|<R|() -> kotlin/Unit|>(...)" style="filled" fillcolor=yellow]; 42 [label="Function call: R|<local>/queue|.R|kotlin/collections/plusAssign|<R|() -> kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
@@ -114,44 +114,44 @@ digraph plusAssignWithLambdaInRhs_kt {
} }
44 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 44 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
31 [label="Postponed exit from lambda"]; 45 [label="Postponed exit from lambda"];
32 [label="Function call: R|/A.A|<R|T|>(...)" style="filled" fillcolor=yellow]; 46 [label="Function call: R|/A.A|<R|T|>(...)" style="filled" fillcolor=yellow];
33 [label="Jump: ^postpone R|/A.A|<R|T|>(<L> = A@fun <anonymous>(resolve: R|(T) -> kotlin/Unit|): R|kotlin/Unit| <inline=NoInline> { 47 [label="Jump: ^postpone R|/A.A|<R|T|>(<L> = A@fun <anonymous>(resolve: R|(T) -> kotlin/Unit|): R|kotlin/Unit| <inline=NoInline> {
R|<local>/queue|.R|kotlin/collections/plusAssign|<R|() -> kotlin/Unit|>(A@fun <anonymous>(): R|kotlin/Unit| <inline=Inline> { R|<local>/queue|.R|kotlin/collections/plusAssign|<R|() -> kotlin/Unit|>(A@fun <anonymous>(): R|kotlin/Unit| <inline=Inline> {
R|<local>/resolve|.R|SubstitutionOverride<kotlin/Function1.invoke: R|kotlin/Unit|>|(R|<local>/computation|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|()) R|<local>/resolve|.R|SubstitutionOverride<kotlin/Function1.invoke: R|kotlin/Unit|>|(R|<local>/computation|.R|SubstitutionOverride<kotlin/Function0.invoke: R|T|>|())
} }
) )
} }
)"]; )"];
34 [label="Stub" style="filled" fillcolor=gray]; 48 [label="Stub" style="filled" fillcolor=gray];
35 [label="Exit block" style="filled" fillcolor=gray]; 49 [label="Exit block" style="filled" fillcolor=gray];
} }
36 [label="Exit function postpone" style="filled" fillcolor=red]; 50 [label="Exit function postpone" style="filled" fillcolor=red];
} }
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {31 32 37}; 30 -> {31 45 46};
30 -> {37} [style=dashed]; 30 -> {31} [style=dashed];
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {36}; 33 -> {34};
33 -> {34} [style=dotted]; 34 -> {35 41 42};
34 -> {35} [style=dotted]; 34 -> {35} [style=dashed];
35 -> {36} [style=dotted]; 35 -> {36};
36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41 42 45};
40 -> {45} [style=dashed];
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {50};
48 -> {49}; 47 -> {48} [style=dotted];
49 -> {50}; 48 -> {49} [style=dotted];
49 -> {50} [style=dotted];
} }
@@ -57,34 +57,34 @@ digraph tryWithLambdaInside_kt {
17 [label="Postponed enter to lambda"]; 17 [label="Postponed enter to lambda"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
31 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
32 [label="Enter block"]; 19 [label="Enter block"];
33 [label="Access variable R|<local>/it|"]; 20 [label="Access variable R|<local>/it|"];
34 [label="Exit block"]; 21 [label="Exit block"];
} }
35 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 22 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
18 [label="Postponed exit from lambda"]; 23 [label="Postponed exit from lambda"];
19 [label="Function call: R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(...)" style="filled" fillcolor=yellow]; 24 [label="Function call: R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(...)" style="filled" fillcolor=yellow];
20 [label="Exit block"]; 25 [label="Exit block"];
} }
21 [label="Try main block exit"]; 26 [label="Try main block exit"];
} }
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
22 [label="Enter finally"]; 27 [label="Enter finally"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
23 [label="Enter block"]; 28 [label="Enter block"];
24 [label="Exit block"]; 29 [label="Exit block"];
} }
25 [label="Exit finally"]; 30 [label="Exit finally"];
} }
26 [label="Try expression exit"]; 31 [label="Try expression exit"];
} }
27 [label="Jump: ^testInPlace try { 32 [label="Jump: ^testInPlace try {
R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(<L> = filter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| <inline=Inline, kind=UNKNOWN> { R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(<L> = filter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| <inline=Inline, kind=UNKNOWN> {
^ R|<local>/it| ^ R|<local>/it|
} }
@@ -93,39 +93,39 @@ digraph tryWithLambdaInside_kt {
finally { finally {
} }
"]; "];
28 [label="Stub" style="filled" fillcolor=gray]; 33 [label="Stub" style="filled" fillcolor=gray];
29 [label="Exit block" style="filled" fillcolor=gray]; 34 [label="Exit block" style="filled" fillcolor=gray];
} }
30 [label="Exit function testInPlace" style="filled" fillcolor=red]; 35 [label="Exit function testInPlace" style="filled" fillcolor=red];
} }
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {14};
13 -> {22} [label="onUncaughtException"]; 13 -> {27} [label="onUncaughtException"];
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {18 19 31}; 17 -> {18 23 24};
17 -> {31} [style=dashed]; 17 -> {18} [style=dashed];
18 -> {19}; 18 -> {19};
18 -> {17} [color=green style=dashed];
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
23 -> {17} [color=green style=dashed];
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {30}; 27 -> {28};
27 -> {28} [style=dotted]; 28 -> {29};
28 -> {29} [style=dotted]; 29 -> {30};
29 -> {30} [style=dotted]; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {35};
33 -> {34}; 32 -> {33} [style=dotted];
34 -> {35}; 33 -> {34} [style=dotted];
35 -> {18}; 34 -> {35} [style=dotted];
subgraph cluster_13 { subgraph cluster_13 {
color=red color=red
@@ -146,34 +146,34 @@ finally {
42 [label="Postponed enter to lambda"]; 42 [label="Postponed enter to lambda"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
56 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 43 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
57 [label="Enter block"]; 44 [label="Enter block"];
58 [label="Access variable R|<local>/it|"]; 45 [label="Access variable R|<local>/it|"];
59 [label="Exit block"]; 46 [label="Exit block"];
} }
60 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 47 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
} }
43 [label="Postponed exit from lambda"]; 48 [label="Postponed exit from lambda"];
44 [label="Function call: R|<local>/list|.R|/notInPlaceFilter|<R|kotlin/Boolean|>(...)" style="filled" fillcolor=yellow]; 49 [label="Function call: R|<local>/list|.R|/notInPlaceFilter|<R|kotlin/Boolean|>(...)" style="filled" fillcolor=yellow];
45 [label="Exit block"]; 50 [label="Exit block"];
} }
46 [label="Try main block exit"]; 51 [label="Try main block exit"];
} }
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
47 [label="Enter finally"]; 52 [label="Enter finally"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
48 [label="Enter block"]; 53 [label="Enter block"];
49 [label="Exit block"]; 54 [label="Exit block"];
} }
50 [label="Exit finally"]; 55 [label="Exit finally"];
} }
51 [label="Try expression exit"]; 56 [label="Try expression exit"];
} }
52 [label="Jump: ^testNotInPlace try { 57 [label="Jump: ^testNotInPlace try {
R|<local>/list|.R|/notInPlaceFilter|<R|kotlin/Boolean|>(<L> = notInPlaceFilter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| <inline=NoInline> { R|<local>/list|.R|/notInPlaceFilter|<R|kotlin/Boolean|>(<L> = notInPlaceFilter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| <inline=NoInline> {
^ R|<local>/it| ^ R|<local>/it|
} }
@@ -182,36 +182,36 @@ finally {
finally { finally {
} }
"]; "];
53 [label="Stub" style="filled" fillcolor=gray]; 58 [label="Stub" style="filled" fillcolor=gray];
54 [label="Exit block" style="filled" fillcolor=gray]; 59 [label="Exit block" style="filled" fillcolor=gray];
} }
55 [label="Exit function testNotInPlace" style="filled" fillcolor=red]; 60 [label="Exit function testNotInPlace" style="filled" fillcolor=red];
} }
36 -> {37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
38 -> {47} [label="onUncaughtException"]; 38 -> {52} [label="onUncaughtException"];
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43 44 56}; 42 -> {43 48 49};
42 -> {56} [style=dashed]; 42 -> {43} [style=dashed];
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {55}; 52 -> {53};
52 -> {53} [style=dotted]; 53 -> {54};
53 -> {54} [style=dotted]; 54 -> {55};
54 -> {55} [style=dotted]; 55 -> {56};
56 -> {57}; 56 -> {57};
57 -> {58}; 57 -> {60};
58 -> {59}; 57 -> {58} [style=dotted];
59 -> {60}; 58 -> {59} [style=dotted];
59 -> {60} [style=dotted];
} }
@@ -32,10 +32,6 @@ class FirControlFlowGraphRenderVisitor(
private var nodeCounter = 0 private var nodeCounter = 0
private var clusterCounter = 0 private var clusterCounter = 0
private val indices = mutableMapOf<CFGNode<*>, Int>()
private val topLevelGraphs = mutableSetOf<ControlFlowGraph>()
private val allGraphs = mutableSetOf<ControlFlowGraph>()
override fun visitFile(file: FirFile) { override fun visitFile(file: FirFile) {
var name = file.name.replace(".", "_") var name = file.name.replace(".", "_")
@@ -50,28 +46,14 @@ class FirControlFlowGraphRenderVisitor(
.println("edge [penwidth=2]") .println("edge [penwidth=2]")
.println() .println()
visitElement(file) visitElement(file)
for (topLevelGraph in topLevelGraphs) {
printer.renderNodes(topLevelGraph)
printer.renderEdges(topLevelGraph)
printer.println()
}
printer printer
.popIndent() .popIndent()
.println("}") .println("}")
} }
private fun ControlFlowGraph.collectNodes() { private fun Printer.renderNodes(nodes: Map<CFGNode<*>, Int>) {
for (node in nodes) {
indices[node] = nodeCounter++
}
}
private fun Printer.renderNodes(graph: ControlFlowGraph) {
var color = RED var color = RED
val sortedNodes = graph.sortedNodes() for ((node, index) in nodes) {
for (node in sortedNodes) {
if (node is EnterNodeMarker) { if (node is EnterNodeMarker) {
enterCluster(color) enterCluster(color)
color = BLUE color = BLUE
@@ -94,7 +76,7 @@ class FirControlFlowGraphRenderVisitor(
attributes += "style=\"filled\"" attributes += "style=\"filled\""
attributes += "fillcolor=$it" attributes += "fillcolor=$it"
} }
println(indices.getValue(node), attributes.joinToString(separator = " ", prefix = " [", postfix = "];")) println(index, attributes.joinToString(separator = " ", prefix = " [", postfix = "];"))
if (node is ExitNodeMarker) { if (node is ExitNodeMarker) {
exitCluster() exitCluster()
} }
@@ -116,26 +98,23 @@ class FirControlFlowGraphRenderVisitor(
label.label?.let { "label=\"$it\"" } label.label?.let { "label=\"$it\"" }
).ifEmpty { null }?.joinToString(prefix = "[", separator = " ", postfix = "]") ).ifEmpty { null }?.joinToString(prefix = "[", separator = " ", postfix = "]")
private fun Printer.renderEdges(graph: ControlFlowGraph) { private fun Printer.renderEdges(nodes: Map<CFGNode<*>, Int>) {
for (node in graph.nodes) { for ((node, index) in nodes) {
for ((style, group) in node.followingNodes.groupBy { node.edgeTo(it).style }.entries.sortedBy { it.key }) { for ((style, group) in node.followingNodes.groupBy { node.edgeTo(it).style }.entries.sortedBy { it.key }) {
val mappedGroup = group.map { indices.getValue(it) }.sorted() val mappedGroup = group.map { nodes.getValue(it) }.sorted()
print(indices.getValue(node), EDGE, mappedGroup.joinToString(prefix = "{", postfix = "}", separator = " ")) print(index, EDGE, mappedGroup.joinToString(prefix = "{", postfix = "}", separator = " "))
style?.let { printWithNoIndent(" $it") } style?.let { printWithNoIndent(" $it") }
printlnWithNoIndent(";") printlnWithNoIndent(";")
} }
if (node is CFGNodeWithSubgraphs<*>) { if (node is CFGNodeWithSubgraphs<*>) {
val subNodes = node.subGraphs.mapNotNull { indices[it.enterNode] }.sorted() val subNodes = node.subGraphs.mapNotNull { nodes[it.enterNode] }.sorted()
if (subNodes.isNotEmpty()) { if (subNodes.isNotEmpty()) {
print(indices.getValue(node), EDGE, subNodes.joinToString(prefix = "{", postfix = "}", separator = " ")) print(index, EDGE, subNodes.joinToString(prefix = "{", postfix = "}", separator = " "))
printlnWithNoIndent(" [style=dashed];") printlnWithNoIndent(" [style=dashed];")
} }
} }
} }
for (subGraph in graph.subGraphs) {
renderEdges(subGraph)
}
} }
override fun visitElement(element: FirElement) { override fun visitElement(element: FirElement) {
@@ -144,19 +123,15 @@ class FirControlFlowGraphRenderVisitor(
override fun visitControlFlowGraphReference(controlFlowGraphReference: FirControlFlowGraphReference) { override fun visitControlFlowGraphReference(controlFlowGraphReference: FirControlFlowGraphReference) {
val controlFlowGraph = (controlFlowGraphReference as? FirControlFlowGraphReferenceImpl)?.controlFlowGraph ?: return val controlFlowGraph = (controlFlowGraphReference as? FirControlFlowGraphReferenceImpl)?.controlFlowGraph ?: return
initializeNodes(controlFlowGraph) if (controlFlowGraph.isSubGraph) return
}
private fun initializeNodes(graph: ControlFlowGraph) { // TODO: nodes are already in a topological order, but grouping nodes into clusters requires something more.
if (graph in allGraphs) return // But what exactly? And is there a way to do `renderNodes` differently so that any topological order is ok?
graph.collectNodes() val nodes = DFS.topologicalOrder(listOf(controlFlowGraph.enterNode)) { it.followingNodes }
if (!graph.isSubGraph) { .associateWithTo(linkedMapOf()) { nodeCounter++ }
topLevelGraphs += graph printer.renderNodes(nodes)
} printer.renderEdges(nodes)
allGraphs += graph printer.println()
for (subGraph in graph.subGraphs) {
initializeNodes(subGraph)
}
} }
private fun Printer.enterCluster(color: String) { private fun Printer.enterCluster(color: String) {
@@ -170,29 +145,3 @@ class FirControlFlowGraphRenderVisitor(
println("}") println("}")
} }
} }
private fun ControlFlowGraph.sortedNodes(): List<CFGNode<*>> {
val nodesToSort = nodes.filterTo(mutableListOf()) { it != enterNode }
val graphs = mutableSetOf(this)
forEachSubGraph {
nodesToSort += it.nodes
graphs += it
}
val topologicalOrder = DFS.topologicalOrder(nodesToSort) {
val result = if (it !is WhenBranchConditionExitNode || it.followingNodes.size < 2) {
it.followingNodes
} else {
it.followingNodes.sortedBy { node -> if (node is BlockEnterNode) 1 else 0 }
}.filter { node -> node.owner in graphs }
result
}
return listOf(enterNode) + topologicalOrder
}
private fun ControlFlowGraph.forEachSubGraph(block: (ControlFlowGraph) -> Unit) {
for (subGraph in subGraphs) {
block(subGraph)
subGraph.forEachSubGraph(block)
}
}
File diff suppressed because it is too large Load Diff