[FIR] Add control flow graph to inplace lambdas

This commit is contained in:
Dmitriy Novozhilov
2020-03-31 15:23:32 +03:00
parent 1d39270b3e
commit bcd2e5ed2c
20 changed files with 983 additions and 996 deletions
@@ -26,37 +26,37 @@ digraph postponedLambdaInConstructor_kt {
8 [label="Postponed enter to lambda"];
subgraph cluster_3 {
color=blue
10 [label="Enter function anonymousFunction"];
12 [label="Postponed enter to lambda"];
13 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
15 [label="Postponed enter to lambda"];
subgraph cluster_4 {
color=blue
17 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
19 [label="Access variable R|<local>/it|"];
18 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
13 [label="Postponed exit from lambda"];
11 [label="Exit function anonymousFunction"];
16 [label="Postponed exit from lambda"];
14 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
9 [label="Postponed exit from lambda"];
14 [label="Function call: R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(...)"];
16 [label="Call arguments union" style="filled" fillcolor=yellow];
15 [label="Delegated constructor call: super<R|A|>(...)"];
10 [label="Function call: R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(...)"];
12 [label="Call arguments union" style="filled" fillcolor=yellow];
11 [label="Delegated constructor call: super<R|A|>(...)"];
6 [label="Exit function <init>" style="filled" fillcolor=red];
}
5 -> {7};
7 -> {8};
8 -> {10};
8 -> {13};
8 -> {9} [color=red];
9 -> {14};
9 -> {10};
10 -> {12};
11 -> {9} [color=green];
11 -> {16} [color=red];
12 -> {13 13} [color=green];
12 -> {17} [color=red];
13 -> {11};
14 -> {16};
15 -> {6};
16 -> {15};
11 -> {6};
12 -> {11};
13 -> {15};
14 -> {9} [color=green];
14 -> {12} [color=red];
15 -> {16 16} [color=green];
15 -> {17} [color=red];
16 -> {14};
17 -> {19};
19 -> {18};