[FIR] do not create FirParameter for catch parameter
use FirProperty instead ^KT-55034
This commit is contained in:
@@ -3,7 +3,7 @@ FILE: catchParameter.kt
|
||||
public final fun <T : R|kotlin/Throwable|> test(): R|kotlin/Unit| {
|
||||
try {
|
||||
}
|
||||
catch (e: R|kotlin/NullPointerException| = R|java/lang/NullPointerException.NullPointerException|()) {
|
||||
catch (e: R|kotlin/NullPointerException|) {
|
||||
}
|
||||
|
||||
try {
|
||||
@@ -23,7 +23,7 @@ FILE: catchParameter.kt
|
||||
|
||||
try {
|
||||
}
|
||||
catch (e: R|kotlin/Int| = Int(5)) {
|
||||
catch (e: R|kotlin/Int|) {
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
+89
-87
@@ -68,40 +68,41 @@ digraph complex_kt {
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
27 [label="Catch enter"];
|
||||
28 [label="Variable declaration: closeException: R|kotlin/Throwable|"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
28 [label="Enter block"];
|
||||
29 [label="Access variable R|<local>/cause|"];
|
||||
30 [label="Smart cast: R|<local>/cause|"];
|
||||
31 [label="Access variable R|<local>/closeException|"];
|
||||
32 [label="Function call: R|<local>/cause|.R|kotlin/Throwable.addSuppressed|(...)"];
|
||||
33 [label="Exit block"];
|
||||
29 [label="Enter block"];
|
||||
30 [label="Access variable R|<local>/cause|"];
|
||||
31 [label="Smart cast: R|<local>/cause|"];
|
||||
32 [label="Access variable R|<local>/closeException|"];
|
||||
33 [label="Function call: R|<local>/cause|.R|kotlin/Throwable.addSuppressed|(...)"];
|
||||
34 [label="Exit block"];
|
||||
}
|
||||
34 [label="Catch exit"];
|
||||
35 [label="Catch exit"];
|
||||
}
|
||||
35 [label="Try expression exit"];
|
||||
36 [label="Try expression exit"];
|
||||
}
|
||||
36 [label="Exit block"];
|
||||
37 [label="Exit block"];
|
||||
}
|
||||
37 [label="Exit when branch result"];
|
||||
38 [label="Enter when branch result"];
|
||||
38 [label="Exit when branch result"];
|
||||
39 [label="Enter when branch result"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
39 [label="Enter block"];
|
||||
40 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()"];
|
||||
41 [label="Exit block"];
|
||||
40 [label="Enter block"];
|
||||
41 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()"];
|
||||
42 [label="Exit block"];
|
||||
}
|
||||
42 [label="Exit when branch result"];
|
||||
43 [label="Enter when branch result"];
|
||||
43 [label="Exit when branch result"];
|
||||
44 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
44 [label="Enter block"];
|
||||
45 [label="Exit block"];
|
||||
45 [label="Enter block"];
|
||||
46 [label="Exit block"];
|
||||
}
|
||||
46 [label="Exit when branch result"];
|
||||
47 [label="Exit when"];
|
||||
47 [label="Exit when branch result"];
|
||||
48 [label="Exit when"];
|
||||
}
|
||||
48 [label="Jump: ^closeFinally when () {
|
||||
49 [label="Jump: ^closeFinally when () {
|
||||
==(this@R|/closeFinally|, Null(null)) -> {
|
||||
}
|
||||
==(R|<local>/cause|, Null(null)) -> {
|
||||
@@ -118,10 +119,10 @@ digraph complex_kt {
|
||||
}
|
||||
}
|
||||
"];
|
||||
49 [label="Stub" style="filled" fillcolor=gray];
|
||||
50 [label="Exit block" style="filled" fillcolor=gray];
|
||||
50 [label="Stub" style="filled" fillcolor=gray];
|
||||
51 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
51 [label="Exit function closeFinally" style="filled" fillcolor=red];
|
||||
52 [label="Exit function closeFinally" style="filled" fillcolor=red];
|
||||
}
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
@@ -130,12 +131,12 @@ digraph complex_kt {
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
11 -> {43 12};
|
||||
11 -> {44 12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {38 17};
|
||||
16 -> {39 17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
@@ -145,9 +146,9 @@ digraph complex_kt {
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {35 27};
|
||||
26 -> {36 27};
|
||||
27 -> {28};
|
||||
27 -> {51} [label=onUncaughtException];
|
||||
27 -> {52} [label=onUncaughtException];
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
@@ -157,93 +158,93 @@ digraph complex_kt {
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {47};
|
||||
38 -> {39};
|
||||
37 -> {38};
|
||||
38 -> {48};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {47};
|
||||
43 -> {44};
|
||||
42 -> {43};
|
||||
43 -> {48};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {51};
|
||||
48 -> {49} [style=dotted];
|
||||
48 -> {49};
|
||||
49 -> {52};
|
||||
49 -> {50} [style=dotted];
|
||||
50 -> {51} [style=dotted];
|
||||
51 -> {52} [style=dotted];
|
||||
|
||||
subgraph cluster_16 {
|
||||
color=red
|
||||
52 [label="Enter function firstIsInstanceOrNull" style="filled" fillcolor=red];
|
||||
53 [label="Enter function firstIsInstanceOrNull" style="filled" fillcolor=red];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
53 [label="Enter block"];
|
||||
54 [label="Enter block"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
54 [label="Enter block"];
|
||||
55 [label="Access variable this@R|/firstIsInstanceOrNull|"];
|
||||
56 [label="Function call: this@R|/firstIsInstanceOrNull|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<CapturedType(*)>|>|()"];
|
||||
57 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Any?>|"];
|
||||
55 [label="Enter block"];
|
||||
56 [label="Access variable this@R|/firstIsInstanceOrNull|"];
|
||||
57 [label="Function call: this@R|/firstIsInstanceOrNull|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<CapturedType(*)>|>|()"];
|
||||
58 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Any?>|"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
58 [label="Enter while loop"];
|
||||
59 [label="Enter while loop"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
59 [label="Enter loop condition"];
|
||||
60 [label="Access variable R|<local>/<iterator>|"];
|
||||
61 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()"];
|
||||
62 [label="Exit loop condition"];
|
||||
60 [label="Enter loop condition"];
|
||||
61 [label="Access variable R|<local>/<iterator>|"];
|
||||
62 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.hasNext: R|kotlin/Boolean|>|()"];
|
||||
63 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
63 [label="Enter loop block"];
|
||||
64 [label="Enter loop block"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
64 [label="Enter block"];
|
||||
65 [label="Access variable R|<local>/<iterator>|"];
|
||||
66 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|kotlin/Any?|>|()"];
|
||||
67 [label="Variable declaration: lval element: R|kotlin/Any?|"];
|
||||
65 [label="Enter block"];
|
||||
66 [label="Access variable R|<local>/<iterator>|"];
|
||||
67 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|kotlin/Any?|>|()"];
|
||||
68 [label="Variable declaration: lval element: R|kotlin/Any?|"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
68 [label="Enter when"];
|
||||
69 [label="Enter when"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
69 [label="Enter when branch condition "];
|
||||
70 [label="Access variable R|<local>/element|"];
|
||||
71 [label="Type operator: (R|<local>/element| is R|T|)"];
|
||||
72 [label="Exit when branch condition"];
|
||||
70 [label="Enter when branch condition "];
|
||||
71 [label="Access variable R|<local>/element|"];
|
||||
72 [label="Type operator: (R|<local>/element| is R|T|)"];
|
||||
73 [label="Exit when branch condition"];
|
||||
}
|
||||
73 [label="Synthetic else branch"];
|
||||
74 [label="Enter when branch result"];
|
||||
74 [label="Synthetic else branch"];
|
||||
75 [label="Enter when branch result"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
75 [label="Enter block"];
|
||||
76 [label="Access variable R|<local>/element|"];
|
||||
77 [label="Smart cast: R|<local>/element|"];
|
||||
78 [label="Jump: ^firstIsInstanceOrNull R|<local>/element|"];
|
||||
79 [label="Stub" style="filled" fillcolor=gray];
|
||||
80 [label="Exit block" style="filled" fillcolor=gray];
|
||||
76 [label="Enter block"];
|
||||
77 [label="Access variable R|<local>/element|"];
|
||||
78 [label="Smart cast: R|<local>/element|"];
|
||||
79 [label="Jump: ^firstIsInstanceOrNull R|<local>/element|"];
|
||||
80 [label="Stub" style="filled" fillcolor=gray];
|
||||
81 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
81 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
82 [label="Exit when"];
|
||||
82 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
83 [label="Exit when"];
|
||||
}
|
||||
83 [label="Exit block"];
|
||||
84 [label="Exit block"];
|
||||
}
|
||||
84 [label="Exit loop block"];
|
||||
85 [label="Exit loop block"];
|
||||
}
|
||||
85 [label="Exit whileloop"];
|
||||
86 [label="Exit whileloop"];
|
||||
}
|
||||
86 [label="Exit block"];
|
||||
87 [label="Exit block"];
|
||||
}
|
||||
87 [label="Const: Null(null)"];
|
||||
88 [label="Jump: ^firstIsInstanceOrNull Null(null)"];
|
||||
89 [label="Stub" style="filled" fillcolor=gray];
|
||||
90 [label="Exit block" style="filled" fillcolor=gray];
|
||||
88 [label="Const: Null(null)"];
|
||||
89 [label="Jump: ^firstIsInstanceOrNull Null(null)"];
|
||||
90 [label="Stub" style="filled" fillcolor=gray];
|
||||
91 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
91 [label="Exit function firstIsInstanceOrNull" style="filled" fillcolor=red];
|
||||
92 [label="Exit function firstIsInstanceOrNull" style="filled" fillcolor=red];
|
||||
}
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
@@ -253,8 +254,8 @@ digraph complex_kt {
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {85 63};
|
||||
63 -> {64};
|
||||
62 -> {63};
|
||||
63 -> {86 64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {67};
|
||||
@@ -263,26 +264,27 @@ digraph complex_kt {
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {74 73};
|
||||
73 -> {82};
|
||||
74 -> {75};
|
||||
72 -> {73};
|
||||
73 -> {75 74};
|
||||
74 -> {83};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {91};
|
||||
78 -> {79} [style=dotted];
|
||||
78 -> {79};
|
||||
79 -> {92};
|
||||
79 -> {80} [style=dotted];
|
||||
80 -> {81} [style=dotted];
|
||||
81 -> {82} [style=dotted];
|
||||
82 -> {83};
|
||||
82 -> {83} [style=dotted];
|
||||
83 -> {84};
|
||||
84 -> {59} [color=green style=dashed];
|
||||
85 -> {86};
|
||||
84 -> {85};
|
||||
85 -> {60} [color=green style=dashed];
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {91};
|
||||
88 -> {89} [style=dotted];
|
||||
88 -> {89};
|
||||
89 -> {92};
|
||||
89 -> {90} [style=dotted];
|
||||
90 -> {91} [style=dotted];
|
||||
91 -> {92} [style=dotted];
|
||||
|
||||
}
|
||||
|
||||
+46
-44
@@ -135,14 +135,14 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
|
||||
44 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
59 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
60 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
60 [label="Enter block"];
|
||||
61 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
|
||||
62 [label="Exit block"];
|
||||
61 [label="Enter block"];
|
||||
62 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
|
||||
63 [label="Exit block"];
|
||||
}
|
||||
63 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
64 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
45 [label="Postponed exit from lambda"];
|
||||
46 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
|
||||
@@ -153,36 +153,37 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
49 [label="Catch enter"];
|
||||
50 [label="Variable declaration: e: R|kotlin/Exception|"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
50 [label="Enter block"];
|
||||
51 [label="Const: String()"];
|
||||
52 [label="Exit block"];
|
||||
51 [label="Enter block"];
|
||||
52 [label="Const: String()"];
|
||||
53 [label="Exit block"];
|
||||
}
|
||||
53 [label="Catch exit"];
|
||||
54 [label="Catch exit"];
|
||||
}
|
||||
54 [label="Try expression exit"];
|
||||
55 [label="Try expression exit"];
|
||||
}
|
||||
55 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||
56 [label="Variable declaration: lval x: R|kotlin/String|"];
|
||||
57 [label="Exit block"];
|
||||
56 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||
57 [label="Variable declaration: lval x: R|kotlin/String|"];
|
||||
58 [label="Exit block"];
|
||||
}
|
||||
58 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
59 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42 49};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {59};
|
||||
44 -> {60};
|
||||
44 -> {45} [color=red];
|
||||
44 -> {59} [style=dashed];
|
||||
44 -> {60} [style=dashed];
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {54 49};
|
||||
48 -> {55 49};
|
||||
49 -> {50};
|
||||
49 -> {58} [label=onUncaughtException];
|
||||
49 -> {59} [label=onUncaughtException];
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
@@ -191,56 +192,57 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
59 -> {60};
|
||||
58 -> {59};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {55} [color=red];
|
||||
63 -> {45} [color=green];
|
||||
63 -> {64};
|
||||
64 -> {56} [color=red];
|
||||
64 -> {45} [color=green];
|
||||
|
||||
subgraph cluster_20 {
|
||||
color=red
|
||||
64 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
65 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
65 [label="Enter block"];
|
||||
66 [label="Postponed enter to lambda"];
|
||||
66 [label="Enter block"];
|
||||
67 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
74 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
75 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
75 [label="Enter block"];
|
||||
76 [label="Function call: R|/materialize|<R|kotlin/String?|>()"];
|
||||
77 [label="Exit block"];
|
||||
76 [label="Enter block"];
|
||||
77 [label="Function call: R|/materialize|<R|kotlin/String?|>()"];
|
||||
78 [label="Exit block"];
|
||||
}
|
||||
78 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
79 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
67 [label="Postponed exit from lambda"];
|
||||
68 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)"];
|
||||
69 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!"];
|
||||
70 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||
71 [label="Variable declaration: lval x: R|kotlin/String|"];
|
||||
72 [label="Exit block"];
|
||||
68 [label="Postponed exit from lambda"];
|
||||
69 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)"];
|
||||
70 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!"];
|
||||
71 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||
72 [label="Variable declaration: lval x: R|kotlin/String|"];
|
||||
73 [label="Exit block"];
|
||||
}
|
||||
73 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
74 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
66 -> {74};
|
||||
66 -> {67} [color=red];
|
||||
66 -> {74} [style=dashed];
|
||||
67 -> {68};
|
||||
66 -> {67};
|
||||
67 -> {75};
|
||||
67 -> {68} [color=red];
|
||||
67 -> {75} [style=dashed];
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
74 -> {75};
|
||||
73 -> {74};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {78};
|
||||
78 -> {70} [color=red];
|
||||
78 -> {67} [color=green];
|
||||
78 -> {79};
|
||||
79 -> {71} [color=red];
|
||||
79 -> {68} [color=green];
|
||||
|
||||
}
|
||||
|
||||
+17
-15
@@ -269,39 +269,40 @@ digraph propertiesAndInitBlocks_kt {
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
87 [label="Catch enter"];
|
||||
88 [label="Variable declaration: e: R|kotlin/Exception|"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
88 [label="Enter block"];
|
||||
89 [label="Const: Int(2)"];
|
||||
90 [label="Exit block"];
|
||||
89 [label="Enter block"];
|
||||
90 [label="Const: Int(2)"];
|
||||
91 [label="Exit block"];
|
||||
}
|
||||
91 [label="Catch exit"];
|
||||
92 [label="Catch exit"];
|
||||
}
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
92 [label="Enter finally"];
|
||||
93 [label="Enter finally"];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
93 [label="Enter block"];
|
||||
94 [label="Const: Int(0)"];
|
||||
95 [label="Exit block"];
|
||||
94 [label="Enter block"];
|
||||
95 [label="Const: Int(0)"];
|
||||
96 [label="Exit block"];
|
||||
}
|
||||
96 [label="Exit finally"];
|
||||
97 [label="Exit finally"];
|
||||
}
|
||||
97 [label="Try expression exit"];
|
||||
98 [label="Try expression exit"];
|
||||
}
|
||||
98 [label="Exit property" style="filled" fillcolor=red];
|
||||
99 [label="Exit property" style="filled" fillcolor=red];
|
||||
}
|
||||
80 -> {81};
|
||||
81 -> {82 87};
|
||||
81 -> {92} [label=onUncaughtException];
|
||||
81 -> {93} [label=onUncaughtException];
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {92 87};
|
||||
86 -> {93 87};
|
||||
87 -> {88};
|
||||
87 -> {92} [label=onUncaughtException];
|
||||
87 -> {93} [label=onUncaughtException];
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {91};
|
||||
@@ -311,7 +312,8 @@ digraph propertiesAndInitBlocks_kt {
|
||||
94 -> {95};
|
||||
95 -> {96};
|
||||
96 -> {97};
|
||||
96 -> {98} [label=onUncaughtException];
|
||||
97 -> {98};
|
||||
97 -> {99} [label=onUncaughtException];
|
||||
98 -> {99};
|
||||
|
||||
}
|
||||
|
||||
+162
-152
@@ -27,301 +27,311 @@ digraph tryCatch_kt {
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
9 [label="Catch enter"];
|
||||
10 [label="Variable declaration: e: R|kotlin/Exception|"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
10 [label="Enter block"];
|
||||
11 [label="Const: Int(3)"];
|
||||
12 [label="Variable declaration: lval z: R|kotlin/Int|"];
|
||||
13 [label="Exit block"];
|
||||
11 [label="Enter block"];
|
||||
12 [label="Const: Int(3)"];
|
||||
13 [label="Variable declaration: lval z: R|kotlin/Int|"];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
14 [label="Catch exit"];
|
||||
15 [label="Catch exit"];
|
||||
}
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
15 [label="Catch enter"];
|
||||
16 [label="Catch enter"];
|
||||
17 [label="Variable declaration: e: R|kotlin/RuntimeException|"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
16 [label="Enter block"];
|
||||
17 [label="Const: Int(2)"];
|
||||
18 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
19 [label="Exit block"];
|
||||
18 [label="Enter block"];
|
||||
19 [label="Const: Int(2)"];
|
||||
20 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
21 [label="Exit block"];
|
||||
}
|
||||
20 [label="Catch exit"];
|
||||
22 [label="Catch exit"];
|
||||
}
|
||||
21 [label="Try expression exit"];
|
||||
23 [label="Try expression exit"];
|
||||
}
|
||||
22 [label="Exit block"];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
23 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
25 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
0 -> {1};
|
||||
1 -> {2};
|
||||
2 -> {3 15 9};
|
||||
2 -> {3 16 9};
|
||||
3 -> {4};
|
||||
4 -> {5};
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {21 15 9};
|
||||
8 -> {23 16 9};
|
||||
9 -> {10};
|
||||
9 -> {23} [label=onUncaughtException];
|
||||
9 -> {25} [label=onUncaughtException];
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {21};
|
||||
15 -> {16};
|
||||
15 -> {23} [label=onUncaughtException];
|
||||
14 -> {15};
|
||||
15 -> {23};
|
||||
16 -> {17};
|
||||
16 -> {25} [label=onUncaughtException];
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
24 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
26 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
25 [label="Enter block"];
|
||||
27 [label="Enter block"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
26 [label="Try expression enter"];
|
||||
28 [label="Try expression enter"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
27 [label="Try main block enter"];
|
||||
29 [label="Try main block enter"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
28 [label="Enter block"];
|
||||
29 [label="Const: Int(1)"];
|
||||
30 [label="Exit block"];
|
||||
30 [label="Enter block"];
|
||||
31 [label="Const: Int(1)"];
|
||||
32 [label="Exit block"];
|
||||
}
|
||||
31 [label="Try main block exit"];
|
||||
33 [label="Try main block exit"];
|
||||
}
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
32 [label="Catch enter"];
|
||||
34 [label="Catch enter"];
|
||||
35 [label="Variable declaration: e: R|kotlin/Exception|"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
33 [label="Enter block"];
|
||||
34 [label="Const: Int(2)"];
|
||||
35 [label="Exit block"];
|
||||
36 [label="Enter block"];
|
||||
37 [label="Const: Int(2)"];
|
||||
38 [label="Exit block"];
|
||||
}
|
||||
36 [label="Catch exit"];
|
||||
39 [label="Catch exit"];
|
||||
}
|
||||
37 [label="Try expression exit"];
|
||||
40 [label="Try expression exit"];
|
||||
}
|
||||
38 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
39 [label="Exit block"];
|
||||
41 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
42 [label="Exit block"];
|
||||
}
|
||||
40 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
43 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27 32};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
28 -> {29 34};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {37 32};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
32 -> {40} [label=onUncaughtException];
|
||||
33 -> {34};
|
||||
33 -> {40 34};
|
||||
34 -> {35};
|
||||
34 -> {43} [label=onUncaughtException];
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
|
||||
subgraph cluster_16 {
|
||||
color=red
|
||||
41 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
44 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
42 [label="Enter block"];
|
||||
45 [label="Enter block"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
43 [label="Enter while loop"];
|
||||
46 [label="Enter while loop"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
44 [label="Enter loop condition"];
|
||||
45 [label="Const: Boolean(true)"];
|
||||
46 [label="Exit loop condition"];
|
||||
47 [label="Enter loop condition"];
|
||||
48 [label="Const: Boolean(true)"];
|
||||
49 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
47 [label="Enter loop block"];
|
||||
50 [label="Enter loop block"];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
48 [label="Enter block"];
|
||||
51 [label="Enter block"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
49 [label="Try expression enter"];
|
||||
52 [label="Try expression enter"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
50 [label="Try main block enter"];
|
||||
53 [label="Try main block enter"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
51 [label="Enter block"];
|
||||
54 [label="Enter block"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
52 [label="Enter when"];
|
||||
55 [label="Enter when"];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
53 [label="Enter when branch condition "];
|
||||
54 [label="Access variable R|<local>/b|"];
|
||||
55 [label="Exit when branch condition"];
|
||||
56 [label="Enter when branch condition "];
|
||||
57 [label="Access variable R|<local>/b|"];
|
||||
58 [label="Exit when branch condition"];
|
||||
}
|
||||
56 [label="Synthetic else branch"];
|
||||
57 [label="Enter when branch result"];
|
||||
59 [label="Synthetic else branch"];
|
||||
60 [label="Enter when branch result"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
58 [label="Enter block"];
|
||||
59 [label="Jump: ^test_3 Unit"];
|
||||
60 [label="Stub" style="filled" fillcolor=gray];
|
||||
61 [label="Exit block" style="filled" fillcolor=gray];
|
||||
61 [label="Enter block"];
|
||||
62 [label="Jump: ^test_3 Unit"];
|
||||
63 [label="Stub" style="filled" fillcolor=gray];
|
||||
64 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
62 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
63 [label="Exit when"];
|
||||
65 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
66 [label="Exit when"];
|
||||
}
|
||||
64 [label="Const: Int(1)"];
|
||||
65 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
67 [label="Const: Int(1)"];
|
||||
68 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
66 [label="Enter when"];
|
||||
69 [label="Enter when"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
67 [label="Enter when branch condition "];
|
||||
68 [label="Access variable R|<local>/b|"];
|
||||
69 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
|
||||
70 [label="Exit when branch condition"];
|
||||
70 [label="Enter when branch condition "];
|
||||
71 [label="Access variable R|<local>/b|"];
|
||||
72 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
|
||||
73 [label="Exit when branch condition"];
|
||||
}
|
||||
71 [label="Synthetic else branch"];
|
||||
72 [label="Enter when branch result"];
|
||||
74 [label="Synthetic else branch"];
|
||||
75 [label="Enter when branch result"];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
73 [label="Enter block"];
|
||||
74 [label="Jump: break@@@[Boolean(true)] "];
|
||||
75 [label="Stub" style="filled" fillcolor=gray];
|
||||
76 [label="Exit block" style="filled" fillcolor=gray];
|
||||
76 [label="Enter block"];
|
||||
77 [label="Jump: break@@@[Boolean(true)] "];
|
||||
78 [label="Stub" style="filled" fillcolor=gray];
|
||||
79 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
77 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
78 [label="Exit when"];
|
||||
80 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
81 [label="Exit when"];
|
||||
}
|
||||
79 [label="Exit block"];
|
||||
82 [label="Exit block"];
|
||||
}
|
||||
80 [label="Try main block exit"];
|
||||
83 [label="Try main block exit"];
|
||||
}
|
||||
subgraph cluster_31 {
|
||||
color=blue
|
||||
81 [label="Catch enter"];
|
||||
84 [label="Catch enter"];
|
||||
85 [label="Variable declaration: e: R|kotlin/RuntimeException|"];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
82 [label="Enter block"];
|
||||
83 [label="Jump: break@@@[Boolean(true)] "];
|
||||
84 [label="Stub" style="filled" fillcolor=gray];
|
||||
85 [label="Exit block" style="filled" fillcolor=gray];
|
||||
86 [label="Enter block"];
|
||||
87 [label="Jump: break@@@[Boolean(true)] "];
|
||||
88 [label="Stub" style="filled" fillcolor=gray];
|
||||
89 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
86 [label="Catch exit" style="filled" fillcolor=gray];
|
||||
90 [label="Catch exit" style="filled" fillcolor=gray];
|
||||
}
|
||||
subgraph cluster_33 {
|
||||
color=blue
|
||||
91 [label="Catch enter"];
|
||||
95 [label="Catch enter"];
|
||||
96 [label="Variable declaration: e: R|kotlin/Exception|"];
|
||||
subgraph cluster_34 {
|
||||
color=blue
|
||||
92 [label="Enter block"];
|
||||
93 [label="Jump: continue@@@[Boolean(true)] "];
|
||||
94 [label="Stub" style="filled" fillcolor=gray];
|
||||
95 [label="Exit block" style="filled" fillcolor=gray];
|
||||
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];
|
||||
}
|
||||
96 [label="Catch exit" style="filled" fillcolor=gray];
|
||||
101 [label="Catch exit" style="filled" fillcolor=gray];
|
||||
}
|
||||
97 [label="Try expression exit"];
|
||||
102 [label="Try expression exit"];
|
||||
}
|
||||
98 [label="Const: Int(2)"];
|
||||
99 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
100 [label="Exit block"];
|
||||
103 [label="Const: Int(2)"];
|
||||
104 [label="Variable declaration: lval y: R|kotlin/Int|"];
|
||||
105 [label="Exit block"];
|
||||
}
|
||||
101 [label="Exit loop block"];
|
||||
106 [label="Exit loop block"];
|
||||
}
|
||||
87 [label="Exit whileloop"];
|
||||
91 [label="Exit whileloop"];
|
||||
}
|
||||
88 [label="Const: Int(3)"];
|
||||
89 [label="Variable declaration: lval z: R|kotlin/Int|"];
|
||||
90 [label="Exit block"];
|
||||
92 [label="Const: Int(3)"];
|
||||
93 [label="Variable declaration: lval z: R|kotlin/Int|"];
|
||||
94 [label="Exit block"];
|
||||
}
|
||||
102 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
107 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
}
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
46 -> {87} [style=dotted];
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50 91 81};
|
||||
49 -> {50};
|
||||
49 -> {91} [style=dotted];
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
52 -> {53 95 84};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {57 56};
|
||||
56 -> {63};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {102};
|
||||
59 -> {60} [style=dotted];
|
||||
60 -> {61} [style=dotted];
|
||||
61 -> {62} [style=dotted];
|
||||
58 -> {60 59};
|
||||
59 -> {66};
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {107};
|
||||
62 -> {63} [style=dotted];
|
||||
63 -> {64};
|
||||
64 -> {65};
|
||||
65 -> {66};
|
||||
63 -> {64} [style=dotted];
|
||||
64 -> {65} [style=dotted];
|
||||
65 -> {66} [style=dotted];
|
||||
66 -> {67};
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {72 71};
|
||||
71 -> {78};
|
||||
70 -> {71};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74};
|
||||
74 -> {87};
|
||||
74 -> {75} [style=dotted];
|
||||
75 -> {76} [style=dotted];
|
||||
76 -> {77} [style=dotted];
|
||||
73 -> {75 74};
|
||||
74 -> {81};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
77 -> {91};
|
||||
77 -> {78} [style=dotted];
|
||||
78 -> {79};
|
||||
79 -> {80};
|
||||
80 -> {97 91 81};
|
||||
78 -> {79} [style=dotted];
|
||||
79 -> {80} [style=dotted];
|
||||
80 -> {81} [style=dotted];
|
||||
81 -> {82};
|
||||
81 -> {102} [label=onUncaughtException];
|
||||
82 -> {83};
|
||||
83 -> {87};
|
||||
83 -> {84} [style=dotted];
|
||||
84 -> {85} [style=dotted];
|
||||
85 -> {86} [style=dotted];
|
||||
86 -> {97} [style=dotted];
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
90 -> {102};
|
||||
83 -> {102 95 84};
|
||||
84 -> {85};
|
||||
84 -> {107} [label=onUncaughtException];
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {91};
|
||||
87 -> {88} [style=dotted];
|
||||
88 -> {89} [style=dotted];
|
||||
89 -> {90} [style=dotted];
|
||||
90 -> {102} [style=dotted];
|
||||
91 -> {92};
|
||||
91 -> {102} [label=onUncaughtException];
|
||||
92 -> {93};
|
||||
93 -> {94} [style=dotted];
|
||||
93 -> {43} [color=green style=dashed];
|
||||
94 -> {95} [style=dotted];
|
||||
95 -> {96} [style=dotted];
|
||||
96 -> {97} [style=dotted];
|
||||
93 -> {94};
|
||||
94 -> {107};
|
||||
95 -> {96};
|
||||
95 -> {107} [label=onUncaughtException];
|
||||
96 -> {97};
|
||||
97 -> {98};
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {44} [color=green style=dashed];
|
||||
98 -> {99} [style=dotted];
|
||||
98 -> {46} [color=green style=dashed];
|
||||
99 -> {100} [style=dotted];
|
||||
100 -> {101} [style=dotted];
|
||||
101 -> {102} [style=dotted];
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {105};
|
||||
105 -> {106};
|
||||
106 -> {47} [color=green style=dashed];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user