FIR: fix FirDefaultPropertyAccessor phase to BODY_RESOLVE

This commit is contained in:
Ilya Kirillov
2021-04-13 12:54:47 +02:00
committed by TeamCityServer
parent 39b2cd1027
commit 0cf00d0f72
27 changed files with 3738 additions and 4107 deletions
@@ -11,8 +11,8 @@ digraph overridenOpenVal_kt {
}
0 -> {1} [color=green];
1 -> {2} [style=dotted];
1 -> {8} [color=green];
1 -> {8} [style=dashed];
1 -> {6} [color=green];
1 -> {6} [style=dashed];
subgraph cluster_1 {
color=red
@@ -25,131 +25,126 @@ digraph overridenOpenVal_kt {
subgraph cluster_2 {
color=red
6 [label="Enter function getter" style="filled" fillcolor=red];
7 [label="Exit function getter" style="filled" fillcolor=red];
6 [label="Enter property" style="filled" fillcolor=red];
7 [label="Access variable R|<local>/x|"];
8 [label="Exit property" style="filled" fillcolor=red];
}
6 -> {7};
7 -> {8};
8 -> {2} [color=green];
subgraph cluster_3 {
color=red
8 [label="Enter property" style="filled" fillcolor=red];
9 [label="Access variable R|<local>/x|"];
10 [label="Exit property" style="filled" fillcolor=red];
9 [label="Enter class B" style="filled" fillcolor=red];
10 [label="Exit class B" style="filled" fillcolor=red];
}
8 -> {9};
9 -> {10};
10 -> {2} [color=green];
9 -> {10} [color=green];
subgraph cluster_4 {
color=red
11 [label="Enter class B" style="filled" fillcolor=red];
12 [label="Exit class B" style="filled" fillcolor=red];
11 [label="Enter function <init>" style="filled" fillcolor=red];
12 [label="Access variable R|<local>/x|"];
13 [label="Delegated constructor call: super<R|A|>(...)"];
14 [label="Exit function <init>" style="filled" fillcolor=red];
}
11 -> {12} [color=green];
11 -> {12};
12 -> {13};
13 -> {14};
subgraph cluster_5 {
color=red
13 [label="Enter function <init>" style="filled" fillcolor=red];
14 [label="Access variable R|<local>/x|"];
15 [label="Delegated constructor call: super<R|A|>(...)"];
16 [label="Exit function <init>" style="filled" fillcolor=red];
}
13 -> {14};
14 -> {15};
15 -> {16};
subgraph cluster_6 {
color=red
17 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 {
15 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
18 [label="Enter block"];
subgraph cluster_8 {
16 [label="Enter block"];
subgraph cluster_7 {
color=blue
19 [label="Enter when"];
17 [label="Enter when"];
subgraph cluster_8 {
color=blue
18 [label="Enter when branch condition "];
19 [label="Access variable R|/A.x|"];
20 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"];
21 [label="Exit when branch condition"];
}
22 [label="Synthetic else branch"];
23 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
20 [label="Enter when branch condition "];
21 [label="Access variable R|/A.x|"];
22 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"];
23 [label="Exit when branch condition"];
24 [label="Enter block"];
25 [label="Access variable R|/A.x|"];
26 [label="Access variable R|kotlin/String.length|"];
27 [label="Exit block"];
}
24 [label="Synthetic else branch"];
25 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
26 [label="Enter block"];
27 [label="Access variable R|/A.x|"];
28 [label="Access variable R|kotlin/String.length|"];
29 [label="Exit block"];
}
30 [label="Exit when branch result"];
31 [label="Exit when"];
28 [label="Exit when branch result"];
29 [label="Exit when"];
}
32 [label="Exit block"];
30 [label="Exit block"];
}
33 [label="Exit function test_1" style="filled" fillcolor=red];
31 [label="Exit function test_1" style="filled" fillcolor=red];
}
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {25 24};
24 -> {31};
21 -> {23 22};
22 -> {29};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
subgraph cluster_11 {
subgraph cluster_10 {
color=red
34 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_12 {
32 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
35 [label="Enter block"];
subgraph cluster_13 {
33 [label="Enter block"];
subgraph cluster_12 {
color=blue
36 [label="Enter when"];
34 [label="Enter when"];
subgraph cluster_13 {
color=blue
35 [label="Enter when branch condition "];
36 [label="Access variable R|<local>/b|"];
37 [label="Access variable R|/A.x|"];
38 [label="Type operator: (R|<local>/b|.R|/A.x| is R|kotlin/String|)"];
39 [label="Exit when branch condition"];
}
40 [label="Synthetic else branch"];
41 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
37 [label="Enter when branch condition "];
38 [label="Access variable R|<local>/b|"];
39 [label="Access variable R|/A.x|"];
40 [label="Type operator: (R|<local>/b|.R|/A.x| is R|kotlin/String|)"];
41 [label="Exit when branch condition"];
42 [label="Enter block"];
43 [label="Access variable R|<local>/b|"];
44 [label="Access variable R|/A.x|"];
45 [label="Access variable R|kotlin/String.length|"];
46 [label="Exit block"];
}
42 [label="Synthetic else branch"];
43 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/b|"];
46 [label="Access variable R|/A.x|"];
47 [label="Access variable R|kotlin/String.length|"];
48 [label="Exit block"];
}
49 [label="Exit when branch result"];
50 [label="Exit when"];
47 [label="Exit when branch result"];
48 [label="Exit when"];
}
51 [label="Exit block"];
49 [label="Exit block"];
}
52 [label="Exit function test_2" style="filled" fillcolor=red];
50 [label="Exit function test_2" style="filled" fillcolor=red];
}
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {43 42};
42 -> {50};
39 -> {41 40};
40 -> {48};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
@@ -157,7 +152,5 @@ digraph overridenOpenVal_kt {
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
}