FIR CFA: rewrite handling of try-catch-finally
The result is the same, but it should now be much clearer what the shortcomings of the current implementation are.
This commit is contained in:
@@ -50,13 +50,13 @@ digraph annotatedLocalClass_kt {
|
||||
20 [label="Function call: R|/bar|()" style="filled" fillcolor=yellow];
|
||||
21 [label="Exit block"];
|
||||
}
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
23 [label="Enter class Local" style="filled" fillcolor=red];
|
||||
24 [label="Exit class Local" style="filled" fillcolor=red];
|
||||
}
|
||||
22 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
23 [label="Enter class Local" style="filled" fillcolor=red];
|
||||
24 [label="Exit class Local" style="filled" fillcolor=red];
|
||||
}
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
|
||||
+18
-18
@@ -190,19 +190,19 @@ digraph jumps_kt {
|
||||
68 [label="Access variable R|<local>/x|"];
|
||||
69 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
|
||||
70 [label="Jump: break@@@[Boolean(true)] "];
|
||||
71 [label="Stub" style="filled" fillcolor=gray];
|
||||
72 [label="Exit block" style="filled" fillcolor=gray];
|
||||
77 [label="Stub" style="filled" fillcolor=gray];
|
||||
78 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
73 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
79 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
}
|
||||
74 [label="Exit whileloop"];
|
||||
71 [label="Exit whileloop"];
|
||||
}
|
||||
75 [label="Access variable R|<local>/x|"];
|
||||
76 [label="Smart cast: R|<local>/x|"];
|
||||
77 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
78 [label="Exit block"];
|
||||
72 [label="Access variable R|<local>/x|"];
|
||||
73 [label="Smart cast: R|<local>/x|"];
|
||||
74 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
75 [label="Exit block"];
|
||||
}
|
||||
79 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
76 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
@@ -210,21 +210,21 @@ digraph jumps_kt {
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
65 -> {74} [style=dotted];
|
||||
65 -> {71} [style=dotted];
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {74};
|
||||
70 -> {71} [style=dotted];
|
||||
71 -> {72} [style=dotted];
|
||||
72 -> {73} [style=dotted];
|
||||
73 -> {63} [color=green style=dotted];
|
||||
70 -> {71};
|
||||
70 -> {77} [style=dotted];
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {79};
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79} [style=dotted];
|
||||
79 -> {63} [color=green style=dotted];
|
||||
|
||||
subgraph cluster_20 {
|
||||
color=red
|
||||
|
||||
+5
-5
@@ -64,13 +64,13 @@ digraph localClassesWithImplicit_kt {
|
||||
26 [label="Variable declaration: lval x: R|<anonymous>|"];
|
||||
27 [label="Exit block"];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
29 [label="Enter class A" style="filled" fillcolor=red];
|
||||
30 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
28 [label="Exit function test" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
29 [label="Enter class A" style="filled" fillcolor=red];
|
||||
30 [label="Exit class A" style="filled" fillcolor=red];
|
||||
}
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
|
||||
+21
-21
@@ -276,22 +276,22 @@ digraph loops_kt {
|
||||
color=blue
|
||||
94 [label="Enter block"];
|
||||
95 [label="Jump: break@@@[Boolean(true)] "];
|
||||
96 [label="Stub" style="filled" fillcolor=gray];
|
||||
97 [label="Exit block" style="filled" fillcolor=gray];
|
||||
100 [label="Stub" style="filled" fillcolor=gray];
|
||||
101 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
98 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
99 [label="Exit when"];
|
||||
102 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
103 [label="Exit when"];
|
||||
}
|
||||
100 [label="Exit block"];
|
||||
104 [label="Exit block"];
|
||||
}
|
||||
101 [label="Exit loop block"];
|
||||
105 [label="Exit loop block"];
|
||||
}
|
||||
102 [label="Exit whileloop"];
|
||||
96 [label="Exit whileloop"];
|
||||
}
|
||||
103 [label="Const: Int(1)"];
|
||||
104 [label="Exit block"];
|
||||
97 [label="Const: Int(1)"];
|
||||
98 [label="Exit block"];
|
||||
}
|
||||
105 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red];
|
||||
99 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red];
|
||||
}
|
||||
80 -> {81};
|
||||
81 -> {82};
|
||||
@@ -299,27 +299,27 @@ digraph loops_kt {
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
85 -> {102} [style=dotted];
|
||||
85 -> {96} [style=dotted];
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92 93};
|
||||
92 -> {99};
|
||||
92 -> {103};
|
||||
93 -> {94};
|
||||
94 -> {95};
|
||||
95 -> {102};
|
||||
95 -> {96} [style=dotted];
|
||||
96 -> {97} [style=dotted];
|
||||
97 -> {98} [style=dotted];
|
||||
98 -> {99} [style=dotted];
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {83} [color=green style=dashed];
|
||||
102 -> {103};
|
||||
95 -> {96};
|
||||
95 -> {100} [style=dotted];
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
100 -> {101} [style=dotted];
|
||||
101 -> {102} [style=dotted];
|
||||
102 -> {103} [style=dotted];
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {83} [color=green style=dashed];
|
||||
|
||||
subgraph cluster_34 {
|
||||
color=red
|
||||
|
||||
+40
-40
@@ -27,12 +27,12 @@ digraph tryCatch_kt {
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
9 [label="Catch enter"];
|
||||
10 [label="Variable declaration: e: R|kotlin/Exception|"];
|
||||
10 [label="Variable declaration: e: R|kotlin/RuntimeException|"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
11 [label="Enter block"];
|
||||
12 [label="Const: Int(3)"];
|
||||
13 [label="Variable declaration: lval z: R|kotlin/Int|"];
|
||||
12 [label="Const: Int(2)"];
|
||||
13 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
15 [label="Catch exit"];
|
||||
@@ -40,12 +40,12 @@ digraph tryCatch_kt {
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
16 [label="Catch enter"];
|
||||
17 [label="Variable declaration: e: R|kotlin/RuntimeException|"];
|
||||
17 [label="Variable declaration: e: R|kotlin/Exception|"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
18 [label="Enter block"];
|
||||
19 [label="Const: Int(2)"];
|
||||
20 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
19 [label="Const: Int(3)"];
|
||||
20 [label="Variable declaration: lval z: R|kotlin/Int|"];
|
||||
21 [label="Exit block"];
|
||||
}
|
||||
22 [label="Catch exit"];
|
||||
@@ -224,11 +224,11 @@ digraph tryCatch_kt {
|
||||
subgraph cluster_31 {
|
||||
color=blue
|
||||
84 [label="Catch enter"];
|
||||
85 [label="Variable declaration: e: R|kotlin/RuntimeException|"];
|
||||
85 [label="Variable declaration: e: R|kotlin/Exception|"];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
86 [label="Enter block"];
|
||||
87 [label="Jump: break@@@[Boolean(true)] "];
|
||||
87 [label="Jump: continue@@@[Boolean(true)] "];
|
||||
88 [label="Stub" style="filled" fillcolor=gray];
|
||||
89 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
@@ -236,32 +236,32 @@ digraph tryCatch_kt {
|
||||
}
|
||||
subgraph cluster_33 {
|
||||
color=blue
|
||||
95 [label="Catch enter"];
|
||||
96 [label="Variable declaration: e: R|kotlin/Exception|"];
|
||||
91 [label="Catch enter"];
|
||||
92 [label="Variable declaration: e: R|kotlin/RuntimeException|"];
|
||||
subgraph cluster_34 {
|
||||
color=blue
|
||||
97 [label="Enter block"];
|
||||
98 [label="Jump: continue@@@[Boolean(true)] "];
|
||||
99 [label="Stub" style="filled" fillcolor=gray];
|
||||
100 [label="Exit block" style="filled" fillcolor=gray];
|
||||
93 [label="Enter block"];
|
||||
94 [label="Jump: break@@@[Boolean(true)] "];
|
||||
100 [label="Stub" style="filled" fillcolor=gray];
|
||||
101 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
101 [label="Catch exit" style="filled" fillcolor=gray];
|
||||
102 [label="Catch exit" style="filled" fillcolor=gray];
|
||||
}
|
||||
102 [label="Try expression exit"];
|
||||
103 [label="Try expression exit"];
|
||||
}
|
||||
103 [label="Const: Int(2)"];
|
||||
104 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
105 [label="Exit block"];
|
||||
104 [label="Const: Int(2)"];
|
||||
105 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
106 [label="Exit block"];
|
||||
}
|
||||
106 [label="Exit loop block"];
|
||||
107 [label="Exit loop block"];
|
||||
}
|
||||
91 [label="Exit whileloop"];
|
||||
95 [label="Exit whileloop"];
|
||||
}
|
||||
92 [label="Const: Int(3)"];
|
||||
93 [label="Variable declaration: lval z: R|kotlin/Int|"];
|
||||
94 [label="Exit block"];
|
||||
96 [label="Const: Int(3)"];
|
||||
97 [label="Variable declaration: lval z: R|kotlin/Int|"];
|
||||
98 [label="Exit block"];
|
||||
}
|
||||
107 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
99 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
@@ -269,10 +269,10 @@ digraph tryCatch_kt {
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
49 -> {91} [style=dotted];
|
||||
49 -> {95} [style=dotted];
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53 84 95};
|
||||
52 -> {53 84 91};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
@@ -282,7 +282,7 @@ digraph tryCatch_kt {
|
||||
59 -> {66};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {107};
|
||||
62 -> {99};
|
||||
62 -> {63} [style=dotted];
|
||||
63 -> {64} [style=dotted];
|
||||
64 -> {65} [style=dotted];
|
||||
@@ -298,40 +298,40 @@ digraph tryCatch_kt {
|
||||
74 -> {81};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {91};
|
||||
77 -> {95};
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79} [style=dotted];
|
||||
79 -> {80} [style=dotted];
|
||||
80 -> {81} [style=dotted];
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84 95 102};
|
||||
83 -> {84 91 103};
|
||||
84 -> {85};
|
||||
84 -> {107} [label="onUncaughtException"];
|
||||
84 -> {99} [label="onUncaughtException"];
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {91};
|
||||
87 -> {47} [color=green style=dashed];
|
||||
87 -> {88} [style=dotted];
|
||||
88 -> {89} [style=dotted];
|
||||
89 -> {90} [style=dotted];
|
||||
90 -> {102} [style=dotted];
|
||||
90 -> {103} [style=dotted];
|
||||
91 -> {92};
|
||||
91 -> {99} [label="onUncaughtException"];
|
||||
92 -> {93};
|
||||
93 -> {94};
|
||||
94 -> {107};
|
||||
94 -> {95};
|
||||
94 -> {100} [style=dotted];
|
||||
95 -> {96};
|
||||
95 -> {107} [label="onUncaughtException"];
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {47} [color=green style=dashed];
|
||||
98 -> {99} [style=dotted];
|
||||
99 -> {100} [style=dotted];
|
||||
98 -> {99};
|
||||
100 -> {101} [style=dotted];
|
||||
101 -> {102} [style=dotted];
|
||||
102 -> {103};
|
||||
102 -> {103} [style=dotted];
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {47} [color=green style=dashed];
|
||||
106 -> {107};
|
||||
107 -> {47} [color=green style=dashed];
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -83,7 +83,7 @@ digraph variableInitializedInTryBlock_kt {
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
25 -> {30} [label="return@/test"];
|
||||
25 -> {30} [label="onUncaughtException"];
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
|
||||
+88
-88
@@ -55,24 +55,24 @@ digraph endlessLoops_kt {
|
||||
color=blue
|
||||
20 [label="Enter block"];
|
||||
21 [label="Jump: break@@@[Boolean(true)] "];
|
||||
22 [label="Stub" style="filled" fillcolor=gray];
|
||||
23 [label="Exit block" style="filled" fillcolor=gray];
|
||||
28 [label="Stub" style="filled" fillcolor=gray];
|
||||
29 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
24 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
25 [label="Exit when"];
|
||||
30 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
31 [label="Exit when"];
|
||||
}
|
||||
26 [label="Exit block"];
|
||||
32 [label="Exit block"];
|
||||
}
|
||||
27 [label="Exit loop block"];
|
||||
33 [label="Exit loop block"];
|
||||
}
|
||||
28 [label="Exit whileloop"];
|
||||
22 [label="Exit whileloop"];
|
||||
}
|
||||
29 [label="Access variable R|<local>/x|"];
|
||||
30 [label="Smart cast: R|<local>/x|"];
|
||||
31 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
|
||||
32 [label="Exit block"];
|
||||
23 [label="Access variable R|<local>/x|"];
|
||||
24 [label="Smart cast: R|<local>/x|"];
|
||||
25 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
|
||||
26 [label="Exit block"];
|
||||
}
|
||||
33 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
27 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
@@ -80,7 +80,7 @@ digraph endlessLoops_kt {
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
9 -> {28} [style=dotted];
|
||||
9 -> {22} [style=dotted];
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
@@ -89,22 +89,22 @@ digraph endlessLoops_kt {
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18 19};
|
||||
18 -> {25};
|
||||
18 -> {31};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {28};
|
||||
21 -> {22} [style=dotted];
|
||||
22 -> {23} [style=dotted];
|
||||
23 -> {24} [style=dotted];
|
||||
24 -> {25} [style=dotted];
|
||||
21 -> {22};
|
||||
21 -> {28} [style=dotted];
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {7} [color=green style=dashed];
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
28 -> {29} [style=dotted];
|
||||
29 -> {30} [style=dotted];
|
||||
30 -> {31} [style=dotted];
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {7} [color=green style=dashed];
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
@@ -144,24 +144,24 @@ digraph endlessLoops_kt {
|
||||
49 [label="Access variable R|<local>/x|"];
|
||||
50 [label="Type operator: (R|<local>/x| as R|A|)"];
|
||||
51 [label="Jump: break@@@[Boolean(true)] "];
|
||||
52 [label="Stub" style="filled" fillcolor=gray];
|
||||
53 [label="Exit block" style="filled" fillcolor=gray];
|
||||
58 [label="Stub" style="filled" fillcolor=gray];
|
||||
59 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
54 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
55 [label="Exit when"];
|
||||
60 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
61 [label="Exit when"];
|
||||
}
|
||||
56 [label="Exit block"];
|
||||
62 [label="Exit block"];
|
||||
}
|
||||
57 [label="Exit loop block"];
|
||||
63 [label="Exit loop block"];
|
||||
}
|
||||
58 [label="Exit whileloop"];
|
||||
52 [label="Exit whileloop"];
|
||||
}
|
||||
59 [label="Access variable R|<local>/x|"];
|
||||
60 [label="Smart cast: R|<local>/x|"];
|
||||
61 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
|
||||
62 [label="Exit block"];
|
||||
53 [label="Access variable R|<local>/x|"];
|
||||
54 [label="Smart cast: R|<local>/x|"];
|
||||
55 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
|
||||
56 [label="Exit block"];
|
||||
}
|
||||
63 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
57 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
@@ -169,31 +169,31 @@ digraph endlessLoops_kt {
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
39 -> {58} [style=dotted];
|
||||
39 -> {52} [style=dotted];
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46 47};
|
||||
46 -> {55};
|
||||
46 -> {61};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {58};
|
||||
51 -> {52} [style=dotted];
|
||||
52 -> {53} [style=dotted];
|
||||
53 -> {54} [style=dotted];
|
||||
54 -> {55} [style=dotted];
|
||||
51 -> {52};
|
||||
51 -> {58} [style=dotted];
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {37} [color=green style=dashed];
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
58 -> {59} [style=dotted];
|
||||
59 -> {60} [style=dotted];
|
||||
60 -> {61} [style=dotted];
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {37} [color=green style=dashed];
|
||||
|
||||
subgraph cluster_20 {
|
||||
color=red
|
||||
@@ -254,24 +254,24 @@ digraph endlessLoops_kt {
|
||||
color=blue
|
||||
92 [label="Enter block"];
|
||||
93 [label="Jump: break@@@[Boolean(true)] "];
|
||||
94 [label="Stub" style="filled" fillcolor=gray];
|
||||
95 [label="Exit block" style="filled" fillcolor=gray];
|
||||
100 [label="Stub" style="filled" fillcolor=gray];
|
||||
101 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
96 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
97 [label="Exit when"];
|
||||
102 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
103 [label="Exit when"];
|
||||
}
|
||||
98 [label="Exit block"];
|
||||
104 [label="Exit block"];
|
||||
}
|
||||
99 [label="Exit loop block"];
|
||||
105 [label="Exit loop block"];
|
||||
}
|
||||
100 [label="Exit whileloop"];
|
||||
94 [label="Exit whileloop"];
|
||||
}
|
||||
101 [label="Access variable R|<local>/x|"];
|
||||
102 [label="Smart cast: R|<local>/x|"];
|
||||
103 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
|
||||
104 [label="Exit block"];
|
||||
95 [label="Access variable R|<local>/x|"];
|
||||
96 [label="Smart cast: R|<local>/x|"];
|
||||
97 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=yellow];
|
||||
98 [label="Exit block"];
|
||||
}
|
||||
105 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
99 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
@@ -279,7 +279,7 @@ digraph endlessLoops_kt {
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
69 -> {100} [style=dotted];
|
||||
69 -> {94} [style=dotted];
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
@@ -291,7 +291,7 @@ digraph endlessLoops_kt {
|
||||
78 -> {85};
|
||||
79 -> {80};
|
||||
80 -> {81};
|
||||
81 -> {100};
|
||||
81 -> {94};
|
||||
81 -> {82} [style=dotted];
|
||||
82 -> {83} [style=dotted];
|
||||
83 -> {84} [style=dotted];
|
||||
@@ -301,22 +301,22 @@ digraph endlessLoops_kt {
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90 91};
|
||||
90 -> {97};
|
||||
90 -> {103};
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
93 -> {100};
|
||||
93 -> {94} [style=dotted];
|
||||
94 -> {95} [style=dotted];
|
||||
95 -> {96} [style=dotted];
|
||||
96 -> {97} [style=dotted];
|
||||
93 -> {94};
|
||||
93 -> {100} [style=dotted];
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {67} [color=green style=dashed];
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
100 -> {101} [style=dotted];
|
||||
101 -> {102} [style=dotted];
|
||||
102 -> {103} [style=dotted];
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {67} [color=green style=dashed];
|
||||
|
||||
subgraph cluster_32 {
|
||||
color=red
|
||||
@@ -363,18 +363,18 @@ digraph endlessLoops_kt {
|
||||
127 [label="Exit when"];
|
||||
}
|
||||
128 [label="Jump: break@@@[Boolean(true)] "];
|
||||
129 [label="Stub" style="filled" fillcolor=gray];
|
||||
130 [label="Exit block" style="filled" fillcolor=gray];
|
||||
134 [label="Stub" style="filled" fillcolor=gray];
|
||||
135 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
131 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
136 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
}
|
||||
132 [label="Exit whileloop"];
|
||||
129 [label="Exit whileloop"];
|
||||
}
|
||||
133 [label="Access variable R|<local>/x|"];
|
||||
134 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
|
||||
135 [label="Exit block"];
|
||||
130 [label="Access variable R|<local>/x|"];
|
||||
131 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()" style="filled" fillcolor=yellow];
|
||||
132 [label="Exit block"];
|
||||
}
|
||||
136 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
133 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
}
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
@@ -382,7 +382,7 @@ digraph endlessLoops_kt {
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
111 -> {132} [style=dotted];
|
||||
111 -> {129} [style=dotted];
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
@@ -394,21 +394,21 @@ digraph endlessLoops_kt {
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {132};
|
||||
123 -> {129};
|
||||
123 -> {124} [style=dotted];
|
||||
124 -> {125} [style=dotted];
|
||||
125 -> {126} [style=dotted];
|
||||
126 -> {127} [style=dotted];
|
||||
127 -> {128};
|
||||
128 -> {132};
|
||||
128 -> {129} [style=dotted];
|
||||
129 -> {130} [style=dotted];
|
||||
130 -> {131} [style=dotted];
|
||||
131 -> {109} [color=green style=dotted];
|
||||
128 -> {129};
|
||||
128 -> {134} [style=dotted];
|
||||
129 -> {130};
|
||||
130 -> {131};
|
||||
131 -> {132};
|
||||
132 -> {133};
|
||||
133 -> {134};
|
||||
134 -> {135};
|
||||
135 -> {136};
|
||||
134 -> {135} [style=dotted];
|
||||
135 -> {136} [style=dotted];
|
||||
136 -> {109} [color=green style=dotted];
|
||||
|
||||
subgraph cluster_41 {
|
||||
color=red
|
||||
|
||||
+36
-36
@@ -214,23 +214,23 @@ digraph smartcastToNothing_kt {
|
||||
color=blue
|
||||
82 [label="Enter block" style="filled" fillcolor=gray];
|
||||
83 [label="Jump: break@@@[R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()] " style="filled" fillcolor=gray];
|
||||
84 [label="Stub" style="filled" fillcolor=gray];
|
||||
85 [label="Exit block" style="filled" fillcolor=gray];
|
||||
94 [label="Stub" style="filled" fillcolor=gray];
|
||||
95 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
86 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
87 [label="Exit when" style="filled" fillcolor=gray];
|
||||
96 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
97 [label="Exit when" style="filled" fillcolor=gray];
|
||||
}
|
||||
88 [label="Exit block" style="filled" fillcolor=gray];
|
||||
98 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
89 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
99 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||
}
|
||||
90 [label="Exit whileloop"];
|
||||
84 [label="Exit whileloop"];
|
||||
}
|
||||
91 [label="Exit block"];
|
||||
85 [label="Exit block"];
|
||||
}
|
||||
92 [label="Access variable R|<local>/s|"];
|
||||
93 [label="Enter safe call"];
|
||||
94 [label="Postponed enter to lambda"];
|
||||
86 [label="Access variable R|<local>/s|"];
|
||||
87 [label="Enter safe call"];
|
||||
88 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
100 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
@@ -243,12 +243,12 @@ digraph smartcastToNothing_kt {
|
||||
}
|
||||
105 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
95 [label="Postponed exit from lambda"];
|
||||
96 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
||||
97 [label="Exit safe call"];
|
||||
98 [label="Exit block"];
|
||||
89 [label="Postponed exit from lambda"];
|
||||
90 [label="Function call: $subj$.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
||||
91 [label="Exit safe call"];
|
||||
92 [label="Exit block"];
|
||||
}
|
||||
99 [label="Exit function test_0" style="filled" fillcolor=red];
|
||||
93 [label="Exit function test_0" style="filled" fillcolor=red];
|
||||
}
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
@@ -262,52 +262,52 @@ digraph smartcastToNothing_kt {
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
64 -> {65 90};
|
||||
64 -> {65 84};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {99} [label="onUncaughtException"];
|
||||
68 -> {93} [label="onUncaughtException"];
|
||||
68 -> {69} [style=dotted];
|
||||
69 -> {70} [style=dotted];
|
||||
70 -> {71} [style=dotted];
|
||||
71 -> {99} [style=dotted label="onUncaughtException"];
|
||||
71 -> {93} [style=dotted label="onUncaughtException"];
|
||||
71 -> {72} [style=dotted];
|
||||
72 -> {73} [style=dotted];
|
||||
73 -> {74} [style=dotted];
|
||||
74 -> {75} [style=dotted];
|
||||
75 -> {76} [style=dotted];
|
||||
76 -> {99} [style=dotted label="onUncaughtException"];
|
||||
76 -> {93} [style=dotted label="onUncaughtException"];
|
||||
76 -> {77} [style=dotted];
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79} [style=dotted];
|
||||
79 -> {80 81} [style=dotted];
|
||||
80 -> {87} [style=dotted];
|
||||
80 -> {97} [style=dotted];
|
||||
81 -> {82} [style=dotted];
|
||||
82 -> {83} [style=dotted];
|
||||
83 -> {84 90} [style=dotted];
|
||||
84 -> {85} [style=dotted];
|
||||
85 -> {86} [style=dotted];
|
||||
86 -> {87} [style=dotted];
|
||||
87 -> {88} [style=dotted];
|
||||
83 -> {84 94} [style=dotted];
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87 91};
|
||||
87 -> {88};
|
||||
88 -> {90 100};
|
||||
88 -> {89} [style=dotted];
|
||||
89 -> {61} [color=green style=dotted];
|
||||
88 -> {100} [style=dashed];
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {93 97};
|
||||
93 -> {94};
|
||||
94 -> {96 100};
|
||||
92 -> {93};
|
||||
94 -> {95} [style=dotted];
|
||||
94 -> {100} [style=dashed];
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
95 -> {96} [style=dotted];
|
||||
96 -> {97} [style=dotted];
|
||||
97 -> {98} [style=dotted];
|
||||
98 -> {99} [style=dotted];
|
||||
99 -> {61} [color=green style=dotted];
|
||||
100 -> {101};
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {95};
|
||||
105 -> {89};
|
||||
|
||||
subgraph cluster_26 {
|
||||
color=red
|
||||
|
||||
Reference in New Issue
Block a user