[FIR] CFG: drop redundant edges
Edges from class to its functions and nested classes are redundant and lead to extra resolution work in lazy resolve mode ^KT-59600 Fixed
This commit is contained in:
committed by
Space Team
parent
df28bd1d79
commit
09ca335b7e
+6
-8
@@ -8,14 +8,13 @@ digraph when_kt {
|
||||
0 [label="Enter class A" style="filled" fillcolor=red];
|
||||
1 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
0 -> {1} [color=green];
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
color=red
|
||||
2 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
3 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
0 -> {1} [color=green];
|
||||
1 -> {2} [color=green];
|
||||
1 -> {2} [style=dashed];
|
||||
2 -> {3};
|
||||
|
||||
subgraph cluster_2 {
|
||||
@@ -23,14 +22,13 @@ digraph when_kt {
|
||||
4 [label="Enter class B" style="filled" fillcolor=red];
|
||||
5 [label="Exit class B" style="filled" fillcolor=red];
|
||||
}
|
||||
4 -> {5} [color=green];
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
color=red
|
||||
6 [label="Enter function bar" style="filled" fillcolor=red];
|
||||
7 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
4 -> {5} [color=green];
|
||||
5 -> {6} [color=green];
|
||||
5 -> {6} [style=dashed];
|
||||
6 -> {7};
|
||||
|
||||
subgraph cluster_4 {
|
||||
|
||||
Reference in New Issue
Block a user