[FIR-TEST] Update cfg dumps according to previous commits

This commit is contained in:
Dmitriy Novozhilov
2020-03-31 15:14:11 +03:00
parent 6faf364a46
commit 1d1b8d3290
59 changed files with 8803 additions and 9268 deletions
@@ -6,255 +6,246 @@ digraph assignSafeCall_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red];
2 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
1 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
0 -> {2};
2 -> {1};
subgraph cluster_1 {
color=red
3 [label="Enter function foo" style="filled" fillcolor=red];
4 [label="Const: Int(1)"];
5 [label="Jump: ^foo Int(1)"];
6 [label="Stub" style="filled" fillcolor=gray];
7 [label="Exit function foo" style="filled" fillcolor=red];
5 [label="Const: Int(1)"];
6 [label="Jump: ^foo Int(1)"];
7 [label="Stub" style="filled" fillcolor=gray];
4 [label="Exit function foo" style="filled" fillcolor=red];
}
3 -> {4};
4 -> {5};
5 -> {7};
5 -> {6} [style=dotted];
3 -> {5};
5 -> {6};
6 -> {4};
6 -> {7} [style=dotted];
7 -> {4} [style=dotted];
subgraph cluster_2 {
color=red
8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red];
}
8 -> {9};
subgraph cluster_3 {
color=red
10 [label="Enter property" style="filled" fillcolor=red];
11 [label="Const: Int(1)"];
12 [label="Exit property" style="filled" fillcolor=red];
}
10 -> {11};
11 -> {12};
subgraph cluster_4 {
color=red
13 [label="Enter function bar" style="filled" fillcolor=red];
14 [label="Exit function bar" style="filled" fillcolor=red];
}
13 -> {14};
subgraph cluster_5 {
subgraph cluster_4 {
color=red
15 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
10 [label="Enter property" style="filled" fillcolor=red];
12 [label="Const: Int(1)"];
11 [label="Exit property" style="filled" fillcolor=red];
}
16 [label="Exit class A" style="filled" fillcolor=red];
}
15 -> {10} [color=green];
10 -> {12};
11 -> {16} [color=green];
12 -> {11};
subgraph cluster_6 {
color=red
17 [label="Enter function test_1" style="filled" fillcolor=red];
18 [label="Access variable R|<local>/a|"];
19 [label="Enter safe call"];
20 [label="Access variable R|/A.x|"];
19 [label="Access variable R|<local>/a|"];
20 [label="Enter safe call"];
22 [label="Access variable R|/A.x|"];
21 [label="Exit safe call"];
22 [label="Variable declaration: lval x: R|kotlin/Int?|"];
23 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_7 {
color=blue
23 [label="Enter when"];
24 [label="Enter when"];
subgraph cluster_8 {
color=blue
24 [label="Enter when branch condition "];
25 [label="Access variable R|<local>/x|"];
26 [label="Const: Null(null)"];
27 [label="Operator !="];
28 [label="Exit when branch condition"];
26 [label="Enter when branch condition "];
27 [label="Access variable R|<local>/x|"];
28 [label="Const: Null(null)"];
29 [label="Operator !="];
30 [label="Exit when branch condition"];
}
29 [label="Synthetic else branch"];
30 [label="Enter when branch result"];
37 [label="Synthetic else branch"];
31 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
31 [label="Enter block"];
32 [label="Access variable R|<local>/a|"];
33 [label="Function call: R|<local>/a|.R|/A.bar|()"];
34 [label="Exit block"];
32 [label="Enter block"];
33 [label="Access variable R|<local>/a|"];
34 [label="Function call: R|<local>/a|.R|/A.bar|()"];
35 [label="Exit block"];
}
35 [label="Exit when branch result"];
36 [label="Exit when"];
36 [label="Exit when branch result"];
25 [label="Exit when"];
}
37 [label="Exit function test_1" style="filled" fillcolor=red];
18 [label="Exit function test_1" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19 21};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
17 -> {19};
19 -> {20 21};
20 -> {22};
21 -> {23};
22 -> {21};
23 -> {24};
24 -> {25};
25 -> {26};
24 -> {26};
25 -> {18};
26 -> {27};
27 -> {28};
28 -> {30 29};
29 -> {36};
30 -> {31};
28 -> {29};
29 -> {30};
30 -> {31 37};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
36 -> {25};
37 -> {25};
subgraph cluster_10 {
color=red
38 [label="Enter function test_2" style="filled" fillcolor=red];
39 [label="Access variable R|<local>/a|"];
40 [label="Enter safe call"];
41 [label="Function call: R|<local>/a|?.R|/A.foo|()"];
40 [label="Access variable R|<local>/a|"];
41 [label="Enter safe call"];
43 [label="Function call: R|<local>/a|?.R|/A.foo|()"];
42 [label="Exit safe call"];
43 [label="Variable declaration: lval x: R|kotlin/Int?|"];
44 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_11 {
color=blue
44 [label="Enter when"];
45 [label="Enter when"];
subgraph cluster_12 {
color=blue
45 [label="Enter when branch condition "];
46 [label="Access variable R|<local>/x|"];
47 [label="Const: Null(null)"];
48 [label="Operator !="];
49 [label="Exit when branch condition"];
47 [label="Enter when branch condition "];
48 [label="Access variable R|<local>/x|"];
49 [label="Const: Null(null)"];
50 [label="Operator !="];
51 [label="Exit when branch condition"];
}
50 [label="Synthetic else branch"];
51 [label="Enter when branch result"];
58 [label="Synthetic else branch"];
52 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/a|"];
54 [label="Function call: R|<local>/a|.R|/A.bar|()"];
55 [label="Exit block"];
53 [label="Enter block"];
54 [label="Access variable R|<local>/a|"];
55 [label="Function call: R|<local>/a|.R|/A.bar|()"];
56 [label="Exit block"];
}
56 [label="Exit when branch result"];
57 [label="Exit when"];
57 [label="Exit when branch result"];
46 [label="Exit when"];
}
58 [label="Exit function test_2" style="filled" fillcolor=red];
39 [label="Exit function test_2" style="filled" fillcolor=red];
}
38 -> {39};
39 -> {40 42};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
38 -> {40};
40 -> {41 42};
41 -> {43};
42 -> {44};
43 -> {42};
44 -> {45};
45 -> {46};
46 -> {47};
45 -> {47};
46 -> {39};
47 -> {48};
48 -> {49};
49 -> {51 50};
50 -> {57};
51 -> {52};
49 -> {50};
50 -> {51};
51 -> {52 58};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
57 -> {46};
58 -> {46};
subgraph cluster_14 {
color=red
59 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
60 [label="Enter when"];
61 [label="Access variable R|<local>/x|"];
62 [label="Type operator: (R|<local>/x| as? R|A|)"];
63 [label="Variable declaration: lval <elvis>: R|A?|"];
61 [label="Enter when"];
63 [label="Access variable R|<local>/x|"];
64 [label="Type operator: (R|<local>/x| as? R|A|)"];
65 [label="Variable declaration: lval <elvis>: R|A?|"];
subgraph cluster_16 {
color=blue
64 [label="Enter when branch condition "];
65 [label="Const: Null(null)"];
66 [label="Operator =="];
67 [label="Exit when branch condition"];
66 [label="Enter when branch condition "];
67 [label="Const: Null(null)"];
68 [label="Operator =="];
69 [label="Exit when branch condition"];
}
subgraph cluster_17 {
color=blue
68 [label="Enter when branch condition else"];
69 [label="Exit when branch condition"];
76 [label="Enter when branch condition else"];
77 [label="Exit when branch condition"];
}
70 [label="Enter when branch result"];
78 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
71 [label="Enter block"];
72 [label="Access variable R|<local>/<elvis>|"];
73 [label="Exit block"];
79 [label="Enter block"];
80 [label="Access variable R|<local>/<elvis>|"];
81 [label="Exit block"];
}
74 [label="Exit when branch result"];
75 [label="Enter when branch result"];
82 [label="Exit when branch result"];
70 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
76 [label="Enter block"];
77 [label="Jump: ^test_3 Unit"];
78 [label="Stub" style="filled" fillcolor=gray];
79 [label="Exit block" style="filled" fillcolor=gray];
71 [label="Enter block"];
72 [label="Jump: ^test_3 Unit"];
73 [label="Stub" style="filled" fillcolor=gray];
74 [label="Exit block" style="filled" fillcolor=gray];
}
80 [label="Exit when branch result" style="filled" fillcolor=gray];
81 [label="Exit when"];
75 [label="Exit when branch result" style="filled" fillcolor=gray];
62 [label="Exit when"];
}
82 [label="Variable declaration: lval a: R|A|"];
83 [label="Access variable R|<local>/a|"];
84 [label="Function call: R|<local>/a|.R|/A.foo|()"];
85 [label="Access variable R|<local>/x|"];
86 [label="Function call: R|<local>/x|.R|/A.foo|()"];
87 [label="Exit function test_3" style="filled" fillcolor=red];
83 [label="Variable declaration: lval a: R|A|"];
84 [label="Access variable R|<local>/a|"];
85 [label="Function call: R|<local>/a|.R|/A.foo|()"];
86 [label="Access variable R|<local>/x|"];
87 [label="Function call: R|<local>/x|.R|/A.foo|()"];
60 [label="Exit function test_3" style="filled" fillcolor=red];
}
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
59 -> {61};
61 -> {63};
62 -> {83};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {75 68};
67 -> {68};
68 -> {69};
69 -> {70};
69 -> {70 76};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {81};
75 -> {76};
72 -> {60};
72 -> {73} [style=dotted];
73 -> {74} [style=dotted];
74 -> {75} [style=dotted];
75 -> {62} [style=dotted];
76 -> {77};
77 -> {87};
77 -> {78} [style=dotted];
78 -> {79} [style=dotted];
79 -> {80} [style=dotted];
80 -> {81} [style=dotted];
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
82 -> {62};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {60};
subgraph cluster_20 {
color=red
88 [label="Enter function foo" style="filled" fillcolor=red];
89 [label="Exit function foo" style="filled" fillcolor=red];
}
88 -> {89};
subgraph cluster_21 {
@@ -262,218 +253,212 @@ digraph assignSafeCall_kt {
90 [label="Enter function getter" style="filled" fillcolor=red];
91 [label="Exit function getter" style="filled" fillcolor=red];
}
90 -> {91};
subgraph cluster_22 {
color=red
92 [label="Enter property" style="filled" fillcolor=red];
93 [label="Exit property" style="filled" fillcolor=red];
}
92 -> {93};
subgraph cluster_23 {
color=red
94 [label="Enter function bar" style="filled" fillcolor=red];
95 [label="Exit function bar" style="filled" fillcolor=red];
}
94 -> {95};
subgraph cluster_24 {
subgraph cluster_23 {
color=red
96 [label="Enter class B" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
92 [label="Enter property" style="filled" fillcolor=red];
93 [label="Exit property" style="filled" fillcolor=red];
}
97 [label="Exit class B" style="filled" fillcolor=red];
}
96 -> {92} [color=green];
92 -> {93};
93 -> {97} [color=green];
subgraph cluster_25 {
color=red
98 [label="Enter function test_1" style="filled" fillcolor=red];
99 [label="Access variable R|<local>/a|"];
100 [label="Enter safe call"];
101 [label="Access variable R|/B.x|"];
100 [label="Access variable R|<local>/a|"];
101 [label="Enter safe call"];
103 [label="Access variable R|/B.x|"];
102 [label="Exit safe call"];
103 [label="Variable declaration: lval x: R|kotlin/Int?|"];
104 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_26 {
color=blue
104 [label="Enter when"];
105 [label="Enter when"];
subgraph cluster_27 {
color=blue
105 [label="Enter when branch condition "];
106 [label="Access variable R|<local>/x|"];
107 [label="Const: Null(null)"];
108 [label="Operator !="];
109 [label="Exit when branch condition"];
107 [label="Enter when branch condition "];
108 [label="Access variable R|<local>/x|"];
109 [label="Const: Null(null)"];
110 [label="Operator !="];
111 [label="Exit when branch condition"];
}
110 [label="Synthetic else branch"];
111 [label="Enter when branch result"];
118 [label="Synthetic else branch"];
112 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
112 [label="Enter block"];
113 [label="Access variable R|<local>/a|"];
114 [label="Function call: R|<local>/a|.R|/B.bar|()"];
115 [label="Exit block"];
113 [label="Enter block"];
114 [label="Access variable R|<local>/a|"];
115 [label="Function call: R|<local>/a|.R|/B.bar|()"];
116 [label="Exit block"];
}
116 [label="Exit when branch result"];
117 [label="Exit when"];
117 [label="Exit when branch result"];
106 [label="Exit when"];
}
118 [label="Exit function test_1" style="filled" fillcolor=red];
99 [label="Exit function test_1" style="filled" fillcolor=red];
}
98 -> {99};
99 -> {100 102};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
98 -> {100};
100 -> {101 102};
101 -> {103};
102 -> {104};
103 -> {102};
104 -> {105};
105 -> {106};
106 -> {107};
105 -> {107};
106 -> {99};
107 -> {108};
108 -> {109};
109 -> {111 110};
110 -> {117};
111 -> {112};
109 -> {110};
110 -> {111};
111 -> {112 118};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
117 -> {106};
118 -> {106};
subgraph cluster_29 {
color=red
119 [label="Enter function test_2" style="filled" fillcolor=red];
120 [label="Access variable R|<local>/a|"];
121 [label="Enter safe call"];
122 [label="Function call: R|<local>/a|?.R|/B.foo|()"];
121 [label="Access variable R|<local>/a|"];
122 [label="Enter safe call"];
124 [label="Function call: R|<local>/a|?.R|/B.foo|()"];
123 [label="Exit safe call"];
124 [label="Variable declaration: lval x: R|kotlin/Int?|"];
125 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_30 {
color=blue
125 [label="Enter when"];
126 [label="Enter when"];
subgraph cluster_31 {
color=blue
126 [label="Enter when branch condition "];
127 [label="Access variable R|<local>/x|"];
128 [label="Const: Null(null)"];
129 [label="Operator !="];
130 [label="Exit when branch condition"];
128 [label="Enter when branch condition "];
129 [label="Access variable R|<local>/x|"];
130 [label="Const: Null(null)"];
131 [label="Operator !="];
132 [label="Exit when branch condition"];
}
131 [label="Synthetic else branch"];
132 [label="Enter when branch result"];
139 [label="Synthetic else branch"];
133 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
133 [label="Enter block"];
134 [label="Access variable R|<local>/a|"];
135 [label="Function call: R|<local>/a|.R|/B.bar|()"];
136 [label="Exit block"];
134 [label="Enter block"];
135 [label="Access variable R|<local>/a|"];
136 [label="Function call: R|<local>/a|.R|/B.bar|()"];
137 [label="Exit block"];
}
137 [label="Exit when branch result"];
138 [label="Exit when"];
138 [label="Exit when branch result"];
127 [label="Exit when"];
}
139 [label="Exit function test_2" style="filled" fillcolor=red];
120 [label="Exit function test_2" style="filled" fillcolor=red];
}
119 -> {120};
120 -> {121 123};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
119 -> {121};
121 -> {122 123};
122 -> {124};
123 -> {125};
124 -> {123};
125 -> {126};
126 -> {127};
127 -> {128};
126 -> {128};
127 -> {120};
128 -> {129};
129 -> {130};
130 -> {132 131};
131 -> {138};
132 -> {133};
130 -> {131};
131 -> {132};
132 -> {133 139};
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
138 -> {127};
139 -> {127};
subgraph cluster_33 {
color=red
140 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
141 [label="Enter when"];
142 [label="Access variable R|<local>/x|"];
143 [label="Type operator: (R|<local>/x| as? R|B|)"];
144 [label="Variable declaration: lval <elvis>: R|B?|"];
142 [label="Enter when"];
144 [label="Access variable R|<local>/x|"];
145 [label="Type operator: (R|<local>/x| as? R|B|)"];
146 [label="Variable declaration: lval <elvis>: R|B?|"];
subgraph cluster_35 {
color=blue
145 [label="Enter when branch condition "];
146 [label="Const: Null(null)"];
147 [label="Operator =="];
148 [label="Exit when branch condition"];
147 [label="Enter when branch condition "];
148 [label="Const: Null(null)"];
149 [label="Operator =="];
150 [label="Exit when branch condition"];
}
subgraph cluster_36 {
color=blue
149 [label="Enter when branch condition else"];
150 [label="Exit when branch condition"];
157 [label="Enter when branch condition else"];
158 [label="Exit when branch condition"];
}
151 [label="Enter when branch result"];
159 [label="Enter when branch result"];
subgraph cluster_37 {
color=blue
152 [label="Enter block"];
153 [label="Access variable R|<local>/<elvis>|"];
154 [label="Exit block"];
160 [label="Enter block"];
161 [label="Access variable R|<local>/<elvis>|"];
162 [label="Exit block"];
}
155 [label="Exit when branch result"];
156 [label="Enter when branch result"];
163 [label="Exit when branch result"];
151 [label="Enter when branch result"];
subgraph cluster_38 {
color=blue
157 [label="Enter block"];
158 [label="Jump: ^test_3 Unit"];
159 [label="Stub" style="filled" fillcolor=gray];
160 [label="Exit block" style="filled" fillcolor=gray];
152 [label="Enter block"];
153 [label="Jump: ^test_3 Unit"];
154 [label="Stub" style="filled" fillcolor=gray];
155 [label="Exit block" style="filled" fillcolor=gray];
}
161 [label="Exit when branch result" style="filled" fillcolor=gray];
162 [label="Exit when"];
156 [label="Exit when branch result" style="filled" fillcolor=gray];
143 [label="Exit when"];
}
163 [label="Variable declaration: lval a: R|B|"];
164 [label="Access variable R|<local>/a|"];
165 [label="Function call: R|<local>/a|.R|/B.foo|()"];
166 [label="Access variable R|<local>/x|"];
167 [label="Function call: R|<local>/x|.R|/B.foo|()"];
168 [label="Exit function test_3" style="filled" fillcolor=red];
164 [label="Variable declaration: lval a: R|B|"];
165 [label="Access variable R|<local>/a|"];
166 [label="Function call: R|<local>/a|.R|/B.foo|()"];
167 [label="Access variable R|<local>/x|"];
168 [label="Function call: R|<local>/x|.R|/B.foo|()"];
141 [label="Exit function test_3" style="filled" fillcolor=red];
}
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {144};
140 -> {142};
142 -> {144};
143 -> {164};
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {156 149};
148 -> {149};
149 -> {150};
150 -> {151};
150 -> {151 157};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
155 -> {162};
156 -> {157};
153 -> {141};
153 -> {154} [style=dotted];
154 -> {155} [style=dotted];
155 -> {156} [style=dotted];
156 -> {143} [style=dotted];
157 -> {158};
158 -> {168};
158 -> {159} [style=dotted];
159 -> {160} [style=dotted];
160 -> {161} [style=dotted];
161 -> {162} [style=dotted];
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {162};
162 -> {163};
163 -> {164};
163 -> {143};
164 -> {165};
165 -> {166};
166 -> {167};
167 -> {168};
168 -> {141};
}