[FIR-TEST] Update CFG dumps according to new nodes order
This commit is contained in:
+48
-48
@@ -6,98 +6,99 @@ digraph delayedAssignment_kt {
|
||||
subgraph cluster_0 {
|
||||
color=red
|
||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
2 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
1 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
0 -> {2};
|
||||
2 -> {1};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
3 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_2 {
|
||||
color=blue
|
||||
5 [label="Enter block"];
|
||||
6 [label="Exit block"];
|
||||
4 [label="Enter block"];
|
||||
5 [label="Exit block"];
|
||||
}
|
||||
4 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
6 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
3 -> {5};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {4};
|
||||
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
8 [label="Enter class A" style="filled" fillcolor=red];
|
||||
7 [label="Exit class A" style="filled" fillcolor=red];
|
||||
7 [label="Enter class A" style="filled" fillcolor=red];
|
||||
8 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
8 -> {7} [color=green];
|
||||
7 -> {8} [color=green];
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
9 [label="Enter function test" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
11 [label="Enter block"];
|
||||
12 [label="Variable declaration: lval a: R|A?|"];
|
||||
10 [label="Enter block"];
|
||||
11 [label="Variable declaration: lval a: R|A?|"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
13 [label="Enter when"];
|
||||
12 [label="Enter when"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
15 [label="Enter when branch condition "];
|
||||
16 [label="Access variable R|<local>/b|"];
|
||||
17 [label="Exit when branch condition"];
|
||||
13 [label="Enter when branch condition "];
|
||||
14 [label="Access variable R|<local>/b|"];
|
||||
15 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
26 [label="Enter when branch condition else"];
|
||||
27 [label="Exit when branch condition"];
|
||||
16 [label="Enter when branch condition else"];
|
||||
17 [label="Exit when branch condition"];
|
||||
}
|
||||
28 [label="Enter when branch result"];
|
||||
18 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
29 [label="Enter block"];
|
||||
30 [label="Const: Null(null)"];
|
||||
31 [label="Assignment: R|<local>/a|"];
|
||||
32 [label="Exit block"];
|
||||
19 [label="Enter block"];
|
||||
20 [label="Const: Null(null)"];
|
||||
21 [label="Assignment: R|<local>/a|"];
|
||||
22 [label="Exit block"];
|
||||
}
|
||||
33 [label="Exit when branch result"];
|
||||
18 [label="Enter when branch result"];
|
||||
23 [label="Exit when branch result"];
|
||||
24 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
19 [label="Enter block"];
|
||||
20 [label="Function call: R|/A.A|()"];
|
||||
21 [label="Assignment: R|<local>/a|"];
|
||||
22 [label="Access variable R|<local>/a|"];
|
||||
23 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
24 [label="Exit block"];
|
||||
25 [label="Enter block"];
|
||||
26 [label="Function call: R|/A.A|()"];
|
||||
27 [label="Assignment: R|<local>/a|"];
|
||||
28 [label="Access variable R|<local>/a|"];
|
||||
29 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||
30 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit when branch result"];
|
||||
14 [label="Exit when"];
|
||||
31 [label="Exit when branch result"];
|
||||
32 [label="Exit when"];
|
||||
}
|
||||
34 [label="Access variable R|<local>/a|"];
|
||||
35 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
36 [label="Exit block"];
|
||||
33 [label="Access variable R|<local>/a|"];
|
||||
34 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||
35 [label="Exit block"];
|
||||
}
|
||||
10 [label="Exit function test" style="filled" fillcolor=red];
|
||||
36 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
9 -> {11};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {15};
|
||||
14 -> {34};
|
||||
15 -> {16};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {24 16};
|
||||
16 -> {17};
|
||||
17 -> {18 26};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
23 -> {32};
|
||||
24 -> {25};
|
||||
25 -> {14};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
@@ -105,9 +106,8 @@ digraph delayedAssignment_kt {
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {14};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {10};
|
||||
|
||||
}
|
||||
|
||||
Vendored
+56
-56
@@ -8,18 +8,19 @@ digraph smartcastAfterReassignment_kt {
|
||||
0 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_1 {
|
||||
color=blue
|
||||
2 [label="Enter block"];
|
||||
3 [label="Const: Int(1)"];
|
||||
4 [label="Variable declaration: lvar x: R|kotlin/Any|"];
|
||||
5 [label="Const: String()"];
|
||||
6 [label="Assignment: R|<local>/x|"];
|
||||
7 [label="Access variable R|<local>/x|"];
|
||||
8 [label="Access variable R|kotlin/String.length|"];
|
||||
9 [label="Exit block"];
|
||||
1 [label="Enter block"];
|
||||
2 [label="Const: Int(1)"];
|
||||
3 [label="Variable declaration: lvar x: R|kotlin/Any|"];
|
||||
4 [label="Const: String()"];
|
||||
5 [label="Assignment: R|<local>/x|"];
|
||||
6 [label="Access variable R|<local>/x|"];
|
||||
7 [label="Access variable R|kotlin/String.length|"];
|
||||
8 [label="Exit block"];
|
||||
}
|
||||
1 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
9 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
0 -> {2};
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
@@ -27,88 +28,88 @@ digraph smartcastAfterReassignment_kt {
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {1};
|
||||
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
10 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Const: Null(null)"];
|
||||
14 [label="Variable declaration: lvar x: R|kotlin/String?|"];
|
||||
11 [label="Enter block"];
|
||||
12 [label="Const: Null(null)"];
|
||||
13 [label="Variable declaration: lvar x: R|kotlin/String?|"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
15 [label="Enter when"];
|
||||
14 [label="Enter when"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
17 [label="Enter when branch condition "];
|
||||
18 [label="Access variable R|<local>/x|"];
|
||||
19 [label="Const: Null(null)"];
|
||||
20 [label="Operator =="];
|
||||
21 [label="Exit when branch condition"];
|
||||
15 [label="Enter when branch condition "];
|
||||
16 [label="Access variable R|<local>/x|"];
|
||||
17 [label="Const: Null(null)"];
|
||||
18 [label="Operator =="];
|
||||
19 [label="Exit when branch condition"];
|
||||
}
|
||||
28 [label="Synthetic else branch"];
|
||||
22 [label="Enter when branch result"];
|
||||
20 [label="Synthetic else branch"];
|
||||
21 [label="Enter when branch result"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
23 [label="Enter block"];
|
||||
24 [label="Const: String()"];
|
||||
25 [label="Assignment: R|<local>/x|"];
|
||||
26 [label="Exit block"];
|
||||
22 [label="Enter block"];
|
||||
23 [label="Const: String()"];
|
||||
24 [label="Assignment: R|<local>/x|"];
|
||||
25 [label="Exit block"];
|
||||
}
|
||||
27 [label="Exit when branch result"];
|
||||
16 [label="Exit when"];
|
||||
26 [label="Exit when branch result"];
|
||||
27 [label="Exit when"];
|
||||
}
|
||||
29 [label="Access variable R|<local>/x|"];
|
||||
30 [label="Access variable R|kotlin/String.length|"];
|
||||
31 [label="Exit block"];
|
||||
28 [label="Access variable R|<local>/x|"];
|
||||
29 [label="Access variable R|kotlin/String.length|"];
|
||||
30 [label="Exit block"];
|
||||
}
|
||||
11 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
31 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
10 -> {12};
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {17};
|
||||
16 -> {29};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22 28};
|
||||
19 -> {21 20};
|
||||
20 -> {27};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {16};
|
||||
28 -> {16};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {11};
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
32 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
34 [label="Enter block"];
|
||||
35 [label="Const: Null(null)"];
|
||||
36 [label="Variable declaration: lvar x: R|kotlin/String?|"];
|
||||
37 [label="Const: String()"];
|
||||
38 [label="Assignment: R|<local>/x|"];
|
||||
39 [label="Access variable R|<local>/x|"];
|
||||
40 [label="Access variable R|kotlin/String.length|"];
|
||||
41 [label="Const: Null(null)"];
|
||||
42 [label="Assignment: R|<local>/x|"];
|
||||
43 [label="Access variable R|<local>/x|"];
|
||||
44 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
|
||||
45 [label="Exit block"];
|
||||
33 [label="Enter block"];
|
||||
34 [label="Const: Null(null)"];
|
||||
35 [label="Variable declaration: lvar x: R|kotlin/String?|"];
|
||||
36 [label="Const: String()"];
|
||||
37 [label="Assignment: R|<local>/x|"];
|
||||
38 [label="Access variable R|<local>/x|"];
|
||||
39 [label="Access variable R|kotlin/String.length|"];
|
||||
40 [label="Const: Null(null)"];
|
||||
41 [label="Assignment: R|<local>/x|"];
|
||||
42 [label="Access variable R|<local>/x|"];
|
||||
43 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
|
||||
44 [label="Exit block"];
|
||||
}
|
||||
33 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
45 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
32 -> {34};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
@@ -120,6 +121,5 @@ digraph smartcastAfterReassignment_kt {
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {33};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user