[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
@@ -17,25 +17,25 @@ digraph postponedLambdas_kt {
5 [label="Postponed enter to lambda"];
subgraph cluster_2 {
color=blue
8 [label="Enter function anonymousFunction"];
10 [label="Const: String()"];
9 [label="Exit function anonymousFunction"];
9 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
11 [label="Const: String()"];
10 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
6 [label="Postponed exit from lambda"];
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];
}
2 -> {4};
4 -> {5};
5 -> {8};
5 -> {9};
5 -> {6} [color=red];
6 -> {7};
7 -> {11};
8 -> {9 10};
9 -> {8};
9 -> {6} [color=green];
7 -> {8};
8 -> {3};
9 -> {10 11};
10 -> {9};
11 -> {3};
10 -> {6} [color=green];
11 -> {10};
}