FIR CFG: reconfigure exception throwing paths in try expression

This commit is contained in:
Jinseong Jeon
2020-10-26 22:10:39 -07:00
committed by Dmitriy Novozhilov
parent 146036010c
commit 1f1e1828a7
6 changed files with 40 additions and 27 deletions
@@ -153,12 +153,12 @@ digraph complex_kt {
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {54 31 27};
25 -> {26 31};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {38};
30 -> {38 31};
31 -> {54 32};
32 -> {33};
33 -> {34};
@@ -167,8 +167,8 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
}
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {56 47 41};
39 -> {40 47};
40 -> {41};
41 -> {42};
42 -> {57};
42 -> {43} [color=red];
@@ -176,7 +176,7 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {52};
46 -> {52 47};
47 -> {56 48};
48 -> {49};
49 -> {50};
@@ -308,13 +308,13 @@ digraph propertiesAndInitBlocks_kt {
102 [label="Exit property" style="filled" fillcolor=red];
}
84 -> {85};
85 -> {86};
86 -> {102 91 87};
86 -> {96} [label=onUncaughtException];
85 -> {86 91};
85 -> {96} [label=onUncaughtException];
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {96};
90 -> {96 91};
91 -> {102 92};
92 -> {93};
93 -> {94};
@@ -56,13 +56,13 @@ digraph tryCatch_kt {
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {23 15 9 4};
2 -> {3 15 9};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {21};
8 -> {21 15 9};
9 -> {23 10};
10 -> {11};
11 -> {12};
@@ -118,12 +118,12 @@ digraph tryCatch_kt {
}
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {40 32 28};
26 -> {27 32};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {37};
31 -> {37 32};
32 -> {40 33};
33 -> {34};
34 -> {35};
@@ -261,8 +261,8 @@ digraph tryCatch_kt {
46 -> {87} [style=dotted];
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {102 91 81 51};
49 -> {50 91 81};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
@@ -294,7 +294,7 @@ digraph tryCatch_kt {
77 -> {78} [style=dotted];
78 -> {79};
79 -> {80};
80 -> {97};
80 -> {97 91 81};
81 -> {102 82};
82 -> {83};
83 -> {87};
@@ -101,8 +101,8 @@ finally {
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {30 15};
14 -> {22} [label=onUncaughtException];
13 -> {22} [label=onUncaughtException];
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {31};
@@ -192,8 +192,8 @@ finally {
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {55 40};
39 -> {47} [label=onUncaughtException];
38 -> {47} [label=onUncaughtException];
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43 56};