K2 Scripting: fix CFG processing related testdata in compiler
This commit is contained in:
committed by
Space Team
parent
ff4f30ddc1
commit
90a7f7beac
+347
@@ -0,0 +1,347 @@
|
||||
digraph destructuringDeclarationsScript_fir_kts {
|
||||
graph [nodesep=3]
|
||||
node [shape=box penwidth=2]
|
||||
edge [penwidth=2]
|
||||
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter file destructuringDeclarationsScript.fir.kts [1]" style="filled" fillcolor=red];
|
||||
1 [label="Exit file destructuringDeclarationsScript.fir.kts [1]" style="filled" fillcolor=red];
|
||||
}
|
||||
0 -> {1} [color=green];
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
2 [label="Enter class <script-destructuringDeclarationsScript.fir.kts> [2]" style="filled" fillcolor=red];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
3 [label="Enter property [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
4 [label="Function call arguments enter [3]"];
|
||||
5 [label="Function call arguments exit [3]"];
|
||||
}
|
||||
6 [label="Function call: R|/A.A|() [3]" style="filled" fillcolor=yellow];
|
||||
7 [label="Exit property [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
8 [label="Enter property [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
9 [label="Function call arguments enter [3]"];
|
||||
10 [label="Access variable R|<local>/<destruct>| [3]"];
|
||||
11 [label="Function call arguments exit [3]"];
|
||||
}
|
||||
12 [label="Function call: R|<local>/<destruct>|.R|/A.component1|() [3]" style="filled" fillcolor=yellow];
|
||||
13 [label="Exit property [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
14 [label="Enter property [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
15 [label="Function call arguments enter [3]"];
|
||||
16 [label="Access variable R|<local>/<destruct>| [3]"];
|
||||
17 [label="Function call arguments exit [3]"];
|
||||
}
|
||||
18 [label="Function call: R|<local>/<destruct>|.R|/A.component2|() [3]" style="filled" fillcolor=yellow];
|
||||
19 [label="Exit property [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
20 [label="Enter property [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
21 [label="Function call arguments enter [3]"];
|
||||
22 [label="Function call arguments exit [3]"];
|
||||
}
|
||||
23 [label="Function call: R|/A.A|() [3]" style="filled" fillcolor=yellow];
|
||||
24 [label="Exit property [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
25 [label="Enter property [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
26 [label="Function call arguments enter [3]"];
|
||||
27 [label="Access variable R|<local>/<destruct>| [3]"];
|
||||
28 [label="Function call arguments exit [3]"];
|
||||
}
|
||||
29 [label="Function call: R|<local>/<destruct>|.R|/A.component1|() [3]" style="filled" fillcolor=yellow];
|
||||
30 [label="Exit property [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
31 [label="Enter property [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
32 [label="Function call arguments enter [3]"];
|
||||
33 [label="Access variable R|<local>/<destruct>| [3]"];
|
||||
34 [label="Function call arguments exit [3]"];
|
||||
}
|
||||
35 [label="Function call: R|<local>/<destruct>|.R|/A.component2<CS errors: /A.component2>#|() [3]" style="filled" fillcolor=yellow];
|
||||
36 [label="Exit property [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
37 [label="Enter property [3]" style="filled" fillcolor=red];
|
||||
38 [label="Access variable <Unresolved name: unresolved># [3]"];
|
||||
39 [label="Exit property [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
40 [label="Enter property [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
41 [label="Function call arguments enter [3]"];
|
||||
42 [label="Access variable R|<local>/<destruct>| [3]"];
|
||||
43 [label="Function call arguments exit [3]"];
|
||||
}
|
||||
44 [label="Function call: R|<local>/<destruct>|.<Unresolved name: component1>#() [3]" style="filled" fillcolor=yellow];
|
||||
45 [label="Exit property [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
46 [label="Enter property [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
47 [label="Function call arguments enter [3]"];
|
||||
48 [label="Function call arguments exit [3]"];
|
||||
}
|
||||
49 [label="Function call: R|/A.A|() [3]" style="filled" fillcolor=yellow];
|
||||
50 [label="Exit property [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
51 [label="Enter property [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
52 [label="Function call arguments enter [3]"];
|
||||
53 [label="Access variable R|<local>/<destruct>| [3]"];
|
||||
54 [label="Function call arguments exit [3]"];
|
||||
}
|
||||
55 [label="Function call: R|<local>/<destruct>|.R|/A.component1|() [3]" style="filled" fillcolor=yellow];
|
||||
56 [label="Exit property [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
57 [label="Enter property [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
58 [label="Function call arguments enter [3]"];
|
||||
59 [label="Function call arguments exit [3]"];
|
||||
}
|
||||
60 [label="Function call: R|/A.A|() [3]" style="filled" fillcolor=yellow];
|
||||
61 [label="Exit property [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
62 [label="Enter property [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
63 [label="Function call arguments enter [3]"];
|
||||
64 [label="Access variable R|<local>/<destruct>| [3]"];
|
||||
65 [label="Function call arguments exit [3]"];
|
||||
}
|
||||
66 [label="Function call: R|<local>/<destruct>|.R|/A.component1|() [3]" style="filled" fillcolor=yellow];
|
||||
67 [label="Exit property [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
68 [label="Enter property [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
69 [label="Function call arguments enter [3]"];
|
||||
70 [label="Access variable R|<local>/<destruct>| [3]"];
|
||||
71 [label="Function call arguments exit [3]"];
|
||||
}
|
||||
72 [label="Function call: R|<local>/<destruct>|.R|/A.component2|() [3]" style="filled" fillcolor=yellow];
|
||||
73 [label="Exit property [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
74 [label="Enter init block [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
75 [label="Enter block [3]"];
|
||||
76 [label="Access variable R|<local>/a1| [3]"];
|
||||
77 [label="Exit block [3]"];
|
||||
}
|
||||
78 [label="Exit init block [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
79 [label="Enter init block [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
80 [label="Enter block [3]"];
|
||||
81 [label="Access variable R|<local>/a2| [3]"];
|
||||
82 [label="Exit block [3]"];
|
||||
}
|
||||
83 [label="Exit init block [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_31 {
|
||||
color=blue
|
||||
84 [label="Enter init block [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
85 [label="Enter block [3]"];
|
||||
86 [label="Access variable R|<local>/e1| [3]"];
|
||||
87 [label="Exit block [3]"];
|
||||
}
|
||||
88 [label="Exit init block [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
89 [label="Exit class <script-destructuringDeclarationsScript.fir.kts> [2]" style="filled" fillcolor=red];
|
||||
}
|
||||
2 -> {3} [color=green];
|
||||
2 -> {89} [style=dotted];
|
||||
2 -> {3 8 14 20 25 31 37 40 46 51 57 62 68 74 79 84} [style=dashed];
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8} [color=green];
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14} [color=green];
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20} [color=green];
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25} [color=green];
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31} [color=green];
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37} [color=green];
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40} [color=green];
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46} [color=green];
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51} [color=green];
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57} [color=green];
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62} [color=green];
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68} [color=green];
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74} [color=green];
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79} [color=green];
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84} [color=green];
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89} [color=green];
|
||||
|
||||
subgraph cluster_33 {
|
||||
color=red
|
||||
90 [label="Enter class A [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_34 {
|
||||
color=blue
|
||||
91 [label="Enter function <init> [4]" style="filled" fillcolor=red];
|
||||
92 [label="Delegated constructor call: super<R|kotlin/Any|>() [4]" style="filled" fillcolor=yellow];
|
||||
93 [label="Exit function <init> [4]" style="filled" fillcolor=red];
|
||||
}
|
||||
94 [label="Exit class A [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
90 -> {91} [color=green];
|
||||
90 -> {94} [style=dotted];
|
||||
90 -> {91} [style=dashed];
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
93 -> {94} [color=green];
|
||||
|
||||
subgraph cluster_35 {
|
||||
color=red
|
||||
95 [label="Enter function component1 [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_36 {
|
||||
color=blue
|
||||
96 [label="Enter block [3]"];
|
||||
97 [label="Const: Int(1) [3]"];
|
||||
98 [label="Jump: ^component1 Int(1) [3]"];
|
||||
99 [label="Stub [3]" style="filled" fillcolor=gray];
|
||||
100 [label="Exit block [3]" style="filled" fillcolor=gray];
|
||||
}
|
||||
101 [label="Exit function component1 [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {101};
|
||||
98 -> {99} [style=dotted];
|
||||
99 -> {100} [style=dotted];
|
||||
100 -> {101} [style=dotted];
|
||||
|
||||
subgraph cluster_37 {
|
||||
color=red
|
||||
102 [label="Enter function component2 [3]" style="filled" fillcolor=red];
|
||||
subgraph cluster_38 {
|
||||
color=blue
|
||||
103 [label="Enter block [3]"];
|
||||
104 [label="Const: String() [3]"];
|
||||
105 [label="Jump: ^component2 String() [3]"];
|
||||
106 [label="Stub [3]" style="filled" fillcolor=gray];
|
||||
107 [label="Exit block [3]" style="filled" fillcolor=gray];
|
||||
}
|
||||
108 [label="Exit function component2 [3]" style="filled" fillcolor=red];
|
||||
}
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {108};
|
||||
105 -> {106} [style=dotted];
|
||||
106 -> {107} [style=dotted];
|
||||
107 -> {108} [style=dotted];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user