[FIR] Add control flow graph to inplace lambdas
This commit is contained in:
+164
-164
@@ -78,31 +78,31 @@ digraph flowFromInplaceLambda_kt {
|
|||||||
27 [label="Postponed enter to lambda"];
|
27 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_6 {
|
subgraph cluster_6 {
|
||||||
color=blue
|
color=blue
|
||||||
29 [label="Enter function anonymousFunction"];
|
33 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
31 [label="Access variable R|<local>/x|"];
|
35 [label="Access variable R|<local>/x|"];
|
||||||
32 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
|
36 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
|
||||||
30 [label="Exit function anonymousFunction"];
|
34 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
34 [label="Call arguments union" style="filled" fillcolor=yellow];
|
30 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
28 [label="Postponed exit from lambda"];
|
28 [label="Postponed exit from lambda"];
|
||||||
33 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
|
29 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
|
||||||
35 [label="Access variable R|<local>/x|"];
|
31 [label="Access variable R|<local>/x|"];
|
||||||
36 [label="Function call: R|/takeInt|(...)"];
|
32 [label="Function call: R|/takeInt|(...)"];
|
||||||
26 [label="Exit function test_1" style="filled" fillcolor=red];
|
26 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
25 -> {27};
|
25 -> {27};
|
||||||
27 -> {29};
|
27 -> {33};
|
||||||
27 -> {28} [color=red];
|
27 -> {28} [color=red];
|
||||||
28 -> {33} [color=green];
|
28 -> {29} [color=green];
|
||||||
29 -> {31};
|
29 -> {31};
|
||||||
30 -> {28} [color=green];
|
30 -> {29} [color=red];
|
||||||
30 -> {34} [color=red];
|
|
||||||
31 -> {32};
|
31 -> {32};
|
||||||
32 -> {30};
|
32 -> {26};
|
||||||
33 -> {35};
|
33 -> {35};
|
||||||
34 -> {33} [color=red];
|
34 -> {28} [color=green];
|
||||||
|
34 -> {30} [color=red];
|
||||||
35 -> {36};
|
35 -> {36};
|
||||||
36 -> {26};
|
36 -> {34};
|
||||||
|
|
||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=red
|
color=red
|
||||||
@@ -110,80 +110,80 @@ digraph flowFromInplaceLambda_kt {
|
|||||||
39 [label="Postponed enter to lambda"];
|
39 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=blue
|
color=blue
|
||||||
41 [label="Enter function anonymousFunction"];
|
58 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
43 [label="Access variable R|<local>/y|"];
|
60 [label="Access variable R|<local>/y|"];
|
||||||
44 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"];
|
61 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"];
|
||||||
45 [label="Access variable R|<local>/x|"];
|
62 [label="Access variable R|<local>/x|"];
|
||||||
46 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
|
63 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
|
||||||
42 [label="Exit function anonymousFunction"];
|
59 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
40 [label="Postponed exit from lambda"];
|
40 [label="Postponed exit from lambda"];
|
||||||
47 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
|
41 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
|
||||||
49 [label="Call arguments union" style="filled" fillcolor=yellow];
|
43 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
48 [label="Function call: R|/id|<R|kotlin/Int|>(...)"];
|
42 [label="Function call: R|/id|<R|kotlin/Int|>(...)"];
|
||||||
50 [label="Access variable R|<local>/y|"];
|
44 [label="Access variable R|<local>/y|"];
|
||||||
51 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"];
|
45 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"];
|
||||||
52 [label="Postponed enter to lambda"];
|
46 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_9 {
|
subgraph cluster_9 {
|
||||||
color=blue
|
color=blue
|
||||||
54 [label="Enter function anonymousFunction"];
|
64 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
56 [label="Access variable R|<local>/x|"];
|
66 [label="Access variable R|<local>/x|"];
|
||||||
57 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
67 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||||
58 [label="Access variable R|<local>/y|"];
|
68 [label="Access variable R|<local>/y|"];
|
||||||
59 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
|
69 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
|
||||||
60 [label="Const: Int(1)"];
|
70 [label="Const: Int(1)"];
|
||||||
55 [label="Exit function anonymousFunction"];
|
65 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
53 [label="Postponed exit from lambda"];
|
47 [label="Postponed exit from lambda"];
|
||||||
61 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
|
48 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
|
||||||
63 [label="Call arguments union" style="filled" fillcolor=yellow];
|
50 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
62 [label="Function call: R|/select|<R|kotlin/Int|>(...)"];
|
49 [label="Function call: R|/select|<R|kotlin/Int|>(...)"];
|
||||||
64 [label="Variable declaration: lval a: R|kotlin/Int|"];
|
51 [label="Variable declaration: lval a: R|kotlin/Int|"];
|
||||||
65 [label="Access variable R|<local>/x|"];
|
52 [label="Access variable R|<local>/x|"];
|
||||||
66 [label="Function call: R|/takeInt|(...)"];
|
53 [label="Function call: R|/takeInt|(...)"];
|
||||||
67 [label="Access variable R|<local>/y|"];
|
54 [label="Access variable R|<local>/y|"];
|
||||||
68 [label="Function call: R|/takeInt|(...)"];
|
55 [label="Function call: R|/takeInt|(...)"];
|
||||||
69 [label="Access variable R|<local>/a|"];
|
56 [label="Access variable R|<local>/a|"];
|
||||||
70 [label="Function call: R|/takeInt|(...)"];
|
57 [label="Function call: R|/takeInt|(...)"];
|
||||||
38 [label="Exit function test_2" style="filled" fillcolor=red];
|
38 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
37 -> {39};
|
37 -> {39};
|
||||||
39 -> {41};
|
39 -> {58};
|
||||||
39 -> {40} [color=red];
|
39 -> {40} [color=red];
|
||||||
40 -> {47};
|
40 -> {41};
|
||||||
41 -> {43};
|
41 -> {43};
|
||||||
42 -> {40} [color=green];
|
42 -> {44};
|
||||||
42 -> {49} [color=red];
|
43 -> {42};
|
||||||
43 -> {44};
|
|
||||||
44 -> {45};
|
44 -> {45};
|
||||||
45 -> {46};
|
45 -> {46};
|
||||||
46 -> {42};
|
46 -> {64};
|
||||||
47 -> {49};
|
46 -> {47} [color=red];
|
||||||
|
47 -> {48};
|
||||||
48 -> {50};
|
48 -> {50};
|
||||||
49 -> {48};
|
49 -> {51};
|
||||||
50 -> {51};
|
50 -> {49};
|
||||||
51 -> {52};
|
51 -> {52};
|
||||||
52 -> {54};
|
52 -> {53};
|
||||||
52 -> {53} [color=red];
|
53 -> {54};
|
||||||
53 -> {61};
|
54 -> {55};
|
||||||
54 -> {56};
|
55 -> {56};
|
||||||
55 -> {53} [color=green];
|
|
||||||
55 -> {63} [color=red];
|
|
||||||
56 -> {57};
|
56 -> {57};
|
||||||
57 -> {58};
|
57 -> {38};
|
||||||
58 -> {59};
|
58 -> {60};
|
||||||
59 -> {60};
|
59 -> {40} [color=green];
|
||||||
60 -> {55};
|
59 -> {43} [color=red];
|
||||||
61 -> {63};
|
60 -> {61};
|
||||||
62 -> {64};
|
61 -> {62};
|
||||||
63 -> {62};
|
62 -> {63};
|
||||||
64 -> {65};
|
63 -> {59};
|
||||||
65 -> {66};
|
64 -> {66};
|
||||||
|
65 -> {47} [color=green];
|
||||||
|
65 -> {50} [color=red];
|
||||||
66 -> {67};
|
66 -> {67};
|
||||||
67 -> {68};
|
67 -> {68};
|
||||||
68 -> {69};
|
68 -> {69};
|
||||||
69 -> {70};
|
69 -> {70};
|
||||||
70 -> {38};
|
70 -> {65};
|
||||||
|
|
||||||
subgraph cluster_10 {
|
subgraph cluster_10 {
|
||||||
color=red
|
color=red
|
||||||
@@ -191,80 +191,80 @@ digraph flowFromInplaceLambda_kt {
|
|||||||
73 [label="Postponed enter to lambda"];
|
73 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_11 {
|
subgraph cluster_11 {
|
||||||
color=blue
|
color=blue
|
||||||
75 [label="Enter function anonymousFunction"];
|
89 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
77 [label="Access variable R|<local>/y|"];
|
91 [label="Access variable R|<local>/y|"];
|
||||||
78 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"];
|
92 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"];
|
||||||
79 [label="Access variable R|<local>/x|"];
|
93 [label="Access variable R|<local>/x|"];
|
||||||
80 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
|
94 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
|
||||||
81 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
|
95 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
|
||||||
76 [label="Exit function anonymousFunction"];
|
90 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
74 [label="Postponed exit from lambda"];
|
74 [label="Postponed exit from lambda"];
|
||||||
82 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
|
75 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
|
||||||
83 [label="Function call: R|/id|<R|kotlin/Int|>(...)"];
|
76 [label="Function call: R|/id|<R|kotlin/Int|>(...)"];
|
||||||
84 [label="Postponed enter to lambda"];
|
77 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_12 {
|
subgraph cluster_12 {
|
||||||
color=blue
|
color=blue
|
||||||
86 [label="Enter function anonymousFunction"];
|
96 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
88 [label="Access variable R|<local>/y|"];
|
98 [label="Access variable R|<local>/y|"];
|
||||||
89 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"];
|
99 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"];
|
||||||
90 [label="Access variable R|<local>/x|"];
|
100 [label="Access variable R|<local>/x|"];
|
||||||
91 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()"];
|
101 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()"];
|
||||||
92 [label="Access variable R|<local>/y|"];
|
102 [label="Access variable R|<local>/y|"];
|
||||||
93 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
|
103 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
|
||||||
94 [label="Const: Int(1)"];
|
104 [label="Const: Int(1)"];
|
||||||
87 [label="Exit function anonymousFunction"];
|
97 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
85 [label="Postponed exit from lambda"];
|
78 [label="Postponed exit from lambda"];
|
||||||
95 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
|
79 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
|
||||||
97 [label="Call arguments union" style="filled" fillcolor=yellow];
|
81 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
96 [label="Function call: R|/select|<R|kotlin/Int|>(...)"];
|
80 [label="Function call: R|/select|<R|kotlin/Int|>(...)"];
|
||||||
98 [label="Variable declaration: lval a: R|kotlin/Int|"];
|
82 [label="Variable declaration: lval a: R|kotlin/Int|"];
|
||||||
99 [label="Access variable R|<local>/x|"];
|
83 [label="Access variable R|<local>/x|"];
|
||||||
100 [label="Function call: R|/takeInt|(...)"];
|
84 [label="Function call: R|/takeInt|(...)"];
|
||||||
101 [label="Access variable R|<local>/y|"];
|
85 [label="Access variable R|<local>/y|"];
|
||||||
102 [label="Function call: R|/takeInt|(...)"];
|
86 [label="Function call: R|/takeInt|(...)"];
|
||||||
103 [label="Access variable R|<local>/a|"];
|
87 [label="Access variable R|<local>/a|"];
|
||||||
104 [label="Function call: R|/takeInt|(...)"];
|
88 [label="Function call: R|/takeInt|(...)"];
|
||||||
72 [label="Exit function test_3" style="filled" fillcolor=red];
|
72 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
71 -> {73};
|
71 -> {73};
|
||||||
73 -> {75};
|
73 -> {89};
|
||||||
73 -> {74} [color=red];
|
73 -> {74} [color=red];
|
||||||
74 -> {82};
|
74 -> {75};
|
||||||
75 -> {77};
|
75 -> {76};
|
||||||
76 -> {74} [color=green];
|
76 -> {77};
|
||||||
76 -> {97} [color=red];
|
77 -> {96};
|
||||||
77 -> {78};
|
77 -> {78} [color=red];
|
||||||
78 -> {79};
|
78 -> {79};
|
||||||
79 -> {80};
|
79 -> {81};
|
||||||
80 -> {81};
|
80 -> {82};
|
||||||
81 -> {76};
|
81 -> {80};
|
||||||
82 -> {83};
|
82 -> {83};
|
||||||
83 -> {84};
|
83 -> {84};
|
||||||
84 -> {86};
|
84 -> {85};
|
||||||
84 -> {85} [color=red];
|
85 -> {86};
|
||||||
85 -> {95};
|
86 -> {87};
|
||||||
86 -> {88};
|
87 -> {88};
|
||||||
87 -> {85} [color=green];
|
88 -> {72};
|
||||||
87 -> {97} [color=red];
|
89 -> {91};
|
||||||
88 -> {89};
|
90 -> {74} [color=green];
|
||||||
89 -> {90};
|
90 -> {81} [color=red];
|
||||||
90 -> {91};
|
|
||||||
91 -> {92};
|
91 -> {92};
|
||||||
92 -> {93};
|
92 -> {93};
|
||||||
93 -> {94};
|
93 -> {94};
|
||||||
94 -> {87};
|
94 -> {95};
|
||||||
95 -> {97};
|
95 -> {90};
|
||||||
96 -> {98};
|
96 -> {98};
|
||||||
97 -> {96};
|
97 -> {78} [color=green];
|
||||||
|
97 -> {81} [color=red];
|
||||||
98 -> {99};
|
98 -> {99};
|
||||||
99 -> {100};
|
99 -> {100};
|
||||||
100 -> {101};
|
100 -> {101};
|
||||||
101 -> {102};
|
101 -> {102};
|
||||||
102 -> {103};
|
102 -> {103};
|
||||||
103 -> {104};
|
103 -> {104};
|
||||||
104 -> {72};
|
104 -> {97};
|
||||||
|
|
||||||
subgraph cluster_13 {
|
subgraph cluster_13 {
|
||||||
color=red
|
color=red
|
||||||
@@ -349,50 +349,50 @@ digraph flowFromInplaceLambda_kt {
|
|||||||
141 [label="Postponed enter to lambda"];
|
141 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_17 {
|
subgraph cluster_17 {
|
||||||
color=blue
|
color=blue
|
||||||
143 [label="Enter function anonymousFunction"];
|
152 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
145 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
|
154 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
|
||||||
144 [label="Exit function anonymousFunction"];
|
153 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
142 [label="Postponed exit from lambda"];
|
142 [label="Postponed exit from lambda"];
|
||||||
146 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
|
143 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
|
||||||
147 [label="Postponed enter to lambda"];
|
144 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_18 {
|
subgraph cluster_18 {
|
||||||
color=blue
|
color=blue
|
||||||
149 [label="Enter function anonymousFunction"];
|
155 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
151 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
|
157 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
|
||||||
150 [label="Exit function anonymousFunction"];
|
156 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
148 [label="Postponed exit from lambda"];
|
145 [label="Postponed exit from lambda"];
|
||||||
152 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
|
146 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
|
||||||
154 [label="Call arguments union" style="filled" fillcolor=yellow];
|
148 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
153 [label="Function call: R|/select|<R|kotlin/Int|>(...)"];
|
147 [label="Function call: R|/select|<R|kotlin/Int|>(...)"];
|
||||||
155 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
149 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||||
156 [label="Access variable R|<local>/x|"];
|
150 [label="Access variable R|<local>/x|"];
|
||||||
157 [label="Function call: R|/takeInt|(...)"];
|
151 [label="Function call: R|/takeInt|(...)"];
|
||||||
140 [label="Exit function test_5" style="filled" fillcolor=red];
|
140 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
139 -> {141};
|
139 -> {141};
|
||||||
141 -> {143};
|
141 -> {152};
|
||||||
141 -> {142} [color=red];
|
141 -> {142} [color=red];
|
||||||
142 -> {146};
|
142 -> {143};
|
||||||
143 -> {145};
|
143 -> {144};
|
||||||
144 -> {142} [color=green];
|
144 -> {155};
|
||||||
144 -> {154} [color=red];
|
144 -> {145} [color=red];
|
||||||
145 -> {144};
|
145 -> {146};
|
||||||
146 -> {147};
|
146 -> {148};
|
||||||
147 -> {149};
|
147 -> {149};
|
||||||
147 -> {148} [color=red];
|
148 -> {147};
|
||||||
148 -> {152};
|
149 -> {150};
|
||||||
149 -> {151};
|
150 -> {151};
|
||||||
150 -> {148} [color=green];
|
151 -> {140};
|
||||||
150 -> {154} [color=red];
|
|
||||||
151 -> {150};
|
|
||||||
152 -> {154};
|
152 -> {154};
|
||||||
153 -> {155};
|
153 -> {142} [color=green];
|
||||||
|
153 -> {148} [color=red];
|
||||||
154 -> {153};
|
154 -> {153};
|
||||||
155 -> {156};
|
155 -> {157};
|
||||||
156 -> {157};
|
156 -> {145} [color=green];
|
||||||
157 -> {140};
|
156 -> {148} [color=red];
|
||||||
|
157 -> {156};
|
||||||
|
|
||||||
subgraph cluster_19 {
|
subgraph cluster_19 {
|
||||||
color=red
|
color=red
|
||||||
@@ -404,12 +404,12 @@ digraph flowFromInplaceLambda_kt {
|
|||||||
167 [label="Postponed enter to lambda"];
|
167 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_21 {
|
subgraph cluster_21 {
|
||||||
color=blue
|
color=blue
|
||||||
169 [label="Enter function anonymousFunction"];
|
170 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
171 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
|
172 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
|
||||||
170 [label="Exit function anonymousFunction"];
|
171 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
168 [label="Postponed exit from lambda"];
|
168 [label="Postponed exit from lambda"];
|
||||||
172 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
|
169 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
|
||||||
166 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
166 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
161 [label="Postponed exit from lambda"];
|
161 [label="Postponed exit from lambda"];
|
||||||
@@ -426,12 +426,12 @@ digraph flowFromInplaceLambda_kt {
|
|||||||
163 -> {164};
|
163 -> {164};
|
||||||
164 -> {159};
|
164 -> {159};
|
||||||
165 -> {167};
|
165 -> {167};
|
||||||
167 -> {169};
|
167 -> {170};
|
||||||
167 -> {168} [color=red];
|
167 -> {168} [color=red];
|
||||||
168 -> {172};
|
168 -> {169};
|
||||||
169 -> {171};
|
169 -> {166};
|
||||||
170 -> {168} [color=green];
|
170 -> {172};
|
||||||
171 -> {170};
|
171 -> {168} [color=green];
|
||||||
172 -> {166};
|
172 -> {171};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+32
-32
@@ -44,53 +44,53 @@ digraph initBlockAndInPlaceLambda_kt {
|
|||||||
29 [label="Enter class C" style="filled" fillcolor=red];
|
29 [label="Enter class C" style="filled" fillcolor=red];
|
||||||
subgraph cluster_6 {
|
subgraph cluster_6 {
|
||||||
color=blue
|
color=blue
|
||||||
11 [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
|
||||||
13 [label="Enter block"];
|
18 [label="Enter block"];
|
||||||
14 [label="Access variable R|<local>/a|"];
|
19 [label="Access variable R|<local>/a|"];
|
||||||
15 [label="Access variable R|/A.b|"];
|
20 [label="Access variable R|/A.b|"];
|
||||||
16 [label="Enter safe call"];
|
21 [label="Enter safe call"];
|
||||||
18 [label="Postponed enter to lambda"];
|
23 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=blue
|
color=blue
|
||||||
20 [label="Enter function anonymousFunction"];
|
11 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
22 [label="Access variable R|<local>/a|"];
|
13 [label="Access variable R|<local>/a|"];
|
||||||
23 [label="Access variable R|<local>/it|"];
|
14 [label="Access variable R|<local>/it|"];
|
||||||
24 [label="Function call: R|/C.C|(...)"];
|
15 [label="Function call: R|/C.C|(...)"];
|
||||||
21 [label="Exit function anonymousFunction"];
|
12 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
26 [label="Call arguments union" style="filled" fillcolor=yellow];
|
26 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
19 [label="Postponed exit from lambda"];
|
24 [label="Postponed exit from lambda"];
|
||||||
25 [label="Function call: R|<local>/a|.R|/A.b|?.R|kotlin/let|<R|B|, R|C|>(...)"];
|
25 [label="Function call: R|<local>/a|.R|/A.b|?.R|kotlin/let|<R|B|, R|C|>(...)"];
|
||||||
17 [label="Exit safe call"];
|
22 [label="Exit safe call"];
|
||||||
27 [label="Variable declaration: lval c: R|C?|"];
|
27 [label="Variable declaration: lval c: R|C?|"];
|
||||||
28 [label="Exit block"];
|
28 [label="Exit block"];
|
||||||
}
|
}
|
||||||
12 [label="Exit init block" style="filled" fillcolor=red];
|
17 [label="Exit init block" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
30 [label="Exit class C" style="filled" fillcolor=red];
|
30 [label="Exit class C" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
29 -> {11} [color=green];
|
29 -> {16} [color=green];
|
||||||
11 -> {13};
|
|
||||||
12 -> {30} [color=green];
|
|
||||||
13 -> {14};
|
|
||||||
14 -> {15};
|
|
||||||
15 -> {16 17};
|
|
||||||
16 -> {18};
|
16 -> {18};
|
||||||
17 -> {27};
|
17 -> {30} [color=green];
|
||||||
18 -> {20};
|
18 -> {19};
|
||||||
18 -> {19} [color=red];
|
19 -> {20};
|
||||||
19 -> {25} [color=green];
|
20 -> {21 22};
|
||||||
20 -> {22};
|
21 -> {23};
|
||||||
21 -> {19} [color=green];
|
22 -> {27};
|
||||||
21 -> {26} [color=red];
|
23 -> {11};
|
||||||
22 -> {23};
|
23 -> {24} [color=red];
|
||||||
23 -> {24};
|
24 -> {25} [color=green];
|
||||||
24 -> {21};
|
25 -> {22};
|
||||||
25 -> {17};
|
|
||||||
26 -> {25} [color=red];
|
26 -> {25} [color=red];
|
||||||
27 -> {28};
|
27 -> {28};
|
||||||
28 -> {12};
|
28 -> {17};
|
||||||
|
11 -> {13};
|
||||||
|
12 -> {24} [color=green];
|
||||||
|
12 -> {26} [color=red];
|
||||||
|
13 -> {14};
|
||||||
|
14 -> {15};
|
||||||
|
15 -> {12};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+72
-72
@@ -33,17 +33,17 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
|
|||||||
}
|
}
|
||||||
subgraph cluster_4 {
|
subgraph cluster_4 {
|
||||||
color=blue
|
color=blue
|
||||||
23 [label="Enter when branch condition else"];
|
20 [label="Enter when branch condition else"];
|
||||||
24 [label="Exit when branch condition"];
|
21 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
25 [label="Enter when branch result"];
|
22 [label="Enter when branch result"];
|
||||||
subgraph cluster_5 {
|
subgraph cluster_5 {
|
||||||
color=blue
|
color=blue
|
||||||
26 [label="Enter block"];
|
23 [label="Enter block"];
|
||||||
27 [label="Const: String()"];
|
24 [label="Const: String()"];
|
||||||
28 [label="Exit block"];
|
25 [label="Exit block"];
|
||||||
}
|
}
|
||||||
29 [label="Exit when branch result"];
|
26 [label="Exit when branch result"];
|
||||||
13 [label="Enter when branch result"];
|
13 [label="Enter when branch result"];
|
||||||
subgraph cluster_6 {
|
subgraph cluster_6 {
|
||||||
color=blue
|
color=blue
|
||||||
@@ -51,48 +51,48 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
|
|||||||
15 [label="Postponed enter to lambda"];
|
15 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=blue
|
color=blue
|
||||||
17 [label="Enter function anonymousFunction"];
|
29 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
19 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
|
31 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
|
||||||
18 [label="Exit function anonymousFunction"];
|
30 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
16 [label="Postponed exit from lambda"];
|
16 [label="Postponed exit from lambda"];
|
||||||
20 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
|
17 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
|
||||||
21 [label="Exit block"];
|
18 [label="Exit block"];
|
||||||
}
|
}
|
||||||
22 [label="Exit when branch result"];
|
19 [label="Exit when branch result"];
|
||||||
9 [label="Exit when"];
|
9 [label="Exit when"];
|
||||||
}
|
}
|
||||||
30 [label="Call arguments union" style="filled" fillcolor=yellow];
|
27 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
31 [label="Variable declaration: lval x: R|kotlin/String|"];
|
28 [label="Variable declaration: lval x: R|kotlin/String|"];
|
||||||
7 [label="Exit function test_1" style="filled" fillcolor=red];
|
7 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
6 -> {8};
|
6 -> {8};
|
||||||
8 -> {10};
|
8 -> {10};
|
||||||
9 -> {30};
|
9 -> {27};
|
||||||
10 -> {11};
|
10 -> {11};
|
||||||
11 -> {12};
|
11 -> {12};
|
||||||
12 -> {13 23};
|
12 -> {13 20};
|
||||||
13 -> {14};
|
13 -> {14};
|
||||||
14 -> {15};
|
14 -> {15};
|
||||||
15 -> {17};
|
15 -> {29};
|
||||||
15 -> {16} [color=red];
|
15 -> {16} [color=red];
|
||||||
16 -> {20};
|
16 -> {17};
|
||||||
17 -> {19};
|
17 -> {18};
|
||||||
18 -> {16} [color=green];
|
18 -> {19};
|
||||||
18 -> {30} [color=red];
|
19 -> {9};
|
||||||
19 -> {18};
|
|
||||||
20 -> {21};
|
20 -> {21};
|
||||||
21 -> {22};
|
21 -> {22};
|
||||||
22 -> {9};
|
22 -> {23};
|
||||||
23 -> {24};
|
23 -> {24};
|
||||||
24 -> {25};
|
24 -> {25};
|
||||||
25 -> {26};
|
25 -> {26};
|
||||||
26 -> {27};
|
26 -> {9};
|
||||||
27 -> {28};
|
27 -> {28};
|
||||||
28 -> {29};
|
28 -> {7};
|
||||||
29 -> {9};
|
29 -> {31};
|
||||||
30 -> {31};
|
30 -> {16} [color=green];
|
||||||
31 -> {7};
|
30 -> {27} [color=red];
|
||||||
|
31 -> {30};
|
||||||
|
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=red
|
color=red
|
||||||
@@ -109,55 +109,55 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
|
|||||||
39 [label="Postponed enter to lambda"];
|
39 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_12 {
|
subgraph cluster_12 {
|
||||||
color=blue
|
color=blue
|
||||||
41 [label="Enter function anonymousFunction"];
|
50 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
43 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
|
52 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
|
||||||
42 [label="Exit function anonymousFunction"];
|
51 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
40 [label="Postponed exit from lambda"];
|
40 [label="Postponed exit from lambda"];
|
||||||
44 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
|
41 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
|
||||||
45 [label="Exit block"];
|
42 [label="Exit block"];
|
||||||
}
|
}
|
||||||
46 [label="Try main block exit"];
|
43 [label="Try main block exit"];
|
||||||
}
|
}
|
||||||
subgraph cluster_13 {
|
subgraph cluster_13 {
|
||||||
color=blue
|
color=blue
|
||||||
37 [label="Catch enter"];
|
37 [label="Catch enter"];
|
||||||
subgraph cluster_14 {
|
subgraph cluster_14 {
|
||||||
color=blue
|
color=blue
|
||||||
47 [label="Enter block"];
|
44 [label="Enter block"];
|
||||||
48 [label="Const: String()"];
|
45 [label="Const: String()"];
|
||||||
49 [label="Exit block"];
|
46 [label="Exit block"];
|
||||||
}
|
}
|
||||||
50 [label="Catch exit"];
|
47 [label="Catch exit"];
|
||||||
}
|
}
|
||||||
35 [label="Try expression exit"];
|
35 [label="Try expression exit"];
|
||||||
}
|
}
|
||||||
51 [label="Call arguments union" style="filled" fillcolor=yellow];
|
48 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
52 [label="Variable declaration: lval x: R|kotlin/String|"];
|
49 [label="Variable declaration: lval x: R|kotlin/String|"];
|
||||||
33 [label="Exit function test_2" style="filled" fillcolor=red];
|
33 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
32 -> {34};
|
32 -> {34};
|
||||||
34 -> {36};
|
34 -> {36};
|
||||||
35 -> {51};
|
35 -> {48};
|
||||||
36 -> {33 37 38};
|
36 -> {33 37 38};
|
||||||
37 -> {33 47};
|
37 -> {33 44};
|
||||||
38 -> {39};
|
38 -> {39};
|
||||||
39 -> {41};
|
39 -> {50};
|
||||||
39 -> {40} [color=red];
|
39 -> {40} [color=red];
|
||||||
40 -> {44};
|
40 -> {41};
|
||||||
41 -> {43};
|
41 -> {42};
|
||||||
42 -> {40} [color=green];
|
42 -> {43};
|
||||||
42 -> {51} [color=red];
|
43 -> {35};
|
||||||
43 -> {42};
|
|
||||||
44 -> {45};
|
44 -> {45};
|
||||||
45 -> {46};
|
45 -> {46};
|
||||||
46 -> {35};
|
46 -> {47};
|
||||||
47 -> {48};
|
47 -> {35};
|
||||||
48 -> {49};
|
48 -> {49};
|
||||||
49 -> {50};
|
49 -> {33};
|
||||||
50 -> {35};
|
50 -> {52};
|
||||||
51 -> {52};
|
51 -> {40} [color=green];
|
||||||
52 -> {33};
|
51 -> {48} [color=red];
|
||||||
|
52 -> {51};
|
||||||
|
|
||||||
subgraph cluster_15 {
|
subgraph cluster_15 {
|
||||||
color=red
|
color=red
|
||||||
@@ -165,28 +165,28 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
|
|||||||
55 [label="Postponed enter to lambda"];
|
55 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_16 {
|
subgraph cluster_16 {
|
||||||
color=blue
|
color=blue
|
||||||
57 [label="Enter function anonymousFunction"];
|
61 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
59 [label="Function call: R|/materialize|<R|kotlin/String?|>()"];
|
63 [label="Function call: R|/materialize|<R|kotlin/String?|>()"];
|
||||||
58 [label="Exit function anonymousFunction"];
|
62 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
56 [label="Postponed exit from lambda"];
|
56 [label="Postponed exit from lambda"];
|
||||||
60 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)"];
|
57 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)"];
|
||||||
61 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!"];
|
58 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!"];
|
||||||
62 [label="Call arguments union" style="filled" fillcolor=yellow];
|
59 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
63 [label="Variable declaration: lval x: R|kotlin/String|"];
|
60 [label="Variable declaration: lval x: R|kotlin/String|"];
|
||||||
54 [label="Exit function test_3" style="filled" fillcolor=red];
|
54 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
53 -> {55};
|
53 -> {55};
|
||||||
55 -> {57};
|
55 -> {61};
|
||||||
55 -> {56} [color=red];
|
55 -> {56} [color=red];
|
||||||
56 -> {60};
|
56 -> {57};
|
||||||
57 -> {59};
|
57 -> {58};
|
||||||
58 -> {56} [color=green];
|
58 -> {59};
|
||||||
58 -> {62} [color=red];
|
59 -> {60};
|
||||||
59 -> {58};
|
60 -> {54};
|
||||||
60 -> {61};
|
61 -> {63};
|
||||||
61 -> {62};
|
62 -> {56} [color=green];
|
||||||
62 -> {63};
|
62 -> {59} [color=red];
|
||||||
63 -> {54};
|
63 -> {62};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+13
-13
@@ -331,25 +331,25 @@ digraph jumps_kt {
|
|||||||
114 [label="Postponed enter to lambda"];
|
114 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_32 {
|
subgraph cluster_32 {
|
||||||
color=blue
|
color=blue
|
||||||
116 [label="Enter function anonymousFunction"];
|
117 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
118 [label="Jump: ^@run Unit"];
|
119 [label="Jump: ^@run Unit"];
|
||||||
119 [label="Stub" style="filled" fillcolor=gray];
|
120 [label="Stub" style="filled" fillcolor=gray];
|
||||||
117 [label="Exit function anonymousFunction"];
|
118 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
115 [label="Postponed exit from lambda"];
|
115 [label="Postponed exit from lambda"];
|
||||||
120 [label="Function call: R|/run|(...)"];
|
116 [label="Function call: R|/run|(...)"];
|
||||||
113 [label="Exit function test_6" style="filled" fillcolor=red];
|
113 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
112 -> {114};
|
112 -> {114};
|
||||||
114 -> {116};
|
114 -> {117};
|
||||||
114 -> {115} [color=red];
|
114 -> {115} [color=red];
|
||||||
115 -> {120};
|
115 -> {116};
|
||||||
116 -> {117 118};
|
116 -> {113};
|
||||||
117 -> {116};
|
117 -> {118 119};
|
||||||
117 -> {115} [color=green];
|
|
||||||
118 -> {117};
|
118 -> {117};
|
||||||
118 -> {119} [style=dotted];
|
118 -> {115} [color=green];
|
||||||
119 -> {117} [style=dotted];
|
119 -> {118};
|
||||||
120 -> {113};
|
119 -> {120} [style=dotted];
|
||||||
|
120 -> {118} [style=dotted];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+56
-56
@@ -25,7 +25,7 @@ digraph lambdas_kt {
|
|||||||
9 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
|
9 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
|
||||||
10 [label="Exit when branch condition"];
|
10 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
22 [label="Synthetic else branch"];
|
18 [label="Synthetic else branch"];
|
||||||
11 [label="Enter when branch result"];
|
11 [label="Enter when branch result"];
|
||||||
subgraph cluster_4 {
|
subgraph cluster_4 {
|
||||||
color=blue
|
color=blue
|
||||||
@@ -33,16 +33,16 @@ digraph lambdas_kt {
|
|||||||
13 [label="Postponed enter to lambda"];
|
13 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_5 {
|
subgraph cluster_5 {
|
||||||
color=blue
|
color=blue
|
||||||
15 [label="Enter function anonymousFunction"];
|
19 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
17 [label="Access variable R|<local>/x|"];
|
21 [label="Access variable R|<local>/x|"];
|
||||||
18 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
22 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||||
16 [label="Exit function anonymousFunction"];
|
20 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
14 [label="Postponed exit from lambda"];
|
14 [label="Postponed exit from lambda"];
|
||||||
19 [label="Function call: R|/run|(...)"];
|
15 [label="Function call: R|/run|(...)"];
|
||||||
20 [label="Exit block"];
|
16 [label="Exit block"];
|
||||||
}
|
}
|
||||||
21 [label="Exit when branch result"];
|
17 [label="Exit when branch result"];
|
||||||
6 [label="Exit when"];
|
6 [label="Exit when"];
|
||||||
}
|
}
|
||||||
4 [label="Exit function test_1" style="filled" fillcolor=red];
|
4 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||||
@@ -53,21 +53,21 @@ digraph lambdas_kt {
|
|||||||
7 -> {8};
|
7 -> {8};
|
||||||
8 -> {9};
|
8 -> {9};
|
||||||
9 -> {10};
|
9 -> {10};
|
||||||
10 -> {11 22};
|
10 -> {11 18};
|
||||||
11 -> {12};
|
11 -> {12};
|
||||||
12 -> {13};
|
12 -> {13};
|
||||||
13 -> {15};
|
13 -> {19};
|
||||||
13 -> {14} [color=red];
|
13 -> {14} [color=red];
|
||||||
14 -> {19};
|
14 -> {15};
|
||||||
15 -> {16 17};
|
15 -> {16};
|
||||||
16 -> {15};
|
16 -> {17};
|
||||||
16 -> {14} [color=green];
|
17 -> {6};
|
||||||
17 -> {18};
|
18 -> {6};
|
||||||
18 -> {16};
|
19 -> {20 21};
|
||||||
19 -> {20};
|
20 -> {19};
|
||||||
20 -> {21};
|
20 -> {14} [color=green];
|
||||||
21 -> {6};
|
21 -> {22};
|
||||||
22 -> {6};
|
22 -> {20};
|
||||||
|
|
||||||
subgraph cluster_6 {
|
subgraph cluster_6 {
|
||||||
color=red
|
color=red
|
||||||
@@ -142,36 +142,36 @@ digraph lambdas_kt {
|
|||||||
49 [label="Postponed enter to lambda"];
|
49 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_13 {
|
subgraph cluster_13 {
|
||||||
color=blue
|
color=blue
|
||||||
51 [label="Enter function anonymousFunction"];
|
54 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
53 [label="Const: Int(1)"];
|
56 [label="Const: Int(1)"];
|
||||||
54 [label="Jump: ^test_3 Int(1)"];
|
57 [label="Jump: ^test_3 Int(1)"];
|
||||||
55 [label="Stub" style="filled" fillcolor=gray];
|
58 [label="Stub" style="filled" fillcolor=gray];
|
||||||
52 [label="Exit function anonymousFunction"];
|
55 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
50 [label="Postponed exit from lambda"];
|
50 [label="Postponed exit from lambda"];
|
||||||
56 [label="Function call: R|/getInt|(...)"];
|
51 [label="Function call: R|/getInt|(...)"];
|
||||||
57 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
52 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||||
^test_3 Int(1)
|
^test_3 Int(1)
|
||||||
}
|
}
|
||||||
)"];
|
)"];
|
||||||
58 [label="Stub" style="filled" fillcolor=gray];
|
53 [label="Stub" style="filled" fillcolor=gray];
|
||||||
48 [label="Exit function test_3" style="filled" fillcolor=red];
|
48 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
47 -> {49};
|
47 -> {49};
|
||||||
49 -> {51};
|
49 -> {54};
|
||||||
49 -> {50} [color=red];
|
49 -> {50} [color=red];
|
||||||
50 -> {56};
|
50 -> {51};
|
||||||
51 -> {52 53};
|
51 -> {52};
|
||||||
52 -> {51};
|
52 -> {48};
|
||||||
52 -> {50} [color=green];
|
52 -> {53} [style=dotted];
|
||||||
53 -> {54};
|
53 -> {48} [style=dotted];
|
||||||
54 -> {48};
|
54 -> {55 56};
|
||||||
54 -> {55} [style=dotted];
|
55 -> {54};
|
||||||
55 -> {52} [style=dotted];
|
55 -> {50} [color=green];
|
||||||
56 -> {57};
|
56 -> {57};
|
||||||
57 -> {48};
|
57 -> {48};
|
||||||
57 -> {58} [style=dotted];
|
57 -> {58} [style=dotted];
|
||||||
58 -> {48} [style=dotted];
|
58 -> {55} [style=dotted];
|
||||||
|
|
||||||
subgraph cluster_14 {
|
subgraph cluster_14 {
|
||||||
color=red
|
color=red
|
||||||
@@ -179,35 +179,35 @@ digraph lambdas_kt {
|
|||||||
61 [label="Postponed enter to lambda"];
|
61 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_15 {
|
subgraph cluster_15 {
|
||||||
color=blue
|
color=blue
|
||||||
63 [label="Enter function anonymousFunction"];
|
66 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
65 [label="Const: Int(1)"];
|
68 [label="Const: Int(1)"];
|
||||||
66 [label="Jump: ^test_4 Int(1)"];
|
69 [label="Jump: ^test_4 Int(1)"];
|
||||||
67 [label="Stub" style="filled" fillcolor=gray];
|
70 [label="Stub" style="filled" fillcolor=gray];
|
||||||
64 [label="Exit function anonymousFunction"];
|
67 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
62 [label="Postponed exit from lambda"];
|
62 [label="Postponed exit from lambda"];
|
||||||
68 [label="Function call: R|/getInt|(...)"];
|
63 [label="Function call: R|/getInt|(...)"];
|
||||||
69 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
64 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
|
||||||
^test_4 Int(1)
|
^test_4 Int(1)
|
||||||
}
|
}
|
||||||
)"];
|
)"];
|
||||||
70 [label="Stub" style="filled" fillcolor=gray];
|
65 [label="Stub" style="filled" fillcolor=gray];
|
||||||
60 [label="Exit function test_4" style="filled" fillcolor=red];
|
60 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
59 -> {61};
|
59 -> {61};
|
||||||
61 -> {63};
|
61 -> {66};
|
||||||
61 -> {62} [color=red];
|
61 -> {62} [color=red];
|
||||||
62 -> {68};
|
62 -> {63};
|
||||||
63 -> {64 65};
|
63 -> {64};
|
||||||
64 -> {63};
|
64 -> {60};
|
||||||
64 -> {62} [color=green];
|
64 -> {65} [style=dotted];
|
||||||
65 -> {66};
|
65 -> {60} [style=dotted];
|
||||||
66 -> {60};
|
66 -> {67 68};
|
||||||
66 -> {67} [style=dotted];
|
67 -> {66};
|
||||||
67 -> {64} [style=dotted];
|
67 -> {62} [color=green];
|
||||||
68 -> {69};
|
68 -> {69};
|
||||||
69 -> {60};
|
69 -> {60};
|
||||||
69 -> {70} [style=dotted];
|
69 -> {70} [style=dotted];
|
||||||
70 -> {60} [style=dotted];
|
70 -> {67} [style=dotted];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+136
-136
@@ -83,49 +83,49 @@ digraph localClassesWithImplicit_kt {
|
|||||||
28 [label="Postponed enter to lambda"];
|
28 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=blue
|
color=blue
|
||||||
30 [label="Enter function anonymousFunction"];
|
33 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
32 [label="Access variable R|<local>/a|"];
|
35 [label="Access variable R|<local>/a|"];
|
||||||
33 [label="Access variable R|kotlin/String.length|"];
|
36 [label="Access variable R|kotlin/String.length|"];
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=blue
|
color=blue
|
||||||
34 [label="Enter when"];
|
37 [label="Enter when"];
|
||||||
subgraph cluster_9 {
|
subgraph cluster_9 {
|
||||||
color=blue
|
color=blue
|
||||||
36 [label="Enter when branch condition "];
|
39 [label="Enter when branch condition "];
|
||||||
37 [label="Access variable R|<local>/b|"];
|
40 [label="Access variable R|<local>/b|"];
|
||||||
38 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
|
41 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
|
||||||
39 [label="Exit when branch condition"];
|
42 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_10 {
|
subgraph cluster_10 {
|
||||||
color=blue
|
color=blue
|
||||||
47 [label="Enter when branch condition else"];
|
50 [label="Enter when branch condition else"];
|
||||||
48 [label="Exit when branch condition"];
|
51 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
49 [label="Enter when branch result"];
|
52 [label="Enter when branch result"];
|
||||||
subgraph cluster_11 {
|
subgraph cluster_11 {
|
||||||
color=blue
|
color=blue
|
||||||
50 [label="Enter block"];
|
53 [label="Enter block"];
|
||||||
51 [label="Const: Int(1)"];
|
54 [label="Const: Int(1)"];
|
||||||
52 [label="Exit block"];
|
55 [label="Exit block"];
|
||||||
}
|
}
|
||||||
53 [label="Exit when branch result"];
|
56 [label="Exit when branch result"];
|
||||||
40 [label="Enter when branch result"];
|
43 [label="Enter when branch result"];
|
||||||
subgraph cluster_12 {
|
subgraph cluster_12 {
|
||||||
color=blue
|
color=blue
|
||||||
41 [label="Enter block"];
|
44 [label="Enter block"];
|
||||||
42 [label="Access variable R|<local>/b|"];
|
45 [label="Access variable R|<local>/b|"];
|
||||||
43 [label="Access variable R|kotlin/String.length|"];
|
46 [label="Access variable R|kotlin/String.length|"];
|
||||||
44 [label="Function call: this@R|/A|.R|/A.bar|()"];
|
47 [label="Function call: this@R|/A|.R|/A.bar|()"];
|
||||||
45 [label="Exit block"];
|
48 [label="Exit block"];
|
||||||
}
|
}
|
||||||
46 [label="Exit when branch result"];
|
49 [label="Exit when branch result"];
|
||||||
35 [label="Exit when"];
|
38 [label="Exit when"];
|
||||||
}
|
}
|
||||||
31 [label="Exit function anonymousFunction"];
|
34 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
29 [label="Postponed exit from lambda"];
|
29 [label="Postponed exit from lambda"];
|
||||||
54 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
|
30 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
|
||||||
55 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <kind=UNKNOWN> {
|
31 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <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|) -> {
|
||||||
@@ -139,42 +139,42 @@ digraph localClassesWithImplicit_kt {
|
|||||||
|
|
||||||
}
|
}
|
||||||
)"];
|
)"];
|
||||||
56 [label="Stub" style="filled" fillcolor=gray];
|
32 [label="Stub" style="filled" fillcolor=gray];
|
||||||
27 [label="Exit function foo" style="filled" fillcolor=red];
|
27 [label="Exit function foo" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
26 -> {28};
|
26 -> {28};
|
||||||
28 -> {30};
|
28 -> {33};
|
||||||
28 -> {29} [color=red];
|
28 -> {29} [color=red];
|
||||||
29 -> {54};
|
29 -> {30};
|
||||||
30 -> {31 32};
|
30 -> {31};
|
||||||
31 -> {30};
|
31 -> {27};
|
||||||
31 -> {29} [color=green];
|
31 -> {32} [style=dotted];
|
||||||
32 -> {33};
|
32 -> {27} [style=dotted];
|
||||||
33 -> {34};
|
33 -> {34 35};
|
||||||
34 -> {36};
|
34 -> {33};
|
||||||
35 -> {31};
|
34 -> {29} [color=green];
|
||||||
|
35 -> {36};
|
||||||
36 -> {37};
|
36 -> {37};
|
||||||
37 -> {38};
|
37 -> {39};
|
||||||
38 -> {39};
|
38 -> {34};
|
||||||
39 -> {40 47};
|
39 -> {40};
|
||||||
40 -> {41};
|
40 -> {41};
|
||||||
41 -> {42};
|
41 -> {42};
|
||||||
42 -> {43};
|
42 -> {43 50};
|
||||||
43 -> {44};
|
43 -> {44};
|
||||||
44 -> {45};
|
44 -> {45};
|
||||||
45 -> {46};
|
45 -> {46};
|
||||||
46 -> {35};
|
46 -> {47};
|
||||||
47 -> {48};
|
47 -> {48};
|
||||||
48 -> {49};
|
48 -> {49};
|
||||||
49 -> {50};
|
49 -> {38};
|
||||||
50 -> {51};
|
50 -> {51};
|
||||||
51 -> {52};
|
51 -> {52};
|
||||||
52 -> {53};
|
52 -> {53};
|
||||||
53 -> {35};
|
53 -> {54};
|
||||||
54 -> {55};
|
54 -> {55};
|
||||||
55 -> {27};
|
55 -> {56};
|
||||||
55 -> {56} [style=dotted];
|
56 -> {38};
|
||||||
56 -> {27} [style=dotted];
|
|
||||||
|
|
||||||
subgraph cluster_13 {
|
subgraph cluster_13 {
|
||||||
color=red
|
color=red
|
||||||
@@ -182,41 +182,41 @@ digraph localClassesWithImplicit_kt {
|
|||||||
59 [label="Postponed enter to lambda"];
|
59 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_14 {
|
subgraph cluster_14 {
|
||||||
color=blue
|
color=blue
|
||||||
61 [label="Enter function anonymousFunction"];
|
64 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
63 [label="Access variable R|<local>/b|"];
|
66 [label="Access variable R|<local>/b|"];
|
||||||
64 [label="Access variable <Unresolved name: length>#"];
|
67 [label="Access variable <Unresolved name: length>#"];
|
||||||
65 [label="Access variable R|<local>/a|"];
|
68 [label="Access variable R|<local>/a|"];
|
||||||
66 [label="Access variable R|kotlin/String.length|"];
|
69 [label="Access variable R|kotlin/String.length|"];
|
||||||
67 [label="Function call: this@R|/A|.R|/A.baz|()"];
|
70 [label="Function call: this@R|/A|.R|/A.baz|()"];
|
||||||
62 [label="Exit function anonymousFunction"];
|
65 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
60 [label="Postponed exit from lambda"];
|
60 [label="Postponed exit from lambda"];
|
||||||
68 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
|
61 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
|
||||||
69 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <kind=UNKNOWN> {
|
62 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <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|/A.baz|()
|
^ this@R|/A|.R|/A.baz|()
|
||||||
}
|
}
|
||||||
)"];
|
)"];
|
||||||
70 [label="Stub" style="filled" fillcolor=gray];
|
63 [label="Stub" style="filled" fillcolor=gray];
|
||||||
58 [label="Exit function bar" style="filled" fillcolor=red];
|
58 [label="Exit function bar" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
57 -> {59};
|
57 -> {59};
|
||||||
59 -> {61};
|
59 -> {64};
|
||||||
59 -> {60} [color=red];
|
59 -> {60} [color=red];
|
||||||
60 -> {68};
|
60 -> {61};
|
||||||
61 -> {62 63};
|
61 -> {62};
|
||||||
62 -> {61};
|
62 -> {58};
|
||||||
62 -> {60} [color=green];
|
62 -> {63} [style=dotted];
|
||||||
63 -> {64};
|
63 -> {58} [style=dotted];
|
||||||
64 -> {65};
|
64 -> {65 66};
|
||||||
65 -> {66};
|
65 -> {64};
|
||||||
|
65 -> {60} [color=green];
|
||||||
66 -> {67};
|
66 -> {67};
|
||||||
67 -> {62};
|
67 -> {68};
|
||||||
68 -> {69};
|
68 -> {69};
|
||||||
69 -> {58};
|
69 -> {70};
|
||||||
69 -> {70} [style=dotted];
|
70 -> {65};
|
||||||
70 -> {58} [style=dotted];
|
|
||||||
|
|
||||||
subgraph cluster_15 {
|
subgraph cluster_15 {
|
||||||
color=red
|
color=red
|
||||||
@@ -254,49 +254,49 @@ digraph localClassesWithImplicit_kt {
|
|||||||
83 [label="Postponed enter to lambda"];
|
83 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_19 {
|
subgraph cluster_19 {
|
||||||
color=blue
|
color=blue
|
||||||
85 [label="Enter function anonymousFunction"];
|
88 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
87 [label="Access variable R|<local>/a|"];
|
90 [label="Access variable R|<local>/a|"];
|
||||||
88 [label="Access variable R|kotlin/String.length|"];
|
91 [label="Access variable R|kotlin/String.length|"];
|
||||||
subgraph cluster_20 {
|
subgraph cluster_20 {
|
||||||
color=blue
|
color=blue
|
||||||
89 [label="Enter when"];
|
92 [label="Enter when"];
|
||||||
subgraph cluster_21 {
|
subgraph cluster_21 {
|
||||||
color=blue
|
color=blue
|
||||||
91 [label="Enter when branch condition "];
|
94 [label="Enter when branch condition "];
|
||||||
92 [label="Access variable R|<local>/b|"];
|
95 [label="Access variable R|<local>/b|"];
|
||||||
93 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
|
96 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
|
||||||
94 [label="Exit when branch condition"];
|
97 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_22 {
|
subgraph cluster_22 {
|
||||||
color=blue
|
color=blue
|
||||||
102 [label="Enter when branch condition else"];
|
105 [label="Enter when branch condition else"];
|
||||||
103 [label="Exit when branch condition"];
|
106 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
104 [label="Enter when branch result"];
|
107 [label="Enter when branch result"];
|
||||||
subgraph cluster_23 {
|
subgraph cluster_23 {
|
||||||
color=blue
|
color=blue
|
||||||
105 [label="Enter block"];
|
108 [label="Enter block"];
|
||||||
106 [label="Const: Int(1)"];
|
109 [label="Const: Int(1)"];
|
||||||
107 [label="Exit block"];
|
110 [label="Exit block"];
|
||||||
}
|
}
|
||||||
108 [label="Exit when branch result"];
|
111 [label="Exit when branch result"];
|
||||||
95 [label="Enter when branch result"];
|
98 [label="Enter when branch result"];
|
||||||
subgraph cluster_24 {
|
subgraph cluster_24 {
|
||||||
color=blue
|
color=blue
|
||||||
96 [label="Enter block"];
|
99 [label="Enter block"];
|
||||||
97 [label="Access variable R|<local>/b|"];
|
100 [label="Access variable R|<local>/b|"];
|
||||||
98 [label="Access variable R|kotlin/String.length|"];
|
101 [label="Access variable R|kotlin/String.length|"];
|
||||||
99 [label="Function call: this@R|/anonymous|.R|/anonymous.bar|()"];
|
102 [label="Function call: this@R|/anonymous|.R|/anonymous.bar|()"];
|
||||||
100 [label="Exit block"];
|
103 [label="Exit block"];
|
||||||
}
|
}
|
||||||
101 [label="Exit when branch result"];
|
104 [label="Exit when branch result"];
|
||||||
90 [label="Exit when"];
|
93 [label="Exit when"];
|
||||||
}
|
}
|
||||||
86 [label="Exit function anonymousFunction"];
|
89 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
84 [label="Postponed exit from lambda"];
|
84 [label="Postponed exit from lambda"];
|
||||||
109 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
|
85 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
|
||||||
110 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <kind=UNKNOWN> {
|
86 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <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|) -> {
|
||||||
@@ -310,42 +310,42 @@ digraph localClassesWithImplicit_kt {
|
|||||||
|
|
||||||
}
|
}
|
||||||
)"];
|
)"];
|
||||||
111 [label="Stub" style="filled" fillcolor=gray];
|
87 [label="Stub" style="filled" fillcolor=gray];
|
||||||
82 [label="Exit function foo" style="filled" fillcolor=red];
|
82 [label="Exit function foo" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
81 -> {83};
|
81 -> {83};
|
||||||
83 -> {85};
|
83 -> {88};
|
||||||
83 -> {84} [color=red];
|
83 -> {84} [color=red];
|
||||||
84 -> {109};
|
84 -> {85};
|
||||||
85 -> {86 87};
|
85 -> {86};
|
||||||
86 -> {85};
|
86 -> {82};
|
||||||
86 -> {84} [color=green];
|
86 -> {87} [style=dotted];
|
||||||
87 -> {88};
|
87 -> {82} [style=dotted];
|
||||||
88 -> {89};
|
88 -> {89 90};
|
||||||
89 -> {91};
|
89 -> {88};
|
||||||
90 -> {86};
|
89 -> {84} [color=green];
|
||||||
|
90 -> {91};
|
||||||
91 -> {92};
|
91 -> {92};
|
||||||
92 -> {93};
|
92 -> {94};
|
||||||
93 -> {94};
|
93 -> {89};
|
||||||
94 -> {95 102};
|
94 -> {95};
|
||||||
95 -> {96};
|
95 -> {96};
|
||||||
96 -> {97};
|
96 -> {97};
|
||||||
97 -> {98};
|
97 -> {98 105};
|
||||||
98 -> {99};
|
98 -> {99};
|
||||||
99 -> {100};
|
99 -> {100};
|
||||||
100 -> {101};
|
100 -> {101};
|
||||||
101 -> {90};
|
101 -> {102};
|
||||||
102 -> {103};
|
102 -> {103};
|
||||||
103 -> {104};
|
103 -> {104};
|
||||||
104 -> {105};
|
104 -> {93};
|
||||||
105 -> {106};
|
105 -> {106};
|
||||||
106 -> {107};
|
106 -> {107};
|
||||||
107 -> {108};
|
107 -> {108};
|
||||||
108 -> {90};
|
108 -> {109};
|
||||||
109 -> {110};
|
109 -> {110};
|
||||||
110 -> {82};
|
110 -> {111};
|
||||||
110 -> {111} [style=dotted];
|
111 -> {93};
|
||||||
111 -> {82} [style=dotted];
|
|
||||||
|
|
||||||
subgraph cluster_25 {
|
subgraph cluster_25 {
|
||||||
color=red
|
color=red
|
||||||
@@ -353,41 +353,41 @@ digraph localClassesWithImplicit_kt {
|
|||||||
114 [label="Postponed enter to lambda"];
|
114 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_26 {
|
subgraph cluster_26 {
|
||||||
color=blue
|
color=blue
|
||||||
116 [label="Enter function anonymousFunction"];
|
119 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
118 [label="Access variable R|<local>/a|"];
|
121 [label="Access variable R|<local>/a|"];
|
||||||
119 [label="Access variable R|kotlin/String.length|"];
|
122 [label="Access variable R|kotlin/String.length|"];
|
||||||
120 [label="Access variable R|<local>/b|"];
|
123 [label="Access variable R|<local>/b|"];
|
||||||
121 [label="Access variable <Unresolved name: length>#"];
|
124 [label="Access variable <Unresolved name: length>#"];
|
||||||
122 [label="Function call: this@R|/anonymous|.R|/anonymous.baz|()"];
|
125 [label="Function call: this@R|/anonymous|.R|/anonymous.baz|()"];
|
||||||
117 [label="Exit function anonymousFunction"];
|
120 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
115 [label="Postponed exit from lambda"];
|
115 [label="Postponed exit from lambda"];
|
||||||
123 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
|
116 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
|
||||||
124 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <kind=UNKNOWN> {
|
117 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <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|()
|
||||||
}
|
}
|
||||||
)"];
|
)"];
|
||||||
125 [label="Stub" style="filled" fillcolor=gray];
|
118 [label="Stub" style="filled" fillcolor=gray];
|
||||||
113 [label="Exit function bar" style="filled" fillcolor=red];
|
113 [label="Exit function bar" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
112 -> {114};
|
112 -> {114};
|
||||||
114 -> {116};
|
114 -> {119};
|
||||||
114 -> {115} [color=red];
|
114 -> {115} [color=red];
|
||||||
115 -> {123};
|
115 -> {116};
|
||||||
116 -> {117 118};
|
116 -> {117};
|
||||||
117 -> {116};
|
117 -> {113};
|
||||||
117 -> {115} [color=green];
|
117 -> {118} [style=dotted];
|
||||||
118 -> {119};
|
118 -> {113} [style=dotted];
|
||||||
119 -> {120};
|
119 -> {120 121};
|
||||||
120 -> {121};
|
120 -> {119};
|
||||||
|
120 -> {115} [color=green];
|
||||||
121 -> {122};
|
121 -> {122};
|
||||||
122 -> {117};
|
122 -> {123};
|
||||||
123 -> {124};
|
123 -> {124};
|
||||||
124 -> {113};
|
124 -> {125};
|
||||||
124 -> {125} [style=dotted];
|
125 -> {120};
|
||||||
125 -> {113} [style=dotted];
|
|
||||||
|
|
||||||
subgraph cluster_27 {
|
subgraph cluster_27 {
|
||||||
color=red
|
color=red
|
||||||
|
|||||||
+17
-17
@@ -26,37 +26,37 @@ digraph postponedLambdaInConstructor_kt {
|
|||||||
8 [label="Postponed enter to lambda"];
|
8 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_3 {
|
subgraph cluster_3 {
|
||||||
color=blue
|
color=blue
|
||||||
10 [label="Enter function anonymousFunction"];
|
13 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
12 [label="Postponed enter to lambda"];
|
15 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_4 {
|
subgraph cluster_4 {
|
||||||
color=blue
|
color=blue
|
||||||
17 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
17 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
19 [label="Access variable R|<local>/it|"];
|
19 [label="Access variable R|<local>/it|"];
|
||||||
18 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
18 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
13 [label="Postponed exit from lambda"];
|
16 [label="Postponed exit from lambda"];
|
||||||
11 [label="Exit function anonymousFunction"];
|
14 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
9 [label="Postponed exit from lambda"];
|
9 [label="Postponed exit from lambda"];
|
||||||
14 [label="Function call: R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(...)"];
|
10 [label="Function call: R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(...)"];
|
||||||
16 [label="Call arguments union" style="filled" fillcolor=yellow];
|
12 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
15 [label="Delegated constructor call: super<R|A|>(...)"];
|
11 [label="Delegated constructor call: super<R|A|>(...)"];
|
||||||
6 [label="Exit function <init>" style="filled" fillcolor=red];
|
6 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
5 -> {7};
|
5 -> {7};
|
||||||
7 -> {8};
|
7 -> {8};
|
||||||
8 -> {10};
|
8 -> {13};
|
||||||
8 -> {9} [color=red];
|
8 -> {9} [color=red];
|
||||||
9 -> {14};
|
9 -> {10};
|
||||||
10 -> {12};
|
10 -> {12};
|
||||||
11 -> {9} [color=green];
|
11 -> {6};
|
||||||
11 -> {16} [color=red];
|
12 -> {11};
|
||||||
12 -> {13 13} [color=green];
|
13 -> {15};
|
||||||
12 -> {17} [color=red];
|
14 -> {9} [color=green];
|
||||||
13 -> {11};
|
14 -> {12} [color=red];
|
||||||
14 -> {16};
|
15 -> {16 16} [color=green];
|
||||||
15 -> {6};
|
15 -> {17} [color=red];
|
||||||
16 -> {15};
|
16 -> {14};
|
||||||
17 -> {19};
|
17 -> {19};
|
||||||
19 -> {18};
|
19 -> {18};
|
||||||
|
|
||||||
|
|||||||
@@ -17,25 +17,25 @@ digraph postponedLambdas_kt {
|
|||||||
5 [label="Postponed enter to lambda"];
|
5 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_2 {
|
subgraph cluster_2 {
|
||||||
color=blue
|
color=blue
|
||||||
8 [label="Enter function anonymousFunction"];
|
9 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
10 [label="Const: String()"];
|
11 [label="Const: String()"];
|
||||||
9 [label="Exit function anonymousFunction"];
|
10 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
6 [label="Postponed exit from lambda"];
|
6 [label="Postponed exit from lambda"];
|
||||||
7 [label="Access variable R|<local>/b|"];
|
7 [label="Access variable R|<local>/b|"];
|
||||||
11 [label="Function call: R|/foo|(...)"];
|
8 [label="Function call: R|/foo|(...)"];
|
||||||
3 [label="Exit function test" style="filled" fillcolor=red];
|
3 [label="Exit function test" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
2 -> {4};
|
2 -> {4};
|
||||||
4 -> {5};
|
4 -> {5};
|
||||||
5 -> {8};
|
5 -> {9};
|
||||||
5 -> {6} [color=red];
|
5 -> {6} [color=red];
|
||||||
6 -> {7};
|
6 -> {7};
|
||||||
7 -> {11};
|
7 -> {8};
|
||||||
8 -> {9 10};
|
8 -> {3};
|
||||||
9 -> {8};
|
9 -> {10 11};
|
||||||
9 -> {6} [color=green];
|
|
||||||
10 -> {9};
|
10 -> {9};
|
||||||
11 -> {3};
|
10 -> {6} [color=green];
|
||||||
|
11 -> {10};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+100
-100
@@ -61,153 +61,153 @@ digraph propertiesAndInitBlocks_kt {
|
|||||||
|
|
||||||
subgraph cluster_6 {
|
subgraph cluster_6 {
|
||||||
color=red
|
color=red
|
||||||
29 [label="Enter function <init>" style="filled" fillcolor=red];
|
35 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
31 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
37 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
30 [label="Exit function <init>" style="filled" fillcolor=red];
|
36 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
29 -> {31};
|
35 -> {37};
|
||||||
31 -> {30};
|
37 -> {36};
|
||||||
|
|
||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=red
|
color=red
|
||||||
40 [label="Enter class LocalClass" style="filled" fillcolor=red];
|
46 [label="Enter class LocalClass" style="filled" fillcolor=red];
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=blue
|
color=blue
|
||||||
32 [label="Enter init block" style="filled" fillcolor=red];
|
38 [label="Enter init block" style="filled" fillcolor=red];
|
||||||
subgraph cluster_9 {
|
subgraph cluster_9 {
|
||||||
color=blue
|
color=blue
|
||||||
34 [label="Enter block"];
|
40 [label="Enter block"];
|
||||||
35 [label="Function call: R|java/lang/Exception.Exception|()"];
|
41 [label="Function call: R|java/lang/Exception.Exception|()"];
|
||||||
36 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
42 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||||
37 [label="Stub" style="filled" fillcolor=gray];
|
43 [label="Stub" style="filled" fillcolor=gray];
|
||||||
38 [label="Const: Int(1)" style="filled" fillcolor=gray];
|
44 [label="Const: Int(1)" style="filled" fillcolor=gray];
|
||||||
39 [label="Exit block" style="filled" fillcolor=gray];
|
45 [label="Exit block" style="filled" fillcolor=gray];
|
||||||
}
|
}
|
||||||
33 [label="Exit init block" style="filled" fillcolor=red];
|
39 [label="Exit init block" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
41 [label="Exit class LocalClass" style="filled" fillcolor=red];
|
47 [label="Exit class LocalClass" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
40 -> {32} [color=green];
|
46 -> {38} [color=green];
|
||||||
32 -> {34};
|
38 -> {40};
|
||||||
33 -> {41} [color=green];
|
39 -> {47} [color=green];
|
||||||
34 -> {35};
|
40 -> {41};
|
||||||
35 -> {36};
|
41 -> {42};
|
||||||
36 -> {33};
|
42 -> {39};
|
||||||
36 -> {37} [style=dotted];
|
42 -> {43} [style=dotted];
|
||||||
37 -> {38} [style=dotted];
|
43 -> {44} [style=dotted];
|
||||||
38 -> {39} [style=dotted];
|
44 -> {45} [style=dotted];
|
||||||
39 -> {33} [style=dotted];
|
45 -> {39} [style=dotted];
|
||||||
|
|
||||||
subgraph cluster_10 {
|
subgraph cluster_10 {
|
||||||
color=red
|
color=red
|
||||||
45 [label="Enter function <init>" style="filled" fillcolor=red];
|
51 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
47 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
53 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
46 [label="Exit function <init>" style="filled" fillcolor=red];
|
52 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
45 -> {47};
|
51 -> {53};
|
||||||
47 -> {46};
|
53 -> {52};
|
||||||
|
|
||||||
subgraph cluster_11 {
|
subgraph cluster_11 {
|
||||||
color=red
|
color=red
|
||||||
55 [label="Enter class LocalClass" style="filled" fillcolor=red];
|
61 [label="Enter class LocalClass" style="filled" fillcolor=red];
|
||||||
subgraph cluster_12 {
|
subgraph cluster_12 {
|
||||||
color=blue
|
color=blue
|
||||||
48 [label="Enter init block" style="filled" fillcolor=red];
|
54 [label="Enter init block" style="filled" fillcolor=red];
|
||||||
subgraph cluster_13 {
|
subgraph cluster_13 {
|
||||||
color=blue
|
color=blue
|
||||||
50 [label="Enter block"];
|
56 [label="Enter block"];
|
||||||
51 [label="Function call: R|java/lang/Exception.Exception|()"];
|
57 [label="Function call: R|java/lang/Exception.Exception|()"];
|
||||||
52 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
58 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||||
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];
|
||||||
}
|
}
|
||||||
49 [label="Exit init block" style="filled" fillcolor=red];
|
55 [label="Exit init block" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
56 [label="Exit class LocalClass" style="filled" fillcolor=red];
|
62 [label="Exit class LocalClass" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
55 -> {48} [color=green];
|
61 -> {54} [color=green];
|
||||||
48 -> {50};
|
54 -> {56};
|
||||||
49 -> {56} [color=green];
|
55 -> {62} [color=green];
|
||||||
50 -> {51};
|
56 -> {57};
|
||||||
51 -> {52};
|
57 -> {58};
|
||||||
52 -> {49};
|
58 -> {55};
|
||||||
52 -> {53} [style=dotted];
|
58 -> {59} [style=dotted];
|
||||||
53 -> {54} [style=dotted];
|
59 -> {60} [style=dotted];
|
||||||
54 -> {49} [style=dotted];
|
60 -> {55} [style=dotted];
|
||||||
|
|
||||||
subgraph cluster_14 {
|
subgraph cluster_14 {
|
||||||
color=red
|
color=red
|
||||||
57 [label="Enter property" style="filled" fillcolor=red];
|
63 [label="Enter property" style="filled" fillcolor=red];
|
||||||
subgraph cluster_15 {
|
subgraph cluster_15 {
|
||||||
color=blue
|
color=blue
|
||||||
42 [label="Enter function getter" style="filled" fillcolor=red];
|
48 [label="Enter function getter" style="filled" fillcolor=red];
|
||||||
44 [label="Exit local class <getter>"];
|
50 [label="Exit local class <getter>"];
|
||||||
43 [label="Exit function getter" style="filled" fillcolor=red];
|
49 [label="Exit function getter" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
subgraph cluster_16 {
|
subgraph cluster_16 {
|
||||||
color=blue
|
color=blue
|
||||||
45 [label="Enter function <init>" style="filled" fillcolor=red];
|
51 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
47 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
53 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
46 [label="Exit function <init>" style="filled" fillcolor=red];
|
52 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
59 [label="Postponed enter to lambda"];
|
65 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_17 {
|
subgraph cluster_17 {
|
||||||
color=blue
|
color=blue
|
||||||
61 [label="Enter function anonymousFunction"];
|
20 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
63 [label="Exit local class val x3"];
|
22 [label="Exit local class <anonymous>"];
|
||||||
64 [label="Function call: R|java/lang/Exception.Exception|()"];
|
23 [label="Function call: R|java/lang/Exception.Exception|()"];
|
||||||
65 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
24 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||||
66 [label="Stub" style="filled" fillcolor=gray];
|
25 [label="Stub" style="filled" fillcolor=gray];
|
||||||
subgraph cluster_18 {
|
subgraph cluster_18 {
|
||||||
color=blue
|
color=blue
|
||||||
29 [label="Enter function <init>" style="filled" fillcolor=red];
|
35 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
31 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
37 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
30 [label="Exit function <init>" style="filled" fillcolor=red];
|
36 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
subgraph cluster_19 {
|
subgraph cluster_19 {
|
||||||
color=blue
|
color=blue
|
||||||
20 [label="Enter function foo" style="filled" fillcolor=red];
|
26 [label="Enter function foo" style="filled" fillcolor=red];
|
||||||
22 [label="Const: Int(1)"];
|
28 [label="Const: Int(1)"];
|
||||||
23 [label="Const: Int(1)"];
|
29 [label="Const: Int(1)"];
|
||||||
24 [label="Function call: Int(1).R|kotlin/Int.plus|(...)"];
|
30 [label="Function call: Int(1).R|kotlin/Int.plus|(...)"];
|
||||||
25 [label="Variable declaration: lval c: R|kotlin/Int|"];
|
31 [label="Variable declaration: lval c: R|kotlin/Int|"];
|
||||||
26 [label="Function call: R|java/lang/Exception.Exception|()"];
|
32 [label="Function call: R|java/lang/Exception.Exception|()"];
|
||||||
27 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
33 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||||
28 [label="Stub" style="filled" fillcolor=gray];
|
34 [label="Stub" style="filled" fillcolor=gray];
|
||||||
21 [label="Exit function foo" style="filled" fillcolor=red];
|
27 [label="Exit function foo" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
62 [label="Exit function anonymousFunction"];
|
21 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
60 [label="Postponed exit from lambda"];
|
66 [label="Postponed exit from lambda"];
|
||||||
67 [label="Function call: R|/run|(...)"];
|
67 [label="Function call: R|/run|(...)"];
|
||||||
58 [label="Exit property" style="filled" fillcolor=red];
|
64 [label="Exit property" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
57 -> {59};
|
63 -> {65};
|
||||||
59 -> {61};
|
65 -> {20};
|
||||||
59 -> {60} [color=red];
|
65 -> {66} [color=red];
|
||||||
60 -> {67};
|
66 -> {67};
|
||||||
61 -> {62 63};
|
67 -> {64};
|
||||||
61 -> {20 29} [color=red];
|
20 -> {21 22};
|
||||||
62 -> {61};
|
20 -> {26 35} [color=red];
|
||||||
62 -> {60} [color=green];
|
21 -> {20};
|
||||||
63 -> {64};
|
21 -> {66} [color=green];
|
||||||
64 -> {65};
|
|
||||||
65 -> {58};
|
|
||||||
65 -> {66} [style=dotted];
|
|
||||||
66 -> {62} [style=dotted];
|
|
||||||
67 -> {58};
|
|
||||||
20 -> {22};
|
|
||||||
22 -> {23};
|
22 -> {23};
|
||||||
23 -> {24};
|
23 -> {24};
|
||||||
24 -> {25};
|
24 -> {64};
|
||||||
25 -> {26};
|
24 -> {25} [style=dotted];
|
||||||
26 -> {27};
|
25 -> {21} [style=dotted];
|
||||||
27 -> {21};
|
26 -> {28};
|
||||||
27 -> {28} [style=dotted];
|
28 -> {29};
|
||||||
28 -> {21} [style=dotted];
|
29 -> {30};
|
||||||
42 -> {44};
|
30 -> {31};
|
||||||
42 -> {45} [color=red];
|
31 -> {32};
|
||||||
44 -> {43};
|
32 -> {33};
|
||||||
|
33 -> {27};
|
||||||
|
33 -> {34} [style=dotted];
|
||||||
|
34 -> {27} [style=dotted];
|
||||||
|
48 -> {50};
|
||||||
|
48 -> {51} [color=red];
|
||||||
|
50 -> {49};
|
||||||
|
|
||||||
subgraph cluster_20 {
|
subgraph cluster_20 {
|
||||||
color=red
|
color=red
|
||||||
|
|||||||
+76
-76
@@ -48,63 +48,63 @@ digraph returnValuesFromLambda_kt {
|
|||||||
14 [label="Postponed enter to lambda"];
|
14 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_6 {
|
subgraph cluster_6 {
|
||||||
color=blue
|
color=blue
|
||||||
16 [label="Enter function anonymousFunction"];
|
19 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=blue
|
color=blue
|
||||||
18 [label="Enter when"];
|
21 [label="Enter when"];
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=blue
|
color=blue
|
||||||
20 [label="Enter when branch condition "];
|
23 [label="Enter when branch condition "];
|
||||||
21 [label="Access variable R|<local>/b|"];
|
24 [label="Access variable R|<local>/b|"];
|
||||||
22 [label="Exit when branch condition"];
|
25 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
30 [label="Synthetic else branch"];
|
33 [label="Synthetic else branch"];
|
||||||
23 [label="Enter when branch result"];
|
26 [label="Enter when branch result"];
|
||||||
subgraph cluster_9 {
|
subgraph cluster_9 {
|
||||||
color=blue
|
color=blue
|
||||||
24 [label="Enter block"];
|
27 [label="Enter block"];
|
||||||
25 [label="Function call: R|/B.B|()"];
|
28 [label="Function call: R|/B.B|()"];
|
||||||
26 [label="Jump: ^@run R|/B.B|()"];
|
29 [label="Jump: ^@run R|/B.B|()"];
|
||||||
27 [label="Stub" style="filled" fillcolor=gray];
|
30 [label="Stub" style="filled" fillcolor=gray];
|
||||||
28 [label="Exit block" style="filled" fillcolor=gray];
|
31 [label="Exit block" style="filled" fillcolor=gray];
|
||||||
}
|
}
|
||||||
29 [label="Exit when branch result" style="filled" fillcolor=gray];
|
32 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||||
19 [label="Exit when"];
|
22 [label="Exit when"];
|
||||||
}
|
}
|
||||||
31 [label="Function call: R|/C.C|()"];
|
34 [label="Function call: R|/C.C|()"];
|
||||||
17 [label="Exit function anonymousFunction"];
|
20 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
33 [label="Call arguments union" style="filled" fillcolor=yellow];
|
17 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
15 [label="Postponed exit from lambda"];
|
15 [label="Postponed exit from lambda"];
|
||||||
32 [label="Function call: R|kotlin/run|<R|A|>(...)"];
|
16 [label="Function call: R|kotlin/run|<R|A|>(...)"];
|
||||||
34 [label="Variable declaration: lval x: R|A|"];
|
18 [label="Variable declaration: lval x: R|A|"];
|
||||||
13 [label="Exit function test_1" style="filled" fillcolor=red];
|
13 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
12 -> {14};
|
12 -> {14};
|
||||||
14 -> {16};
|
14 -> {19};
|
||||||
14 -> {15} [color=red];
|
14 -> {15} [color=red];
|
||||||
15 -> {32} [color=green];
|
15 -> {16} [color=green];
|
||||||
16 -> {18};
|
16 -> {18};
|
||||||
17 -> {15} [color=green];
|
17 -> {16} [color=red];
|
||||||
17 -> {33} [color=red];
|
18 -> {13};
|
||||||
18 -> {20};
|
19 -> {21};
|
||||||
19 -> {31};
|
20 -> {15} [color=green];
|
||||||
20 -> {21};
|
20 -> {17} [color=red];
|
||||||
21 -> {22};
|
21 -> {23};
|
||||||
22 -> {23 30};
|
22 -> {34};
|
||||||
23 -> {24};
|
23 -> {24};
|
||||||
24 -> {25};
|
24 -> {25};
|
||||||
25 -> {26};
|
25 -> {26 33};
|
||||||
26 -> {17};
|
26 -> {27};
|
||||||
26 -> {27} [style=dotted];
|
27 -> {28};
|
||||||
27 -> {28} [style=dotted];
|
28 -> {29};
|
||||||
28 -> {29} [style=dotted];
|
29 -> {20};
|
||||||
29 -> {19} [style=dotted];
|
29 -> {30} [style=dotted];
|
||||||
30 -> {19};
|
30 -> {31} [style=dotted];
|
||||||
31 -> {17};
|
31 -> {32} [style=dotted];
|
||||||
32 -> {34};
|
32 -> {22} [style=dotted];
|
||||||
33 -> {32} [color=red];
|
33 -> {22};
|
||||||
34 -> {13};
|
34 -> {20};
|
||||||
|
|
||||||
subgraph cluster_10 {
|
subgraph cluster_10 {
|
||||||
color=red
|
color=red
|
||||||
@@ -112,32 +112,32 @@ digraph returnValuesFromLambda_kt {
|
|||||||
37 [label="Postponed enter to lambda"];
|
37 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_11 {
|
subgraph cluster_11 {
|
||||||
color=blue
|
color=blue
|
||||||
39 [label="Enter function anonymousFunction"];
|
42 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
41 [label="Function call: R|/C.C|()"];
|
44 [label="Function call: R|/C.C|()"];
|
||||||
42 [label="Jump: ^@run R|/C.C|()"];
|
45 [label="Jump: ^@run R|/C.C|()"];
|
||||||
43 [label="Stub" style="filled" fillcolor=gray];
|
46 [label="Stub" style="filled" fillcolor=gray];
|
||||||
40 [label="Exit function anonymousFunction"];
|
43 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
45 [label="Call arguments union" style="filled" fillcolor=yellow];
|
40 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
38 [label="Postponed exit from lambda"];
|
38 [label="Postponed exit from lambda"];
|
||||||
44 [label="Function call: R|kotlin/run|<R|C|>(...)"];
|
39 [label="Function call: R|kotlin/run|<R|C|>(...)"];
|
||||||
46 [label="Variable declaration: lval x: R|C|"];
|
41 [label="Variable declaration: lval x: R|C|"];
|
||||||
36 [label="Exit function test_2" style="filled" fillcolor=red];
|
36 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
35 -> {37};
|
35 -> {37};
|
||||||
37 -> {39};
|
37 -> {42};
|
||||||
37 -> {38} [color=red];
|
37 -> {38} [color=red];
|
||||||
38 -> {44} [color=green];
|
38 -> {39} [color=green];
|
||||||
39 -> {41};
|
39 -> {41};
|
||||||
40 -> {38} [color=green];
|
40 -> {39} [color=red];
|
||||||
40 -> {45} [color=red];
|
41 -> {36};
|
||||||
41 -> {42};
|
42 -> {44};
|
||||||
42 -> {40};
|
43 -> {38} [color=green];
|
||||||
42 -> {43} [style=dotted];
|
43 -> {40} [color=red];
|
||||||
43 -> {40} [style=dotted];
|
44 -> {45};
|
||||||
44 -> {46};
|
45 -> {43};
|
||||||
45 -> {44} [color=red];
|
45 -> {46} [style=dotted];
|
||||||
46 -> {36};
|
46 -> {43} [style=dotted];
|
||||||
|
|
||||||
subgraph cluster_12 {
|
subgraph cluster_12 {
|
||||||
color=red
|
color=red
|
||||||
@@ -145,31 +145,31 @@ digraph returnValuesFromLambda_kt {
|
|||||||
49 [label="Postponed enter to lambda"];
|
49 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_13 {
|
subgraph cluster_13 {
|
||||||
color=blue
|
color=blue
|
||||||
51 [label="Enter function anonymousFunction"];
|
55 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
53 [label="Jump: ^test_3 Unit"];
|
57 [label="Jump: ^test_3 Unit"];
|
||||||
54 [label="Stub" style="filled" fillcolor=gray];
|
58 [label="Stub" style="filled" fillcolor=gray];
|
||||||
52 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
|
56 [label="Exit function anonymousFunction" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||||
}
|
}
|
||||||
56 [label="Call arguments union" style="filled" fillcolor=gray];
|
52 [label="Call arguments union" style="filled" fillcolor=gray];
|
||||||
50 [label="Postponed exit from lambda"];
|
50 [label="Postponed exit from lambda"];
|
||||||
55 [label="Function call: R|kotlin/run|<R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
|
51 [label="Function call: R|kotlin/run|<R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
|
||||||
57 [label="Stub" style="filled" fillcolor=gray];
|
53 [label="Stub" style="filled" fillcolor=gray];
|
||||||
58 [label="Variable declaration: lval x: R|kotlin/Nothing|" style="filled" fillcolor=gray];
|
54 [label="Variable declaration: lval x: R|kotlin/Nothing|" style="filled" fillcolor=gray];
|
||||||
48 [label="Exit function test_3" style="filled" fillcolor=red];
|
48 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
47 -> {49};
|
47 -> {49};
|
||||||
49 -> {51};
|
49 -> {55};
|
||||||
49 -> {50} [color=red];
|
49 -> {50} [color=red];
|
||||||
50 -> {55} [color=green];
|
50 -> {51} [color=green];
|
||||||
51 -> {53};
|
51 -> {48 53} [style=dotted];
|
||||||
52 -> {56} [style=dotted];
|
52 -> {51} [style=dotted];
|
||||||
52 -> {50} [color=green];
|
|
||||||
53 -> {48};
|
|
||||||
53 -> {54} [style=dotted];
|
53 -> {54} [style=dotted];
|
||||||
54 -> {52} [style=dotted];
|
54 -> {48} [style=dotted];
|
||||||
55 -> {48 57} [style=dotted];
|
55 -> {57};
|
||||||
56 -> {55} [style=dotted];
|
56 -> {52} [style=dotted];
|
||||||
|
56 -> {50} [color=green];
|
||||||
|
57 -> {48};
|
||||||
57 -> {58} [style=dotted];
|
57 -> {58} [style=dotted];
|
||||||
58 -> {48} [style=dotted];
|
58 -> {56} [style=dotted];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+59
-59
@@ -44,7 +44,7 @@ digraph inPlaceLambdas_kt {
|
|||||||
14 [label="Type operator: (R|<local>/x| is R|A|)"];
|
14 [label="Type operator: (R|<local>/x| is R|A|)"];
|
||||||
15 [label="Exit when branch condition"];
|
15 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
28 [label="Synthetic else branch"];
|
24 [label="Synthetic else branch"];
|
||||||
16 [label="Enter when branch result"];
|
16 [label="Enter when branch result"];
|
||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=blue
|
color=blue
|
||||||
@@ -52,17 +52,17 @@ digraph inPlaceLambdas_kt {
|
|||||||
18 [label="Postponed enter to lambda"];
|
18 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=blue
|
color=blue
|
||||||
20 [label="Enter function anonymousFunction"];
|
25 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
22 [label="Access variable R|<local>/x|"];
|
27 [label="Access variable R|<local>/x|"];
|
||||||
23 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
28 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||||
21 [label="Exit function anonymousFunction"];
|
26 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
25 [label="Call arguments union" style="filled" fillcolor=yellow];
|
21 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
19 [label="Postponed exit from lambda"];
|
19 [label="Postponed exit from lambda"];
|
||||||
24 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)"];
|
20 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)"];
|
||||||
26 [label="Exit block"];
|
22 [label="Exit block"];
|
||||||
}
|
}
|
||||||
27 [label="Exit when branch result"];
|
23 [label="Exit when branch result"];
|
||||||
11 [label="Exit when"];
|
11 [label="Exit when"];
|
||||||
}
|
}
|
||||||
9 [label="Exit function test_1" style="filled" fillcolor=red];
|
9 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||||
@@ -73,22 +73,22 @@ digraph inPlaceLambdas_kt {
|
|||||||
12 -> {13};
|
12 -> {13};
|
||||||
13 -> {14};
|
13 -> {14};
|
||||||
14 -> {15};
|
14 -> {15};
|
||||||
15 -> {16 28};
|
15 -> {16 24};
|
||||||
16 -> {17};
|
16 -> {17};
|
||||||
17 -> {18};
|
17 -> {18};
|
||||||
18 -> {20};
|
18 -> {25};
|
||||||
18 -> {19} [color=red];
|
18 -> {19} [color=red];
|
||||||
19 -> {24} [color=green];
|
19 -> {20} [color=green];
|
||||||
20 -> {22};
|
20 -> {22};
|
||||||
21 -> {19} [color=green];
|
21 -> {20} [color=red];
|
||||||
21 -> {25} [color=red];
|
|
||||||
22 -> {23};
|
22 -> {23};
|
||||||
23 -> {21};
|
23 -> {11};
|
||||||
24 -> {26};
|
24 -> {11};
|
||||||
25 -> {24} [color=red];
|
25 -> {27};
|
||||||
26 -> {27};
|
26 -> {19} [color=green];
|
||||||
27 -> {11};
|
26 -> {21} [color=red];
|
||||||
28 -> {11};
|
27 -> {28};
|
||||||
|
28 -> {26};
|
||||||
|
|
||||||
subgraph cluster_9 {
|
subgraph cluster_9 {
|
||||||
color=red
|
color=red
|
||||||
@@ -96,31 +96,31 @@ digraph inPlaceLambdas_kt {
|
|||||||
31 [label="Postponed enter to lambda"];
|
31 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_10 {
|
subgraph cluster_10 {
|
||||||
color=blue
|
color=blue
|
||||||
33 [label="Enter function anonymousFunction"];
|
37 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
35 [label="Access variable R|<local>/x|"];
|
39 [label="Access variable R|<local>/x|"];
|
||||||
36 [label="Type operator: (R|<local>/x| as R|B|)"];
|
40 [label="Type operator: (R|<local>/x| as R|B|)"];
|
||||||
34 [label="Exit function anonymousFunction"];
|
38 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
38 [label="Call arguments union" style="filled" fillcolor=yellow];
|
34 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
32 [label="Postponed exit from lambda"];
|
32 [label="Postponed exit from lambda"];
|
||||||
37 [label="Function call: R|kotlin/run|<R|B|>(...)"];
|
33 [label="Function call: R|kotlin/run|<R|B|>(...)"];
|
||||||
39 [label="Access variable R|<local>/x|"];
|
35 [label="Access variable R|<local>/x|"];
|
||||||
40 [label="Function call: R|<local>/x|.R|/B.bar|()"];
|
36 [label="Function call: R|<local>/x|.R|/B.bar|()"];
|
||||||
30 [label="Exit function test_2" style="filled" fillcolor=red];
|
30 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
29 -> {31};
|
29 -> {31};
|
||||||
31 -> {33};
|
31 -> {37};
|
||||||
31 -> {32} [color=red];
|
31 -> {32} [color=red];
|
||||||
32 -> {37} [color=green];
|
32 -> {33} [color=green];
|
||||||
33 -> {35};
|
33 -> {35};
|
||||||
34 -> {32} [color=green];
|
34 -> {33} [color=red];
|
||||||
34 -> {38} [color=red];
|
|
||||||
35 -> {36};
|
35 -> {36};
|
||||||
36 -> {34};
|
36 -> {30};
|
||||||
37 -> {39};
|
37 -> {39};
|
||||||
38 -> {37} [color=red];
|
38 -> {32} [color=green];
|
||||||
|
38 -> {34} [color=red];
|
||||||
39 -> {40};
|
39 -> {40};
|
||||||
40 -> {30};
|
40 -> {38};
|
||||||
|
|
||||||
subgraph cluster_11 {
|
subgraph cluster_11 {
|
||||||
color=red
|
color=red
|
||||||
@@ -135,7 +135,7 @@ digraph inPlaceLambdas_kt {
|
|||||||
47 [label="Type operator: (R|<local>/x| is R|A|)"];
|
47 [label="Type operator: (R|<local>/x| is R|A|)"];
|
||||||
48 [label="Exit when branch condition"];
|
48 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
65 [label="Synthetic else branch"];
|
59 [label="Synthetic else branch"];
|
||||||
49 [label="Enter when branch result"];
|
49 [label="Enter when branch result"];
|
||||||
subgraph cluster_14 {
|
subgraph cluster_14 {
|
||||||
color=blue
|
color=blue
|
||||||
@@ -143,21 +143,21 @@ digraph inPlaceLambdas_kt {
|
|||||||
51 [label="Postponed enter to lambda"];
|
51 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_15 {
|
subgraph cluster_15 {
|
||||||
color=blue
|
color=blue
|
||||||
53 [label="Enter function anonymousFunction"];
|
60 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
55 [label="Access variable R|<local>/x|"];
|
62 [label="Access variable R|<local>/x|"];
|
||||||
56 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
63 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||||
57 [label="Access variable R|<local>/x|"];
|
64 [label="Access variable R|<local>/x|"];
|
||||||
58 [label="Type operator: (R|<local>/x| as R|B|)"];
|
65 [label="Type operator: (R|<local>/x| as R|B|)"];
|
||||||
54 [label="Exit function anonymousFunction"];
|
61 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
60 [label="Call arguments union" style="filled" fillcolor=yellow];
|
54 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
52 [label="Postponed exit from lambda"];
|
52 [label="Postponed exit from lambda"];
|
||||||
59 [label="Function call: R|kotlin/run|<R|B|>(...)"];
|
53 [label="Function call: R|kotlin/run|<R|B|>(...)"];
|
||||||
61 [label="Access variable R|<local>/x|"];
|
55 [label="Access variable R|<local>/x|"];
|
||||||
62 [label="Function call: R|<local>/x|.R|/B.bar|()"];
|
56 [label="Function call: R|<local>/x|.R|/B.bar|()"];
|
||||||
63 [label="Exit block"];
|
57 [label="Exit block"];
|
||||||
}
|
}
|
||||||
64 [label="Exit when branch result"];
|
58 [label="Exit when branch result"];
|
||||||
44 [label="Exit when"];
|
44 [label="Exit when"];
|
||||||
}
|
}
|
||||||
42 [label="Exit function test_3" style="filled" fillcolor=red];
|
42 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||||
@@ -168,25 +168,25 @@ digraph inPlaceLambdas_kt {
|
|||||||
45 -> {46};
|
45 -> {46};
|
||||||
46 -> {47};
|
46 -> {47};
|
||||||
47 -> {48};
|
47 -> {48};
|
||||||
48 -> {49 65};
|
48 -> {49 59};
|
||||||
49 -> {50};
|
49 -> {50};
|
||||||
50 -> {51};
|
50 -> {51};
|
||||||
51 -> {53};
|
51 -> {60};
|
||||||
51 -> {52} [color=red];
|
51 -> {52} [color=red];
|
||||||
52 -> {59} [color=green];
|
52 -> {53} [color=green];
|
||||||
53 -> {55};
|
53 -> {55};
|
||||||
54 -> {52} [color=green];
|
54 -> {53} [color=red];
|
||||||
54 -> {60} [color=red];
|
|
||||||
55 -> {56};
|
55 -> {56};
|
||||||
56 -> {57};
|
56 -> {57};
|
||||||
57 -> {58};
|
57 -> {58};
|
||||||
58 -> {54};
|
58 -> {44};
|
||||||
59 -> {61};
|
59 -> {44};
|
||||||
60 -> {59} [color=red];
|
60 -> {62};
|
||||||
61 -> {62};
|
61 -> {52} [color=green];
|
||||||
|
61 -> {54} [color=red];
|
||||||
62 -> {63};
|
62 -> {63};
|
||||||
63 -> {64};
|
63 -> {64};
|
||||||
64 -> {44};
|
64 -> {65};
|
||||||
65 -> {44};
|
65 -> {61};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+53
-54
@@ -207,76 +207,75 @@ digraph implicitReceivers_kt {
|
|||||||
73 [label="Postponed enter to lambda"];
|
73 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_20 {
|
subgraph cluster_20 {
|
||||||
color=blue
|
color=blue
|
||||||
75 [label="Enter function anonymousFunction"];
|
77 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
77 [label="Access variable R|<local>/b|"];
|
79 [label="Access variable R|<local>/b|"];
|
||||||
78 [label="Postponed enter to lambda"];
|
80 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_21 {
|
subgraph cluster_21 {
|
||||||
color=blue
|
color=blue
|
||||||
80 [label="Enter function anonymousFunction"];
|
83 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
82 [label="Access variable R|<local>/c|"];
|
85 [label="Access variable R|<local>/c|"];
|
||||||
83 [label="Postponed enter to lambda"];
|
86 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_22 {
|
subgraph cluster_22 {
|
||||||
color=blue
|
color=blue
|
||||||
85 [label="Enter function anonymousFunction"];
|
93 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
87 [label="Access variable this@R|special/anonymous|"];
|
95 [label="Access variable this@R|special/anonymous|"];
|
||||||
88 [label="Type operator: (this@R|special/anonymous| as R|A|)"];
|
96 [label="Type operator: (this@R|special/anonymous| as R|A|)"];
|
||||||
89 [label="Access variable this@R|special/anonymous|"];
|
97 [label="Access variable this@R|special/anonymous|"];
|
||||||
90 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
98 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
||||||
91 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
99 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
||||||
86 [label="Exit function anonymousFunction"];
|
94 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
93 [label="Call arguments union" style="filled" fillcolor=yellow];
|
89 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
84 [label="Postponed exit from lambda"];
|
87 [label="Postponed exit from lambda"];
|
||||||
92 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
88 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
||||||
94 [label="Access variable this@R|special/anonymous|"];
|
90 [label="Access variable this@R|special/anonymous|"];
|
||||||
95 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
91 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
||||||
96 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
92 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
||||||
81 [label="Exit function anonymousFunction"];
|
84 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
79 [label="Postponed exit from lambda"];
|
81 [label="Postponed exit from lambda"];
|
||||||
97 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
82 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
||||||
76 [label="Exit function anonymousFunction"];
|
78 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
99 [label="Call arguments union" style="filled" fillcolor=yellow];
|
76 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
74 [label="Postponed exit from lambda"];
|
74 [label="Postponed exit from lambda"];
|
||||||
98 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
75 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
||||||
71 [label="Exit function test_3" style="filled" fillcolor=red];
|
71 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
70 -> {72};
|
70 -> {72};
|
||||||
72 -> {73};
|
72 -> {73};
|
||||||
73 -> {75};
|
73 -> {77};
|
||||||
73 -> {74} [color=red];
|
73 -> {74} [color=red];
|
||||||
74 -> {98} [color=green];
|
74 -> {75} [color=green];
|
||||||
75 -> {77};
|
75 -> {71};
|
||||||
76 -> {74} [color=green];
|
76 -> {75} [color=red];
|
||||||
76 -> {99} [color=red];
|
77 -> {79};
|
||||||
77 -> {78};
|
78 -> {74} [color=green];
|
||||||
78 -> {80};
|
78 -> {76} [color=red];
|
||||||
78 -> {79} [color=red];
|
79 -> {80};
|
||||||
79 -> {97};
|
80 -> {83};
|
||||||
80 -> {82};
|
80 -> {81} [color=red];
|
||||||
81 -> {79} [color=green];
|
81 -> {82};
|
||||||
81 -> {99} [color=red];
|
82 -> {78};
|
||||||
82 -> {83};
|
|
||||||
83 -> {85};
|
83 -> {85};
|
||||||
83 -> {84} [color=red];
|
84 -> {81} [color=green];
|
||||||
84 -> {92} [color=green];
|
85 -> {86};
|
||||||
85 -> {87};
|
86 -> {93};
|
||||||
86 -> {84} [color=green];
|
86 -> {87} [color=red];
|
||||||
86 -> {93} [color=red];
|
87 -> {88} [color=green];
|
||||||
87 -> {88};
|
88 -> {90};
|
||||||
88 -> {89};
|
89 -> {88} [color=red];
|
||||||
89 -> {90};
|
|
||||||
90 -> {91};
|
90 -> {91};
|
||||||
91 -> {86};
|
91 -> {92};
|
||||||
92 -> {94};
|
92 -> {84};
|
||||||
93 -> {92} [color=red];
|
93 -> {95};
|
||||||
94 -> {95};
|
94 -> {87} [color=green];
|
||||||
|
94 -> {89} [color=red];
|
||||||
95 -> {96};
|
95 -> {96};
|
||||||
96 -> {81};
|
96 -> {97};
|
||||||
97 -> {76};
|
97 -> {98};
|
||||||
98 -> {71};
|
98 -> {99};
|
||||||
99 -> {98} [color=red];
|
99 -> {94};
|
||||||
|
|
||||||
subgraph cluster_23 {
|
subgraph cluster_23 {
|
||||||
color=red
|
color=red
|
||||||
|
|||||||
+31
-31
@@ -192,45 +192,45 @@ digraph safeCalls_kt {
|
|||||||
77 [label="Postponed enter to lambda"];
|
77 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_13 {
|
subgraph cluster_13 {
|
||||||
color=blue
|
color=blue
|
||||||
79 [label="Enter function anonymousFunction"];
|
88 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
81 [label="Jump: ^test_5 Unit"];
|
90 [label="Jump: ^test_5 Unit"];
|
||||||
82 [label="Stub" style="filled" fillcolor=gray];
|
91 [label="Stub" style="filled" fillcolor=gray];
|
||||||
80 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
|
89 [label="Exit function anonymousFunction" style="filled" fillcolor=red style="filled" fillcolor=gray];
|
||||||
}
|
}
|
||||||
84 [label="Call arguments union" style="filled" fillcolor=gray];
|
80 [label="Call arguments union" style="filled" fillcolor=gray];
|
||||||
78 [label="Postponed exit from lambda"];
|
78 [label="Postponed exit from lambda"];
|
||||||
83 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
|
79 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
|
||||||
76 [label="Exit safe call"];
|
76 [label="Exit safe call"];
|
||||||
85 [label="Enter safe call"];
|
81 [label="Enter safe call"];
|
||||||
87 [label="Access variable R|<local>/x|"];
|
83 [label="Access variable R|<local>/x|"];
|
||||||
88 [label="Function call: R|<local>/x|.R|/A.bool|()"];
|
84 [label="Function call: R|<local>/x|.R|/A.bool|()"];
|
||||||
89 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)?.R|/boo|(...)"];
|
85 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)?.R|/boo|(...)"];
|
||||||
86 [label="Exit safe call"];
|
82 [label="Exit safe call"];
|
||||||
90 [label="Access variable R|<local>/x|"];
|
86 [label="Access variable R|<local>/x|"];
|
||||||
91 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
|
87 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
|
||||||
73 [label="Exit function test_5" style="filled" fillcolor=red];
|
73 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
72 -> {74};
|
72 -> {74};
|
||||||
74 -> {75 76};
|
74 -> {75 76};
|
||||||
75 -> {77};
|
75 -> {77};
|
||||||
76 -> {85 86};
|
76 -> {81 82};
|
||||||
77 -> {79};
|
77 -> {88};
|
||||||
77 -> {78} [color=red];
|
77 -> {78} [color=red];
|
||||||
78 -> {83} [color=green];
|
78 -> {79} [color=green];
|
||||||
79 -> {81};
|
79 -> {76} [style=dotted];
|
||||||
80 -> {84} [style=dotted];
|
80 -> {79} [style=dotted];
|
||||||
80 -> {78} [color=green];
|
81 -> {83};
|
||||||
81 -> {73};
|
82 -> {86};
|
||||||
81 -> {82} [style=dotted];
|
83 -> {84};
|
||||||
82 -> {80} [style=dotted];
|
84 -> {85};
|
||||||
83 -> {76} [style=dotted];
|
85 -> {82};
|
||||||
84 -> {83} [style=dotted];
|
86 -> {87};
|
||||||
85 -> {87};
|
87 -> {73};
|
||||||
86 -> {90};
|
88 -> {90};
|
||||||
87 -> {88};
|
89 -> {80} [style=dotted];
|
||||||
88 -> {89};
|
89 -> {78} [color=green];
|
||||||
89 -> {86};
|
90 -> {73};
|
||||||
90 -> {91};
|
90 -> {91} [style=dotted];
|
||||||
91 -> {73};
|
91 -> {89} [style=dotted];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+15
-15
@@ -202,14 +202,14 @@ digraph smartcastToNothing_kt {
|
|||||||
88 [label="Postponed enter to lambda"];
|
88 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_21 {
|
subgraph cluster_21 {
|
||||||
color=blue
|
color=blue
|
||||||
90 [label="Enter function anonymousFunction"];
|
92 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
92 [label="Access variable R|<local>/it|"];
|
94 [label="Access variable R|<local>/it|"];
|
||||||
93 [label="Access variable R|/A.a|"];
|
95 [label="Access variable R|/A.a|"];
|
||||||
91 [label="Exit function anonymousFunction"];
|
93 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
95 [label="Call arguments union" style="filled" fillcolor=yellow];
|
91 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
89 [label="Postponed exit from lambda"];
|
89 [label="Postponed exit from lambda"];
|
||||||
94 [label="Function call: R|<local>/s|?.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)"];
|
90 [label="Function call: R|<local>/s|?.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)"];
|
||||||
87 [label="Exit safe call"];
|
87 [label="Exit safe call"];
|
||||||
48 [label="Exit function test_0" style="filled" fillcolor=red];
|
48 [label="Exit function test_0" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
@@ -254,15 +254,15 @@ digraph smartcastToNothing_kt {
|
|||||||
85 -> {86 87};
|
85 -> {86 87};
|
||||||
86 -> {88};
|
86 -> {88};
|
||||||
87 -> {48} [style=dotted];
|
87 -> {48} [style=dotted];
|
||||||
88 -> {90};
|
88 -> {92};
|
||||||
88 -> {89} [color=red];
|
88 -> {89} [color=red];
|
||||||
89 -> {94} [color=green];
|
89 -> {90} [color=green];
|
||||||
90 -> {92};
|
90 -> {87};
|
||||||
91 -> {89} [color=green];
|
91 -> {90} [color=red];
|
||||||
91 -> {95} [color=red];
|
92 -> {94};
|
||||||
92 -> {93};
|
93 -> {89} [color=green];
|
||||||
93 -> {91};
|
93 -> {91} [color=red];
|
||||||
94 -> {87};
|
94 -> {95};
|
||||||
95 -> {94} [color=red];
|
95 -> {93};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+107
-107
@@ -10,32 +10,32 @@ digraph callsInPlace_kt {
|
|||||||
3 [label="Postponed enter to lambda"];
|
3 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_1 {
|
subgraph cluster_1 {
|
||||||
color=blue
|
color=blue
|
||||||
5 [label="Enter function anonymousFunction"];
|
9 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
7 [label="Const: Int(1)"];
|
11 [label="Const: Int(1)"];
|
||||||
8 [label="Assignment: R|<local>/x|"];
|
12 [label="Assignment: R|<local>/x|"];
|
||||||
6 [label="Exit function anonymousFunction"];
|
10 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
10 [label="Call arguments union" style="filled" fillcolor=yellow];
|
6 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
4 [label="Postponed exit from lambda"];
|
4 [label="Postponed exit from lambda"];
|
||||||
9 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)"];
|
5 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)"];
|
||||||
11 [label="Access variable R|<local>/x|"];
|
7 [label="Access variable R|<local>/x|"];
|
||||||
12 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
8 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
|
||||||
1 [label="Exit function test" style="filled" fillcolor=red];
|
1 [label="Exit function test" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
0 -> {2};
|
0 -> {2};
|
||||||
2 -> {3};
|
2 -> {3};
|
||||||
3 -> {5};
|
3 -> {9};
|
||||||
3 -> {4} [color=red];
|
3 -> {4} [color=red];
|
||||||
4 -> {9} [color=green];
|
4 -> {5} [color=green];
|
||||||
5 -> {7};
|
5 -> {7};
|
||||||
6 -> {4} [color=green];
|
6 -> {5} [color=red];
|
||||||
6 -> {10} [color=red];
|
|
||||||
7 -> {8};
|
7 -> {8};
|
||||||
8 -> {6};
|
8 -> {1};
|
||||||
9 -> {11};
|
9 -> {11};
|
||||||
10 -> {9} [color=red];
|
10 -> {4} [color=green];
|
||||||
|
10 -> {6} [color=red];
|
||||||
11 -> {12};
|
11 -> {12};
|
||||||
12 -> {1};
|
12 -> {10};
|
||||||
|
|
||||||
subgraph cluster_2 {
|
subgraph cluster_2 {
|
||||||
color=red
|
color=red
|
||||||
@@ -44,24 +44,24 @@ digraph callsInPlace_kt {
|
|||||||
16 [label="Postponed enter to lambda"];
|
16 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_3 {
|
subgraph cluster_3 {
|
||||||
color=blue
|
color=blue
|
||||||
18 [label="Enter function anonymousFunction"];
|
19 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
20 [label="Const: String(test_2)"];
|
21 [label="Const: String(test_2)"];
|
||||||
19 [label="Exit function anonymousFunction"];
|
20 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
17 [label="Postponed exit from lambda"];
|
17 [label="Postponed exit from lambda"];
|
||||||
21 [label="Function call: R|kotlin/repeat|(...)"];
|
18 [label="Function call: R|kotlin/repeat|(...)"];
|
||||||
14 [label="Exit function test_2" style="filled" fillcolor=red];
|
14 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
13 -> {15};
|
13 -> {15};
|
||||||
15 -> {16};
|
15 -> {16};
|
||||||
16 -> {18};
|
16 -> {19};
|
||||||
16 -> {17} [color=red];
|
16 -> {17} [color=red];
|
||||||
17 -> {21};
|
17 -> {18};
|
||||||
18 -> {19 20};
|
18 -> {14};
|
||||||
19 -> {18};
|
19 -> {20 21};
|
||||||
19 -> {17} [color=green];
|
|
||||||
20 -> {19};
|
20 -> {19};
|
||||||
21 -> {14};
|
20 -> {17} [color=green];
|
||||||
|
21 -> {20};
|
||||||
|
|
||||||
subgraph cluster_4 {
|
subgraph cluster_4 {
|
||||||
color=red
|
color=red
|
||||||
@@ -69,25 +69,25 @@ digraph callsInPlace_kt {
|
|||||||
24 [label="Postponed enter to lambda"];
|
24 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_5 {
|
subgraph cluster_5 {
|
||||||
color=blue
|
color=blue
|
||||||
27 [label="Enter function anonymousFunction"];
|
28 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
29 [label="Const: String(test_3)"];
|
30 [label="Const: String(test_3)"];
|
||||||
28 [label="Exit function anonymousFunction"];
|
29 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
25 [label="Postponed exit from lambda"];
|
25 [label="Postponed exit from lambda"];
|
||||||
26 [label="Const: Int(10)"];
|
26 [label="Const: Int(10)"];
|
||||||
30 [label="Function call: R|kotlin/repeat|(...)"];
|
27 [label="Function call: R|kotlin/repeat|(...)"];
|
||||||
23 [label="Exit function test_3" style="filled" fillcolor=red];
|
23 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
22 -> {24};
|
22 -> {24};
|
||||||
24 -> {27};
|
24 -> {28};
|
||||||
24 -> {25} [color=red];
|
24 -> {25} [color=red];
|
||||||
25 -> {26};
|
25 -> {26};
|
||||||
26 -> {30};
|
26 -> {27};
|
||||||
27 -> {28 29};
|
27 -> {23};
|
||||||
28 -> {27};
|
28 -> {29 30};
|
||||||
28 -> {25} [color=green];
|
|
||||||
29 -> {28};
|
29 -> {28};
|
||||||
30 -> {23};
|
29 -> {25} [color=green];
|
||||||
|
30 -> {29};
|
||||||
|
|
||||||
subgraph cluster_6 {
|
subgraph cluster_6 {
|
||||||
color=red
|
color=red
|
||||||
@@ -96,34 +96,34 @@ digraph callsInPlace_kt {
|
|||||||
34 [label="Postponed enter to lambda"];
|
34 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=blue
|
color=blue
|
||||||
36 [label="Enter function anonymousFunction"];
|
38 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
38 [label="Const: String(test_4)"];
|
40 [label="Const: String(test_4)"];
|
||||||
39 [label="Access variable R|<local>/it|"];
|
41 [label="Access variable R|<local>/it|"];
|
||||||
40 [label="Const: Int(0)"];
|
42 [label="Const: Int(0)"];
|
||||||
41 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)"];
|
43 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)"];
|
||||||
42 [label="Comparison >"];
|
44 [label="Comparison >"];
|
||||||
37 [label="Exit function anonymousFunction"];
|
39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
44 [label="Call arguments union" style="filled" fillcolor=yellow];
|
37 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
35 [label="Postponed exit from lambda"];
|
35 [label="Postponed exit from lambda"];
|
||||||
43 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)"];
|
36 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)"];
|
||||||
32 [label="Exit function test_4" style="filled" fillcolor=red];
|
32 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
31 -> {33};
|
31 -> {33};
|
||||||
33 -> {34};
|
33 -> {34};
|
||||||
34 -> {36};
|
34 -> {38};
|
||||||
34 -> {35} [color=red];
|
34 -> {35} [color=red];
|
||||||
35 -> {43} [color=green];
|
35 -> {36} [color=green];
|
||||||
36 -> {38};
|
36 -> {32};
|
||||||
37 -> {35} [color=green];
|
37 -> {36} [color=red];
|
||||||
37 -> {44} [color=red];
|
38 -> {40};
|
||||||
38 -> {39};
|
39 -> {35} [color=green];
|
||||||
39 -> {40};
|
39 -> {37} [color=red];
|
||||||
40 -> {41};
|
40 -> {41};
|
||||||
41 -> {42};
|
41 -> {42};
|
||||||
42 -> {37};
|
42 -> {43};
|
||||||
43 -> {32};
|
43 -> {44};
|
||||||
44 -> {43} [color=red];
|
44 -> {39};
|
||||||
|
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=red
|
color=red
|
||||||
@@ -132,34 +132,34 @@ digraph callsInPlace_kt {
|
|||||||
48 [label="Postponed enter to lambda"];
|
48 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_9 {
|
subgraph cluster_9 {
|
||||||
color=blue
|
color=blue
|
||||||
50 [label="Enter function anonymousFunction"];
|
52 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
52 [label="Const: String(test_5)"];
|
54 [label="Const: String(test_5)"];
|
||||||
53 [label="Access variable R|<local>/it|"];
|
55 [label="Access variable R|<local>/it|"];
|
||||||
54 [label="Const: Int(0)"];
|
56 [label="Const: Int(0)"];
|
||||||
55 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)"];
|
57 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)"];
|
||||||
56 [label="Comparison >"];
|
58 [label="Comparison >"];
|
||||||
51 [label="Exit function anonymousFunction"];
|
53 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
58 [label="Call arguments union" style="filled" fillcolor=yellow];
|
51 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
49 [label="Postponed exit from lambda"];
|
49 [label="Postponed exit from lambda"];
|
||||||
57 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)"];
|
50 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)"];
|
||||||
46 [label="Exit function test_5" style="filled" fillcolor=red];
|
46 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
45 -> {47};
|
45 -> {47};
|
||||||
47 -> {48};
|
47 -> {48};
|
||||||
48 -> {50};
|
48 -> {52};
|
||||||
48 -> {49} [color=red];
|
48 -> {49} [color=red];
|
||||||
49 -> {57} [color=green];
|
49 -> {50} [color=green];
|
||||||
50 -> {52};
|
50 -> {46};
|
||||||
51 -> {49} [color=green];
|
51 -> {50} [color=red];
|
||||||
51 -> {58} [color=red];
|
52 -> {54};
|
||||||
52 -> {53};
|
53 -> {49} [color=green];
|
||||||
53 -> {54};
|
53 -> {51} [color=red];
|
||||||
54 -> {55};
|
54 -> {55};
|
||||||
55 -> {56};
|
55 -> {56};
|
||||||
56 -> {51};
|
56 -> {57};
|
||||||
57 -> {46};
|
57 -> {58};
|
||||||
58 -> {57} [color=red];
|
58 -> {53};
|
||||||
|
|
||||||
subgraph cluster_10 {
|
subgraph cluster_10 {
|
||||||
color=red
|
color=red
|
||||||
@@ -178,38 +178,38 @@ digraph callsInPlace_kt {
|
|||||||
65 [label="Postponed enter to lambda"];
|
65 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_12 {
|
subgraph cluster_12 {
|
||||||
color=blue
|
color=blue
|
||||||
69 [label="Enter function anonymousFunction"];
|
70 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
71 [label="Const: String(test_6_1)"];
|
72 [label="Const: String(test_6_1)"];
|
||||||
70 [label="Exit function anonymousFunction"];
|
71 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
66 [label="Postponed exit from lambda"];
|
66 [label="Postponed exit from lambda"];
|
||||||
67 [label="Postponed enter to lambda"];
|
67 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_13 {
|
subgraph cluster_13 {
|
||||||
color=blue
|
color=blue
|
||||||
72 [label="Enter function anonymousFunction"];
|
73 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
74 [label="Const: String(test_6_2)"];
|
75 [label="Const: String(test_6_2)"];
|
||||||
73 [label="Exit function anonymousFunction"];
|
74 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
68 [label="Postponed exit from lambda"];
|
68 [label="Postponed exit from lambda"];
|
||||||
75 [label="Function call: R|/myRun|(...)"];
|
69 [label="Function call: R|/myRun|(...)"];
|
||||||
64 [label="Exit function test_6" style="filled" fillcolor=red];
|
64 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
63 -> {65};
|
63 -> {65};
|
||||||
65 -> {69};
|
65 -> {70};
|
||||||
65 -> {66} [color=red];
|
65 -> {66} [color=red];
|
||||||
66 -> {67};
|
66 -> {67};
|
||||||
67 -> {72};
|
67 -> {73};
|
||||||
67 -> {68} [color=red];
|
67 -> {68} [color=red];
|
||||||
68 -> {75};
|
68 -> {69};
|
||||||
69 -> {70 71};
|
69 -> {64};
|
||||||
70 -> {69};
|
70 -> {71 72};
|
||||||
70 -> {66} [color=green];
|
|
||||||
71 -> {70};
|
71 -> {70};
|
||||||
72 -> {73 74};
|
71 -> {66} [color=green];
|
||||||
73 -> {72};
|
72 -> {71};
|
||||||
73 -> {68} [color=green];
|
73 -> {74 75};
|
||||||
74 -> {73};
|
74 -> {73};
|
||||||
75 -> {64};
|
74 -> {68} [color=green];
|
||||||
|
75 -> {74};
|
||||||
|
|
||||||
subgraph cluster_14 {
|
subgraph cluster_14 {
|
||||||
color=red
|
color=red
|
||||||
@@ -217,38 +217,38 @@ digraph callsInPlace_kt {
|
|||||||
78 [label="Postponed enter to lambda"];
|
78 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_15 {
|
subgraph cluster_15 {
|
||||||
color=blue
|
color=blue
|
||||||
82 [label="Enter function anonymousFunction"];
|
83 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
84 [label="Const: String(test_7_2)"];
|
85 [label="Const: String(test_7_2)"];
|
||||||
83 [label="Exit function anonymousFunction"];
|
84 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
79 [label="Postponed exit from lambda"];
|
79 [label="Postponed exit from lambda"];
|
||||||
80 [label="Postponed enter to lambda"];
|
80 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_16 {
|
subgraph cluster_16 {
|
||||||
color=blue
|
color=blue
|
||||||
85 [label="Enter function anonymousFunction"];
|
86 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
87 [label="Const: String(test_7_1)"];
|
88 [label="Const: String(test_7_1)"];
|
||||||
86 [label="Exit function anonymousFunction"];
|
87 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
81 [label="Postponed exit from lambda"];
|
81 [label="Postponed exit from lambda"];
|
||||||
88 [label="Function call: R|/myRun|(...)"];
|
82 [label="Function call: R|/myRun|(...)"];
|
||||||
77 [label="Exit function test_7" style="filled" fillcolor=red];
|
77 [label="Exit function test_7" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
76 -> {78};
|
76 -> {78};
|
||||||
78 -> {82};
|
78 -> {83};
|
||||||
78 -> {79} [color=red];
|
78 -> {79} [color=red];
|
||||||
79 -> {80};
|
79 -> {80};
|
||||||
80 -> {85};
|
80 -> {86};
|
||||||
80 -> {81} [color=red];
|
80 -> {81} [color=red];
|
||||||
81 -> {88};
|
81 -> {82};
|
||||||
82 -> {83 84};
|
82 -> {77};
|
||||||
83 -> {82};
|
83 -> {84 85};
|
||||||
83 -> {79} [color=green];
|
|
||||||
84 -> {83};
|
84 -> {83};
|
||||||
85 -> {86 87};
|
84 -> {79} [color=green];
|
||||||
86 -> {85};
|
85 -> {84};
|
||||||
86 -> {81} [color=green];
|
86 -> {87 88};
|
||||||
87 -> {86};
|
87 -> {86};
|
||||||
88 -> {77};
|
87 -> {81} [color=green];
|
||||||
|
88 -> {87};
|
||||||
|
|
||||||
subgraph cluster_17 {
|
subgraph cluster_17 {
|
||||||
color=red
|
color=red
|
||||||
|
|||||||
+25
-25
@@ -40,29 +40,29 @@ digraph tryWithLambdaInside_kt {
|
|||||||
15 [label="Postponed enter to lambda"];
|
15 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_6 {
|
subgraph cluster_6 {
|
||||||
color=blue
|
color=blue
|
||||||
17 [label="Enter function anonymousFunction"];
|
25 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
19 [label="Access variable R|<local>/it|"];
|
27 [label="Access variable R|<local>/it|"];
|
||||||
18 [label="Exit function anonymousFunction"];
|
26 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
16 [label="Postponed exit from lambda"];
|
16 [label="Postponed exit from lambda"];
|
||||||
20 [label="Function call: R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(...)"];
|
17 [label="Function call: R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(...)"];
|
||||||
21 [label="Exit block"];
|
18 [label="Exit block"];
|
||||||
}
|
}
|
||||||
22 [label="Try main block exit"];
|
19 [label="Try main block exit"];
|
||||||
}
|
}
|
||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=blue
|
color=blue
|
||||||
12 [label="Enter finally"];
|
12 [label="Enter finally"];
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=blue
|
color=blue
|
||||||
23 [label="Enter block"];
|
20 [label="Enter block"];
|
||||||
24 [label="Exit block"];
|
21 [label="Exit block"];
|
||||||
}
|
}
|
||||||
25 [label="Exit finally"];
|
22 [label="Exit finally"];
|
||||||
}
|
}
|
||||||
10 [label="Try expression exit"];
|
10 [label="Try expression exit"];
|
||||||
}
|
}
|
||||||
26 [label="Jump: ^testInPlace try {
|
23 [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| <kind=UNKNOWN> {
|
R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(<L> = filter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| <kind=UNKNOWN> {
|
||||||
^ R|<local>/it|
|
^ R|<local>/it|
|
||||||
}
|
}
|
||||||
@@ -71,32 +71,32 @@ digraph tryWithLambdaInside_kt {
|
|||||||
finally {
|
finally {
|
||||||
}
|
}
|
||||||
"];
|
"];
|
||||||
27 [label="Stub" style="filled" fillcolor=gray];
|
24 [label="Stub" style="filled" fillcolor=gray];
|
||||||
8 [label="Exit function testInPlace" style="filled" fillcolor=red];
|
8 [label="Exit function testInPlace" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
7 -> {9};
|
7 -> {9};
|
||||||
9 -> {11};
|
9 -> {11};
|
||||||
10 -> {26};
|
10 -> {23};
|
||||||
11 -> {8 12 13};
|
11 -> {8 12 13};
|
||||||
12 -> {23};
|
12 -> {20};
|
||||||
13 -> {14};
|
13 -> {14};
|
||||||
14 -> {15};
|
14 -> {15};
|
||||||
15 -> {17};
|
15 -> {25};
|
||||||
15 -> {16} [color=red];
|
15 -> {16} [color=red];
|
||||||
16 -> {20};
|
16 -> {17};
|
||||||
17 -> {18 19};
|
17 -> {18};
|
||||||
18 -> {17};
|
18 -> {19};
|
||||||
18 -> {16} [color=green];
|
19 -> {10};
|
||||||
19 -> {18};
|
|
||||||
20 -> {21};
|
20 -> {21};
|
||||||
21 -> {22};
|
21 -> {22};
|
||||||
22 -> {10};
|
22 -> {10};
|
||||||
23 -> {24};
|
23 -> {8};
|
||||||
24 -> {25};
|
23 -> {24} [style=dotted];
|
||||||
25 -> {10};
|
24 -> {8} [style=dotted];
|
||||||
26 -> {8};
|
25 -> {26 27};
|
||||||
26 -> {27} [style=dotted];
|
26 -> {25};
|
||||||
27 -> {8} [style=dotted];
|
26 -> {16} [color=green];
|
||||||
|
27 -> {26};
|
||||||
|
|
||||||
subgraph cluster_9 {
|
subgraph cluster_9 {
|
||||||
color=red
|
color=red
|
||||||
|
|||||||
+1
-1
@@ -133,7 +133,7 @@ abstract class FirDataFlowAnalyzer<FLOW : Flow>(
|
|||||||
functionEnterNode.mergeIncomingFlow(shouldForkFlow = previousNode != null)
|
functionEnterNode.mergeIncomingFlow(shouldForkFlow = previousNode != null)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun exitFunction(function: FirFunction<*>): ControlFlowGraph? {
|
fun exitFunction(function: FirFunction<*>): ControlFlowGraph {
|
||||||
val (node, graph) = graphBuilder.exitFunction(function)
|
val (node, graph) = graphBuilder.exitFunction(function)
|
||||||
node.mergeIncomingFlow()
|
node.mergeIncomingFlow()
|
||||||
if (!graphBuilder.isTopLevel()) {
|
if (!graphBuilder.isTopLevel()) {
|
||||||
|
|||||||
+10
-17
@@ -95,11 +95,9 @@ class ControlFlowGraphBuilder {
|
|||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isInplace) {
|
graphs.push(ControlFlowGraph(function, name, ControlFlowGraph.Kind.Function))
|
||||||
graphs.push(ControlFlowGraph(function, name, ControlFlowGraph.Kind.Function))
|
|
||||||
}
|
|
||||||
|
|
||||||
val enterNode = createFunctionEnterNode(function, isInplace).also {
|
val enterNode = createFunctionEnterNode(function).also {
|
||||||
if (isInplace) {
|
if (isInplace) {
|
||||||
val postponedEnterNode = entersToPostponedAnonymousFunctions[function.symbol]
|
val postponedEnterNode = entersToPostponedAnonymousFunctions[function.symbol]
|
||||||
if (postponedEnterNode != null) {
|
if (postponedEnterNode != null) {
|
||||||
@@ -117,7 +115,7 @@ class ControlFlowGraphBuilder {
|
|||||||
if (previousNode != null && !isInplace) {
|
if (previousNode != null && !isInplace) {
|
||||||
addEdge(previousNode, enterNode, preferredKind = EdgeKind.Dfg)
|
addEdge(previousNode, enterNode, preferredKind = EdgeKind.Dfg)
|
||||||
}
|
}
|
||||||
val exitNode = createFunctionExitNode(function, isInplace)
|
val exitNode = createFunctionExitNode(function)
|
||||||
if (function is FirAnonymousFunction) {
|
if (function is FirAnonymousFunction) {
|
||||||
exitsOfAnonymousFunctions[function] = exitNode
|
exitsOfAnonymousFunctions[function] = exitNode
|
||||||
}
|
}
|
||||||
@@ -137,7 +135,7 @@ class ControlFlowGraphBuilder {
|
|||||||
return enterNode to previousNode
|
return enterNode to previousNode
|
||||||
}
|
}
|
||||||
|
|
||||||
fun exitFunction(function: FirFunction<*>): Pair<FunctionExitNode, ControlFlowGraph?> {
|
fun exitFunction(function: FirFunction<*>): Pair<FunctionExitNode, ControlFlowGraph> {
|
||||||
levelCounter--
|
levelCounter--
|
||||||
val exitNode = functionExitNodes.pop()
|
val exitNode = functionExitNodes.pop()
|
||||||
val invocationKind = function.invocationKind
|
val invocationKind = function.invocationKind
|
||||||
@@ -171,19 +169,14 @@ class ControlFlowGraphBuilder {
|
|||||||
lexicalScopes.pop()
|
lexicalScopes.pop()
|
||||||
}
|
}
|
||||||
exitNode.updateDeadStatus()
|
exitNode.updateDeadStatus()
|
||||||
val graph = if (!isInplace) {
|
val graph = graphs.pop().also { graph ->
|
||||||
graphs.pop().also { graph ->
|
exitsFromCompletedPostponedAnonymousFunctions.removeAll { it.owner == graph }
|
||||||
exitsFromCompletedPostponedAnonymousFunctions.removeAll { it.owner == graph }
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
null
|
|
||||||
}
|
}
|
||||||
if (graph != null) {
|
val previousGraph = parentGraphForAnonymousFunctions.remove(function.symbol) ?: graphs.top()
|
||||||
val previousGraph = parentGraphForAnonymousFunctions.remove(function.symbol) ?: graphs.top()
|
if (previousGraph.kind == ControlFlowGraph.Kind.Function) {
|
||||||
if (previousGraph.kind == ControlFlowGraph.Kind.Function) {
|
previousGraph.addSubGraph(graph)
|
||||||
previousGraph.addSubGraph(graph)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return exitNode to graph
|
return exitNode to graph
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-8
@@ -56,18 +56,14 @@ fun ControlFlowGraphBuilder.createPropertyInitializerExitNode(fir: FirProperty):
|
|||||||
fun ControlFlowGraphBuilder.createPropertyInitializerEnterNode(fir: FirProperty): PropertyInitializerEnterNode =
|
fun ControlFlowGraphBuilder.createPropertyInitializerEnterNode(fir: FirProperty): PropertyInitializerEnterNode =
|
||||||
PropertyInitializerEnterNode(graph, fir, levelCounter, createId())
|
PropertyInitializerEnterNode(graph, fir, levelCounter, createId())
|
||||||
|
|
||||||
fun ControlFlowGraphBuilder.createFunctionEnterNode(fir: FirFunction<*>, isInPlace: Boolean): FunctionEnterNode =
|
fun ControlFlowGraphBuilder.createFunctionEnterNode(fir: FirFunction<*>): FunctionEnterNode =
|
||||||
FunctionEnterNode(graph, fir, levelCounter, createId()).also {
|
FunctionEnterNode(graph, fir, levelCounter, createId()).also {
|
||||||
if (!isInPlace) {
|
graph.enterNode = it
|
||||||
graph.enterNode = it
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun ControlFlowGraphBuilder.createFunctionExitNode(fir: FirFunction<*>, isInPlace: Boolean): FunctionExitNode =
|
fun ControlFlowGraphBuilder.createFunctionExitNode(fir: FirFunction<*>): FunctionExitNode =
|
||||||
FunctionExitNode(graph, fir, levelCounter, createId()).also {
|
FunctionExitNode(graph, fir, levelCounter, createId()).also {
|
||||||
if (!isInPlace) {
|
graph.exitNode = it
|
||||||
graph.exitNode = it
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun ControlFlowGraphBuilder.createBinaryOrEnterNode(fir: FirBinaryLogicExpression): BinaryOrEnterNode =
|
fun ControlFlowGraphBuilder.createBinaryOrEnterNode(fir: FirBinaryLogicExpression): BinaryOrEnterNode =
|
||||||
|
|||||||
+2
-3
@@ -439,9 +439,8 @@ class FirDeclarationsResolveTransformer(transformer: FirBodyResolveTransformer)
|
|||||||
transformDeclarationContent(function, data).also {
|
transformDeclarationContent(function, data).also {
|
||||||
if (functionIsNotAnalyzed) {
|
if (functionIsNotAnalyzed) {
|
||||||
val result = it.single as FirFunction<*>
|
val result = it.single as FirFunction<*>
|
||||||
dataFlowAnalyzer.exitFunction(result)?.let { controlFlowGraph ->
|
val controlFlowGraph = dataFlowAnalyzer.exitFunction(result)
|
||||||
result.transformControlFlowGraphReference(ControlFlowGraphReferenceTransformer, controlFlowGraph)
|
result.transformControlFlowGraphReference(ControlFlowGraphReferenceTransformer, controlFlowGraph)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} as CompositeTransformResult<FirStatement>
|
} as CompositeTransformResult<FirStatement>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user