[FIR-TEST] Update CFG dumps according to new nodes order

This commit is contained in:
Dmitriy Novozhilov
2020-06-16 12:17:31 +03:00
parent 4e6542a646
commit 12ed8c3bb4
67 changed files with 9862 additions and 9862 deletions
@@ -8,69 +8,69 @@ digraph safeCalls_kt {
0 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
2 [label="Enter block"];
3 [label="Const: String()"];
4 [label="Jump: ^foo String()"];
5 [label="Stub" style="filled" fillcolor=gray];
6 [label="Exit block" style="filled" fillcolor=gray];
1 [label="Enter block"];
2 [label="Const: String()"];
3 [label="Jump: ^foo String()"];
4 [label="Stub" style="filled" fillcolor=gray];
5 [label="Exit block" style="filled" fillcolor=gray];
}
1 [label="Exit function foo" style="filled" fillcolor=red];
6 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {2};
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {4};
4 -> {1};
3 -> {6};
3 -> {4} [style=dotted];
4 -> {5} [style=dotted];
5 -> {6} [style=dotted];
6 -> {1} [style=dotted];
subgraph cluster_2 {
color=red
7 [label="Enter function let" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
9 [label="Enter block"];
10 [label="Exit block"];
8 [label="Enter block"];
9 [label="Exit block"];
}
8 [label="Exit function let" style="filled" fillcolor=red];
10 [label="Exit function let" style="filled" fillcolor=red];
}
7 -> {9};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {8};
subgraph cluster_4 {
color=red
11 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
13 [label="Enter block"];
14 [label="Access variable R|<local>/x|"];
15 [label="Enter safe call"];
17 [label="Access variable R|<local>/x|"];
18 [label="Access variable R|kotlin/String.length|"];
19 [label="Const: Int(1)"];
20 [label="Operator =="];
21 [label="Function call: $subj$.R|/foo|(...)"];
16 [label="Exit safe call"];
22 [label="Access variable R|<local>/x|"];
23 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
24 [label="Exit block"];
12 [label="Enter block"];
13 [label="Access variable R|<local>/x|"];
14 [label="Enter safe call"];
15 [label="Access variable R|<local>/x|"];
16 [label="Access variable R|kotlin/String.length|"];
17 [label="Const: Int(1)"];
18 [label="Operator =="];
19 [label="Function call: $subj$.R|/foo|(...)"];
20 [label="Exit safe call"];
21 [label="Access variable R|<local>/x|"];
22 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
23 [label="Exit block"];
}
12 [label="Exit function test" style="filled" fillcolor=red];
24 [label="Exit function test" style="filled" fillcolor=red];
}
11 -> {13};
13 -> {14};
14 -> {15 16};
15 -> {17};
16 -> {22};
11 -> {12};
12 -> {13};
13 -> {14 20};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {16};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {12};
subgraph cluster_6 {
color=red
@@ -95,212 +95,212 @@ digraph safeCalls_kt {
subgraph cluster_9 {
color=red
32 [label="Enter class A" style="filled" fillcolor=red];
31 [label="Exit class A" style="filled" fillcolor=red];
31 [label="Enter class A" style="filled" fillcolor=red];
32 [label="Exit class A" style="filled" fillcolor=red];
}
32 -> {31} [color=green];
31 -> {32} [color=green];
subgraph cluster_10 {
color=red
33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
35 [label="Enter block"];
36 [label="Access variable R|<local>/x|"];
37 [label="Type operator: (R|<local>/x| as? R|A|)"];
38 [label="Enter safe call"];
40 [label="Access variable R|<local>/x|"];
41 [label="Function call: $subj$.R|/A.bar|(...)"];
39 [label="Exit safe call"];
42 [label="Exit block"];
34 [label="Enter block"];
35 [label="Access variable R|<local>/x|"];
36 [label="Type operator: (R|<local>/x| as? R|A|)"];
37 [label="Enter safe call"];
38 [label="Access variable R|<local>/x|"];
39 [label="Function call: $subj$.R|/A.bar|(...)"];
40 [label="Exit safe call"];
41 [label="Exit block"];
}
34 [label="Exit function test_2" style="filled" fillcolor=red];
42 [label="Exit function test_2" style="filled" fillcolor=red];
}
33 -> {35};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38 39};
38 -> {40};
39 -> {42};
36 -> {37 40};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {39};
42 -> {34};
41 -> {42};
subgraph cluster_12 {
color=red
43 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
45 [label="Enter block"];
46 [label="Access variable R|<local>/x|"];
47 [label="Type operator: (R|<local>/x| as? R|A|)"];
48 [label="Enter safe call"];
50 [label="Access variable R|<local>/x|"];
51 [label="Function call: $subj$.R|/A.bar|(...)"];
49 [label="Exit safe call"];
52 [label="Enter safe call"];
54 [label="Access variable R|<local>/x|"];
55 [label="Function call: R|<local>/x|.R|/A.bool|()"];
56 [label="Function call: $subj$.R|/foo|(...)"];
53 [label="Exit safe call"];
57 [label="Enter safe call"];
59 [label="Postponed enter to lambda"];
44 [label="Enter block"];
45 [label="Access variable R|<local>/x|"];
46 [label="Type operator: (R|<local>/x| as? R|A|)"];
47 [label="Enter safe call"];
48 [label="Access variable R|<local>/x|"];
49 [label="Function call: $subj$.R|/A.bar|(...)"];
50 [label="Exit safe call"];
51 [label="Enter safe call"];
52 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.R|/A.bool|()"];
54 [label="Function call: $subj$.R|/foo|(...)"];
55 [label="Exit safe call"];
56 [label="Enter safe call"];
57 [label="Postponed enter to lambda"];
subgraph cluster_14 {
color=blue
65 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
67 [label="Enter block"];
68 [label="Access variable R|<local>/x|"];
69 [label="Function call: R|<local>/x|.R|/A.bool|()"];
70 [label="Exit block"];
66 [label="Enter block"];
67 [label="Access variable R|<local>/x|"];
68 [label="Function call: R|<local>/x|.R|/A.bool|()"];
69 [label="Exit block"];
}
66 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
70 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
60 [label="Postponed exit from lambda"];
61 [label="Function call: $subj$.R|/let|(...)"];
58 [label="Exit safe call"];
62 [label="Access variable R|<local>/x|"];
63 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()"];
64 [label="Exit block"];
58 [label="Postponed exit from lambda"];
59 [label="Function call: $subj$.R|/let|(...)"];
60 [label="Exit safe call"];
61 [label="Access variable R|<local>/x|"];
62 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()"];
63 [label="Exit block"];
}
44 [label="Exit function test_3" style="filled" fillcolor=red];
64 [label="Exit function test_3" style="filled" fillcolor=red];
}
43 -> {45};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48 49};
48 -> {50};
49 -> {52 53};
50 -> {51};
51 -> {49};
52 -> {54};
53 -> {57 58};
46 -> {47 50};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51 55};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {53};
57 -> {59};
58 -> {62};
59 -> {60 65};
55 -> {56 60};
56 -> {57};
57 -> {58 65};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {58};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {44};
65 -> {67};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {66};
subgraph cluster_16 {
color=red
71 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
73 [label="Enter block"];
74 [label="Access variable R|<local>/x|"];
75 [label="Enter safe call"];
77 [label="Function call: $subj$.R|/A.id|()"];
72 [label="Enter block"];
73 [label="Access variable R|<local>/x|"];
74 [label="Enter safe call"];
75 [label="Function call: $subj$.R|/A.id|()"];
76 [label="Exit safe call"];
78 [label="Enter safe call"];
80 [label="Function call: $subj$.R|/A.bool|()"];
77 [label="Enter safe call"];
78 [label="Function call: $subj$.R|/A.bool|()"];
79 [label="Exit safe call"];
81 [label="Access variable R|<local>/x|"];
82 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
83 [label="Exit block"];
80 [label="Access variable R|<local>/x|"];
81 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
82 [label="Exit block"];
}
72 [label="Exit function test_4" style="filled" fillcolor=red];
83 [label="Exit function test_4" style="filled" fillcolor=red];
}
71 -> {73};
73 -> {74};
74 -> {75 76};
75 -> {77};
76 -> {78 79};
77 -> {76};
78 -> {80};
79 -> {81};
80 -> {79};
71 -> {72};
72 -> {73};
73 -> {74 76};
74 -> {75};
75 -> {76};
76 -> {77 79};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {72};
subgraph cluster_18 {
color=red
84 [label="Enter function boo" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
86 [label="Enter block"];
87 [label="Exit block"];
85 [label="Enter block"];
86 [label="Exit block"];
}
85 [label="Exit function boo" style="filled" fillcolor=red];
87 [label="Exit function boo" style="filled" fillcolor=red];
}
84 -> {86};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {85};
subgraph cluster_20 {
color=red
88 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
90 [label="Enter block"];
91 [label="Access variable R|<local>/x|"];
92 [label="Enter safe call"];
94 [label="Postponed enter to lambda"];
89 [label="Enter block"];
90 [label="Access variable R|<local>/x|"];
91 [label="Enter safe call"];
92 [label="Postponed enter to lambda"];
subgraph cluster_22 {
color=blue
107 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
109 [label="Enter block"];
110 [label="Jump: ^test_5 Unit"];
111 [label="Stub" style="filled" fillcolor=gray];
112 [label="Exit block" style="filled" fillcolor=gray];
108 [label="Enter block"];
109 [label="Jump: ^test_5 Unit"];
110 [label="Stub" style="filled" fillcolor=gray];
111 [label="Exit block" style="filled" fillcolor=gray];
}
108 [label="Exit function anonymousFunction" style="filled" fillcolor=red style="filled" fillcolor=gray];
112 [label="Exit function anonymousFunction" style="filled" fillcolor=red style="filled" fillcolor=gray];
}
97 [label="Call arguments union" style="filled" fillcolor=gray];
95 [label="Postponed exit from lambda" style="filled" fillcolor=gray];
96 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
98 [label="Stub" style="filled" fillcolor=gray];
93 [label="Exit safe call"];
99 [label="Enter safe call"];
101 [label="Access variable R|<local>/x|"];
102 [label="Function call: R|<local>/x|.R|/A.bool|()"];
103 [label="Function call: $subj$.R|/boo|(...)"];
100 [label="Exit safe call"];
104 [label="Access variable R|<local>/x|"];
105 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
106 [label="Exit block"];
93 [label="Call arguments union" style="filled" fillcolor=gray];
94 [label="Postponed exit from lambda" style="filled" fillcolor=gray];
95 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
96 [label="Stub" style="filled" fillcolor=gray];
97 [label="Exit safe call"];
98 [label="Enter safe call"];
99 [label="Access variable R|<local>/x|"];
100 [label="Function call: R|<local>/x|.R|/A.bool|()"];
101 [label="Function call: $subj$.R|/boo|(...)"];
102 [label="Exit safe call"];
103 [label="Access variable R|<local>/x|"];
104 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
105 [label="Exit block"];
}
89 [label="Exit function test_5" style="filled" fillcolor=red];
106 [label="Exit function test_5" style="filled" fillcolor=red];
}
88 -> {90};
90 -> {91};
91 -> {92 93};
92 -> {94};
93 -> {99 100};
94 -> {107};
94 -> {95} [color=red];
95 -> {96} [style=dotted];
96 -> {89 98} [style=dotted];
97 -> {96} [style=dotted];
98 -> {93} [style=dotted];
99 -> {101};
100 -> {104};
88 -> {89};
89 -> {90};
90 -> {91 97};
91 -> {92};
92 -> {107};
92 -> {94} [color=red];
93 -> {95} [style=dotted];
94 -> {95} [style=dotted];
95 -> {106 96} [style=dotted];
96 -> {97} [style=dotted];
97 -> {98 102};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {100};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {89};
107 -> {109};
108 -> {95 97} [style=dotted];
109 -> {110};
110 -> {89};
107 -> {108};
108 -> {109};
109 -> {106};
109 -> {110} [style=dotted];
110 -> {111} [style=dotted];
111 -> {112} [style=dotted];
112 -> {108} [style=dotted];
112 -> {94 93} [style=dotted];
}