[FIR] Add control flow graph to FirAnonymousInitializer

This commit is contained in:
Dmitriy Novozhilov
2020-03-27 12:03:13 +03:00
parent 8d3ee4f304
commit 74d86d82c6
12 changed files with 301 additions and 110 deletions
@@ -54,4 +54,27 @@ digraph smartCastInInit_kt {
13 -> {14};
subgraph cluster_5 {
color=red
15 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
16 [label="Enter block"];
17 [label="Function call: R|/s|()"];
18 [label="Assignmenet: R|/Main.x|"];
19 [label="Access variable R|/Main.x|"];
20 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()"];
21 [label="Exit block"];
}
22 [label="Exit init block" style="filled" fillcolor=red];
}
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
}