[FIR-TEST] Update cfg dumps according to previous commits

This commit is contained in:
Dmitriy Novozhilov
2020-03-31 15:14:11 +03:00
parent 6faf364a46
commit 1d1b8d3290
59 changed files with 8803 additions and 9268 deletions
@@ -6,19 +6,17 @@ digraph annotatedLocalClass_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red];
2 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
1 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
0 -> {2};
2 -> {1};
subgraph cluster_1 {
color=red
3 [label="Enter class Ann" style="filled" fillcolor=red];
4 [label="Exit class Ann" style="filled" fillcolor=red];
}
3 -> {4} [color=green];
subgraph cluster_2 {
@@ -26,70 +24,68 @@ digraph annotatedLocalClass_kt {
5 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
6 [label="Enter when"];
7 [label="Enter when"];
subgraph cluster_4 {
color=blue
7 [label="Enter when branch condition "];
8 [label="Access variable R|<local>/b|"];
9 [label="Exit when branch condition"];
9 [label="Enter when branch condition "];
10 [label="Access variable R|<local>/b|"];
11 [label="Exit when branch condition"];
}
10 [label="Synthetic else branch"];
11 [label="Enter when branch result"];
18 [label="Synthetic else branch"];
12 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
12 [label="Enter block"];
13 [label="Jump: ^foo Unit"];
14 [label="Stub" style="filled" fillcolor=gray];
15 [label="Exit block" style="filled" fillcolor=gray];
13 [label="Enter block"];
14 [label="Jump: ^foo Unit"];
15 [label="Stub" style="filled" fillcolor=gray];
16 [label="Exit block" style="filled" fillcolor=gray];
}
16 [label="Exit when branch result" style="filled" fillcolor=gray];
17 [label="Exit when"];
17 [label="Exit when branch result" style="filled" fillcolor=gray];
8 [label="Exit when"];
}
subgraph cluster_6 {
color=blue
18 [label="Enter annotation"];
19 [label="Exit annotation"];
19 [label="Enter annotation"];
20 [label="Exit annotation"];
}
20 [label="Exit local class foo"];
21 [label="Function call: R|/bar|()"];
22 [label="Exit function foo" style="filled" fillcolor=red];
21 [label="Exit local class foo"];
22 [label="Function call: R|/bar|()"];
6 [label="Exit function foo" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {11 10};
10 -> {17};
11 -> {12};
5 -> {7};
7 -> {9};
8 -> {19};
9 -> {10};
10 -> {11};
11 -> {12 18};
12 -> {13};
13 -> {22};
13 -> {14} [style=dotted];
13 -> {14};
14 -> {6};
14 -> {15} [style=dotted];
15 -> {16} [style=dotted];
16 -> {17} [style=dotted];
17 -> {18};
18 -> {19};
17 -> {8} [style=dotted];
18 -> {8};
19 -> {20};
20 -> {21};
20 -> {23} [color=red];
21 -> {22};
22 -> {6};
subgraph cluster_7 {
color=red
23 [label="Enter function <init>" style="filled" fillcolor=red];
24 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
25 [label="Exit function <init>" style="filled" fillcolor=red];
25 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
24 [label="Exit function <init>" style="filled" fillcolor=red];
}
23 -> {24};
24 -> {25};
23 -> {25};
25 -> {24};
subgraph cluster_8 {
color=red
26 [label="Enter class Local" style="filled" fillcolor=red];
27 [label="Exit class Local" style="filled" fillcolor=red];
}
26 -> {27} [color=green];
subgraph cluster_9 {
@@ -97,7 +93,6 @@ digraph annotatedLocalClass_kt {
28 [label="Enter function bar" style="filled" fillcolor=red];
29 [label="Exit function bar" style="filled" fillcolor=red];
}
28 -> {29};
}
@@ -8,233 +8,229 @@ digraph binaryOperations_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter when"];
2 [label="Enter when"];
subgraph cluster_2 {
color=blue
2 [label="Enter when branch condition "];
4 [label="Enter when branch condition "];
subgraph cluster_3 {
color=blue
3 [label="Enter ||"];
4 [label="Access variable R|<local>/b1|"];
5 [label="Exit left part of ||"];
6 [label="Enter right part of ||"];
7 [label="Access variable R|<local>/b2|"];
8 [label="Exit ||"];
6 [label="Enter ||"];
7 [label="Access variable R|<local>/b1|"];
8 [label="Exit left part of ||"];
9 [label="Enter right part of ||"];
10 [label="Access variable R|<local>/b2|"];
5 [label="Exit ||"];
}
9 [label="Exit when branch condition"];
11 [label="Exit when branch condition"];
}
10 [label="Synthetic else branch"];
11 [label="Enter when branch result"];
17 [label="Synthetic else branch"];
12 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
12 [label="Enter block"];
13 [label="Const: Int(1)"];
14 [label="Exit block"];
13 [label="Enter block"];
14 [label="Const: Int(1)"];
15 [label="Exit block"];
}
15 [label="Exit when branch result"];
16 [label="Exit when"];
16 [label="Exit when branch result"];
3 [label="Exit when"];
}
17 [label="Exit function test_1" style="filled" fillcolor=red];
1 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {8 6};
0 -> {2};
2 -> {4};
3 -> {1};
4 -> {6};
5 -> {11};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {11 10};
10 -> {16};
11 -> {12};
8 -> {5 9};
9 -> {10};
10 -> {5};
11 -> {12 17};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
16 -> {3};
17 -> {3};
subgraph cluster_5 {
color=red
18 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
19 [label="Enter when"];
20 [label="Enter when"];
subgraph cluster_7 {
color=blue
20 [label="Enter when branch condition "];
22 [label="Enter when branch condition "];
subgraph cluster_8 {
color=blue
21 [label="Enter &&"];
22 [label="Access variable R|<local>/b1|"];
23 [label="Exit left part of &&"];
24 [label="Enter right part of &&"];
25 [label="Access variable R|<local>/b2|"];
26 [label="Exit &&"];
24 [label="Enter &&"];
25 [label="Access variable R|<local>/b1|"];
26 [label="Exit left part of &&"];
27 [label="Enter right part of &&"];
28 [label="Access variable R|<local>/b2|"];
23 [label="Exit &&"];
}
27 [label="Exit when branch condition"];
29 [label="Exit when branch condition"];
}
28 [label="Synthetic else branch"];
29 [label="Enter when branch result"];
35 [label="Synthetic else branch"];
30 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
30 [label="Enter block"];
31 [label="Const: Int(1)"];
32 [label="Exit block"];
31 [label="Enter block"];
32 [label="Const: Int(1)"];
33 [label="Exit block"];
}
33 [label="Exit when branch result"];
34 [label="Exit when"];
34 [label="Exit when branch result"];
21 [label="Exit when"];
}
35 [label="Exit function test_2" style="filled" fillcolor=red];
19 [label="Exit function test_2" style="filled" fillcolor=red];
}
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {26 24};
18 -> {20};
20 -> {22};
21 -> {19};
22 -> {24};
23 -> {29};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {29 28};
28 -> {34};
29 -> {30};
26 -> {23 27};
27 -> {28};
28 -> {23};
29 -> {30 35};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
34 -> {21};
35 -> {21};
subgraph cluster_10 {
color=red
36 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
37 [label="Enter when"];
38 [label="Enter when"];
subgraph cluster_12 {
color=blue
38 [label="Enter when branch condition "];
40 [label="Enter when branch condition "];
subgraph cluster_13 {
color=blue
39 [label="Enter ||"];
42 [label="Enter ||"];
subgraph cluster_14 {
color=blue
40 [label="Enter &&"];
41 [label="Access variable R|<local>/b1|"];
42 [label="Exit left part of &&"];
43 [label="Enter right part of &&"];
44 [label="Access variable R|<local>/b2|"];
45 [label="Exit &&"];
44 [label="Enter &&"];
45 [label="Access variable R|<local>/b1|"];
46 [label="Exit left part of &&"];
47 [label="Enter right part of &&"];
48 [label="Access variable R|<local>/b2|"];
43 [label="Exit &&"];
}
46 [label="Exit left part of ||"];
47 [label="Enter right part of ||"];
48 [label="Access variable R|<local>/b3|"];
49 [label="Exit ||"];
49 [label="Exit left part of ||"];
50 [label="Enter right part of ||"];
51 [label="Access variable R|<local>/b3|"];
41 [label="Exit ||"];
}
50 [label="Exit when branch condition"];
52 [label="Exit when branch condition"];
}
51 [label="Synthetic else branch"];
52 [label="Enter when branch result"];
58 [label="Synthetic else branch"];
53 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
53 [label="Enter block"];
54 [label="Const: Int(1)"];
55 [label="Exit block"];
54 [label="Enter block"];
55 [label="Const: Int(1)"];
56 [label="Exit block"];
}
56 [label="Exit when branch result"];
57 [label="Exit when"];
57 [label="Exit when branch result"];
39 [label="Exit when"];
}
58 [label="Exit function test_3" style="filled" fillcolor=red];
37 [label="Exit function test_3" style="filled" fillcolor=red];
}
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {45 43};
43 -> {44};
36 -> {38};
38 -> {40};
39 -> {37};
40 -> {42};
41 -> {52};
42 -> {44};
43 -> {49};
44 -> {45};
45 -> {46};
46 -> {49 47};
46 -> {43 47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {52 51};
51 -> {57};
52 -> {53};
48 -> {43};
49 -> {41 50};
50 -> {51};
51 -> {41};
52 -> {53 58};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
57 -> {39};
58 -> {39};
subgraph cluster_16 {
color=red
59 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
60 [label="Enter when"];
61 [label="Enter when"];
subgraph cluster_18 {
color=blue
61 [label="Enter when branch condition "];
63 [label="Enter when branch condition "];
subgraph cluster_19 {
color=blue
62 [label="Enter ||"];
63 [label="Access variable R|<local>/b1|"];
64 [label="Exit left part of ||"];
65 [label="Enter right part of ||"];
65 [label="Enter ||"];
66 [label="Access variable R|<local>/b1|"];
67 [label="Exit left part of ||"];
68 [label="Enter right part of ||"];
subgraph cluster_20 {
color=blue
66 [label="Enter &&"];
67 [label="Access variable R|<local>/b2|"];
68 [label="Exit left part of &&"];
69 [label="Enter right part of &&"];
70 [label="Access variable R|<local>/b3|"];
71 [label="Exit &&"];
70 [label="Enter &&"];
71 [label="Access variable R|<local>/b2|"];
72 [label="Exit left part of &&"];
73 [label="Enter right part of &&"];
74 [label="Access variable R|<local>/b3|"];
69 [label="Exit &&"];
}
72 [label="Exit ||"];
64 [label="Exit ||"];
}
73 [label="Exit when branch condition"];
75 [label="Exit when branch condition"];
}
74 [label="Synthetic else branch"];
75 [label="Enter when branch result"];
81 [label="Synthetic else branch"];
76 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
76 [label="Enter block"];
77 [label="Const: Int(1)"];
78 [label="Exit block"];
77 [label="Enter block"];
78 [label="Const: Int(1)"];
79 [label="Exit block"];
}
79 [label="Exit when branch result"];
80 [label="Exit when"];
80 [label="Exit when branch result"];
62 [label="Exit when"];
}
81 [label="Exit function test_4" style="filled" fillcolor=red];
60 [label="Exit function test_4" style="filled" fillcolor=red];
}
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {72 65};
59 -> {61};
61 -> {63};
62 -> {60};
63 -> {65};
64 -> {75};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {71 69};
69 -> {70};
67 -> {64 68};
68 -> {70};
69 -> {64};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {75 74};
74 -> {80};
75 -> {76};
72 -> {69 73};
73 -> {74};
74 -> {69};
75 -> {76 81};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
80 -> {62};
81 -> {62};
}
@@ -8,419 +8,411 @@ digraph booleanOperatorsWithConsts_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter when"];
2 [label="Enter when"];
subgraph cluster_2 {
color=blue
2 [label="Enter when branch condition "];
4 [label="Enter when branch condition "];
subgraph cluster_3 {
color=blue
3 [label="Enter ||"];
4 [label="Access variable R|<local>/b|"];
5 [label="Exit left part of ||"];
6 [label="Enter right part of ||"];
7 [label="Const: Boolean(false)"];
8 [label="Exit ||"];
6 [label="Enter ||"];
7 [label="Access variable R|<local>/b|"];
8 [label="Exit left part of ||"];
9 [label="Enter right part of ||"];
10 [label="Const: Boolean(false)"];
5 [label="Exit ||"];
}
9 [label="Exit when branch condition"];
11 [label="Exit when branch condition"];
}
10 [label="Synthetic else branch"];
11 [label="Enter when branch result"];
17 [label="Synthetic else branch"];
12 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
12 [label="Enter block"];
13 [label="Const: Int(1)"];
14 [label="Exit block"];
13 [label="Enter block"];
14 [label="Const: Int(1)"];
15 [label="Exit block"];
}
15 [label="Exit when branch result"];
16 [label="Exit when"];
16 [label="Exit when branch result"];
3 [label="Exit when"];
}
17 [label="Exit function test_1" style="filled" fillcolor=red];
1 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {8 6};
0 -> {2};
2 -> {4};
3 -> {1};
4 -> {6};
5 -> {11};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {11 10};
10 -> {16};
11 -> {12};
8 -> {5 9};
9 -> {10};
10 -> {5};
11 -> {12 17};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
16 -> {3};
17 -> {3};
subgraph cluster_5 {
color=red
18 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
19 [label="Enter when"];
20 [label="Enter when"];
subgraph cluster_7 {
color=blue
20 [label="Enter when branch condition "];
22 [label="Enter when branch condition "];
subgraph cluster_8 {
color=blue
21 [label="Enter ||"];
22 [label="Const: Boolean(false)"];
23 [label="Exit left part of ||"];
24 [label="Enter right part of ||"];
25 [label="Access variable R|<local>/b|"];
26 [label="Exit ||"];
24 [label="Enter ||"];
25 [label="Const: Boolean(false)"];
26 [label="Exit left part of ||"];
27 [label="Enter right part of ||"];
28 [label="Access variable R|<local>/b|"];
23 [label="Exit ||"];
}
27 [label="Exit when branch condition"];
29 [label="Exit when branch condition"];
}
28 [label="Synthetic else branch"];
29 [label="Enter when branch result"];
35 [label="Synthetic else branch"];
30 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
30 [label="Enter block"];
31 [label="Const: Int(1)"];
32 [label="Exit block"];
31 [label="Enter block"];
32 [label="Const: Int(1)"];
33 [label="Exit block"];
}
33 [label="Exit when branch result"];
34 [label="Exit when"];
34 [label="Exit when branch result"];
21 [label="Exit when"];
}
35 [label="Exit function test_2" style="filled" fillcolor=red];
19 [label="Exit function test_2" style="filled" fillcolor=red];
}
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
23 -> {26} [style=dotted];
18 -> {20};
20 -> {22};
21 -> {19};
22 -> {24};
23 -> {29};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {29 28};
28 -> {34};
29 -> {30};
26 -> {23} [style=dotted];
27 -> {28};
28 -> {23};
29 -> {30 35};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
34 -> {21};
35 -> {21};
subgraph cluster_10 {
color=red
36 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
37 [label="Enter when"];
38 [label="Enter when"];
subgraph cluster_12 {
color=blue
38 [label="Enter when branch condition "];
40 [label="Enter when branch condition "];
subgraph cluster_13 {
color=blue
39 [label="Enter ||"];
40 [label="Access variable R|<local>/b|"];
41 [label="Exit left part of ||"];
42 [label="Enter right part of ||"];
43 [label="Const: Boolean(true)"];
44 [label="Exit ||"];
42 [label="Enter ||"];
43 [label="Access variable R|<local>/b|"];
44 [label="Exit left part of ||"];
45 [label="Enter right part of ||"];
46 [label="Const: Boolean(true)"];
41 [label="Exit ||"];
}
45 [label="Exit when branch condition"];
47 [label="Exit when branch condition"];
}
46 [label="Synthetic else branch"];
47 [label="Enter when branch result"];
53 [label="Synthetic else branch"];
48 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
48 [label="Enter block"];
49 [label="Const: Int(1)"];
50 [label="Exit block"];
49 [label="Enter block"];
50 [label="Const: Int(1)"];
51 [label="Exit block"];
}
51 [label="Exit when branch result"];
52 [label="Exit when"];
52 [label="Exit when branch result"];
39 [label="Exit when"];
}
53 [label="Exit function test_3" style="filled" fillcolor=red];
37 [label="Exit function test_3" style="filled" fillcolor=red];
}
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {44 42};
36 -> {38};
38 -> {40};
39 -> {37};
40 -> {42};
41 -> {47};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {47 46};
46 -> {52};
47 -> {48};
44 -> {41 45};
45 -> {46};
46 -> {41};
47 -> {48 53};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
52 -> {39};
53 -> {39};
subgraph cluster_15 {
color=red
54 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
55 [label="Enter when"];
56 [label="Enter when"];
subgraph cluster_17 {
color=blue
56 [label="Enter when branch condition "];
58 [label="Enter when branch condition "];
subgraph cluster_18 {
color=blue
57 [label="Enter ||"];
58 [label="Const: Boolean(true)"];
59 [label="Exit left part of ||"];
60 [label="Enter right part of ||" style="filled" fillcolor=gray];
61 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray];
62 [label="Exit ||"];
60 [label="Enter ||"];
61 [label="Const: Boolean(true)"];
62 [label="Exit left part of ||"];
63 [label="Enter right part of ||" style="filled" fillcolor=gray];
64 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray];
59 [label="Exit ||"];
}
63 [label="Exit when branch condition"];
65 [label="Exit when branch condition"];
}
64 [label="Synthetic else branch"];
65 [label="Enter when branch result"];
71 [label="Synthetic else branch"];
66 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
66 [label="Enter block"];
67 [label="Const: Int(1)"];
68 [label="Exit block"];
67 [label="Enter block"];
68 [label="Const: Int(1)"];
69 [label="Exit block"];
}
69 [label="Exit when branch result"];
70 [label="Exit when"];
70 [label="Exit when branch result"];
57 [label="Exit when"];
}
71 [label="Exit function test_4" style="filled" fillcolor=red];
55 [label="Exit function test_4" style="filled" fillcolor=red];
}
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {62};
59 -> {60} [style=dotted];
60 -> {61} [style=dotted];
61 -> {62} [style=dotted];
62 -> {63};
63 -> {65 64};
64 -> {70};
65 -> {66};
54 -> {56};
56 -> {58};
57 -> {55};
58 -> {60};
59 -> {65};
60 -> {61};
61 -> {62};
62 -> {59};
62 -> {63} [style=dotted];
63 -> {64} [style=dotted];
64 -> {59} [style=dotted];
65 -> {66 71};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
70 -> {57};
71 -> {57};
subgraph cluster_20 {
color=red
72 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
73 [label="Enter when"];
74 [label="Enter when"];
subgraph cluster_22 {
color=blue
74 [label="Enter when branch condition "];
76 [label="Enter when branch condition "];
subgraph cluster_23 {
color=blue
75 [label="Enter &&"];
76 [label="Access variable R|<local>/b|"];
77 [label="Exit left part of &&"];
78 [label="Enter right part of &&"];
79 [label="Const: Boolean(false)"];
80 [label="Exit &&"];
78 [label="Enter &&"];
79 [label="Access variable R|<local>/b|"];
80 [label="Exit left part of &&"];
81 [label="Enter right part of &&"];
82 [label="Const: Boolean(false)"];
77 [label="Exit &&"];
}
81 [label="Exit when branch condition"];
83 [label="Exit when branch condition"];
}
82 [label="Synthetic else branch"];
83 [label="Enter when branch result"];
89 [label="Synthetic else branch"];
84 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
84 [label="Enter block"];
85 [label="Const: Int(1)"];
86 [label="Exit block"];
85 [label="Enter block"];
86 [label="Const: Int(1)"];
87 [label="Exit block"];
}
87 [label="Exit when branch result"];
88 [label="Exit when"];
88 [label="Exit when branch result"];
75 [label="Exit when"];
}
89 [label="Exit function test_5" style="filled" fillcolor=red];
73 [label="Exit function test_5" style="filled" fillcolor=red];
}
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {80 78};
72 -> {74};
74 -> {76};
75 -> {73};
76 -> {78};
77 -> {83};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {83 82};
82 -> {88};
83 -> {84};
80 -> {77 81};
81 -> {82};
82 -> {77};
83 -> {84 89};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
88 -> {75};
89 -> {75};
subgraph cluster_25 {
color=red
90 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_26 {
color=blue
91 [label="Enter when"];
92 [label="Enter when"];
subgraph cluster_27 {
color=blue
92 [label="Enter when branch condition "];
94 [label="Enter when branch condition "];
subgraph cluster_28 {
color=blue
93 [label="Enter &&"];
94 [label="Const: Boolean(false)"];
95 [label="Exit left part of &&"];
96 [label="Enter right part of &&" style="filled" fillcolor=gray];
97 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray];
98 [label="Exit &&"];
96 [label="Enter &&"];
97 [label="Const: Boolean(false)"];
98 [label="Exit left part of &&"];
99 [label="Enter right part of &&" style="filled" fillcolor=gray];
100 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray];
95 [label="Exit &&"];
}
99 [label="Exit when branch condition"];
101 [label="Exit when branch condition"];
}
100 [label="Synthetic else branch"];
101 [label="Enter when branch result"];
107 [label="Synthetic else branch"];
102 [label="Enter when branch result"];
subgraph cluster_29 {
color=blue
102 [label="Enter block"];
103 [label="Const: Int(1)"];
104 [label="Exit block"];
103 [label="Enter block"];
104 [label="Const: Int(1)"];
105 [label="Exit block"];
}
105 [label="Exit when branch result"];
106 [label="Exit when"];
106 [label="Exit when branch result"];
93 [label="Exit when"];
}
107 [label="Exit function test_6" style="filled" fillcolor=red];
91 [label="Exit function test_6" style="filled" fillcolor=red];
}
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {98};
95 -> {96} [style=dotted];
96 -> {97} [style=dotted];
97 -> {98} [style=dotted];
98 -> {99};
99 -> {101 100};
100 -> {106};
101 -> {102};
90 -> {92};
92 -> {94};
93 -> {91};
94 -> {96};
95 -> {101};
96 -> {97};
97 -> {98};
98 -> {95};
98 -> {99} [style=dotted];
99 -> {100} [style=dotted];
100 -> {95} [style=dotted];
101 -> {102 107};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
106 -> {93};
107 -> {93};
subgraph cluster_30 {
color=red
108 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
109 [label="Enter when"];
110 [label="Enter when"];
subgraph cluster_32 {
color=blue
110 [label="Enter when branch condition "];
112 [label="Enter when branch condition "];
subgraph cluster_33 {
color=blue
111 [label="Enter &&"];
112 [label="Access variable R|<local>/b|"];
113 [label="Exit left part of &&"];
114 [label="Enter right part of &&"];
115 [label="Const: Boolean(true)"];
116 [label="Exit &&"];
114 [label="Enter &&"];
115 [label="Access variable R|<local>/b|"];
116 [label="Exit left part of &&"];
117 [label="Enter right part of &&"];
118 [label="Const: Boolean(true)"];
113 [label="Exit &&"];
}
117 [label="Exit when branch condition"];
119 [label="Exit when branch condition"];
}
118 [label="Synthetic else branch"];
119 [label="Enter when branch result"];
125 [label="Synthetic else branch"];
120 [label="Enter when branch result"];
subgraph cluster_34 {
color=blue
120 [label="Enter block"];
121 [label="Const: Int(1)"];
122 [label="Exit block"];
121 [label="Enter block"];
122 [label="Const: Int(1)"];
123 [label="Exit block"];
}
123 [label="Exit when branch result"];
124 [label="Exit when"];
124 [label="Exit when branch result"];
111 [label="Exit when"];
}
125 [label="Exit function test_7" style="filled" fillcolor=red];
109 [label="Exit function test_7" style="filled" fillcolor=red];
}
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {116 114};
108 -> {110};
110 -> {112};
111 -> {109};
112 -> {114};
113 -> {119};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {119 118};
118 -> {124};
119 -> {120};
116 -> {113 117};
117 -> {118};
118 -> {113};
119 -> {120 125};
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
124 -> {111};
125 -> {111};
subgraph cluster_35 {
color=red
126 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_36 {
color=blue
127 [label="Enter when"];
128 [label="Enter when"];
subgraph cluster_37 {
color=blue
128 [label="Enter when branch condition "];
130 [label="Enter when branch condition "];
subgraph cluster_38 {
color=blue
129 [label="Enter &&"];
130 [label="Const: Boolean(true)"];
131 [label="Exit left part of &&"];
132 [label="Enter right part of &&"];
133 [label="Access variable R|<local>/b|"];
134 [label="Exit &&"];
132 [label="Enter &&"];
133 [label="Const: Boolean(true)"];
134 [label="Exit left part of &&"];
135 [label="Enter right part of &&"];
136 [label="Access variable R|<local>/b|"];
131 [label="Exit &&"];
}
135 [label="Exit when branch condition"];
137 [label="Exit when branch condition"];
}
136 [label="Synthetic else branch"];
137 [label="Enter when branch result"];
143 [label="Synthetic else branch"];
138 [label="Enter when branch result"];
subgraph cluster_39 {
color=blue
138 [label="Enter block"];
139 [label="Const: Int(1)"];
140 [label="Exit block"];
139 [label="Enter block"];
140 [label="Const: Int(1)"];
141 [label="Exit block"];
}
141 [label="Exit when branch result"];
142 [label="Exit when"];
142 [label="Exit when branch result"];
129 [label="Exit when"];
}
143 [label="Exit function test_8" style="filled" fillcolor=red];
127 [label="Exit function test_8" style="filled" fillcolor=red];
}
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
131 -> {134} [style=dotted];
126 -> {128};
128 -> {130};
129 -> {127};
130 -> {132};
131 -> {137};
132 -> {133};
133 -> {134};
134 -> {135};
135 -> {137 136};
136 -> {142};
137 -> {138};
134 -> {131} [style=dotted];
135 -> {136};
136 -> {131};
137 -> {138 143};
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
142 -> {129};
143 -> {129};
}
+119 -124
View File
@@ -8,7 +8,6 @@ digraph complex_kt {
0 [label="Enter function close" style="filled" fillcolor=red];
1 [label="Exit function close" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph complex_kt {
2 [label="Enter class AutoCloseable" style="filled" fillcolor=red];
3 [label="Exit class AutoCloseable" style="filled" fillcolor=red];
}
2 -> {3} [color=green];
subgraph cluster_2 {
@@ -24,7 +22,6 @@ digraph complex_kt {
4 [label="Enter function addSuppressed" style="filled" fillcolor=red];
5 [label="Exit function addSuppressed" style="filled" fillcolor=red];
}
4 -> {5};
subgraph cluster_3 {
@@ -32,82 +29,82 @@ digraph complex_kt {
6 [label="Enter function closeFinally" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
7 [label="Enter when"];
8 [label="Enter when"];
subgraph cluster_5 {
color=blue
8 [label="Enter when branch condition "];
9 [label="Access variable this@R|/closeFinally|"];
10 [label="Const: Null(null)"];
11 [label="Operator =="];
12 [label="Exit when branch condition"];
10 [label="Enter when branch condition "];
11 [label="Access variable this@R|/closeFinally|"];
12 [label="Const: Null(null)"];
13 [label="Operator =="];
14 [label="Exit when branch condition"];
}
subgraph cluster_6 {
color=blue
13 [label="Enter when branch condition "];
14 [label="Access variable R|<local>/cause|"];
15 [label="Const: Null(null)"];
16 [label="Operator =="];
17 [label="Exit when branch condition"];
19 [label="Enter when branch condition "];
20 [label="Access variable R|<local>/cause|"];
21 [label="Const: Null(null)"];
22 [label="Operator =="];
23 [label="Exit when branch condition"];
}
subgraph cluster_7 {
color=blue
18 [label="Enter when branch condition else"];
19 [label="Exit when branch condition"];
29 [label="Enter when branch condition else"];
30 [label="Exit when branch condition"];
}
20 [label="Enter when branch result"];
31 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
21 [label="Enter block"];
32 [label="Enter block"];
subgraph cluster_9 {
color=blue
22 [label="Try expression enter"];
33 [label="Try expression enter"];
subgraph cluster_10 {
color=blue
23 [label="Try main block enter"];
35 [label="Try main block enter"];
subgraph cluster_11 {
color=blue
24 [label="Enter block"];
25 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()"];
26 [label="Exit block"];
37 [label="Enter block"];
38 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()"];
39 [label="Exit block"];
}
27 [label="Try main block exit"];
40 [label="Try main block exit"];
}
subgraph cluster_12 {
color=blue
28 [label="Catch enter"];
36 [label="Catch enter"];
subgraph cluster_13 {
color=blue
29 [label="Enter block"];
30 [label="Access variable R|<local>/cause|"];
31 [label="Access variable R|<local>/closeException|"];
32 [label="Function call: R|<local>/cause|.R|/addSuppressed|(...)"];
33 [label="Exit block"];
41 [label="Enter block"];
42 [label="Access variable R|<local>/cause|"];
43 [label="Access variable R|<local>/closeException|"];
44 [label="Function call: R|<local>/cause|.R|/addSuppressed|(...)"];
45 [label="Exit block"];
}
34 [label="Catch exit"];
46 [label="Catch exit"];
}
35 [label="Try expression exit"];
34 [label="Try expression exit"];
}
36 [label="Exit block"];
47 [label="Exit block"];
}
37 [label="Exit when branch result"];
38 [label="Enter when branch result"];
48 [label="Exit when branch result"];
24 [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"];
25 [label="Enter block"];
26 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()"];
27 [label="Exit block"];
}
42 [label="Exit when branch result"];
43 [label="Enter when branch result"];
28 [label="Exit when branch result"];
15 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
44 [label="Enter block"];
45 [label="Exit block"];
16 [label="Enter block"];
17 [label="Exit block"];
}
46 [label="Exit when branch result"];
47 [label="Exit when"];
18 [label="Exit when branch result"];
9 [label="Exit when"];
}
48 [label="Jump: ^closeFinally when () {
49 [label="Jump: ^closeFinally when () {
==(this@R|/closeFinally|, Null(null)) -> {
}
==(R|<local>/cause|, Null(null)) -> {
@@ -124,151 +121,149 @@ digraph complex_kt {
}
}
"];
49 [label="Stub" style="filled" fillcolor=gray];
50 [label="Exit function closeFinally" style="filled" fillcolor=red];
50 [label="Stub" style="filled" fillcolor=gray];
7 [label="Exit function closeFinally" style="filled" fillcolor=red];
}
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
6 -> {8};
8 -> {10};
9 -> {49};
10 -> {11};
11 -> {12};
12 -> {43 13};
12 -> {13};
13 -> {14};
14 -> {15};
14 -> {15 19};
15 -> {16};
16 -> {17};
17 -> {38 18};
18 -> {19};
17 -> {18};
18 -> {9};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {50 28 24};
23 -> {24 29};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {35};
28 -> {50 29};
27 -> {28};
28 -> {9};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {47};
33 -> {35};
34 -> {47};
35 -> {7 36 37};
36 -> {7 41};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
40 -> {34};
41 -> {42};
42 -> {47};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
46 -> {34};
47 -> {48};
48 -> {50};
48 -> {49} [style=dotted];
48 -> {9};
49 -> {7};
49 -> {50} [style=dotted];
50 -> {7} [style=dotted];
subgraph cluster_16 {
color=red
51 [label="Enter function firstIsInstanceOrNull" style="filled" fillcolor=red];
52 [label="Access variable this@R|/firstIsInstanceOrNull|"];
53 [label="Function call: this@R|/firstIsInstanceOrNull|.R|FakeOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Any?>|>|()"];
54 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Any?>|"];
53 [label="Access variable this@R|/firstIsInstanceOrNull|"];
54 [label="Function call: this@R|/firstIsInstanceOrNull|.R|FakeOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Any?>|>|()"];
55 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Any?>|"];
subgraph cluster_17 {
color=blue
55 [label="Enter while loop"];
56 [label="Enter while loop"];
subgraph cluster_18 {
color=blue
56 [label="Enter loop condition"];
57 [label="Access variable R|<local>/<iterator>|"];
58 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
59 [label="Exit loop condition"];
58 [label="Enter loop condition"];
59 [label="Access variable R|<local>/<iterator>|"];
60 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
61 [label="Exit loop condition"];
}
subgraph cluster_19 {
color=blue
60 [label="Enter loop block"];
62 [label="Enter loop block"];
subgraph cluster_20 {
color=blue
61 [label="Enter block"];
62 [label="Access variable R|<local>/<iterator>|"];
63 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|kotlin/Any?|>|()"];
64 [label="Variable declaration: lval element: R|kotlin/Any?|"];
63 [label="Enter block"];
64 [label="Access variable R|<local>/<iterator>|"];
65 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|kotlin/Any?|>|()"];
66 [label="Variable declaration: lval element: R|kotlin/Any?|"];
subgraph cluster_21 {
color=blue
65 [label="Enter when"];
67 [label="Enter when"];
subgraph cluster_22 {
color=blue
66 [label="Enter when branch condition "];
67 [label="Access variable R|<local>/element|"];
68 [label="Type operator: (R|<local>/element| is R|T|)"];
69 [label="Exit when branch condition"];
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="Synthetic else branch"];
71 [label="Enter when branch result"];
80 [label="Synthetic else branch"];
73 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
72 [label="Enter block"];
73 [label="Access variable R|<local>/element|"];
74 [label="Jump: ^firstIsInstanceOrNull R|<local>/element|"];
75 [label="Stub" style="filled" fillcolor=gray];
76 [label="Exit block" style="filled" fillcolor=gray];
74 [label="Enter block"];
75 [label="Access variable R|<local>/element|"];
76 [label="Jump: ^firstIsInstanceOrNull R|<local>/element|"];
77 [label="Stub" style="filled" fillcolor=gray];
78 [label="Exit block" style="filled" fillcolor=gray];
}
77 [label="Exit when branch result" style="filled" fillcolor=gray];
78 [label="Exit when"];
79 [label="Exit when branch result" style="filled" fillcolor=gray];
68 [label="Exit when"];
}
79 [label="Exit block"];
81 [label="Exit block"];
}
80 [label="Exit loop block"];
82 [label="Exit loop block"];
}
81 [label="Exit whileloop"];
57 [label="Exit whileloop"];
}
82 [label="Const: Null(null)"];
83 [label="Jump: ^firstIsInstanceOrNull Null(null)"];
84 [label="Stub" style="filled" fillcolor=gray];
85 [label="Exit function firstIsInstanceOrNull" style="filled" fillcolor=red];
83 [label="Const: Null(null)"];
84 [label="Jump: ^firstIsInstanceOrNull Null(null)"];
85 [label="Stub" style="filled" fillcolor=gray];
52 [label="Exit function firstIsInstanceOrNull" style="filled" fillcolor=red];
}
51 -> {52};
52 -> {53};
51 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
56 -> {58};
57 -> {83};
58 -> {59};
59 -> {81 60};
59 -> {60};
60 -> {61};
61 -> {62};
61 -> {57 62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {71 70};
70 -> {78};
67 -> {69};
68 -> {81};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
72 -> {73 80};
73 -> {74};
74 -> {85};
74 -> {75} [style=dotted];
75 -> {76} [style=dotted];
74 -> {75};
75 -> {76};
76 -> {52};
76 -> {77} [style=dotted];
77 -> {78} [style=dotted];
78 -> {79};
79 -> {80};
80 -> {56};
78 -> {79} [style=dotted];
79 -> {68} [style=dotted];
80 -> {68};
81 -> {82};
82 -> {83};
83 -> {85};
83 -> {84} [style=dotted];
82 -> {58};
83 -> {84};
84 -> {52};
84 -> {85} [style=dotted];
85 -> {52} [style=dotted];
}
@@ -8,56 +8,53 @@ digraph emptyWhen_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter when"];
2 [label="Synthetic else branch"];
2 [label="Enter when"];
4 [label="Synthetic else branch"];
3 [label="Exit when"];
}
4 [label="Exit function test_1" style="filled" fillcolor=red];
1 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {4};
0 -> {2};
2 -> {4};
3 -> {1};
4 -> {3};
subgraph cluster_2 {
color=red
5 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
6 [label="Enter when"];
7 [label="Access variable R|<local>/x|"];
8 [label="Synthetic else branch"];
9 [label="Exit when"];
7 [label="Enter when"];
9 [label="Access variable R|<local>/x|"];
10 [label="Synthetic else branch"];
8 [label="Exit when"];
}
10 [label="Exit function test_2" style="filled" fillcolor=red];
6 [label="Exit function test_2" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
5 -> {7};
7 -> {9};
8 -> {6};
9 -> {10};
10 -> {8};
subgraph cluster_4 {
color=red
11 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
12 [label="Enter when"];
13 [label="Access variable R|<local>/x|"];
14 [label="Variable declaration: lval y: R|kotlin/Int|"];
15 [label="Synthetic else branch"];
16 [label="Exit when"];
13 [label="Enter when"];
15 [label="Access variable R|<local>/x|"];
16 [label="Variable declaration: lval y: R|kotlin/Int|"];
17 [label="Synthetic else branch"];
14 [label="Exit when"];
}
17 [label="Exit function test_3" style="filled" fillcolor=red];
12 [label="Exit function test_3" style="filled" fillcolor=red];
}
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
11 -> {13};
13 -> {15};
14 -> {12};
15 -> {16};
16 -> {17};
17 -> {14};
}
@@ -8,306 +8,317 @@ digraph flowFromInplaceLambda_kt {
0 [label="Enter function takeInt" style="filled" fillcolor=red];
1 [label="Exit function takeInt" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter function select" style="filled" fillcolor=red];
3 [label="Access variable R|<local>/x|"];
4 [label="Const: Int(0)"];
5 [label="Function call: R|<local>/x|.R|FakeOverride<kotlin/Array.get: R|K|>|(...)"];
6 [label="Jump: ^select R|<local>/x|.R|FakeOverride<kotlin/Array.get: R|K|>|(Int(0))"];
7 [label="Stub" style="filled" fillcolor=gray];
8 [label="Exit function select" style="filled" fillcolor=red];
4 [label="Access variable R|<local>/x|"];
5 [label="Const: Int(0)"];
6 [label="Function call: R|<local>/x|.R|FakeOverride<kotlin/Array.get: R|K|>|(...)"];
7 [label="Jump: ^select R|<local>/x|.R|FakeOverride<kotlin/Array.get: R|K|>|(Int(0))"];
8 [label="Stub" style="filled" fillcolor=gray];
3 [label="Exit function select" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
2 -> {4};
4 -> {5};
5 -> {6};
6 -> {8};
6 -> {7} [style=dotted];
6 -> {7};
7 -> {3};
7 -> {8} [style=dotted];
8 -> {3} [style=dotted];
subgraph cluster_2 {
color=red
9 [label="Enter function id" style="filled" fillcolor=red];
10 [label="Access variable R|<local>/x|"];
11 [label="Jump: ^id R|<local>/x|"];
12 [label="Stub" style="filled" fillcolor=gray];
13 [label="Exit function id" style="filled" fillcolor=red];
11 [label="Access variable R|<local>/x|"];
12 [label="Jump: ^id R|<local>/x|"];
13 [label="Stub" style="filled" fillcolor=gray];
10 [label="Exit function id" style="filled" fillcolor=red];
}
9 -> {10};
10 -> {11};
11 -> {13};
11 -> {12} [style=dotted];
9 -> {11};
11 -> {12};
12 -> {10};
12 -> {13} [style=dotted];
13 -> {10} [style=dotted];
subgraph cluster_3 {
color=red
14 [label="Enter function materialize" style="filled" fillcolor=red];
15 [label="Const: Null(null)"];
16 [label="Check not null: Null(null)!!"];
17 [label="Jump: ^materialize Null(null)!!"];
18 [label="Stub" style="filled" fillcolor=gray];
19 [label="Exit function materialize" style="filled" fillcolor=red];
16 [label="Const: Null(null)"];
17 [label="Check not null: Null(null)!!"];
18 [label="Jump: ^materialize Null(null)!!"];
19 [label="Stub" style="filled" fillcolor=gray];
15 [label="Exit function materialize" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
14 -> {16};
16 -> {17};
17 -> {19};
17 -> {18} [style=dotted];
17 -> {18};
18 -> {15};
18 -> {19} [style=dotted];
19 -> {15} [style=dotted];
subgraph cluster_4 {
color=red
20 [label="Enter function myRun" style="filled" fillcolor=red];
21 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|R|>|()"];
22 [label="Jump: ^myRun R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|R|>|()"];
23 [label="Stub" style="filled" fillcolor=gray];
24 [label="Exit function myRun" style="filled" fillcolor=red];
22 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|R|>|()"];
23 [label="Jump: ^myRun R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|R|>|()"];
24 [label="Stub" style="filled" fillcolor=gray];
21 [label="Exit function myRun" style="filled" fillcolor=red];
}
20 -> {21};
21 -> {22};
22 -> {24};
22 -> {23} [style=dotted];
20 -> {22};
22 -> {23};
23 -> {21};
23 -> {24} [style=dotted];
24 -> {21} [style=dotted];
subgraph cluster_5 {
color=red
25 [label="Enter function test_1" style="filled" fillcolor=red];
26 [label="Postponed enter to lambda"];
27 [label="Postponed enter to lambda"];
subgraph cluster_6 {
color=blue
27 [label="Enter function anonymousFunction"];
28 [label="Access variable R|<local>/x|"];
29 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
29 [label="Enter function anonymousFunction"];
31 [label="Access variable R|<local>/x|"];
32 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
30 [label="Exit function anonymousFunction"];
}
31 [label="Call arguments union" style="filled" fillcolor=yellow];
32 [label="Postponed exit from lambda"];
34 [label="Call arguments union" style="filled" fillcolor=yellow];
28 [label="Postponed exit from lambda"];
33 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
34 [label="Access variable R|<local>/x|"];
35 [label="Function call: R|/takeInt|(...)"];
36 [label="Exit function test_1" style="filled" fillcolor=red];
35 [label="Access variable R|<local>/x|"];
36 [label="Function call: R|/takeInt|(...)"];
26 [label="Exit function test_1" style="filled" fillcolor=red];
}
25 -> {26};
26 -> {27};
26 -> {32} [color=red];
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {32} [color=green];
30 -> {31} [color=red];
31 -> {33} [color=red];
32 -> {33} [color=green];
33 -> {34};
34 -> {35};
25 -> {27};
27 -> {29};
27 -> {28} [color=red];
28 -> {33} [color=green];
29 -> {31};
30 -> {28} [color=green];
30 -> {34} [color=red];
31 -> {32};
32 -> {30};
33 -> {35};
34 -> {33} [color=red];
35 -> {36};
36 -> {26};
subgraph cluster_7 {
color=red
37 [label="Enter function test_2" style="filled" fillcolor=red];
38 [label="Postponed enter to lambda"];
39 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
39 [label="Enter function anonymousFunction"];
40 [label="Access variable R|<local>/y|"];
41 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"];
42 [label="Access variable R|<local>/x|"];
43 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
44 [label="Exit function anonymousFunction"];
41 [label="Enter function anonymousFunction"];
43 [label="Access variable R|<local>/y|"];
44 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"];
45 [label="Access variable R|<local>/x|"];
46 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
42 [label="Exit function anonymousFunction"];
}
45 [label="Postponed exit from lambda"];
46 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
47 [label="Call arguments union" style="filled" fillcolor=yellow];
40 [label="Postponed exit from lambda"];
47 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
49 [label="Call arguments union" style="filled" fillcolor=yellow];
48 [label="Function call: R|/id|<R|kotlin/Int|>(...)"];
49 [label="Access variable R|<local>/y|"];
50 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"];
51 [label="Postponed enter to lambda"];
50 [label="Access variable R|<local>/y|"];
51 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"];
52 [label="Postponed enter to lambda"];
subgraph cluster_9 {
color=blue
52 [label="Enter function anonymousFunction"];
53 [label="Access variable R|<local>/x|"];
54 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
55 [label="Access variable R|<local>/y|"];
56 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
57 [label="Const: Int(1)"];
58 [label="Exit function anonymousFunction"];
54 [label="Enter function anonymousFunction"];
56 [label="Access variable R|<local>/x|"];
57 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
58 [label="Access variable R|<local>/y|"];
59 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
60 [label="Const: Int(1)"];
55 [label="Exit function anonymousFunction"];
}
59 [label="Postponed exit from lambda"];
60 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
61 [label="Call arguments union" style="filled" fillcolor=yellow];
53 [label="Postponed exit from lambda"];
61 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
63 [label="Call arguments union" style="filled" fillcolor=yellow];
62 [label="Function call: R|/select|<R|kotlin/Int|>(...)"];
63 [label="Variable declaration: lval a: R|kotlin/Int|"];
64 [label="Access variable R|<local>/x|"];
65 [label="Function call: R|/takeInt|(...)"];
66 [label="Access variable R|<local>/y|"];
67 [label="Function call: R|/takeInt|(...)"];
68 [label="Access variable R|<local>/a|"];
69 [label="Function call: R|/takeInt|(...)"];
70 [label="Exit function test_2" style="filled" fillcolor=red];
64 [label="Variable declaration: lval a: R|kotlin/Int|"];
65 [label="Access variable R|<local>/x|"];
66 [label="Function call: R|/takeInt|(...)"];
67 [label="Access variable R|<local>/y|"];
68 [label="Function call: R|/takeInt|(...)"];
69 [label="Access variable R|<local>/a|"];
70 [label="Function call: R|/takeInt|(...)"];
38 [label="Exit function test_2" style="filled" fillcolor=red];
}
37 -> {38};
38 -> {39};
38 -> {45} [color=red];
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
37 -> {39};
39 -> {41};
39 -> {40} [color=red];
40 -> {47};
41 -> {43};
42 -> {40} [color=green];
42 -> {49} [color=red];
43 -> {44};
44 -> {45} [color=green];
44 -> {47} [color=red];
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
46 -> {42};
47 -> {49};
48 -> {50};
49 -> {48};
50 -> {51};
51 -> {52};
51 -> {59} [color=red];
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
52 -> {54};
52 -> {53} [color=red];
53 -> {61};
54 -> {56};
55 -> {53} [color=green];
55 -> {63} [color=red];
56 -> {57};
57 -> {58};
58 -> {59} [color=green];
58 -> {61} [color=red];
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
60 -> {55};
61 -> {63};
62 -> {64};
63 -> {62};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {38};
subgraph cluster_10 {
color=red
71 [label="Enter function test_3" style="filled" fillcolor=red];
72 [label="Postponed enter to lambda"];
73 [label="Postponed enter to lambda"];
subgraph cluster_11 {
color=blue
73 [label="Enter function anonymousFunction"];
74 [label="Access variable R|<local>/y|"];
75 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"];
76 [label="Access variable R|<local>/x|"];
77 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
78 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
79 [label="Exit function anonymousFunction"];
75 [label="Enter function anonymousFunction"];
77 [label="Access variable R|<local>/y|"];
78 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"];
79 [label="Access variable R|<local>/x|"];
80 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
81 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
76 [label="Exit function anonymousFunction"];
}
80 [label="Postponed exit from lambda"];
81 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
82 [label="Function call: R|/id|<R|kotlin/Int|>(...)"];
83 [label="Postponed enter to lambda"];
74 [label="Postponed exit from lambda"];
82 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
83 [label="Function call: R|/id|<R|kotlin/Int|>(...)"];
84 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
84 [label="Enter function anonymousFunction"];
85 [label="Access variable R|<local>/y|"];
86 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"];
87 [label="Access variable R|<local>/x|"];
88 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()"];
89 [label="Access variable R|<local>/y|"];
90 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
91 [label="Const: Int(1)"];
92 [label="Exit function anonymousFunction"];
86 [label="Enter function anonymousFunction"];
88 [label="Access variable R|<local>/y|"];
89 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"];
90 [label="Access variable R|<local>/x|"];
91 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()"];
92 [label="Access variable R|<local>/y|"];
93 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
94 [label="Const: Int(1)"];
87 [label="Exit function anonymousFunction"];
}
93 [label="Postponed exit from lambda"];
94 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
95 [label="Call arguments union" style="filled" fillcolor=yellow];
85 [label="Postponed exit from lambda"];
95 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
97 [label="Call arguments union" style="filled" fillcolor=yellow];
96 [label="Function call: R|/select|<R|kotlin/Int|>(...)"];
97 [label="Variable declaration: lval a: R|kotlin/Int|"];
98 [label="Access variable R|<local>/x|"];
99 [label="Function call: R|/takeInt|(...)"];
100 [label="Access variable R|<local>/y|"];
101 [label="Function call: R|/takeInt|(...)"];
102 [label="Access variable R|<local>/a|"];
103 [label="Function call: R|/takeInt|(...)"];
104 [label="Exit function test_3" style="filled" fillcolor=red];
98 [label="Variable declaration: lval a: R|kotlin/Int|"];
99 [label="Access variable R|<local>/x|"];
100 [label="Function call: R|/takeInt|(...)"];
101 [label="Access variable R|<local>/y|"];
102 [label="Function call: R|/takeInt|(...)"];
103 [label="Access variable R|<local>/a|"];
104 [label="Function call: R|/takeInt|(...)"];
72 [label="Exit function test_3" style="filled" fillcolor=red];
}
71 -> {72};
72 -> {73};
72 -> {80} [color=red];
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
71 -> {73};
73 -> {75};
73 -> {74} [color=red];
74 -> {82};
75 -> {77};
76 -> {74} [color=green];
76 -> {97} [color=red];
77 -> {78};
78 -> {79};
79 -> {80} [color=green];
79 -> {95} [color=red];
79 -> {80};
80 -> {81};
81 -> {82};
81 -> {76};
82 -> {83};
83 -> {84};
83 -> {93} [color=red];
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
84 -> {86};
84 -> {85} [color=red];
85 -> {95};
86 -> {88};
87 -> {85} [color=green];
87 -> {97} [color=red];
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93} [color=green];
92 -> {95} [color=red];
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
94 -> {87};
95 -> {97};
96 -> {98};
97 -> {96};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {72};
subgraph cluster_13 {
color=red
105 [label="Enter function test_4" style="filled" fillcolor=red];
106 [label="Postponed enter to lambda"];
107 [label="Postponed exit from lambda"];
108 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
109 [label="Function call: R|/id|<R|kotlin/Int|>(...)"];
110 [label="Access variable R|<local>/y|"];
111 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"];
112 [label="Postponed enter to lambda"];
113 [label="Postponed exit from lambda"];
114 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
115 [label="Function call: R|/select|<R|kotlin/Int|>(...)"];
116 [label="Variable declaration: lval a: R|kotlin/Int|"];
117 [label="Access variable R|<local>/x|"];
107 [label="Postponed enter to lambda"];
subgraph cluster_14 {
color=blue
126 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
128 [label="Access variable R|<local>/y|"];
129 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"];
130 [label="Access variable R|<local>/x|"];
131 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
127 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
108 [label="Postponed exit from lambda"];
109 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
110 [label="Function call: R|/id|<R|kotlin/Int|>(...)"];
111 [label="Access variable R|<local>/y|"];
112 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"];
113 [label="Postponed enter to lambda"];
subgraph cluster_15 {
color=blue
132 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
134 [label="Access variable R|<local>/x|"];
135 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()"];
136 [label="Access variable R|<local>/y|"];
137 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
138 [label="Const: Int(1)"];
133 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
114 [label="Postponed exit from lambda"];
115 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
116 [label="Function call: R|/select|<R|kotlin/Int|>(...)"];
117 [label="Variable declaration: lval a: R|kotlin/Int|"];
118 [label="Access variable R|<local>/x|"];
119 [label="Access variable R|<local>/x|"];
120 [label="Function call: <Inapplicable(INAPPLICABLE): [/takeInt]>#(...)"];
121 [label="Access variable R|<local>/y|"];
122 [label="Function call: R|/takeInt|(...)"];
123 [label="Access variable R|<local>/a|"];
124 [label="Function call: R|/takeInt|(...)"];
125 [label="Exit function test_4" style="filled" fillcolor=red];
120 [label="Access variable R|<local>/x|"];
121 [label="Function call: <Inapplicable(INAPPLICABLE): [/takeInt]>#(...)"];
122 [label="Access variable R|<local>/y|"];
123 [label="Function call: R|/takeInt|(...)"];
124 [label="Access variable R|<local>/a|"];
125 [label="Function call: R|/takeInt|(...)"];
106 [label="Exit function test_4" style="filled" fillcolor=red];
}
105 -> {106};
106 -> {107 107} [color=green];
107 -> {108};
105 -> {107};
107 -> {108 108} [color=green];
107 -> {126} [color=red];
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113 113} [color=green];
113 -> {114};
112 -> {113};
113 -> {114 114} [color=green];
113 -> {132} [color=red];
114 -> {115};
115 -> {116};
116 -> {117};
@@ -319,133 +330,108 @@ digraph flowFromInplaceLambda_kt {
122 -> {123};
123 -> {124};
124 -> {125};
subgraph cluster_14 {
color=red
126 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
127 [label="Access variable R|<local>/y|"];
128 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"];
129 [label="Access variable R|<local>/x|"];
130 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
131 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
126 -> {127};
127 -> {128};
125 -> {106};
126 -> {128};
128 -> {129};
129 -> {130};
130 -> {131};
subgraph cluster_15 {
color=red
132 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
133 [label="Access variable R|<local>/x|"];
134 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()"];
135 [label="Access variable R|<local>/y|"];
136 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
137 [label="Const: Int(1)"];
138 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
132 -> {133};
133 -> {134};
131 -> {127};
132 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {133};
subgraph cluster_16 {
color=red
139 [label="Enter function test_5" style="filled" fillcolor=red];
140 [label="Postponed enter to lambda"];
141 [label="Postponed enter to lambda"];
subgraph cluster_17 {
color=blue
141 [label="Enter function anonymousFunction"];
142 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
143 [label="Exit function anonymousFunction"];
143 [label="Enter function anonymousFunction"];
145 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
144 [label="Exit function anonymousFunction"];
}
144 [label="Postponed exit from lambda"];
145 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
146 [label="Postponed enter to lambda"];
142 [label="Postponed exit from lambda"];
146 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
147 [label="Postponed enter to lambda"];
subgraph cluster_18 {
color=blue
147 [label="Enter function anonymousFunction"];
148 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
149 [label="Exit function anonymousFunction"];
149 [label="Enter function anonymousFunction"];
151 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
150 [label="Exit function anonymousFunction"];
}
150 [label="Postponed exit from lambda"];
151 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
152 [label="Call arguments union" style="filled" fillcolor=yellow];
148 [label="Postponed exit from lambda"];
152 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
154 [label="Call arguments union" style="filled" fillcolor=yellow];
153 [label="Function call: R|/select|<R|kotlin/Int|>(...)"];
154 [label="Variable declaration: lval x: R|kotlin/Int|"];
155 [label="Access variable R|<local>/x|"];
156 [label="Function call: R|/takeInt|(...)"];
157 [label="Exit function test_5" style="filled" fillcolor=red];
155 [label="Variable declaration: lval x: R|kotlin/Int|"];
156 [label="Access variable R|<local>/x|"];
157 [label="Function call: R|/takeInt|(...)"];
140 [label="Exit function test_5" style="filled" fillcolor=red];
}
139 -> {140};
140 -> {141};
140 -> {144} [color=red];
141 -> {142};
142 -> {143};
143 -> {144} [color=green];
143 -> {152} [color=red];
144 -> {145};
145 -> {146};
139 -> {141};
141 -> {143};
141 -> {142} [color=red];
142 -> {146};
143 -> {145};
144 -> {142} [color=green];
144 -> {154} [color=red];
145 -> {144};
146 -> {147};
146 -> {150} [color=red];
147 -> {148};
148 -> {149};
149 -> {150} [color=green];
149 -> {152} [color=red];
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
147 -> {149};
147 -> {148} [color=red];
148 -> {152};
149 -> {151};
150 -> {148} [color=green];
150 -> {154} [color=red];
151 -> {150};
152 -> {154};
153 -> {155};
154 -> {153};
155 -> {156};
156 -> {157};
157 -> {140};
subgraph cluster_19 {
color=red
158 [label="Enter function test_6" style="filled" fillcolor=red];
159 [label="Postponed enter to lambda"];
160 [label="Postponed exit from lambda"];
161 [label="Function call: R|/myRun|<R|kotlin/String|>(...)"];
162 [label="Function call: R|/id|<R|kotlin/String|>(...)"];
163 [label="Variable declaration: lval x: R|kotlin/String|"];
164 [label="Exit function test_6" style="filled" fillcolor=red];
160 [label="Postponed enter to lambda"];
subgraph cluster_20 {
color=blue
165 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
167 [label="Postponed enter to lambda"];
subgraph cluster_21 {
color=blue
169 [label="Enter function anonymousFunction"];
171 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
170 [label="Exit function anonymousFunction"];
}
168 [label="Postponed exit from lambda"];
172 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
166 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
161 [label="Postponed exit from lambda"];
162 [label="Function call: R|/myRun|<R|kotlin/String|>(...)"];
163 [label="Function call: R|/id|<R|kotlin/String|>(...)"];
164 [label="Variable declaration: lval x: R|kotlin/String|"];
159 [label="Exit function test_6" style="filled" fillcolor=red];
}
158 -> {159};
159 -> {160 160} [color=green];
160 -> {161};
158 -> {160};
160 -> {161 161} [color=green];
160 -> {165} [color=red];
161 -> {162};
162 -> {163};
163 -> {164};
subgraph cluster_20 {
color=red
165 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
166 [label="Postponed enter to lambda"];
subgraph cluster_21 {
color=blue
167 [label="Enter function anonymousFunction"];
168 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
169 [label="Exit function anonymousFunction"];
}
170 [label="Postponed exit from lambda"];
171 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
172 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
165 -> {166};
166 -> {167};
166 -> {170} [color=red];
167 -> {168};
168 -> {169};
169 -> {170} [color=green];
170 -> {171};
171 -> {172};
164 -> {159};
165 -> {167};
167 -> {169};
167 -> {168} [color=red];
168 -> {172};
169 -> {171};
170 -> {168} [color=green];
171 -> {170};
172 -> {166};
}
@@ -6,84 +6,80 @@ digraph initBlock_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red];
2 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
1 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
0 -> {2};
2 -> {1};
subgraph cluster_1 {
color=red
3 [label="Enter init block" style="filled" fillcolor=red];
9 [label="Enter class Foo" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
4 [label="Enter block"];
5 [label="Const: Int(1)"];
6 [label="Variable declaration: lval x: R|kotlin/Int|"];
7 [label="Exit block"];
3 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
5 [label="Enter block"];
6 [label="Const: Int(1)"];
7 [label="Variable declaration: lval x: R|kotlin/Int|"];
8 [label="Exit block"];
}
4 [label="Exit init block" style="filled" fillcolor=red];
}
8 [label="Exit init block" style="filled" fillcolor=red];
10 [label="Exit class Foo" style="filled" fillcolor=red];
}
3 -> {4};
4 -> {5};
9 -> {3} [color=green];
3 -> {5};
4 -> {10} [color=green];
5 -> {6};
6 -> {7};
7 -> {8};
subgraph cluster_3 {
color=red
9 [label="Enter class Foo" style="filled" fillcolor=red];
10 [label="Exit class Foo" style="filled" fillcolor=red];
}
8 -> {4};
subgraph cluster_4 {
color=red
11 [label="Enter function <init>" style="filled" fillcolor=red];
12 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
13 [label="Exit function <init>" style="filled" fillcolor=red];
13 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
12 [label="Exit function <init>" style="filled" fillcolor=red];
}
11 -> {12};
12 -> {13};
11 -> {13};
13 -> {12};
subgraph cluster_5 {
color=red
14 [label="Enter init block" style="filled" fillcolor=red];
25 [label="Enter class Bar" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
15 [label="Enter block"];
16 [label="Const: Int(1)"];
17 [label="Variable declaration: lval x: R|kotlin/Int|"];
18 [label="Function call: R|java/lang/Exception.Exception|()"];
19 [label="Throw: throw R|java/lang/Exception.Exception|()"];
20 [label="Stub" style="filled" fillcolor=gray];
21 [label="Const: Int(2)" style="filled" fillcolor=gray];
22 [label="Variable declaration: lval y: R|kotlin/Int|" style="filled" fillcolor=gray];
23 [label="Exit block" style="filled" fillcolor=gray];
14 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
16 [label="Enter block"];
17 [label="Const: Int(1)"];
18 [label="Variable declaration: lval x: R|kotlin/Int|"];
19 [label="Function call: R|java/lang/Exception.Exception|()"];
20 [label="Throw: throw R|java/lang/Exception.Exception|()"];
21 [label="Stub" style="filled" fillcolor=gray];
22 [label="Const: Int(2)" style="filled" fillcolor=gray];
23 [label="Variable declaration: lval y: R|kotlin/Int|" style="filled" fillcolor=gray];
24 [label="Exit block" style="filled" fillcolor=gray];
}
15 [label="Exit init block" style="filled" fillcolor=red];
}
24 [label="Exit init block" style="filled" fillcolor=red];
26 [label="Exit class Bar" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
25 -> {14} [color=green];
14 -> {16};
15 -> {26} [color=green];
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {24};
19 -> {20} [style=dotted];
19 -> {20};
20 -> {15};
20 -> {21} [style=dotted];
21 -> {22} [style=dotted];
22 -> {23} [style=dotted];
23 -> {24} [style=dotted];
subgraph cluster_7 {
color=red
25 [label="Enter class Bar" style="filled" fillcolor=red];
26 [label="Exit class Bar" style="filled" fillcolor=red];
}
24 -> {15} [style=dotted];
}
@@ -8,7 +8,6 @@ digraph initBlockAndInPlaceLambda_kt {
0 [label="Enter class B" style="filled" fillcolor=red];
1 [label="Exit class B" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
subgraph cluster_1 {
@@ -16,87 +15,83 @@ digraph initBlockAndInPlaceLambda_kt {
2 [label="Enter function getter" style="filled" fillcolor=red];
3 [label="Exit function getter" style="filled" fillcolor=red];
}
2 -> {3};
subgraph cluster_2 {
color=red
4 [label="Enter property" style="filled" fillcolor=red];
5 [label="Exit property" style="filled" fillcolor=red];
}
4 -> {5};
subgraph cluster_3 {
color=red
6 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
4 [label="Enter property" style="filled" fillcolor=red];
5 [label="Exit property" style="filled" fillcolor=red];
}
7 [label="Exit class A" style="filled" fillcolor=red];
}
6 -> {4} [color=green];
4 -> {5};
5 -> {7} [color=green];
subgraph cluster_4 {
color=red
8 [label="Enter function <init>" style="filled" fillcolor=red];
9 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
10 [label="Exit function <init>" style="filled" fillcolor=red];
10 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
9 [label="Exit function <init>" style="filled" fillcolor=red];
}
8 -> {9};
9 -> {10};
8 -> {10};
10 -> {9};
subgraph cluster_5 {
color=red
11 [label="Enter init block" style="filled" fillcolor=red];
29 [label="Enter class C" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
12 [label="Enter block"];
13 [label="Access variable R|<local>/a|"];
14 [label="Access variable R|/A.b|"];
15 [label="Enter safe call"];
16 [label="Postponed enter to lambda"];
11 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
17 [label="Enter function anonymousFunction"];
18 [label="Access variable R|<local>/a|"];
19 [label="Access variable R|<local>/it|"];
20 [label="Function call: R|/C.C|(...)"];
21 [label="Exit function anonymousFunction"];
13 [label="Enter block"];
14 [label="Access variable R|<local>/a|"];
15 [label="Access variable R|/A.b|"];
16 [label="Enter safe call"];
18 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
20 [label="Enter function anonymousFunction"];
22 [label="Access variable R|<local>/a|"];
23 [label="Access variable R|<local>/it|"];
24 [label="Function call: R|/C.C|(...)"];
21 [label="Exit function anonymousFunction"];
}
26 [label="Call arguments union" style="filled" fillcolor=yellow];
19 [label="Postponed exit from lambda"];
25 [label="Function call: R|<local>/a|.R|/A.b|?.R|kotlin/let|<R|B|, R|C|>(...)"];
17 [label="Exit safe call"];
27 [label="Variable declaration: lval c: R|C?|"];
28 [label="Exit block"];
}
22 [label="Call arguments union" style="filled" fillcolor=yellow];
23 [label="Postponed exit from lambda"];
24 [label="Function call: R|<local>/a|.R|/A.b|?.R|kotlin/let|<R|B|, R|C|>(...)"];
25 [label="Exit safe call"];
26 [label="Variable declaration: lval c: R|C?|"];
27 [label="Exit block"];
12 [label="Exit init block" style="filled" fillcolor=red];
}
28 [label="Exit init block" style="filled" fillcolor=red];
}
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15 25};
15 -> {16};
16 -> {17};
16 -> {23} [color=red];
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {23} [color=green];
21 -> {22} [color=red];
22 -> {24} [color=red];
23 -> {24} [color=green];
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
subgraph cluster_8 {
color=red
29 [label="Enter class C" style="filled" fillcolor=red];
30 [label="Exit class C" style="filled" fillcolor=red];
}
29 -> {11} [color=green];
11 -> {13};
12 -> {30} [color=green];
13 -> {14};
14 -> {15};
15 -> {16 17};
16 -> {18};
17 -> {27};
18 -> {20};
18 -> {19} [color=red];
19 -> {25} [color=green];
20 -> {22};
21 -> {19} [color=green];
21 -> {26} [color=red];
22 -> {23};
23 -> {24};
24 -> {21};
25 -> {17};
26 -> {25} [color=red];
27 -> {28};
28 -> {12};
}
@@ -6,191 +6,187 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function materialize" style="filled" fillcolor=red];
1 [label="Const: Null(null)"];
2 [label="Check not null: Null(null)!!"];
3 [label="Jump: ^materialize Null(null)!!"];
4 [label="Stub" style="filled" fillcolor=gray];
5 [label="Exit function materialize" style="filled" fillcolor=red];
2 [label="Const: Null(null)"];
3 [label="Check not null: Null(null)!!"];
4 [label="Jump: ^materialize Null(null)!!"];
5 [label="Stub" style="filled" fillcolor=gray];
1 [label="Exit function materialize" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
0 -> {2};
2 -> {3};
3 -> {5};
3 -> {4} [style=dotted];
3 -> {4};
4 -> {1};
4 -> {5} [style=dotted];
5 -> {1} [style=dotted];
subgraph cluster_1 {
color=red
6 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
7 [label="Enter when"];
8 [label="Enter when"];
subgraph cluster_3 {
color=blue
8 [label="Enter when branch condition "];
9 [label="Const: Boolean(true)"];
10 [label="Exit when branch condition"];
10 [label="Enter when branch condition "];
11 [label="Const: Boolean(true)"];
12 [label="Exit when branch condition"];
}
subgraph cluster_4 {
color=blue
11 [label="Enter when branch condition else"];
12 [label="Exit when branch condition"];
23 [label="Enter when branch condition else"];
24 [label="Exit when branch condition"];
}
13 [label="Enter when branch result"];
25 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
14 [label="Enter block"];
15 [label="Const: String()"];
16 [label="Exit block"];
26 [label="Enter block"];
27 [label="Const: String()"];
28 [label="Exit block"];
}
17 [label="Exit when branch result"];
18 [label="Enter when branch result"];
29 [label="Exit when branch result"];
13 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
19 [label="Enter block"];
20 [label="Postponed enter to lambda"];
14 [label="Enter block"];
15 [label="Postponed enter to lambda"];
subgraph cluster_7 {
color=blue
21 [label="Enter function anonymousFunction"];
22 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
23 [label="Exit function anonymousFunction"];
17 [label="Enter function anonymousFunction"];
19 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
18 [label="Exit function anonymousFunction"];
}
24 [label="Postponed exit from lambda"];
25 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
26 [label="Exit block"];
16 [label="Postponed exit from lambda"];
20 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
21 [label="Exit block"];
}
27 [label="Exit when branch result"];
28 [label="Exit when"];
22 [label="Exit when branch result"];
9 [label="Exit when"];
}
29 [label="Call arguments union" style="filled" fillcolor=yellow];
30 [label="Variable declaration: lval x: R|kotlin/String|"];
31 [label="Exit function test_1" style="filled" fillcolor=red];
30 [label="Call arguments union" style="filled" fillcolor=yellow];
31 [label="Variable declaration: lval x: R|kotlin/String|"];
7 [label="Exit function test_1" style="filled" fillcolor=red];
}
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {18 11};
6 -> {8};
8 -> {10};
9 -> {30};
10 -> {11};
11 -> {12};
12 -> {13};
12 -> {13 23};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {28};
18 -> {19};
19 -> {20};
15 -> {17};
15 -> {16} [color=red];
16 -> {20};
17 -> {19};
18 -> {16} [color=green];
18 -> {30} [color=red];
19 -> {18};
20 -> {21};
20 -> {24} [color=red];
21 -> {22};
22 -> {23};
23 -> {24} [color=green];
23 -> {29} [color=red];
22 -> {9};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
29 -> {9};
30 -> {31};
31 -> {7};
subgraph cluster_8 {
color=red
32 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
33 [label="Try expression enter"];
34 [label="Try expression enter"];
subgraph cluster_10 {
color=blue
34 [label="Try main block enter"];
36 [label="Try main block enter"];
subgraph cluster_11 {
color=blue
35 [label="Enter block"];
36 [label="Postponed enter to lambda"];
38 [label="Enter block"];
39 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
37 [label="Enter function anonymousFunction"];
38 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
39 [label="Exit function anonymousFunction"];
41 [label="Enter function anonymousFunction"];
43 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
42 [label="Exit function anonymousFunction"];
}
40 [label="Postponed exit from lambda"];
41 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
42 [label="Exit block"];
44 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
45 [label="Exit block"];
}
43 [label="Try main block exit"];
46 [label="Try main block exit"];
}
subgraph cluster_13 {
color=blue
44 [label="Catch enter"];
37 [label="Catch enter"];
subgraph cluster_14 {
color=blue
45 [label="Enter block"];
46 [label="Const: String()"];
47 [label="Exit block"];
47 [label="Enter block"];
48 [label="Const: String()"];
49 [label="Exit block"];
}
48 [label="Catch exit"];
50 [label="Catch exit"];
}
49 [label="Try expression exit"];
35 [label="Try expression exit"];
}
50 [label="Call arguments union" style="filled" fillcolor=yellow];
51 [label="Variable declaration: lval x: R|kotlin/String|"];
52 [label="Exit function test_2" style="filled" fillcolor=red];
51 [label="Call arguments union" style="filled" fillcolor=yellow];
52 [label="Variable declaration: lval x: R|kotlin/String|"];
33 [label="Exit function test_2" style="filled" fillcolor=red];
}
32 -> {33};
33 -> {34};
34 -> {52 44 35};
35 -> {36};
36 -> {37};
36 -> {40} [color=red];
37 -> {38};
32 -> {34};
34 -> {36};
35 -> {51};
36 -> {33 37 38};
37 -> {33 47};
38 -> {39};
39 -> {40} [color=green];
39 -> {50} [color=red];
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {49};
44 -> {52 45};
39 -> {41};
39 -> {40} [color=red];
40 -> {44};
41 -> {43};
42 -> {40} [color=green];
42 -> {51} [color=red];
43 -> {42};
44 -> {45};
45 -> {46};
46 -> {47};
46 -> {35};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
50 -> {35};
51 -> {52};
52 -> {33};
subgraph cluster_15 {
color=red
53 [label="Enter function test_3" style="filled" fillcolor=red];
54 [label="Postponed enter to lambda"];
55 [label="Postponed enter to lambda"];
subgraph cluster_16 {
color=blue
55 [label="Enter function anonymousFunction"];
56 [label="Function call: R|/materialize|<R|kotlin/String?|>()"];
57 [label="Exit function anonymousFunction"];
57 [label="Enter function anonymousFunction"];
59 [label="Function call: R|/materialize|<R|kotlin/String?|>()"];
58 [label="Exit function anonymousFunction"];
}
58 [label="Postponed exit from lambda"];
59 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)"];
60 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!"];
61 [label="Call arguments union" style="filled" fillcolor=yellow];
62 [label="Variable declaration: lval x: R|kotlin/String|"];
63 [label="Exit function test_3" style="filled" fillcolor=red];
56 [label="Postponed exit from lambda"];
60 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)"];
61 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!"];
62 [label="Call arguments union" style="filled" fillcolor=yellow];
63 [label="Variable declaration: lval x: R|kotlin/String|"];
54 [label="Exit function test_3" style="filled" fillcolor=red];
}
53 -> {54};
54 -> {55};
54 -> {58} [color=red];
55 -> {56};
56 -> {57};
57 -> {58} [color=green];
57 -> {61} [color=red];
58 -> {59};
59 -> {60};
53 -> {55};
55 -> {57};
55 -> {56} [color=red];
56 -> {60};
57 -> {59};
58 -> {56} [color=green];
58 -> {62} [color=red];
59 -> {58};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {54};
}
+186 -193
View File
@@ -8,355 +8,348 @@ digraph jumps_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter when"];
2 [label="Enter when"];
subgraph cluster_2 {
color=blue
2 [label="Enter when branch condition "];
3 [label="Access variable R|<local>/x|"];
4 [label="Const: Null(null)"];
5 [label="Operator =="];
6 [label="Exit when branch condition"];
4 [label="Enter when branch condition "];
5 [label="Access variable R|<local>/x|"];
6 [label="Const: Null(null)"];
7 [label="Operator =="];
8 [label="Exit when branch condition"];
}
subgraph cluster_3 {
color=blue
7 [label="Enter when branch condition else"];
8 [label="Exit when branch condition"];
16 [label="Enter when branch condition else"];
17 [label="Exit when branch condition"];
}
9 [label="Enter when branch result"];
18 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
10 [label="Enter block"];
11 [label="Access variable R|<local>/x|"];
12 [label="Exit block"];
19 [label="Enter block"];
20 [label="Access variable R|<local>/x|"];
21 [label="Exit block"];
}
13 [label="Exit when branch result"];
14 [label="Enter when branch result"];
22 [label="Exit when branch result"];
9 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
15 [label="Enter block"];
16 [label="Function call: R|java/lang/Exception.Exception|()"];
17 [label="Throw: throw R|java/lang/Exception.Exception|()"];
18 [label="Stub" style="filled" fillcolor=gray];
19 [label="Exit block" style="filled" fillcolor=gray];
10 [label="Enter block"];
11 [label="Function call: R|java/lang/Exception.Exception|()"];
12 [label="Throw: throw R|java/lang/Exception.Exception|()"];
13 [label="Stub" style="filled" fillcolor=gray];
14 [label="Exit block" style="filled" fillcolor=gray];
}
20 [label="Exit when branch result" style="filled" fillcolor=gray];
21 [label="Exit when"];
15 [label="Exit when branch result" style="filled" fillcolor=gray];
3 [label="Exit when"];
}
22 [label="Variable declaration: lval y: R|kotlin/Int|"];
23 [label="Access variable R|<local>/y|"];
24 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
25 [label="Access variable R|<local>/x|"];
26 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
27 [label="Exit function test_1" style="filled" fillcolor=red];
23 [label="Variable declaration: lval y: R|kotlin/Int|"];
24 [label="Access variable R|<local>/y|"];
25 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
26 [label="Access variable R|<local>/x|"];
27 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
1 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {4};
0 -> {2};
2 -> {4};
3 -> {23};
4 -> {5};
5 -> {6};
6 -> {14 7};
6 -> {7};
7 -> {8};
8 -> {9};
8 -> {9 16};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {21};
14 -> {15};
15 -> {16};
12 -> {1};
12 -> {13} [style=dotted];
13 -> {14} [style=dotted];
14 -> {15} [style=dotted];
15 -> {3} [style=dotted];
16 -> {17};
17 -> {27};
17 -> {18} [style=dotted];
18 -> {19} [style=dotted];
19 -> {20} [style=dotted];
20 -> {21} [style=dotted];
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
22 -> {3};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {1};
subgraph cluster_6 {
color=red
28 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
29 [label="Enter when"];
30 [label="Enter when"];
subgraph cluster_8 {
color=blue
30 [label="Enter when branch condition "];
31 [label="Access variable R|<local>/x|"];
32 [label="Const: Null(null)"];
33 [label="Operator =="];
34 [label="Exit when branch condition"];
32 [label="Enter when branch condition "];
33 [label="Access variable R|<local>/x|"];
34 [label="Const: Null(null)"];
35 [label="Operator =="];
36 [label="Exit when branch condition"];
}
subgraph cluster_9 {
color=blue
35 [label="Enter when branch condition else"];
36 [label="Exit when branch condition"];
42 [label="Enter when branch condition else"];
43 [label="Exit when branch condition"];
}
37 [label="Enter when branch result"];
44 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
45 [label="Enter block"];
46 [label="Access variable R|<local>/x|"];
47 [label="Exit block"];
}
48 [label="Exit when branch result"];
37 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
38 [label="Enter block"];
39 [label="Access variable R|<local>/x|"];
40 [label="Exit block"];
}
41 [label="Exit when branch result"];
42 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
43 [label="Enter block"];
44 [label="Access variable R|<local>/x|"];
45 [label="Exit block"];
}
46 [label="Exit when branch result"];
47 [label="Exit when"];
31 [label="Exit when"];
}
48 [label="Variable declaration: lval y: R|kotlin/Int?|"];
49 [label="Access variable R|<local>/y|"];
50 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [kotlin/Int.inc]>#()"];
51 [label="Exit function test_2" style="filled" fillcolor=red];
49 [label="Variable declaration: lval y: R|kotlin/Int?|"];
50 [label="Access variable R|<local>/y|"];
51 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [kotlin/Int.inc]>#()"];
29 [label="Exit function test_2" style="filled" fillcolor=red];
}
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
28 -> {30};
30 -> {32};
31 -> {49};
32 -> {33};
33 -> {34};
34 -> {42 35};
34 -> {35};
35 -> {36};
36 -> {37};
36 -> {37 42};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {47};
41 -> {31};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
48 -> {31};
49 -> {50};
50 -> {51};
51 -> {29};
subgraph cluster_12 {
color=red
52 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
53 [label="Enter while loop"];
54 [label="Enter while loop"];
subgraph cluster_14 {
color=blue
54 [label="Enter loop condition"];
55 [label="Const: Boolean(true)"];
56 [label="Exit loop condition"];
56 [label="Enter loop condition"];
57 [label="Const: Boolean(true)"];
58 [label="Exit loop condition"];
}
subgraph cluster_15 {
color=blue
57 [label="Enter loop block"];
59 [label="Enter loop block"];
subgraph cluster_16 {
color=blue
58 [label="Enter block"];
59 [label="Access variable R|<local>/x|"];
60 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
61 [label="Jump: break@@@[Boolean(true)] "];
62 [label="Stub" style="filled" fillcolor=gray];
63 [label="Exit block" style="filled" fillcolor=gray];
60 [label="Enter block"];
61 [label="Access variable R|<local>/x|"];
62 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
63 [label="Jump: break@@@[Boolean(true)] "];
64 [label="Stub" style="filled" fillcolor=gray];
65 [label="Exit block" style="filled" fillcolor=gray];
}
64 [label="Exit loop block" style="filled" fillcolor=gray];
66 [label="Exit loop block" style="filled" fillcolor=gray];
}
65 [label="Exit whileloop"];
55 [label="Exit whileloop"];
}
66 [label="Access variable R|<local>/x|"];
67 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
68 [label="Exit function test_3" style="filled" fillcolor=red];
67 [label="Access variable R|<local>/x|"];
68 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
53 [label="Exit function test_3" style="filled" fillcolor=red];
}
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
52 -> {54};
54 -> {56};
55 -> {67};
56 -> {57};
56 -> {65} [style=dotted];
57 -> {58};
58 -> {59};
58 -> {55} [style=dotted];
59 -> {60};
60 -> {61};
61 -> {65};
61 -> {62} [style=dotted];
62 -> {63} [style=dotted];
61 -> {62};
62 -> {63};
63 -> {55};
63 -> {64} [style=dotted];
64 -> {54} [style=dotted];
65 -> {66};
66 -> {67};
64 -> {65} [style=dotted];
65 -> {66} [style=dotted];
66 -> {56} [style=dotted];
67 -> {68};
68 -> {53};
subgraph cluster_17 {
color=red
69 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
70 [label="Enter do-while loop"];
71 [label="Enter do-while loop"];
subgraph cluster_19 {
color=blue
71 [label="Enter loop block"];
73 [label="Enter loop block"];
subgraph cluster_20 {
color=blue
72 [label="Enter block"];
73 [label="Access variable R|<local>/x|"];
74 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
75 [label="Jump: break@@@[Boolean(true)] "];
76 [label="Stub" style="filled" fillcolor=gray];
77 [label="Exit block" style="filled" fillcolor=gray];
74 [label="Enter block"];
75 [label="Access variable R|<local>/x|"];
76 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
77 [label="Jump: break@@@[Boolean(true)] "];
78 [label="Stub" style="filled" fillcolor=gray];
79 [label="Exit block" style="filled" fillcolor=gray];
}
78 [label="Exit loop block" style="filled" fillcolor=gray];
80 [label="Exit loop block" style="filled" fillcolor=gray];
}
subgraph cluster_21 {
color=blue
79 [label="Enter loop condition" style="filled" fillcolor=gray];
80 [label="Const: Boolean(true)" style="filled" fillcolor=gray];
81 [label="Exit loop condition" style="filled" fillcolor=gray];
81 [label="Enter loop condition" style="filled" fillcolor=gray];
82 [label="Const: Boolean(true)" style="filled" fillcolor=gray];
83 [label="Exit loop condition" style="filled" fillcolor=gray];
}
82 [label="Exit do-whileloop"];
72 [label="Exit do-whileloop"];
}
83 [label="Access variable R|<local>/x|"];
84 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
85 [label="Exit function test_4" style="filled" fillcolor=red];
84 [label="Access variable R|<local>/x|"];
85 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
70 [label="Exit function test_4" style="filled" fillcolor=red];
}
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
69 -> {71};
71 -> {73};
72 -> {84};
73 -> {74};
74 -> {75};
75 -> {82};
75 -> {76} [style=dotted];
76 -> {77} [style=dotted];
75 -> {76};
76 -> {77};
77 -> {72};
77 -> {78} [style=dotted];
78 -> {79} [style=dotted];
79 -> {80} [style=dotted];
80 -> {81} [style=dotted];
81 -> {71 82} [style=dotted];
82 -> {83};
83 -> {84};
81 -> {82} [style=dotted];
82 -> {83} [style=dotted];
83 -> {73 72} [style=dotted];
84 -> {85};
85 -> {70};
subgraph cluster_22 {
color=red
86 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
87 [label="Enter while loop"];
88 [label="Enter while loop"];
subgraph cluster_24 {
color=blue
88 [label="Enter loop condition"];
89 [label="Access variable R|<local>/b|"];
90 [label="Exit loop condition"];
90 [label="Enter loop condition"];
91 [label="Access variable R|<local>/b|"];
92 [label="Exit loop condition"];
}
subgraph cluster_25 {
color=blue
91 [label="Enter loop block"];
93 [label="Enter loop block"];
subgraph cluster_26 {
color=blue
92 [label="Enter block"];
94 [label="Enter block"];
subgraph cluster_27 {
color=blue
93 [label="Enter when"];
95 [label="Enter when"];
subgraph cluster_28 {
color=blue
94 [label="Enter when branch condition "];
95 [label="Access variable R|<local>/b|"];
96 [label="Exit when branch condition"];
97 [label="Enter when branch condition "];
98 [label="Access variable R|<local>/b|"];
99 [label="Exit when branch condition"];
}
97 [label="Synthetic else branch"];
98 [label="Enter when branch result"];
106 [label="Synthetic else branch"];
100 [label="Enter when branch result"];
subgraph cluster_29 {
color=blue
99 [label="Enter block"];
100 [label="Jump: continue@@@[R|<local>/b|] "];
101 [label="Stub" style="filled" fillcolor=gray];
102 [label="Exit block" style="filled" fillcolor=gray];
101 [label="Enter block"];
102 [label="Jump: continue@@@[R|<local>/b|] "];
103 [label="Stub" style="filled" fillcolor=gray];
104 [label="Exit block" style="filled" fillcolor=gray];
}
103 [label="Exit when branch result" style="filled" fillcolor=gray];
104 [label="Exit when"];
105 [label="Exit when branch result" style="filled" fillcolor=gray];
96 [label="Exit when"];
}
105 [label="Exit block"];
107 [label="Exit block"];
}
106 [label="Exit loop block"];
108 [label="Exit loop block"];
}
107 [label="Exit whileloop"];
89 [label="Exit whileloop"];
}
108 [label="Exit function test_5" style="filled" fillcolor=red];
87 [label="Exit function test_5" style="filled" fillcolor=red];
}
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {107 91};
86 -> {88};
88 -> {90};
89 -> {87};
90 -> {91};
91 -> {92};
92 -> {93};
92 -> {89 93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {98 97};
97 -> {104};
95 -> {97};
96 -> {107};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {87};
100 -> {101} [style=dotted];
101 -> {102} [style=dotted];
99 -> {100 106};
100 -> {101};
101 -> {102};
102 -> {88};
102 -> {103} [style=dotted];
103 -> {104} [style=dotted];
104 -> {105};
105 -> {106};
106 -> {88};
104 -> {105} [style=dotted];
105 -> {96} [style=dotted];
106 -> {96};
107 -> {108};
108 -> {90};
subgraph cluster_30 {
color=red
109 [label="Enter function run" style="filled" fillcolor=red];
110 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
111 [label="Exit function run" style="filled" fillcolor=red];
111 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
110 [label="Exit function run" style="filled" fillcolor=red];
}
109 -> {110};
110 -> {111};
109 -> {111};
111 -> {110};
subgraph cluster_31 {
color=red
112 [label="Enter function test_6" style="filled" fillcolor=red];
113 [label="Postponed enter to lambda"];
114 [label="Postponed enter to lambda"];
subgraph cluster_32 {
color=blue
114 [label="Enter function anonymousFunction"];
115 [label="Jump: ^@run Unit"];
116 [label="Stub" style="filled" fillcolor=gray];
116 [label="Enter function anonymousFunction"];
118 [label="Jump: ^@run Unit"];
119 [label="Stub" style="filled" fillcolor=gray];
117 [label="Exit function anonymousFunction"];
}
118 [label="Postponed exit from lambda"];
119 [label="Function call: R|/run|(...)"];
120 [label="Exit function test_6" style="filled" fillcolor=red];
115 [label="Postponed exit from lambda"];
120 [label="Function call: R|/run|(...)"];
113 [label="Exit function test_6" style="filled" fillcolor=red];
}
112 -> {113};
113 -> {114};
113 -> {118} [color=red];
114 -> {117 115};
115 -> {117};
115 -> {116} [style=dotted];
116 -> {117} [style=dotted];
117 -> {114};
117 -> {118} [color=green];
118 -> {119};
119 -> {120};
112 -> {114};
114 -> {116};
114 -> {115} [color=red];
115 -> {120};
116 -> {117 118};
117 -> {116};
117 -> {115} [color=green];
118 -> {117};
118 -> {119} [style=dotted];
119 -> {117} [style=dotted];
120 -> {113};
}
@@ -4,76 +4,77 @@ digraph lambdaAsReturnOfLambda_kt {
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
1 [label="Jump: ^@run lambda@fun <anonymous>(foo: R|kotlin/String|): R|kotlin/Unit| {
R|/bar|(R|<local>/foo|)
}
"];
2 [label="Stub" style="filled" fillcolor=gray];
3 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {3};
1 -> {2} [style=dotted];
2 -> {3} [style=dotted];
subgraph cluster_1 {
color=red
4 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
5 [label="Access variable R|<local>/foo|"];
6 [label="Function call: R|/bar|(...)"];
7 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
4 -> {5};
5 -> {6};
6 -> {7};
subgraph cluster_2 {
color=red
8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red];
}
8 -> {9};
subgraph cluster_3 {
subgraph cluster_1 {
color=red
10 [label="Enter property" style="filled" fillcolor=red];
11 [label="Postponed enter to lambda"];
12 [label="Postponed exit from lambda"];
13 [label="Function call: R|/run|<R|(kotlin/String) -> kotlin/Unit|>(...)"];
14 [label="Exit property" style="filled" fillcolor=red];
12 [label="Postponed enter to lambda"];
subgraph cluster_2 {
color=blue
0 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
2 [label="Jump: ^@run lambda@fun <anonymous>(foo: R|kotlin/String|): R|kotlin/Unit| {
R|/bar|(R|<local>/foo|)
}
"];
3 [label="Stub" style="filled" fillcolor=gray];
1 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
4 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
6 [label="Access variable R|<local>/foo|"];
7 [label="Function call: R|/bar|(...)"];
5 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
13 [label="Postponed exit from lambda"];
subgraph cluster_4 {
color=blue
14 [label="Enter block"];
15 [label="Exit block"];
}
16 [label="Function call: R|/run|<R|(kotlin/String) -> kotlin/Unit|>(...)"];
11 [label="Exit property" style="filled" fillcolor=red];
}
10 -> {11};
11 -> {12 12} [color=green];
12 -> {13};
10 -> {12};
12 -> {13 13} [color=green];
12 -> {0} [color=red];
13 -> {14};
subgraph cluster_4 {
color=red
15 [label="Enter function bar" style="filled" fillcolor=red];
16 [label="Exit function bar" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
16 -> {11};
0 -> {2};
0 -> {4} [color=red];
2 -> {1};
2 -> {3} [style=dotted];
3 -> {1} [style=dotted];
4 -> {6};
6 -> {7};
7 -> {5};
subgraph cluster_5 {
color=red
17 [label="Enter function run" style="filled" fillcolor=red];
18 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|R|>|()"];
19 [label="Jump: ^run R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|R|>|()"];
20 [label="Stub" style="filled" fillcolor=gray];
21 [label="Exit function run" style="filled" fillcolor=red];
17 [label="Enter function bar" style="filled" fillcolor=red];
18 [label="Exit function bar" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19};
subgraph cluster_6 {
color=red
19 [label="Enter function run" style="filled" fillcolor=red];
21 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|R|>|()"];
22 [label="Jump: ^run R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|R|>|()"];
23 [label="Stub" style="filled" fillcolor=gray];
20 [label="Exit function run" style="filled" fillcolor=red];
}
19 -> {21};
19 -> {20} [style=dotted];
20 -> {21} [style=dotted];
21 -> {22};
22 -> {20};
22 -> {23} [style=dotted];
23 -> {20} [style=dotted];
}
@@ -8,7 +8,6 @@ digraph lambdaReturningObject_kt {
0 [label="Enter class Out" style="filled" fillcolor=red];
1 [label="Exit class Out" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph lambdaReturningObject_kt {
2 [label="Enter function bar" style="filled" fillcolor=red];
3 [label="Exit function bar" style="filled" fillcolor=red];
}
2 -> {3};
subgraph cluster_2 {
@@ -24,68 +22,62 @@ digraph lambdaReturningObject_kt {
4 [label="Enter class IrTypeArgument" style="filled" fillcolor=red];
5 [label="Exit class IrTypeArgument" style="filled" fillcolor=red];
}
4 -> {5} [color=green];
subgraph cluster_3 {
color=red
6 [label="Enter function <init>" style="filled" fillcolor=red];
7 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
8 [label="Exit function <init>" style="filled" fillcolor=red];
8 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
7 [label="Exit function <init>" style="filled" fillcolor=red];
}
6 -> {7};
7 -> {8};
6 -> {8};
8 -> {7};
subgraph cluster_4 {
color=red
9 [label="Enter class IrStarProjectionImpl" style="filled" fillcolor=red];
10 [label="Exit class IrStarProjectionImpl" style="filled" fillcolor=red];
}
9 -> {10} [color=green];
subgraph cluster_5 {
color=red
11 [label="Enter function MyOut" style="filled" fillcolor=red];
12 [label="Function call: R|kotlin/TODO|()"];
13 [label="Stub" style="filled" fillcolor=gray];
14 [label="Jump: ^MyOut R|kotlin/TODO|()" style="filled" fillcolor=gray];
15 [label="Stub" style="filled" fillcolor=gray];
16 [label="Exit function MyOut" style="filled" fillcolor=red];
13 [label="Function call: R|kotlin/TODO|()"];
14 [label="Stub" style="filled" fillcolor=gray];
15 [label="Jump: ^MyOut R|kotlin/TODO|()" style="filled" fillcolor=gray];
16 [label="Stub" style="filled" fillcolor=gray];
12 [label="Exit function MyOut" style="filled" fillcolor=red];
}
11 -> {12};
12 -> {16};
12 -> {13} [style=dotted];
11 -> {13};
13 -> {12};
13 -> {14} [style=dotted];
14 -> {16 15} [style=dotted];
15 -> {16} [style=dotted];
14 -> {15} [style=dotted];
15 -> {12 16} [style=dotted];
16 -> {12} [style=dotted];
subgraph cluster_6 {
color=red
17 [label="Enter function foo" style="filled" fillcolor=red];
18 [label="Postponed enter to lambda"];
19 [label="Postponed exit from lambda"];
20 [label="Function call: R|/MyOut|<R|IrStarProjectionImpl|>(...)"];
21 [label="Function call: R|/bar|(...)"];
22 [label="Exit function foo" style="filled" fillcolor=red];
19 [label="Postponed enter to lambda"];
subgraph cluster_7 {
color=blue
23 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
25 [label="Access qualifier /IrStarProjectionImpl"];
24 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
20 [label="Postponed exit from lambda"];
21 [label="Function call: R|/MyOut|<R|IrStarProjectionImpl|>(...)"];
22 [label="Function call: R|/bar|(...)"];
18 [label="Exit function foo" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19 19} [color=green];
19 -> {20};
17 -> {19};
19 -> {20 20} [color=green];
19 -> {23} [color=red];
20 -> {21};
21 -> {22};
subgraph cluster_7 {
color=red
23 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
24 [label="Access qualifier /IrStarProjectionImpl"];
25 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
23 -> {24};
24 -> {25};
22 -> {18};
23 -> {25};
25 -> {24};
}
+127 -134
View File
@@ -6,215 +6,208 @@ digraph lambdas_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function run" style="filled" fillcolor=red];
1 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
2 [label="Exit function run" style="filled" fillcolor=red];
2 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
1 [label="Exit function run" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
0 -> {2};
2 -> {1};
subgraph cluster_1 {
color=red
3 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
4 [label="Enter when"];
5 [label="Enter when"];
subgraph cluster_3 {
color=blue
5 [label="Enter when branch condition "];
6 [label="Access variable R|<local>/x|"];
7 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
8 [label="Exit when branch condition"];
7 [label="Enter when branch condition "];
8 [label="Access variable R|<local>/x|"];
9 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
10 [label="Exit when branch condition"];
}
9 [label="Synthetic else branch"];
10 [label="Enter when branch result"];
22 [label="Synthetic else branch"];
11 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
11 [label="Enter block"];
12 [label="Postponed enter to lambda"];
12 [label="Enter block"];
13 [label="Postponed enter to lambda"];
subgraph cluster_5 {
color=blue
13 [label="Enter function anonymousFunction"];
14 [label="Access variable R|<local>/x|"];
15 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
15 [label="Enter function anonymousFunction"];
17 [label="Access variable R|<local>/x|"];
18 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
16 [label="Exit function anonymousFunction"];
}
17 [label="Postponed exit from lambda"];
18 [label="Function call: R|/run|(...)"];
19 [label="Exit block"];
14 [label="Postponed exit from lambda"];
19 [label="Function call: R|/run|(...)"];
20 [label="Exit block"];
}
20 [label="Exit when branch result"];
21 [label="Exit when"];
21 [label="Exit when branch result"];
6 [label="Exit when"];
}
22 [label="Exit function test_1" style="filled" fillcolor=red];
4 [label="Exit function test_1" style="filled" fillcolor=red];
}
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
3 -> {5};
5 -> {7};
6 -> {4};
7 -> {8};
8 -> {10 9};
9 -> {21};
10 -> {11};
8 -> {9};
9 -> {10};
10 -> {11 22};
11 -> {12};
12 -> {13};
12 -> {17} [color=red];
13 -> {16 14};
14 -> {15};
15 -> {16};
16 -> {13};
16 -> {17} [color=green];
13 -> {15};
13 -> {14} [color=red];
14 -> {19};
15 -> {16 17};
16 -> {15};
16 -> {14} [color=green];
17 -> {18};
18 -> {19};
18 -> {16};
19 -> {20};
20 -> {21};
21 -> {22};
21 -> {6};
22 -> {6};
subgraph cluster_6 {
color=red
23 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
24 [label="Enter when"];
25 [label="Enter when"];
subgraph cluster_8 {
color=blue
25 [label="Enter when branch condition "];
26 [label="Access variable R|<local>/x|"];
27 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
28 [label="Exit when branch condition"];
27 [label="Enter when branch condition "];
28 [label="Access variable R|<local>/x|"];
29 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
30 [label="Exit when branch condition"];
}
29 [label="Synthetic else branch"];
30 [label="Enter when branch result"];
36 [label="Synthetic else branch"];
31 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
31 [label="Enter block"];
32 [label="Variable declaration: lval lambda: R|() -> kotlin/Int|"];
33 [label="Exit block"];
32 [label="Enter block"];
33 [label="Variable declaration: lval lambda: R|() -> kotlin/Int|"];
34 [label="Exit block"];
}
34 [label="Exit when branch result"];
35 [label="Exit when"];
35 [label="Exit when branch result"];
26 [label="Exit when"];
}
36 [label="Exit function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
37 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
39 [label="Access variable R|<local>/x|"];
40 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
38 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
24 [label="Exit function test_2" style="filled" fillcolor=red];
}
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
23 -> {25};
25 -> {27};
26 -> {24};
27 -> {28};
28 -> {30 29};
29 -> {35};
30 -> {31};
28 -> {29};
29 -> {30};
30 -> {31 36};
31 -> {32};
32 -> {33};
32 -> {37} [color=red];
33 -> {34};
34 -> {35};
35 -> {36};
subgraph cluster_10 {
color=red
37 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
38 [label="Access variable R|<local>/x|"];
39 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
40 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
37 -> {38};
38 -> {39};
35 -> {26};
36 -> {26};
37 -> {39};
39 -> {40};
40 -> {38};
subgraph cluster_11 {
color=red
41 [label="Enter function getInt" style="filled" fillcolor=red];
42 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
43 [label="Const: Int(1)"];
44 [label="Jump: ^getInt Int(1)"];
45 [label="Stub" style="filled" fillcolor=gray];
46 [label="Exit function getInt" style="filled" fillcolor=red];
43 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
44 [label="Const: Int(1)"];
45 [label="Jump: ^getInt Int(1)"];
46 [label="Stub" style="filled" fillcolor=gray];
42 [label="Exit function getInt" style="filled" fillcolor=red];
}
41 -> {42};
42 -> {43};
41 -> {43};
43 -> {44};
44 -> {46};
44 -> {45} [style=dotted];
44 -> {45};
45 -> {42};
45 -> {46} [style=dotted];
46 -> {42} [style=dotted];
subgraph cluster_12 {
color=red
47 [label="Enter function test_3" style="filled" fillcolor=red];
48 [label="Postponed enter to lambda"];
49 [label="Postponed enter to lambda"];
subgraph cluster_13 {
color=blue
49 [label="Enter function anonymousFunction"];
50 [label="Const: Int(1)"];
51 [label="Jump: ^test_3 Int(1)"];
52 [label="Stub" style="filled" fillcolor=gray];
53 [label="Exit function anonymousFunction"];
51 [label="Enter function anonymousFunction"];
53 [label="Const: Int(1)"];
54 [label="Jump: ^test_3 Int(1)"];
55 [label="Stub" style="filled" fillcolor=gray];
52 [label="Exit function anonymousFunction"];
}
54 [label="Postponed exit from lambda"];
55 [label="Function call: R|/getInt|(...)"];
56 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
50 [label="Postponed exit from lambda"];
56 [label="Function call: R|/getInt|(...)"];
57 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^test_3 Int(1)
}
)"];
57 [label="Stub" style="filled" fillcolor=gray];
58 [label="Exit function test_3" style="filled" fillcolor=red];
58 [label="Stub" style="filled" fillcolor=gray];
48 [label="Exit function test_3" style="filled" fillcolor=red];
}
47 -> {48};
48 -> {49};
48 -> {54} [color=red];
49 -> {53 50};
50 -> {51};
51 -> {58};
51 -> {52} [style=dotted];
52 -> {53} [style=dotted];
53 -> {49};
53 -> {54} [color=green];
54 -> {55};
55 -> {56};
56 -> {58};
56 -> {57} [style=dotted];
47 -> {49};
49 -> {51};
49 -> {50} [color=red];
50 -> {56};
51 -> {52 53};
52 -> {51};
52 -> {50} [color=green];
53 -> {54};
54 -> {48};
54 -> {55} [style=dotted];
55 -> {52} [style=dotted];
56 -> {57};
57 -> {48};
57 -> {58} [style=dotted];
58 -> {48} [style=dotted];
subgraph cluster_14 {
color=red
59 [label="Enter function test_4" style="filled" fillcolor=red];
60 [label="Postponed enter to lambda"];
61 [label="Postponed enter to lambda"];
subgraph cluster_15 {
color=blue
61 [label="Enter function anonymousFunction"];
62 [label="Const: Int(1)"];
63 [label="Jump: ^test_4 Int(1)"];
64 [label="Stub" style="filled" fillcolor=gray];
65 [label="Exit function anonymousFunction"];
63 [label="Enter function anonymousFunction"];
65 [label="Const: Int(1)"];
66 [label="Jump: ^test_4 Int(1)"];
67 [label="Stub" style="filled" fillcolor=gray];
64 [label="Exit function anonymousFunction"];
}
66 [label="Postponed exit from lambda"];
67 [label="Function call: R|/getInt|(...)"];
68 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
62 [label="Postponed exit from lambda"];
68 [label="Function call: R|/getInt|(...)"];
69 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^test_4 Int(1)
}
)"];
69 [label="Stub" style="filled" fillcolor=gray];
70 [label="Exit function test_4" style="filled" fillcolor=red];
70 [label="Stub" style="filled" fillcolor=gray];
60 [label="Exit function test_4" style="filled" fillcolor=red];
}
59 -> {60};
60 -> {61};
60 -> {66} [color=red];
61 -> {65 62};
62 -> {63};
63 -> {70};
63 -> {64} [style=dotted];
64 -> {65} [style=dotted];
65 -> {61};
65 -> {66} [color=green];
66 -> {67};
67 -> {68};
68 -> {70};
68 -> {69} [style=dotted];
59 -> {61};
61 -> {63};
61 -> {62} [color=red];
62 -> {68};
63 -> {64 65};
64 -> {63};
64 -> {62} [color=green];
65 -> {66};
66 -> {60};
66 -> {67} [style=dotted];
67 -> {64} [style=dotted];
68 -> {69};
69 -> {60};
69 -> {70} [style=dotted];
70 -> {60} [style=dotted];
}
@@ -6,127 +6,126 @@ digraph localClassesWithImplicit_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function myRun" style="filled" fillcolor=red];
1 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|T|>|()"];
2 [label="Jump: ^myRun R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|T|>|()"];
3 [label="Stub" style="filled" fillcolor=gray];
4 [label="Exit function myRun" style="filled" fillcolor=red];
2 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|T|>|()"];
3 [label="Jump: ^myRun R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|T|>|()"];
4 [label="Stub" style="filled" fillcolor=gray];
1 [label="Exit function myRun" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {4};
2 -> {3} [style=dotted];
0 -> {2};
2 -> {3};
3 -> {1};
3 -> {4} [style=dotted];
4 -> {1} [style=dotted];
subgraph cluster_1 {
color=red
5 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
6 [label="Enter when"];
7 [label="Enter when"];
subgraph cluster_3 {
color=blue
7 [label="Enter when branch condition "];
8 [label="Access variable R|<local>/a|"];
9 [label="Type operator: (R|<local>/a| !is R|kotlin/String|)"];
10 [label="Exit when branch condition"];
9 [label="Enter when branch condition "];
10 [label="Access variable R|<local>/a|"];
11 [label="Type operator: (R|<local>/a| !is R|kotlin/String|)"];
12 [label="Exit when branch condition"];
}
11 [label="Synthetic else branch"];
12 [label="Enter when branch result"];
19 [label="Synthetic else branch"];
13 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
13 [label="Enter block"];
14 [label="Jump: ^test Unit"];
15 [label="Stub" style="filled" fillcolor=gray];
16 [label="Exit block" style="filled" fillcolor=gray];
14 [label="Enter block"];
15 [label="Jump: ^test Unit"];
16 [label="Stub" style="filled" fillcolor=gray];
17 [label="Exit block" style="filled" fillcolor=gray];
}
17 [label="Exit when branch result" style="filled" fillcolor=gray];
18 [label="Exit when"];
18 [label="Exit when branch result" style="filled" fillcolor=gray];
8 [label="Exit when"];
}
19 [label="Exit local class test"];
20 [label="Exit anonymous object"];
21 [label="Variable declaration: lval x: R|anonymous|"];
22 [label="Exit function test" style="filled" fillcolor=red];
20 [label="Exit local class test"];
21 [label="Exit anonymous object"];
22 [label="Variable declaration: lval x: R|anonymous|"];
6 [label="Exit function test" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
5 -> {7};
7 -> {9};
8 -> {20};
8 -> {23 26 57 71} [color=red];
9 -> {10};
10 -> {12 11};
11 -> {18};
12 -> {13};
10 -> {11};
11 -> {12};
12 -> {13 19};
13 -> {14};
14 -> {22};
14 -> {15} [style=dotted];
14 -> {15};
15 -> {6};
15 -> {16} [style=dotted];
16 -> {17} [style=dotted];
17 -> {18} [style=dotted];
18 -> {19};
19 -> {20};
18 -> {8} [style=dotted];
19 -> {8};
20 -> {21};
20 -> {78 81 112 126} [color=red];
21 -> {22};
22 -> {6};
subgraph cluster_5 {
color=red
23 [label="Enter function <init>" style="filled" fillcolor=red];
24 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
25 [label="Exit function <init>" style="filled" fillcolor=red];
25 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
24 [label="Exit function <init>" style="filled" fillcolor=red];
}
23 -> {24};
24 -> {25};
23 -> {25};
25 -> {24};
subgraph cluster_6 {
color=red
26 [label="Enter function foo" style="filled" fillcolor=red];
27 [label="Postponed enter to lambda"];
28 [label="Postponed enter to lambda"];
subgraph cluster_7 {
color=blue
28 [label="Enter function anonymousFunction"];
29 [label="Access variable R|<local>/a|"];
30 [label="Access variable R|kotlin/String.length|"];
30 [label="Enter function anonymousFunction"];
32 [label="Access variable R|<local>/a|"];
33 [label="Access variable R|kotlin/String.length|"];
subgraph cluster_8 {
color=blue
31 [label="Enter when"];
34 [label="Enter when"];
subgraph cluster_9 {
color=blue
32 [label="Enter when branch condition "];
33 [label="Access variable R|<local>/b|"];
34 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
35 [label="Exit when branch condition"];
36 [label="Enter when branch condition "];
37 [label="Access variable R|<local>/b|"];
38 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
39 [label="Exit when branch condition"];
}
subgraph cluster_10 {
color=blue
36 [label="Enter when branch condition else"];
37 [label="Exit when branch condition"];
47 [label="Enter when branch condition else"];
48 [label="Exit when branch condition"];
}
38 [label="Enter when branch result"];
49 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
39 [label="Enter block"];
40 [label="Const: Int(1)"];
41 [label="Exit block"];
50 [label="Enter block"];
51 [label="Const: Int(1)"];
52 [label="Exit block"];
}
42 [label="Exit when branch result"];
43 [label="Enter when branch result"];
53 [label="Exit when branch result"];
40 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/b|"];
46 [label="Access variable R|kotlin/String.length|"];
47 [label="Function call: this@R|/A|.R|/A.bar|()"];
48 [label="Exit block"];
41 [label="Enter block"];
42 [label="Access variable R|<local>/b|"];
43 [label="Access variable R|kotlin/String.length|"];
44 [label="Function call: this@R|/A|.R|/A.bar|()"];
45 [label="Exit block"];
}
49 [label="Exit when branch result"];
50 [label="Exit when"];
46 [label="Exit when branch result"];
35 [label="Exit when"];
}
51 [label="Exit function anonymousFunction"];
31 [label="Exit function anonymousFunction"];
}
52 [label="Postponed exit from lambda"];
53 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
54 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <kind=UNKNOWN> {
29 [label="Postponed exit from lambda"];
54 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
55 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <kind=UNKNOWN> {
R|<local>/a|.R|kotlin/String.length|
^ when () {
(R|<local>/b| is R|kotlin/String|) -> {
@@ -140,169 +139,164 @@ digraph localClassesWithImplicit_kt {
}
)"];
55 [label="Stub" style="filled" fillcolor=gray];
56 [label="Exit function foo" style="filled" fillcolor=red];
56 [label="Stub" style="filled" fillcolor=gray];
27 [label="Exit function foo" style="filled" fillcolor=red];
}
26 -> {27};
27 -> {28};
27 -> {52} [color=red];
28 -> {51 29};
29 -> {30};
30 -> {31};
31 -> {32};
26 -> {28};
28 -> {30};
28 -> {29} [color=red];
29 -> {54};
30 -> {31 32};
31 -> {30};
31 -> {29} [color=green];
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {43 36};
34 -> {36};
35 -> {31};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
39 -> {40 47};
40 -> {41};
41 -> {42};
42 -> {50};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
46 -> {35};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {28};
51 -> {52} [color=green];
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {56};
54 -> {55} [style=dotted];
53 -> {35};
54 -> {55};
55 -> {27};
55 -> {56} [style=dotted];
56 -> {27} [style=dotted];
subgraph cluster_13 {
color=red
57 [label="Enter function bar" style="filled" fillcolor=red];
58 [label="Postponed enter to lambda"];
59 [label="Postponed enter to lambda"];
subgraph cluster_14 {
color=blue
59 [label="Enter function anonymousFunction"];
60 [label="Access variable R|<local>/b|"];
61 [label="Access variable <Unresolved name: length>#"];
62 [label="Access variable R|<local>/a|"];
63 [label="Access variable R|kotlin/String.length|"];
64 [label="Function call: this@R|/A|.R|/A.baz|()"];
65 [label="Exit function anonymousFunction"];
61 [label="Enter function anonymousFunction"];
63 [label="Access variable R|<local>/b|"];
64 [label="Access variable <Unresolved name: length>#"];
65 [label="Access variable R|<local>/a|"];
66 [label="Access variable R|kotlin/String.length|"];
67 [label="Function call: this@R|/A|.R|/A.baz|()"];
62 [label="Exit function anonymousFunction"];
}
66 [label="Postponed exit from lambda"];
67 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
68 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <kind=UNKNOWN> {
60 [label="Postponed exit from lambda"];
68 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
69 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <kind=UNKNOWN> {
R|<local>/b|.<Unresolved name: length>#
R|<local>/a|.R|kotlin/String.length|
^ this@R|/A|.R|/A.baz|()
}
)"];
69 [label="Stub" style="filled" fillcolor=gray];
70 [label="Exit function bar" style="filled" fillcolor=red];
70 [label="Stub" style="filled" fillcolor=gray];
58 [label="Exit function bar" style="filled" fillcolor=red];
}
57 -> {58};
58 -> {59};
58 -> {66} [color=red];
59 -> {65 60};
60 -> {61};
61 -> {62};
62 -> {63};
57 -> {59};
59 -> {61};
59 -> {60} [color=red];
60 -> {68};
61 -> {62 63};
62 -> {61};
62 -> {60} [color=green];
63 -> {64};
64 -> {65};
65 -> {59};
65 -> {66} [color=green];
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {70};
68 -> {69} [style=dotted];
67 -> {62};
68 -> {69};
69 -> {58};
69 -> {70} [style=dotted];
70 -> {58} [style=dotted];
subgraph cluster_15 {
color=red
71 [label="Enter function baz" style="filled" fillcolor=red];
72 [label="Const: Int(1)"];
73 [label="Jump: ^baz Int(1)"];
74 [label="Stub" style="filled" fillcolor=gray];
75 [label="Exit function baz" style="filled" fillcolor=red];
73 [label="Const: Int(1)"];
74 [label="Jump: ^baz Int(1)"];
75 [label="Stub" style="filled" fillcolor=gray];
72 [label="Exit function baz" style="filled" fillcolor=red];
}
71 -> {72};
72 -> {73};
73 -> {75};
73 -> {74} [style=dotted];
71 -> {73};
73 -> {74};
74 -> {72};
74 -> {75} [style=dotted];
75 -> {72} [style=dotted];
subgraph cluster_16 {
color=red
76 [label="Enter class A" style="filled" fillcolor=red];
77 [label="Exit class A" style="filled" fillcolor=red];
}
76 -> {77} [color=green];
subgraph cluster_17 {
color=red
78 [label="Enter function <init>" style="filled" fillcolor=red];
79 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
80 [label="Exit function <init>" style="filled" fillcolor=red];
80 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
79 [label="Exit function <init>" style="filled" fillcolor=red];
}
78 -> {79};
79 -> {80};
78 -> {80};
80 -> {79};
subgraph cluster_18 {
color=red
81 [label="Enter function foo" style="filled" fillcolor=red];
82 [label="Postponed enter to lambda"];
83 [label="Postponed enter to lambda"];
subgraph cluster_19 {
color=blue
83 [label="Enter function anonymousFunction"];
84 [label="Access variable R|<local>/a|"];
85 [label="Access variable R|kotlin/String.length|"];
85 [label="Enter function anonymousFunction"];
87 [label="Access variable R|<local>/a|"];
88 [label="Access variable R|kotlin/String.length|"];
subgraph cluster_20 {
color=blue
86 [label="Enter when"];
89 [label="Enter when"];
subgraph cluster_21 {
color=blue
87 [label="Enter when branch condition "];
88 [label="Access variable R|<local>/b|"];
89 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
90 [label="Exit when branch condition"];
91 [label="Enter when branch condition "];
92 [label="Access variable R|<local>/b|"];
93 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
94 [label="Exit when branch condition"];
}
subgraph cluster_22 {
color=blue
91 [label="Enter when branch condition else"];
92 [label="Exit when branch condition"];
102 [label="Enter when branch condition else"];
103 [label="Exit when branch condition"];
}
93 [label="Enter when branch result"];
104 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
94 [label="Enter block"];
95 [label="Const: Int(1)"];
96 [label="Exit block"];
105 [label="Enter block"];
106 [label="Const: Int(1)"];
107 [label="Exit block"];
}
97 [label="Exit when branch result"];
98 [label="Enter when branch result"];
108 [label="Exit when branch result"];
95 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
99 [label="Enter block"];
100 [label="Access variable R|<local>/b|"];
101 [label="Access variable R|kotlin/String.length|"];
102 [label="Function call: this@R|/anonymous|.R|/anonymous.bar|()"];
103 [label="Exit block"];
96 [label="Enter block"];
97 [label="Access variable R|<local>/b|"];
98 [label="Access variable R|kotlin/String.length|"];
99 [label="Function call: this@R|/anonymous|.R|/anonymous.bar|()"];
100 [label="Exit block"];
}
104 [label="Exit when branch result"];
105 [label="Exit when"];
101 [label="Exit when branch result"];
90 [label="Exit when"];
}
106 [label="Exit function anonymousFunction"];
86 [label="Exit function anonymousFunction"];
}
107 [label="Postponed exit from lambda"];
108 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
109 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <kind=UNKNOWN> {
84 [label="Postponed exit from lambda"];
109 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
110 [label="Jump: ^foo R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <kind=UNKNOWN> {
R|<local>/a|.R|kotlin/String.length|
^ when () {
(R|<local>/b| is R|kotlin/String|) -> {
@@ -316,108 +310,104 @@ digraph localClassesWithImplicit_kt {
}
)"];
110 [label="Stub" style="filled" fillcolor=gray];
111 [label="Exit function foo" style="filled" fillcolor=red];
111 [label="Stub" style="filled" fillcolor=gray];
82 [label="Exit function foo" style="filled" fillcolor=red];
}
81 -> {82};
82 -> {83};
82 -> {107} [color=red];
83 -> {106 84};
84 -> {85};
85 -> {86};
86 -> {87};
81 -> {83};
83 -> {85};
83 -> {84} [color=red];
84 -> {109};
85 -> {86 87};
86 -> {85};
86 -> {84} [color=green];
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {98 91};
89 -> {91};
90 -> {86};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
94 -> {95 102};
95 -> {96};
96 -> {97};
97 -> {105};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
101 -> {90};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {83};
106 -> {107} [color=green];
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {111};
109 -> {110} [style=dotted];
108 -> {90};
109 -> {110};
110 -> {82};
110 -> {111} [style=dotted];
111 -> {82} [style=dotted];
subgraph cluster_25 {
color=red
112 [label="Enter function bar" style="filled" fillcolor=red];
113 [label="Postponed enter to lambda"];
114 [label="Postponed enter to lambda"];
subgraph cluster_26 {
color=blue
114 [label="Enter function anonymousFunction"];
115 [label="Access variable R|<local>/a|"];
116 [label="Access variable R|kotlin/String.length|"];
117 [label="Access variable R|<local>/b|"];
118 [label="Access variable <Unresolved name: length>#"];
119 [label="Function call: this@R|/anonymous|.R|/anonymous.baz|()"];
120 [label="Exit function anonymousFunction"];
116 [label="Enter function anonymousFunction"];
118 [label="Access variable R|<local>/a|"];
119 [label="Access variable R|kotlin/String.length|"];
120 [label="Access variable R|<local>/b|"];
121 [label="Access variable <Unresolved name: length>#"];
122 [label="Function call: this@R|/anonymous|.R|/anonymous.baz|()"];
117 [label="Exit function anonymousFunction"];
}
121 [label="Postponed exit from lambda"];
122 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
123 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <kind=UNKNOWN> {
115 [label="Postponed exit from lambda"];
123 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"];
124 [label="Jump: ^bar R|/myRun|<R|kotlin/Int|>(<L> = myRun@fun <anonymous>(): R|kotlin/Int| <kind=UNKNOWN> {
R|<local>/a|.R|kotlin/String.length|
R|<local>/b|.<Unresolved name: length>#
^ this@R|/anonymous|.R|/anonymous.baz|()
}
)"];
124 [label="Stub" style="filled" fillcolor=gray];
125 [label="Exit function bar" style="filled" fillcolor=red];
125 [label="Stub" style="filled" fillcolor=gray];
113 [label="Exit function bar" style="filled" fillcolor=red];
}
112 -> {113};
113 -> {114};
113 -> {121} [color=red];
114 -> {120 115};
115 -> {116};
116 -> {117};
117 -> {118};
112 -> {114};
114 -> {116};
114 -> {115} [color=red];
115 -> {123};
116 -> {117 118};
117 -> {116};
117 -> {115} [color=green];
118 -> {119};
119 -> {120};
120 -> {114};
120 -> {121} [color=green];
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {125};
123 -> {124} [style=dotted];
122 -> {117};
123 -> {124};
124 -> {113};
124 -> {125} [style=dotted];
125 -> {113} [style=dotted];
subgraph cluster_27 {
color=red
126 [label="Enter function baz" style="filled" fillcolor=red];
127 [label="Const: Int(1)"];
128 [label="Jump: ^baz Int(1)"];
129 [label="Stub" style="filled" fillcolor=gray];
130 [label="Exit function baz" style="filled" fillcolor=red];
128 [label="Const: Int(1)"];
129 [label="Jump: ^baz Int(1)"];
130 [label="Stub" style="filled" fillcolor=gray];
127 [label="Exit function baz" style="filled" fillcolor=red];
}
126 -> {127};
127 -> {128};
128 -> {130};
128 -> {129} [style=dotted];
126 -> {128};
128 -> {129};
129 -> {127};
129 -> {130} [style=dotted];
130 -> {127} [style=dotted];
subgraph cluster_28 {
color=red
131 [label="Enter class <anonymous>" style="filled" fillcolor=red];
132 [label="Exit class <anonymous>" style="filled" fillcolor=red];
}
131 -> {132} [color=green];
}
+235 -244
View File
@@ -8,85 +8,82 @@ digraph loops_kt {
0 [label="Enter function testWhile" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter while loop"];
2 [label="Enter while loop"];
subgraph cluster_2 {
color=blue
2 [label="Enter loop condition"];
3 [label="Access variable R|<local>/b|"];
4 [label="Exit loop condition"];
4 [label="Enter loop condition"];
5 [label="Access variable R|<local>/b|"];
6 [label="Exit loop condition"];
}
subgraph cluster_3 {
color=blue
5 [label="Enter loop block"];
7 [label="Enter loop block"];
subgraph cluster_4 {
color=blue
6 [label="Enter block"];
7 [label="Access variable R|<local>/x|"];
8 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
9 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
10 [label="Exit block"];
8 [label="Enter block"];
9 [label="Access variable R|<local>/x|"];
10 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
11 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
12 [label="Exit block"];
}
11 [label="Exit loop block"];
13 [label="Exit loop block"];
}
12 [label="Exit whileloop"];
3 [label="Exit whileloop"];
}
13 [label="Access variable R|<local>/x|"];
14 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
15 [label="Exit function testWhile" style="filled" fillcolor=red];
14 [label="Access variable R|<local>/x|"];
15 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
1 [label="Exit function testWhile" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {4};
4 -> {12 5};
0 -> {2};
2 -> {4};
3 -> {14};
4 -> {5};
5 -> {6};
6 -> {7};
6 -> {3 7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {2};
11 -> {12};
12 -> {13};
13 -> {14};
13 -> {4};
14 -> {15};
15 -> {1};
subgraph cluster_5 {
color=red
16 [label="Enter function testDoWhile" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
17 [label="Enter do-while loop"];
18 [label="Enter do-while loop"];
subgraph cluster_7 {
color=blue
18 [label="Enter loop block"];
20 [label="Enter loop block"];
subgraph cluster_8 {
color=blue
19 [label="Enter block"];
20 [label="Access variable R|<local>/x|"];
21 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
22 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
23 [label="Exit block"];
21 [label="Enter block"];
22 [label="Access variable R|<local>/x|"];
23 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
24 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
25 [label="Exit block"];
}
24 [label="Exit loop block"];
26 [label="Exit loop block"];
}
subgraph cluster_9 {
color=blue
25 [label="Enter loop condition"];
26 [label="Access variable R|<local>/b|"];
27 [label="Exit loop condition"];
27 [label="Enter loop condition"];
28 [label="Access variable R|<local>/b|"];
29 [label="Exit loop condition"];
}
28 [label="Exit do-whileloop"];
19 [label="Exit do-whileloop"];
}
29 [label="Access variable R|<local>/x|"];
30 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
31 [label="Exit function testDoWhile" style="filled" fillcolor=red];
30 [label="Access variable R|<local>/x|"];
31 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
17 [label="Exit function testDoWhile" style="filled" fillcolor=red];
}
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
16 -> {18};
18 -> {20};
19 -> {30};
20 -> {21};
21 -> {22};
22 -> {23};
@@ -94,65 +91,64 @@ digraph loops_kt {
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {18 28};
27 -> {28};
28 -> {29};
29 -> {30};
29 -> {20 19};
30 -> {31};
31 -> {17};
subgraph cluster_10 {
color=red
32 [label="Enter function testFor" style="filled" fillcolor=red];
33 [label="Const: Int(0)"];
34 [label="Const: Int(5)"];
35 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...)"];
36 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...).R|kotlin/ranges/IntProgression.iterator|()"];
37 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"];
34 [label="Const: Int(0)"];
35 [label="Const: Int(5)"];
36 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...)"];
37 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...).R|kotlin/ranges/IntProgression.iterator|()"];
38 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"];
subgraph cluster_11 {
color=blue
38 [label="Enter while loop"];
39 [label="Enter while loop"];
subgraph cluster_12 {
color=blue
39 [label="Enter loop condition"];
40 [label="Access variable R|<local>/<iterator>|"];
41 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
42 [label="Exit loop condition"];
41 [label="Enter loop condition"];
42 [label="Access variable R|<local>/<iterator>|"];
43 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
44 [label="Exit loop condition"];
}
subgraph cluster_13 {
color=blue
43 [label="Enter loop block"];
45 [label="Enter loop block"];
subgraph cluster_14 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/<iterator>|"];
46 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()"];
47 [label="Variable declaration: lval i: R|kotlin/Int|"];
48 [label="Access variable R|<local>/x|"];
49 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
50 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
51 [label="Exit block"];
46 [label="Enter block"];
47 [label="Access variable R|<local>/<iterator>|"];
48 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()"];
49 [label="Variable declaration: lval i: R|kotlin/Int|"];
50 [label="Access variable R|<local>/x|"];
51 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
52 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
53 [label="Exit block"];
}
52 [label="Exit loop block"];
54 [label="Exit loop block"];
}
53 [label="Exit whileloop"];
40 [label="Exit whileloop"];
}
54 [label="Access variable R|<local>/x|"];
55 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
56 [label="Exit function testFor" style="filled" fillcolor=red];
55 [label="Access variable R|<local>/x|"];
56 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
33 [label="Exit function testFor" style="filled" fillcolor=red];
}
32 -> {33};
33 -> {34};
32 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
39 -> {41};
40 -> {55};
41 -> {42};
42 -> {53 43};
42 -> {43};
43 -> {44};
44 -> {45};
44 -> {40 45};
45 -> {46};
46 -> {47};
47 -> {48};
@@ -160,331 +156,326 @@ digraph loops_kt {
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {39};
52 -> {53};
53 -> {54};
54 -> {55};
54 -> {41};
55 -> {56};
56 -> {33};
subgraph cluster_15 {
color=red
57 [label="Enter function testWhileTrue" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
58 [label="Enter while loop"];
59 [label="Enter while loop"];
subgraph cluster_17 {
color=blue
59 [label="Enter loop condition"];
60 [label="Const: Boolean(true)"];
61 [label="Exit loop condition"];
61 [label="Enter loop condition"];
62 [label="Const: Boolean(true)"];
63 [label="Exit loop condition"];
}
subgraph cluster_18 {
color=blue
62 [label="Enter loop block"];
64 [label="Enter loop block"];
subgraph cluster_19 {
color=blue
63 [label="Enter block"];
64 [label="Const: Int(1)"];
65 [label="Exit block"];
65 [label="Enter block"];
66 [label="Const: Int(1)"];
67 [label="Exit block"];
}
66 [label="Exit loop block"];
68 [label="Exit loop block"];
}
67 [label="Exit whileloop" style="filled" fillcolor=gray];
60 [label="Exit whileloop" style="filled" fillcolor=gray];
}
68 [label="Const: Int(1)" style="filled" fillcolor=gray];
69 [label="Exit function testWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray];
69 [label="Const: Int(1)" style="filled" fillcolor=gray];
58 [label="Exit function testWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray];
}
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
57 -> {59};
59 -> {61};
60 -> {69} [style=dotted];
61 -> {62};
61 -> {67} [style=dotted];
62 -> {63};
63 -> {64};
63 -> {60} [style=dotted];
64 -> {65};
65 -> {66};
66 -> {59};
67 -> {68} [style=dotted];
68 -> {69} [style=dotted];
66 -> {67};
67 -> {68};
68 -> {61};
69 -> {58} [style=dotted];
subgraph cluster_20 {
color=red
70 [label="Enter function testWhileTrueWithBreak" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
71 [label="Enter while loop"];
72 [label="Enter while loop"];
subgraph cluster_22 {
color=blue
72 [label="Enter loop condition"];
73 [label="Const: Boolean(true)"];
74 [label="Exit loop condition"];
74 [label="Enter loop condition"];
75 [label="Const: Boolean(true)"];
76 [label="Exit loop condition"];
}
subgraph cluster_23 {
color=blue
75 [label="Enter loop block"];
77 [label="Enter loop block"];
subgraph cluster_24 {
color=blue
76 [label="Enter block"];
78 [label="Enter block"];
subgraph cluster_25 {
color=blue
77 [label="Enter when"];
79 [label="Enter when"];
subgraph cluster_26 {
color=blue
78 [label="Enter when branch condition "];
79 [label="Access variable R|<local>/b|"];
80 [label="Exit when branch condition"];
81 [label="Enter when branch condition "];
82 [label="Access variable R|<local>/b|"];
83 [label="Exit when branch condition"];
}
81 [label="Synthetic else branch"];
82 [label="Enter when branch result"];
90 [label="Synthetic else branch"];
84 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
83 [label="Enter block"];
84 [label="Jump: break@@@[Boolean(true)] "];
85 [label="Stub" style="filled" fillcolor=gray];
86 [label="Exit block" style="filled" fillcolor=gray];
85 [label="Enter block"];
86 [label="Jump: break@@@[Boolean(true)] "];
87 [label="Stub" style="filled" fillcolor=gray];
88 [label="Exit block" style="filled" fillcolor=gray];
}
87 [label="Exit when branch result" style="filled" fillcolor=gray];
88 [label="Exit when"];
89 [label="Exit when branch result" style="filled" fillcolor=gray];
80 [label="Exit when"];
}
89 [label="Exit block"];
91 [label="Exit block"];
}
90 [label="Exit loop block"];
92 [label="Exit loop block"];
}
91 [label="Exit whileloop"];
73 [label="Exit whileloop"];
}
92 [label="Const: Int(1)"];
93 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red];
93 [label="Const: Int(1)"];
71 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red];
}
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
70 -> {72};
72 -> {74};
73 -> {93};
74 -> {75};
74 -> {91} [style=dotted];
75 -> {76};
76 -> {77};
76 -> {73} [style=dotted];
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {82 81};
81 -> {88};
79 -> {81};
80 -> {91};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {91};
84 -> {85} [style=dotted];
85 -> {86} [style=dotted];
83 -> {84 90};
84 -> {85};
85 -> {86};
86 -> {73};
86 -> {87} [style=dotted];
87 -> {88} [style=dotted];
88 -> {89};
89 -> {90};
90 -> {72};
88 -> {89} [style=dotted];
89 -> {80} [style=dotted];
90 -> {80};
91 -> {92};
92 -> {93};
92 -> {74};
93 -> {71};
subgraph cluster_28 {
color=red
94 [label="Enter function testWhileFalse" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
95 [label="Enter while loop"];
96 [label="Enter while loop"];
subgraph cluster_30 {
color=blue
96 [label="Enter loop condition"];
97 [label="Const: Boolean(false)"];
98 [label="Exit loop condition"];
98 [label="Enter loop condition"];
99 [label="Const: Boolean(false)"];
100 [label="Exit loop condition"];
}
subgraph cluster_31 {
color=blue
99 [label="Enter loop block" style="filled" fillcolor=gray];
101 [label="Enter loop block" style="filled" fillcolor=gray];
subgraph cluster_32 {
color=blue
100 [label="Enter block" style="filled" fillcolor=gray];
101 [label="Const: Int(1)" style="filled" fillcolor=gray];
102 [label="Exit block" style="filled" fillcolor=gray];
102 [label="Enter block" style="filled" fillcolor=gray];
103 [label="Const: Int(1)" style="filled" fillcolor=gray];
104 [label="Exit block" style="filled" fillcolor=gray];
}
103 [label="Exit loop block" style="filled" fillcolor=gray];
105 [label="Exit loop block" style="filled" fillcolor=gray];
}
104 [label="Exit whileloop"];
97 [label="Exit whileloop"];
}
105 [label="Const: Int(1)"];
106 [label="Exit function testWhileFalse" style="filled" fillcolor=red];
106 [label="Const: Int(1)"];
95 [label="Exit function testWhileFalse" style="filled" fillcolor=red];
}
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {104};
98 -> {99} [style=dotted];
99 -> {100} [style=dotted];
94 -> {96};
96 -> {98};
97 -> {106};
98 -> {99};
99 -> {100};
100 -> {97};
100 -> {101} [style=dotted];
101 -> {102} [style=dotted];
102 -> {103} [style=dotted];
103 -> {96} [style=dotted];
104 -> {105};
105 -> {106};
103 -> {104} [style=dotted];
104 -> {105} [style=dotted];
105 -> {98} [style=dotted];
106 -> {95};
subgraph cluster_33 {
color=red
107 [label="Enter function testDoWhileTrue" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
108 [label="Enter do-while loop"];
109 [label="Enter do-while loop"];
subgraph cluster_35 {
color=blue
109 [label="Enter loop block"];
111 [label="Enter loop block"];
subgraph cluster_36 {
color=blue
110 [label="Enter block"];
111 [label="Const: Int(1)"];
112 [label="Exit block"];
112 [label="Enter block"];
113 [label="Const: Int(1)"];
114 [label="Exit block"];
}
113 [label="Exit loop block"];
115 [label="Exit loop block"];
}
subgraph cluster_37 {
color=blue
114 [label="Enter loop condition"];
115 [label="Const: Boolean(true)"];
116 [label="Exit loop condition"];
116 [label="Enter loop condition"];
117 [label="Const: Boolean(true)"];
118 [label="Exit loop condition"];
}
117 [label="Exit do-whileloop" style="filled" fillcolor=gray];
110 [label="Exit do-whileloop" style="filled" fillcolor=gray];
}
118 [label="Const: Int(1)" style="filled" fillcolor=gray];
119 [label="Exit function testDoWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray];
119 [label="Const: Int(1)" style="filled" fillcolor=gray];
108 [label="Exit function testDoWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray];
}
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
107 -> {109};
109 -> {111};
110 -> {119} [style=dotted];
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {109};
116 -> {117} [style=dotted];
117 -> {118} [style=dotted];
118 -> {119} [style=dotted];
116 -> {117};
117 -> {118};
118 -> {111};
118 -> {110} [style=dotted];
119 -> {108} [style=dotted];
subgraph cluster_38 {
color=red
120 [label="Enter function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
subgraph cluster_39 {
color=blue
121 [label="Enter do-while loop"];
122 [label="Enter do-while loop"];
subgraph cluster_40 {
color=blue
122 [label="Enter loop block"];
124 [label="Enter loop block"];
subgraph cluster_41 {
color=blue
123 [label="Enter block"];
125 [label="Enter block"];
subgraph cluster_42 {
color=blue
124 [label="Enter when"];
126 [label="Enter when"];
subgraph cluster_43 {
color=blue
125 [label="Enter when branch condition "];
126 [label="Access variable R|<local>/b|"];
127 [label="Exit when branch condition"];
128 [label="Enter when branch condition "];
129 [label="Access variable R|<local>/b|"];
130 [label="Exit when branch condition"];
}
128 [label="Synthetic else branch"];
129 [label="Enter when branch result"];
137 [label="Synthetic else branch"];
131 [label="Enter when branch result"];
subgraph cluster_44 {
color=blue
130 [label="Enter block"];
131 [label="Jump: break@@@[Boolean(true)] "];
132 [label="Stub" style="filled" fillcolor=gray];
133 [label="Exit block" style="filled" fillcolor=gray];
132 [label="Enter block"];
133 [label="Jump: break@@@[Boolean(true)] "];
134 [label="Stub" style="filled" fillcolor=gray];
135 [label="Exit block" style="filled" fillcolor=gray];
}
134 [label="Exit when branch result" style="filled" fillcolor=gray];
135 [label="Exit when"];
136 [label="Exit when branch result" style="filled" fillcolor=gray];
127 [label="Exit when"];
}
136 [label="Exit block"];
138 [label="Exit block"];
}
137 [label="Exit loop block"];
139 [label="Exit loop block"];
}
subgraph cluster_45 {
color=blue
138 [label="Enter loop condition"];
139 [label="Const: Boolean(true)"];
140 [label="Exit loop condition"];
140 [label="Enter loop condition"];
141 [label="Const: Boolean(true)"];
142 [label="Exit loop condition"];
}
141 [label="Exit do-whileloop"];
123 [label="Exit do-whileloop"];
}
142 [label="Const: Int(1)"];
143 [label="Exit function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
143 [label="Const: Int(1)"];
121 [label="Exit function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
}
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
120 -> {122};
122 -> {124};
123 -> {143};
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {129 128};
128 -> {135};
126 -> {128};
127 -> {138};
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {141};
131 -> {132} [style=dotted];
132 -> {133} [style=dotted];
130 -> {131 137};
131 -> {132};
132 -> {133};
133 -> {123};
133 -> {134} [style=dotted];
134 -> {135} [style=dotted];
135 -> {136};
136 -> {137};
137 -> {138};
135 -> {136} [style=dotted];
136 -> {127} [style=dotted];
137 -> {127};
138 -> {139};
139 -> {140};
140 -> {122};
140 -> {141} [style=dotted];
140 -> {141};
141 -> {142};
142 -> {143};
142 -> {124};
142 -> {123} [style=dotted];
143 -> {121};
subgraph cluster_46 {
color=red
144 [label="Enter function testDoWhileFalse" style="filled" fillcolor=red];
subgraph cluster_47 {
color=blue
145 [label="Enter do-while loop"];
146 [label="Enter do-while loop"];
subgraph cluster_48 {
color=blue
146 [label="Enter loop block"];
148 [label="Enter loop block"];
subgraph cluster_49 {
color=blue
147 [label="Enter block"];
148 [label="Const: Int(1)"];
149 [label="Exit block"];
149 [label="Enter block"];
150 [label="Const: Int(1)"];
151 [label="Exit block"];
}
150 [label="Exit loop block"];
152 [label="Exit loop block"];
}
subgraph cluster_50 {
color=blue
151 [label="Enter loop condition"];
152 [label="Const: Boolean(false)"];
153 [label="Exit loop condition"];
153 [label="Enter loop condition"];
154 [label="Const: Boolean(false)"];
155 [label="Exit loop condition"];
}
154 [label="Exit do-whileloop"];
147 [label="Exit do-whileloop"];
}
155 [label="Const: Int(1)"];
156 [label="Exit function testDoWhileFalse" style="filled" fillcolor=red];
156 [label="Const: Int(1)"];
145 [label="Exit function testDoWhileFalse" style="filled" fillcolor=red];
}
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
144 -> {146};
146 -> {148};
147 -> {156};
148 -> {149};
149 -> {150};
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
153 -> {146} [style=dotted];
154 -> {155};
155 -> {156};
155 -> {147};
155 -> {148} [style=dotted];
156 -> {145};
}
@@ -6,97 +6,90 @@ digraph postponedLambdaInConstructor_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red];
2 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
1 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
0 -> {2};
2 -> {1};
subgraph cluster_1 {
color=red
3 [label="Enter class A" style="filled" fillcolor=red];
4 [label="Exit class A" style="filled" fillcolor=red];
}
3 -> {4} [color=green];
subgraph cluster_2 {
color=red
5 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Access variable R|<local>/s|"];
7 [label="Postponed enter to lambda"];
7 [label="Access variable R|<local>/s|"];
8 [label="Postponed enter to lambda"];
subgraph cluster_3 {
color=blue
8 [label="Enter function anonymousFunction"];
9 [label="Postponed enter to lambda"];
10 [label="Postponed exit from lambda"];
10 [label="Enter function anonymousFunction"];
12 [label="Postponed enter to lambda"];
subgraph cluster_4 {
color=blue
17 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
19 [label="Access variable R|<local>/it|"];
18 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
13 [label="Postponed exit from lambda"];
11 [label="Exit function anonymousFunction"];
}
12 [label="Postponed exit from lambda"];
13 [label="Function call: R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(...)"];
14 [label="Call arguments union" style="filled" fillcolor=yellow];
9 [label="Postponed exit from lambda"];
14 [label="Function call: R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(...)"];
16 [label="Call arguments union" style="filled" fillcolor=yellow];
15 [label="Delegated constructor call: super<R|A|>(...)"];
16 [label="Exit function <init>" style="filled" fillcolor=red];
6 [label="Exit function <init>" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
5 -> {7};
7 -> {8};
7 -> {12} [color=red];
8 -> {9};
9 -> {10 10} [color=green];
10 -> {11};
11 -> {12} [color=green];
11 -> {14} [color=red];
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
subgraph cluster_4 {
color=red
17 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
18 [label="Access variable R|<local>/it|"];
19 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19};
8 -> {10};
8 -> {9} [color=red];
9 -> {14};
10 -> {12};
11 -> {9} [color=green];
11 -> {16} [color=red];
12 -> {13 13} [color=green];
12 -> {17} [color=red];
13 -> {11};
14 -> {16};
15 -> {6};
16 -> {15};
17 -> {19};
19 -> {18};
subgraph cluster_5 {
color=red
20 [label="Enter function getter" style="filled" fillcolor=red];
21 [label="Exit function getter" style="filled" fillcolor=red];
}
20 -> {21};
subgraph cluster_6 {
color=red
22 [label="Enter property" style="filled" fillcolor=red];
23 [label="Access variable R|<local>/s|"];
24 [label="Exit property" style="filled" fillcolor=red];
25 [label="Enter function foo" style="filled" fillcolor=red];
27 [label="Function call: this@R|/B|.R|/B.foo|()"];
26 [label="Exit function foo" style="filled" fillcolor=red];
}
22 -> {23};
23 -> {24};
25 -> {27};
27 -> {26};
subgraph cluster_7 {
color=red
25 [label="Enter function foo" style="filled" fillcolor=red];
26 [label="Function call: this@R|/B|.R|/B.foo|()"];
27 [label="Exit function foo" style="filled" fillcolor=red];
}
25 -> {26};
26 -> {27};
subgraph cluster_8 {
color=red
28 [label="Enter class B" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
22 [label="Enter property" style="filled" fillcolor=red];
24 [label="Access variable R|<local>/s|"];
23 [label="Exit property" style="filled" fillcolor=red];
}
29 [label="Exit class B" style="filled" fillcolor=red];
}
28 -> {22} [color=green];
22 -> {24};
23 -> {29} [color=green];
24 -> {23};
}
@@ -8,36 +8,34 @@ digraph postponedLambdas_kt {
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter function test" style="filled" fillcolor=red];
3 [label="Access variable R|<local>/a|"];
4 [label="Postponed enter to lambda"];
4 [label="Access variable R|<local>/a|"];
5 [label="Postponed enter to lambda"];
subgraph cluster_2 {
color=blue
5 [label="Enter function anonymousFunction"];
6 [label="Const: String()"];
7 [label="Exit function anonymousFunction"];
8 [label="Enter function anonymousFunction"];
10 [label="Const: String()"];
9 [label="Exit function anonymousFunction"];
}
8 [label="Postponed exit from lambda"];
9 [label="Access variable R|<local>/b|"];
10 [label="Function call: R|/foo|(...)"];
11 [label="Exit function test" style="filled" fillcolor=red];
6 [label="Postponed exit from lambda"];
7 [label="Access variable R|<local>/b|"];
11 [label="Function call: R|/foo|(...)"];
3 [label="Exit function test" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
2 -> {4};
4 -> {5};
4 -> {8} [color=red];
5 -> {7 6};
5 -> {8};
5 -> {6} [color=red];
6 -> {7};
7 -> {5};
7 -> {8} [color=green];
8 -> {9};
9 -> {10};
10 -> {11};
7 -> {11};
8 -> {9 10};
9 -> {8};
9 -> {6} [color=green];
10 -> {9};
11 -> {3};
}
@@ -6,282 +6,274 @@ digraph propertiesAndInitBlocks_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function run" style="filled" fillcolor=red];
1 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
2 [label="Exit function run" style="filled" fillcolor=red];
2 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
1 [label="Exit function run" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
0 -> {2};
2 -> {1};
subgraph cluster_1 {
color=red
3 [label="Enter function getter" style="filled" fillcolor=red];
4 [label="Exit function getter" style="filled" fillcolor=red];
}
3 -> {4};
subgraph cluster_2 {
color=red
5 [label="Enter property" style="filled" fillcolor=red];
6 [label="Const: Int(1)"];
7 [label="Exit property" style="filled" fillcolor=red];
7 [label="Const: Int(1)"];
6 [label="Exit property" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
5 -> {7};
7 -> {6};
subgraph cluster_3 {
color=red
8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Const: Int(1)"];
10 [label="Jump: ^ Int(1)"];
11 [label="Stub" style="filled" fillcolor=gray];
12 [label="Exit function getter" style="filled" fillcolor=red];
10 [label="Const: Int(1)"];
11 [label="Jump: ^ Int(1)"];
12 [label="Stub" style="filled" fillcolor=gray];
9 [label="Exit function getter" style="filled" fillcolor=red];
}
8 -> {9};
9 -> {10};
10 -> {12};
10 -> {11} [style=dotted];
8 -> {10};
10 -> {11};
11 -> {9};
11 -> {12} [style=dotted];
12 -> {9} [style=dotted];
subgraph cluster_4 {
color=red
13 [label="Enter function setter" style="filled" fillcolor=red];
14 [label="Const: Int(1)"];
15 [label="Assignmenet: F|/x2|"];
16 [label="Exit function setter" style="filled" fillcolor=red];
15 [label="Const: Int(1)"];
16 [label="Assignment: F|/x2|"];
14 [label="Exit function setter" style="filled" fillcolor=red];
}
13 -> {14};
14 -> {15};
13 -> {15};
15 -> {16};
16 -> {14};
subgraph cluster_5 {
color=red
17 [label="Enter property" style="filled" fillcolor=red];
18 [label="Const: Int(1)"];
19 [label="Exit property" style="filled" fillcolor=red];
19 [label="Const: Int(1)"];
18 [label="Exit property" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19};
17 -> {19};
19 -> {18};
subgraph cluster_6 {
color=red
20 [label="Enter function foo" style="filled" fillcolor=red];
21 [label="Const: Int(1)"];
22 [label="Const: Int(1)"];
23 [label="Function call: Int(1).R|kotlin/Int.plus|(...)"];
24 [label="Variable declaration: lval c: R|kotlin/Int|"];
25 [label="Function call: R|java/lang/Exception.Exception|()"];
26 [label="Throw: throw R|java/lang/Exception.Exception|()"];
27 [label="Stub" style="filled" fillcolor=gray];
28 [label="Exit function foo" style="filled" fillcolor=red];
29 [label="Enter function <init>" style="filled" fillcolor=red];
31 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
30 [label="Exit function <init>" style="filled" fillcolor=red];
}
29 -> {31};
31 -> {30};
20 -> {21};
21 -> {22};
subgraph cluster_7 {
color=red
40 [label="Enter class LocalClass" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
32 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
34 [label="Enter block"];
35 [label="Function call: R|java/lang/Exception.Exception|()"];
36 [label="Throw: throw R|java/lang/Exception.Exception|()"];
37 [label="Stub" style="filled" fillcolor=gray];
38 [label="Const: Int(1)" style="filled" fillcolor=gray];
39 [label="Exit block" style="filled" fillcolor=gray];
}
33 [label="Exit init block" style="filled" fillcolor=red];
}
41 [label="Exit class LocalClass" style="filled" fillcolor=red];
}
40 -> {32} [color=green];
32 -> {34};
33 -> {41} [color=green];
34 -> {35};
35 -> {36};
36 -> {33};
36 -> {37} [style=dotted];
37 -> {38} [style=dotted];
38 -> {39} [style=dotted];
39 -> {33} [style=dotted];
subgraph cluster_10 {
color=red
42 [label="Enter function getter" style="filled" fillcolor=red];
44 [label="Exit local class <getter>"];
43 [label="Exit function getter" style="filled" fillcolor=red];
}
42 -> {44};
42 -> {45} [color=red];
44 -> {43};
subgraph cluster_11 {
color=red
45 [label="Enter function <init>" style="filled" fillcolor=red];
47 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
46 [label="Exit function <init>" style="filled" fillcolor=red];
}
45 -> {47};
47 -> {46};
subgraph cluster_12 {
color=red
55 [label="Enter class LocalClass" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
48 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
50 [label="Enter block"];
51 [label="Function call: R|java/lang/Exception.Exception|()"];
52 [label="Throw: throw R|java/lang/Exception.Exception|()"];
53 [label="Stub" style="filled" fillcolor=gray];
54 [label="Exit block" style="filled" fillcolor=gray];
}
49 [label="Exit init block" style="filled" fillcolor=red];
}
56 [label="Exit class LocalClass" style="filled" fillcolor=red];
}
55 -> {48} [color=green];
48 -> {50};
49 -> {56} [color=green];
50 -> {51};
51 -> {52};
52 -> {49};
52 -> {53} [style=dotted];
53 -> {54} [style=dotted];
54 -> {49} [style=dotted];
subgraph cluster_15 {
color=red
57 [label="Enter property" style="filled" fillcolor=red];
59 [label="Postponed enter to lambda"];
subgraph cluster_16 {
color=blue
61 [label="Enter function anonymousFunction"];
63 [label="Exit local class val x3"];
64 [label="Function call: R|java/lang/Exception.Exception|()"];
65 [label="Throw: throw R|java/lang/Exception.Exception|()"];
66 [label="Stub" style="filled" fillcolor=gray];
subgraph cluster_17 {
color=blue
29 [label="Enter function <init>" style="filled" fillcolor=red];
31 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
30 [label="Exit function <init>" style="filled" fillcolor=red];
}
subgraph cluster_18 {
color=blue
20 [label="Enter function foo" style="filled" fillcolor=red];
22 [label="Const: Int(1)"];
23 [label="Const: Int(1)"];
24 [label="Function call: Int(1).R|kotlin/Int.plus|(...)"];
25 [label="Variable declaration: lval c: R|kotlin/Int|"];
26 [label="Function call: R|java/lang/Exception.Exception|()"];
27 [label="Throw: throw R|java/lang/Exception.Exception|()"];
28 [label="Stub" style="filled" fillcolor=gray];
21 [label="Exit function foo" style="filled" fillcolor=red];
}
62 [label="Exit function anonymousFunction"];
}
60 [label="Postponed exit from lambda"];
67 [label="Function call: R|/run|(...)"];
58 [label="Exit property" style="filled" fillcolor=red];
}
57 -> {59};
59 -> {61};
59 -> {60} [color=red];
60 -> {67};
61 -> {62 63};
61 -> {20 29} [color=red];
62 -> {61};
62 -> {60} [color=green];
63 -> {64};
64 -> {65};
65 -> {58};
65 -> {66} [style=dotted];
66 -> {62} [style=dotted];
67 -> {58};
20 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {28};
26 -> {27} [style=dotted];
26 -> {27};
27 -> {21};
27 -> {28} [style=dotted];
28 -> {21} [style=dotted];
subgraph cluster_7 {
color=red
29 [label="Enter function <init>" style="filled" fillcolor=red];
30 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
31 [label="Exit function <init>" style="filled" fillcolor=red];
}
29 -> {30};
30 -> {31};
subgraph cluster_8 {
color=red
32 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
33 [label="Enter block"];
34 [label="Function call: R|java/lang/Exception.Exception|()"];
35 [label="Throw: throw R|java/lang/Exception.Exception|()"];
36 [label="Stub" style="filled" fillcolor=gray];
37 [label="Const: Int(1)" style="filled" fillcolor=gray];
38 [label="Exit block" style="filled" fillcolor=gray];
}
39 [label="Exit init block" style="filled" fillcolor=red];
}
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {39};
35 -> {36} [style=dotted];
36 -> {37} [style=dotted];
37 -> {38} [style=dotted];
38 -> {39} [style=dotted];
subgraph cluster_10 {
color=red
40 [label="Enter class LocalClass" style="filled" fillcolor=red];
41 [label="Exit class LocalClass" style="filled" fillcolor=red];
}
subgraph cluster_11 {
color=red
42 [label="Enter function getter" style="filled" fillcolor=red];
43 [label="Exit local class <getter>"];
44 [label="Exit function getter" style="filled" fillcolor=red];
}
42 -> {43};
43 -> {44};
subgraph cluster_12 {
color=red
45 [label="Enter function <init>" style="filled" fillcolor=red];
46 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
47 [label="Exit function <init>" style="filled" fillcolor=red];
}
45 -> {46};
46 -> {47};
subgraph cluster_13 {
color=red
48 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
49 [label="Enter block"];
50 [label="Function call: R|java/lang/Exception.Exception|()"];
51 [label="Throw: throw R|java/lang/Exception.Exception|()"];
52 [label="Stub" style="filled" fillcolor=gray];
53 [label="Exit block" style="filled" fillcolor=gray];
}
54 [label="Exit init block" style="filled" fillcolor=red];
}
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {54};
51 -> {52} [style=dotted];
52 -> {53} [style=dotted];
53 -> {54} [style=dotted];
subgraph cluster_15 {
color=red
55 [label="Enter class LocalClass" style="filled" fillcolor=red];
56 [label="Exit class LocalClass" style="filled" fillcolor=red];
}
subgraph cluster_16 {
color=red
57 [label="Enter property" style="filled" fillcolor=red];
58 [label="Postponed enter to lambda"];
subgraph cluster_17 {
color=blue
59 [label="Enter function anonymousFunction"];
60 [label="Exit local class val x3"];
61 [label="Function call: R|java/lang/Exception.Exception|()"];
62 [label="Throw: throw R|java/lang/Exception.Exception|()"];
63 [label="Stub" style="filled" fillcolor=gray];
64 [label="Exit function anonymousFunction"];
}
65 [label="Postponed exit from lambda"];
66 [label="Function call: R|/run|(...)"];
67 [label="Exit property" style="filled" fillcolor=red];
}
57 -> {58};
58 -> {59};
58 -> {65} [color=red];
59 -> {64 60};
60 -> {61};
61 -> {62};
62 -> {67};
62 -> {63} [style=dotted];
63 -> {64} [style=dotted];
64 -> {59};
64 -> {65} [color=green];
65 -> {66};
66 -> {67};
subgraph cluster_18 {
subgraph cluster_19 {
color=red
68 [label="Enter function getter" style="filled" fillcolor=red];
69 [label="Exit function getter" style="filled" fillcolor=red];
}
68 -> {69};
subgraph cluster_19 {
subgraph cluster_20 {
color=red
70 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_20 {
subgraph cluster_21 {
color=blue
71 [label="Try expression enter"];
subgraph cluster_21 {
72 [label="Try expression enter"];
subgraph cluster_22 {
color=blue
72 [label="Try main block enter"];
subgraph cluster_22 {
74 [label="Try main block enter"];
subgraph cluster_23 {
color=blue
73 [label="Enter block"];
74 [label="Const: Int(1)"];
75 [label="Exit block"];
77 [label="Enter block"];
78 [label="Const: Int(1)"];
79 [label="Exit block"];
}
76 [label="Try main block exit"];
80 [label="Try main block exit"];
}
subgraph cluster_23 {
subgraph cluster_24 {
color=blue
77 [label="Enter finally"];
subgraph cluster_24 {
76 [label="Enter finally"];
subgraph cluster_25 {
color=blue
78 [label="Enter block"];
79 [label="Const: Int(0)"];
80 [label="Exit block"];
85 [label="Enter block"];
86 [label="Const: Int(0)"];
87 [label="Exit block"];
}
81 [label="Exit finally"];
88 [label="Exit finally"];
}
subgraph cluster_25 {
subgraph cluster_26 {
color=blue
82 [label="Catch enter"];
subgraph cluster_26 {
75 [label="Catch enter"];
subgraph cluster_27 {
color=blue
83 [label="Enter block"];
84 [label="Const: Int(2)"];
85 [label="Exit block"];
81 [label="Enter block"];
82 [label="Const: Int(2)"];
83 [label="Exit block"];
}
86 [label="Catch exit"];
84 [label="Catch exit"];
}
87 [label="Try expression exit"];
73 [label="Try expression exit"];
}
88 [label="Exit property" style="filled" fillcolor=red];
71 [label="Exit property" style="filled" fillcolor=red];
}
70 -> {71};
71 -> {72};
72 -> {88 82 77 73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {87};
70 -> {72};
72 -> {74};
73 -> {71};
74 -> {71 75 76 77};
75 -> {71 81};
76 -> {85};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {87};
82 -> {88 83};
80 -> {73};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
84 -> {73};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {73};
}
@@ -8,176 +8,168 @@ digraph returnValuesFromLambda_kt {
0 [label="Enter class A" style="filled" fillcolor=red];
1 [label="Exit class A" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
subgraph cluster_1 {
color=red
2 [label="Enter function <init>" style="filled" fillcolor=red];
3 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
4 [label="Exit function <init>" style="filled" fillcolor=red];
4 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
3 [label="Exit function <init>" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
2 -> {4};
4 -> {3};
subgraph cluster_2 {
color=red
5 [label="Enter class B" style="filled" fillcolor=red];
6 [label="Exit class B" style="filled" fillcolor=red];
}
5 -> {6} [color=green];
subgraph cluster_3 {
color=red
7 [label="Enter function <init>" style="filled" fillcolor=red];
8 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
9 [label="Exit function <init>" style="filled" fillcolor=red];
9 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
8 [label="Exit function <init>" style="filled" fillcolor=red];
}
7 -> {8};
8 -> {9};
7 -> {9};
9 -> {8};
subgraph cluster_4 {
color=red
10 [label="Enter class C" style="filled" fillcolor=red];
11 [label="Exit class C" style="filled" fillcolor=red];
}
10 -> {11} [color=green];
subgraph cluster_5 {
color=red
12 [label="Enter function test_1" style="filled" fillcolor=red];
13 [label="Postponed enter to lambda"];
14 [label="Postponed enter to lambda"];
subgraph cluster_6 {
color=blue
14 [label="Enter function anonymousFunction"];
16 [label="Enter function anonymousFunction"];
subgraph cluster_7 {
color=blue
15 [label="Enter when"];
18 [label="Enter when"];
subgraph cluster_8 {
color=blue
16 [label="Enter when branch condition "];
17 [label="Access variable R|<local>/b|"];
18 [label="Exit when branch condition"];
20 [label="Enter when branch condition "];
21 [label="Access variable R|<local>/b|"];
22 [label="Exit when branch condition"];
}
19 [label="Synthetic else branch"];
20 [label="Enter when branch result"];
30 [label="Synthetic else branch"];
23 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
21 [label="Enter block"];
22 [label="Function call: R|/B.B|()"];
23 [label="Jump: ^@run R|/B.B|()"];
24 [label="Stub" style="filled" fillcolor=gray];
25 [label="Exit block" style="filled" fillcolor=gray];
24 [label="Enter block"];
25 [label="Function call: R|/B.B|()"];
26 [label="Jump: ^@run R|/B.B|()"];
27 [label="Stub" style="filled" fillcolor=gray];
28 [label="Exit block" style="filled" fillcolor=gray];
}
26 [label="Exit when branch result" style="filled" fillcolor=gray];
27 [label="Exit when"];
29 [label="Exit when branch result" style="filled" fillcolor=gray];
19 [label="Exit when"];
}
28 [label="Function call: R|/C.C|()"];
29 [label="Exit function anonymousFunction"];
31 [label="Function call: R|/C.C|()"];
17 [label="Exit function anonymousFunction"];
}
30 [label="Call arguments union" style="filled" fillcolor=yellow];
31 [label="Postponed exit from lambda"];
33 [label="Call arguments union" style="filled" fillcolor=yellow];
15 [label="Postponed exit from lambda"];
32 [label="Function call: R|kotlin/run|<R|A|>(...)"];
33 [label="Variable declaration: lval x: R|A|"];
34 [label="Exit function test_1" style="filled" fillcolor=red];
34 [label="Variable declaration: lval x: R|A|"];
13 [label="Exit function test_1" style="filled" fillcolor=red];
}
12 -> {13};
13 -> {14};
13 -> {31} [color=red];
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {20 19};
19 -> {27};
12 -> {14};
14 -> {16};
14 -> {15} [color=red];
15 -> {32} [color=green];
16 -> {18};
17 -> {15} [color=green];
17 -> {33} [color=red];
18 -> {20};
19 -> {31};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {29};
23 -> {24} [style=dotted];
24 -> {25} [style=dotted];
25 -> {26} [style=dotted];
22 -> {23 30};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {17};
26 -> {27} [style=dotted];
27 -> {28};
28 -> {29};
29 -> {31} [color=green];
29 -> {30} [color=red];
30 -> {32} [color=red];
31 -> {32} [color=green];
32 -> {33};
33 -> {34};
27 -> {28} [style=dotted];
28 -> {29} [style=dotted];
29 -> {19} [style=dotted];
30 -> {19};
31 -> {17};
32 -> {34};
33 -> {32} [color=red];
34 -> {13};
subgraph cluster_10 {
color=red
35 [label="Enter function test_2" style="filled" fillcolor=red];
36 [label="Postponed enter to lambda"];
37 [label="Postponed enter to lambda"];
subgraph cluster_11 {
color=blue
37 [label="Enter function anonymousFunction"];
38 [label="Function call: R|/C.C|()"];
39 [label="Jump: ^@run R|/C.C|()"];
40 [label="Stub" style="filled" fillcolor=gray];
41 [label="Exit function anonymousFunction"];
39 [label="Enter function anonymousFunction"];
41 [label="Function call: R|/C.C|()"];
42 [label="Jump: ^@run R|/C.C|()"];
43 [label="Stub" style="filled" fillcolor=gray];
40 [label="Exit function anonymousFunction"];
}
42 [label="Call arguments union" style="filled" fillcolor=yellow];
43 [label="Postponed exit from lambda"];
45 [label="Call arguments union" style="filled" fillcolor=yellow];
38 [label="Postponed exit from lambda"];
44 [label="Function call: R|kotlin/run|<R|C|>(...)"];
45 [label="Variable declaration: lval x: R|C|"];
46 [label="Exit function test_2" style="filled" fillcolor=red];
46 [label="Variable declaration: lval x: R|C|"];
36 [label="Exit function test_2" style="filled" fillcolor=red];
}
35 -> {36};
36 -> {37};
36 -> {43} [color=red];
37 -> {38};
38 -> {39};
35 -> {37};
37 -> {39};
37 -> {38} [color=red];
38 -> {44} [color=green];
39 -> {41};
39 -> {40} [style=dotted];
40 -> {41} [style=dotted];
41 -> {43} [color=green];
41 -> {42} [color=red];
42 -> {44} [color=red];
43 -> {44} [color=green];
44 -> {45};
45 -> {46};
40 -> {38} [color=green];
40 -> {45} [color=red];
41 -> {42};
42 -> {40};
42 -> {43} [style=dotted];
43 -> {40} [style=dotted];
44 -> {46};
45 -> {44} [color=red];
46 -> {36};
subgraph cluster_12 {
color=red
47 [label="Enter function test_3" style="filled" fillcolor=red];
48 [label="Postponed enter to lambda"];
49 [label="Postponed enter to lambda"];
subgraph cluster_13 {
color=blue
49 [label="Enter function anonymousFunction"];
50 [label="Jump: ^test_3 Unit"];
51 [label="Stub" style="filled" fillcolor=gray];
51 [label="Enter function anonymousFunction"];
53 [label="Jump: ^test_3 Unit"];
54 [label="Stub" style="filled" fillcolor=gray];
52 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
}
53 [label="Call arguments union" style="filled" fillcolor=gray];
54 [label="Postponed exit from lambda"];
56 [label="Call arguments union" style="filled" fillcolor=gray];
50 [label="Postponed exit from lambda"];
55 [label="Function call: R|kotlin/run|<R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
56 [label="Stub" style="filled" fillcolor=gray];
57 [label="Variable declaration: lval x: R|kotlin/Nothing|" style="filled" fillcolor=gray];
58 [label="Exit function test_3" style="filled" fillcolor=red];
57 [label="Stub" style="filled" fillcolor=gray];
58 [label="Variable declaration: lval x: R|kotlin/Nothing|" style="filled" fillcolor=gray];
48 [label="Exit function test_3" style="filled" fillcolor=red];
}
47 -> {48};
48 -> {49};
48 -> {54} [color=red];
49 -> {50};
50 -> {58};
50 -> {51} [style=dotted];
51 -> {52} [style=dotted];
52 -> {53} [style=dotted];
52 -> {54} [color=green];
53 -> {55} [style=dotted];
54 -> {55} [color=green];
55 -> {58 56} [style=dotted];
56 -> {57} [style=dotted];
47 -> {49};
49 -> {51};
49 -> {50} [color=red];
50 -> {55} [color=green];
51 -> {53};
52 -> {56} [style=dotted];
52 -> {50} [color=green];
53 -> {48};
53 -> {54} [style=dotted];
54 -> {52} [style=dotted];
55 -> {48 57} [style=dotted];
56 -> {55} [style=dotted];
57 -> {58} [style=dotted];
58 -> {48} [style=dotted];
}
@@ -8,7 +8,6 @@ digraph safeCalls_kt {
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph safeCalls_kt {
2 [label="Enter function bar" style="filled" fillcolor=red];
3 [label="Exit function bar" style="filled" fillcolor=red];
}
2 -> {3};
subgraph cluster_2 {
@@ -24,7 +22,6 @@ digraph safeCalls_kt {
4 [label="Enter class A" style="filled" fillcolor=red];
5 [label="Exit class A" style="filled" fillcolor=red];
}
4 -> {5} [color=green];
subgraph cluster_3 {
@@ -32,82 +29,76 @@ digraph safeCalls_kt {
6 [label="Enter function getter" style="filled" fillcolor=red];
7 [label="Exit function getter" style="filled" fillcolor=red];
}
6 -> {7};
subgraph cluster_4 {
color=red
8 [label="Enter property" style="filled" fillcolor=red];
9 [label="Exit property" style="filled" fillcolor=red];
}
8 -> {9};
subgraph cluster_5 {
color=red
10 [label="Enter function getter" style="filled" fillcolor=red];
11 [label="Exit function getter" style="filled" fillcolor=red];
}
10 -> {11};
subgraph cluster_6 {
color=red
12 [label="Enter property" style="filled" fillcolor=red];
13 [label="Exit property" style="filled" fillcolor=red];
}
12 -> {13};
subgraph cluster_7 {
subgraph cluster_5 {
color=red
14 [label="Enter class B" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
8 [label="Enter property" style="filled" fillcolor=red];
9 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
12 [label="Enter property" style="filled" fillcolor=red];
13 [label="Exit property" style="filled" fillcolor=red];
}
15 [label="Exit class B" style="filled" fillcolor=red];
}
14 -> {8} [color=green];
8 -> {9};
9 -> {12} [color=green];
12 -> {13};
13 -> {15} [color=green];
subgraph cluster_8 {
color=red
16 [label="Enter function test_1" style="filled" fillcolor=red];
17 [label="Access variable R|<local>/x|"];
18 [label="Enter safe call"];
19 [label="Function call: R|<local>/x|?.R|/A.foo|()"];
18 [label="Access variable R|<local>/x|"];
19 [label="Enter safe call"];
21 [label="Function call: R|<local>/x|?.R|/A.foo|()"];
20 [label="Exit safe call"];
21 [label="Enter safe call"];
22 [label="Function call: R|<local>/x|?.R|/A.foo|()?.R|/A.bar|()"];
22 [label="Enter safe call"];
24 [label="Function call: R|<local>/x|?.R|/A.foo|()?.R|/A.bar|()"];
23 [label="Exit safe call"];
24 [label="Exit function test_1" style="filled" fillcolor=red];
17 [label="Exit function test_1" style="filled" fillcolor=red];
}
16 -> {17};
17 -> {18 20};
18 -> {19};
19 -> {20};
20 -> {21 23};
21 -> {22};
22 -> {23};
23 -> {24};
16 -> {18};
18 -> {19 20};
19 -> {21};
20 -> {22 23};
21 -> {20};
22 -> {24};
23 -> {17};
24 -> {23};
subgraph cluster_9 {
color=red
25 [label="Enter function test_2" style="filled" fillcolor=red];
26 [label="Access variable R|<local>/x|"];
27 [label="Enter safe call"];
28 [label="Access variable R|/B.foo|"];
27 [label="Access variable R|<local>/x|"];
28 [label="Enter safe call"];
30 [label="Access variable R|/B.foo|"];
29 [label="Exit safe call"];
30 [label="Enter safe call"];
31 [label="Access variable R|/B.bar|"];
31 [label="Enter safe call"];
33 [label="Access variable R|/B.bar|"];
32 [label="Exit safe call"];
33 [label="Exit function test_2" style="filled" fillcolor=red];
26 [label="Exit function test_2" style="filled" fillcolor=red];
}
25 -> {26};
26 -> {27 29};
27 -> {28};
28 -> {29};
29 -> {30 32};
30 -> {31};
31 -> {32};
32 -> {33};
25 -> {27};
27 -> {28 29};
28 -> {30};
29 -> {31 32};
30 -> {29};
31 -> {33};
32 -> {26};
33 -> {32};
}
+10 -12
View File
@@ -8,29 +8,27 @@ digraph simple_kt {
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter function test" style="filled" fillcolor=red];
3 [label="Const: Int(1)"];
4 [label="Variable declaration: lval x: R|kotlin/Int|"];
5 [label="Access variable R|<local>/x|"];
6 [label="Const: Int(1)"];
7 [label="Function call: R|<local>/x|.R|kotlin/Int.plus|(...)"];
8 [label="Variable declaration: lval y: R|kotlin/Int|"];
9 [label="Function call: R|/foo|()"];
10 [label="Exit function test" style="filled" fillcolor=red];
4 [label="Const: Int(1)"];
5 [label="Variable declaration: lval x: R|kotlin/Int|"];
6 [label="Access variable R|<local>/x|"];
7 [label="Const: Int(1)"];
8 [label="Function call: R|<local>/x|.R|kotlin/Int.plus|(...)"];
9 [label="Variable declaration: lval y: R|kotlin/Int|"];
10 [label="Function call: R|/foo|()"];
3 [label="Exit function test" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
2 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {3};
}
+168 -171
View File
@@ -8,297 +8,294 @@ digraph tryCatch_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Try expression enter"];
2 [label="Try expression enter"];
subgraph cluster_2 {
color=blue
2 [label="Try main block enter"];
4 [label="Try main block enter"];
subgraph cluster_3 {
color=blue
3 [label="Enter block"];
4 [label="Const: Int(1)"];
5 [label="Variable declaration: lval x: R|kotlin/Int|"];
6 [label="Exit block"];
7 [label="Enter block"];
8 [label="Const: Int(1)"];
9 [label="Variable declaration: lval x: R|kotlin/Int|"];
10 [label="Exit block"];
}
7 [label="Try main block exit"];
11 [label="Try main block exit"];
}
subgraph cluster_4 {
color=blue
8 [label="Catch enter"];
6 [label="Catch enter"];
subgraph cluster_5 {
color=blue
9 [label="Enter block"];
10 [label="Const: Int(3)"];
11 [label="Variable declaration: lval z: R|kotlin/Int|"];
12 [label="Exit block"];
17 [label="Enter block"];
18 [label="Const: Int(3)"];
19 [label="Variable declaration: lval z: R|kotlin/Int|"];
20 [label="Exit block"];
}
13 [label="Catch exit"];
21 [label="Catch exit"];
}
subgraph cluster_6 {
color=blue
14 [label="Catch enter"];
5 [label="Catch enter"];
subgraph cluster_7 {
color=blue
15 [label="Enter block"];
16 [label="Const: Int(2)"];
17 [label="Variable declaration: lval y: R|kotlin/Int|"];
18 [label="Exit block"];
12 [label="Enter block"];
13 [label="Const: Int(2)"];
14 [label="Variable declaration: lval y: R|kotlin/Int|"];
15 [label="Exit block"];
}
19 [label="Catch exit"];
16 [label="Catch exit"];
}
20 [label="Try expression exit"];
3 [label="Try expression exit"];
}
21 [label="Exit function test_1" style="filled" fillcolor=red];
1 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {21 14 8 3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {20};
8 -> {21 9};
0 -> {2};
2 -> {4};
3 -> {1};
4 -> {1 5 6 7};
5 -> {1 12};
6 -> {1 17};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
11 -> {3};
12 -> {13};
13 -> {20};
14 -> {21 15};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
16 -> {3};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {3};
subgraph cluster_8 {
color=red
22 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
23 [label="Try expression enter"];
24 [label="Try expression enter"];
subgraph cluster_10 {
color=blue
24 [label="Try main block enter"];
26 [label="Try main block enter"];
subgraph cluster_11 {
color=blue
25 [label="Enter block"];
26 [label="Const: Int(1)"];
27 [label="Exit block"];
28 [label="Enter block"];
29 [label="Const: Int(1)"];
30 [label="Exit block"];
}
28 [label="Try main block exit"];
31 [label="Try main block exit"];
}
subgraph cluster_12 {
color=blue
29 [label="Catch enter"];
27 [label="Catch enter"];
subgraph cluster_13 {
color=blue
30 [label="Enter block"];
31 [label="Const: Int(2)"];
32 [label="Exit block"];
32 [label="Enter block"];
33 [label="Const: Int(2)"];
34 [label="Exit block"];
}
33 [label="Catch exit"];
35 [label="Catch exit"];
}
34 [label="Try expression exit"];
25 [label="Try expression exit"];
}
35 [label="Variable declaration: lval x: R|kotlin/Int|"];
36 [label="Exit function test_2" style="filled" fillcolor=red];
36 [label="Variable declaration: lval x: R|kotlin/Int|"];
23 [label="Exit function test_2" style="filled" fillcolor=red];
}
22 -> {23};
23 -> {24};
24 -> {36 29 25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {34};
29 -> {36 30};
22 -> {24};
24 -> {26};
25 -> {36};
26 -> {23 27 28};
27 -> {23 32};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
31 -> {25};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
35 -> {25};
36 -> {23};
subgraph cluster_14 {
color=red
37 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
38 [label="Enter while loop"];
39 [label="Enter while loop"];
subgraph cluster_16 {
color=blue
39 [label="Enter loop condition"];
40 [label="Const: Boolean(true)"];
41 [label="Exit loop condition"];
41 [label="Enter loop condition"];
42 [label="Const: Boolean(true)"];
43 [label="Exit loop condition"];
}
subgraph cluster_17 {
color=blue
42 [label="Enter loop block"];
44 [label="Enter loop block"];
subgraph cluster_18 {
color=blue
43 [label="Enter block"];
45 [label="Enter block"];
subgraph cluster_19 {
color=blue
44 [label="Try expression enter"];
46 [label="Try expression enter"];
subgraph cluster_20 {
color=blue
45 [label="Try main block enter"];
48 [label="Try main block enter"];
subgraph cluster_21 {
color=blue
46 [label="Enter block"];
51 [label="Enter block"];
subgraph cluster_22 {
color=blue
47 [label="Enter when"];
52 [label="Enter when"];
subgraph cluster_23 {
color=blue
48 [label="Enter when branch condition "];
49 [label="Access variable R|<local>/b|"];
50 [label="Exit when branch condition"];
54 [label="Enter when branch condition "];
55 [label="Access variable R|<local>/b|"];
56 [label="Exit when branch condition"];
}
51 [label="Synthetic else branch"];
52 [label="Enter when branch result"];
63 [label="Synthetic else branch"];
57 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
53 [label="Enter block"];
54 [label="Jump: ^test_3 Unit"];
55 [label="Stub" style="filled" fillcolor=gray];
56 [label="Exit block" style="filled" fillcolor=gray];
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];
}
57 [label="Exit when branch result" style="filled" fillcolor=gray];
58 [label="Exit when"];
62 [label="Exit when branch result" style="filled" fillcolor=gray];
53 [label="Exit when"];
}
59 [label="Const: Int(1)"];
60 [label="Variable declaration: lval x: R|kotlin/Int|"];
64 [label="Const: Int(1)"];
65 [label="Variable declaration: lval x: R|kotlin/Int|"];
subgraph cluster_25 {
color=blue
61 [label="Enter when"];
66 [label="Enter when"];
subgraph cluster_26 {
color=blue
62 [label="Enter when branch condition "];
63 [label="Access variable R|<local>/b|"];
64 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
65 [label="Exit when branch condition"];
68 [label="Enter when branch condition "];
69 [label="Access variable R|<local>/b|"];
70 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
71 [label="Exit when branch condition"];
}
66 [label="Synthetic else branch"];
67 [label="Enter when branch result"];
78 [label="Synthetic else branch"];
72 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
68 [label="Enter block"];
69 [label="Jump: break@@@[Boolean(true)] "];
70 [label="Stub" style="filled" fillcolor=gray];
71 [label="Exit block" style="filled" fillcolor=gray];
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];
}
72 [label="Exit when branch result" style="filled" fillcolor=gray];
73 [label="Exit when"];
77 [label="Exit when branch result" style="filled" fillcolor=gray];
67 [label="Exit when"];
}
74 [label="Exit block"];
79 [label="Exit block"];
}
75 [label="Try main block exit"];
80 [label="Try main block exit"];
}
subgraph cluster_28 {
color=blue
76 [label="Catch enter"];
50 [label="Catch enter"];
subgraph cluster_29 {
color=blue
77 [label="Enter block"];
78 [label="Jump: break@@@[Boolean(true)] "];
79 [label="Stub" style="filled" fillcolor=gray];
80 [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];
}
81 [label="Catch exit" style="filled" fillcolor=gray];
90 [label="Catch exit" style="filled" fillcolor=gray];
}
subgraph cluster_30 {
color=blue
82 [label="Catch enter"];
49 [label="Catch enter"];
subgraph cluster_31 {
color=blue
83 [label="Enter block"];
84 [label="Jump: continue@@@[Boolean(true)] "];
85 [label="Stub" style="filled" fillcolor=gray];
86 [label="Exit block" style="filled" fillcolor=gray];
81 [label="Enter block"];
82 [label="Jump: continue@@@[Boolean(true)] "];
83 [label="Stub" style="filled" fillcolor=gray];
84 [label="Exit block" style="filled" fillcolor=gray];
}
87 [label="Catch exit" style="filled" fillcolor=gray];
85 [label="Catch exit" style="filled" fillcolor=gray];
}
88 [label="Try expression exit"];
47 [label="Try expression exit"];
}
89 [label="Const: Int(2)"];
90 [label="Variable declaration: lval y: R|kotlin/Int|"];
91 [label="Exit block"];
91 [label="Const: Int(2)"];
92 [label="Variable declaration: lval y: R|kotlin/Int|"];
93 [label="Exit block"];
}
92 [label="Exit loop block"];
94 [label="Exit loop block"];
}
93 [label="Exit whileloop"];
40 [label="Exit whileloop"];
}
94 [label="Const: Int(3)"];
95 [label="Variable declaration: lval z: R|kotlin/Int|"];
96 [label="Exit function test_3" style="filled" fillcolor=red];
95 [label="Const: Int(3)"];
96 [label="Variable declaration: lval z: R|kotlin/Int|"];
38 [label="Exit function test_3" style="filled" fillcolor=red];
}
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
37 -> {39};
39 -> {41};
40 -> {95};
41 -> {42};
41 -> {93} [style=dotted];
42 -> {43};
43 -> {44};
43 -> {40} [style=dotted];
44 -> {45};
45 -> {96 82 76 46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {52 51};
51 -> {58};
52 -> {53};
53 -> {54};
54 -> {96};
54 -> {55} [style=dotted];
55 -> {56} [style=dotted];
56 -> {57} [style=dotted];
57 -> {58} [style=dotted];
45 -> {46};
46 -> {48};
47 -> {91};
48 -> {38 49 50 51};
49 -> {38 81};
50 -> {38 86};
51 -> {52};
52 -> {54};
53 -> {64};
54 -> {55};
55 -> {56};
56 -> {57 63};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
59 -> {38};
59 -> {60} [style=dotted];
60 -> {61} [style=dotted];
61 -> {62} [style=dotted];
62 -> {53} [style=dotted];
63 -> {53};
64 -> {65};
65 -> {67 66};
66 -> {73};
67 -> {68};
65 -> {66};
66 -> {68};
67 -> {79};
68 -> {69};
69 -> {93};
69 -> {70} [style=dotted];
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
72 -> {73} [style=dotted];
69 -> {70};
70 -> {71};
71 -> {72 78};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {88};
76 -> {96 77};
77 -> {78};
78 -> {93};
78 -> {79} [style=dotted];
79 -> {80} [style=dotted];
80 -> {81} [style=dotted];
81 -> {88} [style=dotted];
82 -> {96 83};
83 -> {84};
84 -> {38};
74 -> {40};
74 -> {75} [style=dotted];
75 -> {76} [style=dotted];
76 -> {77} [style=dotted];
77 -> {67} [style=dotted];
78 -> {67};
79 -> {80};
80 -> {47};
81 -> {82};
82 -> {39};
82 -> {83} [style=dotted];
83 -> {84} [style=dotted];
84 -> {85} [style=dotted];
85 -> {86} [style=dotted];
86 -> {87} [style=dotted];
85 -> {47} [style=dotted];
86 -> {87};
87 -> {40};
87 -> {88} [style=dotted];
88 -> {89};
89 -> {90};
90 -> {91};
88 -> {89} [style=dotted];
89 -> {90} [style=dotted];
90 -> {47} [style=dotted];
91 -> {92};
92 -> {39};
92 -> {93};
93 -> {94};
94 -> {95};
94 -> {41};
95 -> {96};
96 -> {38};
}
+97 -101
View File
@@ -8,133 +8,131 @@ digraph when_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter when"];
2 [label="Enter when"];
subgraph cluster_2 {
color=blue
2 [label="Enter when branch condition "];
3 [label="Access variable R|<local>/x|"];
4 [label="Const: Int(1)"];
5 [label="Operator =="];
6 [label="Exit when branch condition"];
4 [label="Enter when branch condition "];
5 [label="Access variable R|<local>/x|"];
6 [label="Const: Int(1)"];
7 [label="Operator =="];
8 [label="Exit when branch condition"];
}
subgraph cluster_3 {
color=blue
7 [label="Enter when branch condition "];
8 [label="Access variable R|<local>/x|"];
9 [label="Const: Int(2)"];
10 [label="Function call: R|<local>/x|.R|kotlin/Int.rem|(...)"];
11 [label="Const: Int(0)"];
12 [label="Operator =="];
13 [label="Exit when branch condition"];
}
subgraph cluster_4 {
color=blue
14 [label="Enter when branch condition "];
15 [label="Const: Int(1)"];
16 [label="Const: Int(1)"];
17 [label="Function call: Int(1).R|kotlin/Int.minus|(...)"];
15 [label="Access variable R|<local>/x|"];
16 [label="Const: Int(2)"];
17 [label="Function call: R|<local>/x|.R|kotlin/Int.rem|(...)"];
18 [label="Const: Int(0)"];
19 [label="Operator =="];
20 [label="Exit when branch condition"];
}
subgraph cluster_4 {
color=blue
26 [label="Enter when branch condition "];
27 [label="Const: Int(1)"];
28 [label="Const: Int(1)"];
29 [label="Function call: Int(1).R|kotlin/Int.minus|(...)"];
30 [label="Const: Int(0)"];
31 [label="Operator =="];
32 [label="Exit when branch condition"];
}
subgraph cluster_5 {
color=blue
21 [label="Enter when branch condition else"];
22 [label="Exit when branch condition"];
39 [label="Enter when branch condition else"];
40 [label="Exit when branch condition"];
}
23 [label="Enter when branch result"];
41 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
24 [label="Enter block"];
25 [label="Const: Int(5)"];
26 [label="Exit block"];
42 [label="Enter block"];
43 [label="Const: Int(5)"];
44 [label="Exit block"];
}
27 [label="Exit when branch result"];
28 [label="Enter when branch result"];
45 [label="Exit when branch result"];
33 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
29 [label="Enter block"];
30 [label="Jump: ^test_1 Unit"];
31 [label="Stub" style="filled" fillcolor=gray];
32 [label="Exit block" style="filled" fillcolor=gray];
34 [label="Enter block"];
35 [label="Jump: ^test_1 Unit"];
36 [label="Stub" style="filled" fillcolor=gray];
37 [label="Exit block" style="filled" fillcolor=gray];
}
33 [label="Exit when branch result" style="filled" fillcolor=gray];
34 [label="Enter when branch result"];
38 [label="Exit when branch result" style="filled" fillcolor=gray];
21 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
35 [label="Enter block"];
36 [label="Const: Int(20)"];
37 [label="Exit block"];
22 [label="Enter block"];
23 [label="Const: Int(20)"];
24 [label="Exit block"];
}
38 [label="Exit when branch result"];
39 [label="Enter when branch result"];
25 [label="Exit when branch result"];
9 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
40 [label="Enter block"];
41 [label="Const: Int(10)"];
42 [label="Exit block"];
10 [label="Enter block"];
11 [label="Const: Int(10)"];
12 [label="Exit block"];
}
43 [label="Exit when branch result"];
44 [label="Exit when"];
13 [label="Exit when branch result"];
3 [label="Exit when"];
}
45 [label="Variable declaration: lval y: R|kotlin/Int|"];
46 [label="Exit function test_1" style="filled" fillcolor=red];
46 [label="Variable declaration: lval y: R|kotlin/Int|"];
1 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {4};
0 -> {2};
2 -> {4};
3 -> {46};
4 -> {5};
5 -> {6};
6 -> {39 7};
6 -> {7};
7 -> {8};
8 -> {9};
8 -> {9 14};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {34 14};
13 -> {3};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {28 21};
20 -> {21 26};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
25 -> {3};
26 -> {27};
27 -> {44};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {46};
30 -> {31} [style=dotted];
31 -> {32} [style=dotted];
32 -> {33} [style=dotted];
33 -> {44} [style=dotted];
30 -> {31};
31 -> {32};
32 -> {33 39};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {44};
35 -> {1};
35 -> {36} [style=dotted];
36 -> {37} [style=dotted];
37 -> {38} [style=dotted];
38 -> {3} [style=dotted];
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
45 -> {3};
46 -> {1};
subgraph cluster_10 {
color=red
47 [label="Enter class A" style="filled" fillcolor=red];
48 [label="Exit class A" style="filled" fillcolor=red];
}
47 -> {48} [color=green];
subgraph cluster_11 {
@@ -142,7 +140,6 @@ digraph when_kt {
49 [label="Enter class B" style="filled" fillcolor=red];
50 [label="Exit class B" style="filled" fillcolor=red];
}
49 -> {50} [color=green];
subgraph cluster_12 {
@@ -150,57 +147,56 @@ digraph when_kt {
51 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
52 [label="Enter when"];
53 [label="Enter when"];
subgraph cluster_14 {
color=blue
53 [label="Enter when branch condition "];
55 [label="Enter when branch condition "];
subgraph cluster_15 {
color=blue
54 [label="Enter &&"];
55 [label="Access variable R|<local>/x|"];
56 [label="Type operator: (R|<local>/x| is R|A|)"];
57 [label="Exit left part of &&"];
58 [label="Enter right part of &&"];
59 [label="Access variable R|<local>/x|"];
60 [label="Type operator: (R|<local>/x| is R|B|)"];
61 [label="Exit &&"];
57 [label="Enter &&"];
58 [label="Access variable R|<local>/x|"];
59 [label="Type operator: (R|<local>/x| is R|A|)"];
60 [label="Exit left part of &&"];
61 [label="Enter right part of &&"];
62 [label="Access variable R|<local>/x|"];
63 [label="Type operator: (R|<local>/x| is R|B|)"];
56 [label="Exit &&"];
}
62 [label="Exit when branch condition"];
64 [label="Exit when branch condition"];
}
63 [label="Synthetic else branch"];
64 [label="Enter when branch result"];
71 [label="Synthetic else branch"];
65 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
65 [label="Enter block"];
66 [label="Access variable R|<local>/x|"];
67 [label="Type operator: (R|<local>/x| is R|A|)"];
68 [label="Exit block"];
66 [label="Enter block"];
67 [label="Access variable R|<local>/x|"];
68 [label="Type operator: (R|<local>/x| is R|A|)"];
69 [label="Exit block"];
}
69 [label="Exit when branch result"];
70 [label="Exit when"];
70 [label="Exit when branch result"];
54 [label="Exit when"];
}
71 [label="Exit function test_2" style="filled" fillcolor=red];
52 [label="Exit function test_2" style="filled" fillcolor=red];
}
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {61 58};
51 -> {53};
53 -> {55};
54 -> {52};
55 -> {57};
56 -> {64};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
60 -> {56 61};
61 -> {62};
62 -> {64 63};
63 -> {70};
64 -> {65};
62 -> {63};
63 -> {56};
64 -> {65 71};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
70 -> {54};
71 -> {54};
}