[FIR] Introduce new algorithm for building CFG for declarations

This commit is contained in:
Dmitriy Novozhilov
2020-06-05 15:47:57 +03:00
parent 950bbfe3a5
commit 87859b0faa
95 changed files with 16070 additions and 13199 deletions
@@ -14,7 +14,7 @@ digraph initBlock_kt {
subgraph cluster_1 {
color=red
9 [label="Enter class Foo" style="filled" fillcolor=red];
10 [label="Enter class Foo" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
3 [label="Enter init block" style="filled" fillcolor=red];
@@ -27,11 +27,11 @@ digraph initBlock_kt {
}
4 [label="Exit init block" style="filled" fillcolor=red];
}
10 [label="Exit class Foo" style="filled" fillcolor=red];
9 [label="Exit class Foo" style="filled" fillcolor=red];
}
9 -> {3} [color=green];
10 -> {3} [color=green];
3 -> {5};
4 -> {10} [color=green];
4 -> {9} [color=green];
5 -> {6};
6 -> {7};
7 -> {8};
@@ -48,7 +48,7 @@ digraph initBlock_kt {
subgraph cluster_5 {
color=red
25 [label="Enter class Bar" style="filled" fillcolor=red];
26 [label="Enter class Bar" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
14 [label="Enter init block" style="filled" fillcolor=red];
@@ -66,11 +66,11 @@ digraph initBlock_kt {
}
15 [label="Exit init block" style="filled" fillcolor=red];
}
26 [label="Exit class Bar" style="filled" fillcolor=red];
25 [label="Exit class Bar" style="filled" fillcolor=red];
}
25 -> {14} [color=green];
26 -> {14} [color=green];
14 -> {16};
15 -> {26} [color=green];
15 -> {25} [color=green];
16 -> {17};
17 -> {18};
18 -> {19};