[FIR] Fix incorrect cluster creating in CFG dumps

This commit is contained in:
Dmitriy Novozhilov
2020-10-12 11:09:52 +03:00
parent 3495ec198d
commit f794ced888
19 changed files with 4222 additions and 4274 deletions
@@ -50,53 +50,51 @@ digraph smartCastInInit_kt {
subgraph cluster_5 {
color=red
14 [label="Enter class Main" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
15 [label="Part of class initialization"];
16 [label="Exit class Main" style="filled" fillcolor=red];
}
14 -> {15} [color=green];
15 -> {16} [style=dotted];
15 -> {22} [color=green];
15 -> {22} [style=dashed];
subgraph cluster_7 {
color=red
17 [label="Enter function <init>" style="filled" fillcolor=red];
18 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
19 [label="Exit function <init>" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19};
subgraph cluster_8 {
color=red
20 [label="Enter function getter" style="filled" fillcolor=red];
21 [label="Exit function getter" style="filled" fillcolor=red];
}
20 -> {21};
subgraph cluster_9 {
color=red
22 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
23 [label="Enter block"];
24 [label="Function call: R|/s|()"];
25 [label="Assignment: R|/Main.x|"];
26 [label="Access variable R|/Main.x|"];
27 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()"];
28 [label="Exit block"];
}
29 [label="Exit init block" style="filled" fillcolor=red];
}
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {16} [color=green];
15 [label="Part of class initialization"];
16 [label="Exit class Main" style="filled" fillcolor=red];
}
14 -> {15} [color=green];
15 -> {16} [style=dotted];
15 -> {22} [color=green];
15 -> {22} [style=dashed];
subgraph cluster_6 {
color=red
17 [label="Enter function <init>" style="filled" fillcolor=red];
18 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
19 [label="Exit function <init>" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19};
subgraph cluster_7 {
color=red
20 [label="Enter function getter" style="filled" fillcolor=red];
21 [label="Exit function getter" style="filled" fillcolor=red];
}
20 -> {21};
subgraph cluster_8 {
color=red
22 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
23 [label="Enter block"];
24 [label="Function call: R|/s|()"];
25 [label="Assignment: R|/Main.x|"];
26 [label="Access variable R|/Main.x|"];
27 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()"];
28 [label="Exit block"];
}
29 [label="Exit init block" style="filled" fillcolor=red];
}
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {16} [color=green];
}