[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 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function <init>" style="filled" fillcolor=red]; 0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 2 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 1 [label="Exit function <init>" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {1};
1 -> {2};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
3 [label="Enter class Ann" style="filled" fillcolor=red]; 3 [label="Enter class Ann" style="filled" fillcolor=red];
4 [label="Exit class Ann" style="filled" fillcolor=red]; 4 [label="Exit class Ann" style="filled" fillcolor=red];
} }
3 -> {4} [color=green]; 3 -> {4} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
@@ -26,70 +24,68 @@ digraph annotatedLocalClass_kt {
5 [label="Enter function foo" style="filled" fillcolor=red]; 5 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
6 [label="Enter when"]; 7 [label="Enter when"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
7 [label="Enter when branch condition "]; 9 [label="Enter when branch condition "];
8 [label="Access variable R|<local>/b|"]; 10 [label="Access variable R|<local>/b|"];
9 [label="Exit when branch condition"]; 11 [label="Exit when branch condition"];
} }
10 [label="Synthetic else branch"]; 18 [label="Synthetic else branch"];
11 [label="Enter when branch result"]; 12 [label="Enter when branch result"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
12 [label="Enter block"]; 13 [label="Enter block"];
13 [label="Jump: ^foo Unit"]; 14 [label="Jump: ^foo Unit"];
14 [label="Stub" style="filled" fillcolor=gray]; 15 [label="Stub" style="filled" fillcolor=gray];
15 [label="Exit block" 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 branch result" style="filled" fillcolor=gray];
17 [label="Exit when"]; 8 [label="Exit when"];
} }
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
18 [label="Enter annotation"]; 19 [label="Enter annotation"];
19 [label="Exit annotation"]; 20 [label="Exit annotation"];
} }
20 [label="Exit local class foo"]; 21 [label="Exit local class foo"];
21 [label="Function call: R|/bar|()"]; 22 [label="Function call: R|/bar|()"];
22 [label="Exit function foo" style="filled" fillcolor=red]; 6 [label="Exit function foo" style="filled" fillcolor=red];
} }
5 -> {7};
5 -> {6}; 7 -> {9};
6 -> {7}; 8 -> {19};
7 -> {8}; 9 -> {10};
8 -> {9}; 10 -> {11};
9 -> {11 10}; 11 -> {12 18};
10 -> {17};
11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {22}; 13 -> {14};
13 -> {14} [style=dotted]; 14 -> {6};
14 -> {15} [style=dotted]; 14 -> {15} [style=dotted];
15 -> {16} [style=dotted]; 15 -> {16} [style=dotted];
16 -> {17} [style=dotted]; 16 -> {17} [style=dotted];
17 -> {18}; 17 -> {8} [style=dotted];
18 -> {19}; 18 -> {8};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
20 -> {23} [color=red];
21 -> {22}; 21 -> {22};
22 -> {6};
subgraph cluster_7 { subgraph cluster_7 {
color=red color=red
23 [label="Enter function <init>" style="filled" fillcolor=red]; 23 [label="Enter function <init>" style="filled" fillcolor=red];
24 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 25 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
25 [label="Exit function <init>" style="filled" fillcolor=red]; 24 [label="Exit function <init>" style="filled" fillcolor=red];
} }
23 -> {25};
23 -> {24}; 25 -> {24};
24 -> {25};
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
26 [label="Enter class Local" style="filled" fillcolor=red]; 26 [label="Enter class Local" style="filled" fillcolor=red];
27 [label="Exit class Local" style="filled" fillcolor=red]; 27 [label="Exit class Local" style="filled" fillcolor=red];
} }
26 -> {27} [color=green]; 26 -> {27} [color=green];
subgraph cluster_9 { subgraph cluster_9 {
@@ -97,7 +93,6 @@ digraph annotatedLocalClass_kt {
28 [label="Enter function bar" style="filled" fillcolor=red]; 28 [label="Enter function bar" style="filled" fillcolor=red];
29 [label="Exit function bar" style="filled" fillcolor=red]; 29 [label="Exit function bar" style="filled" fillcolor=red];
} }
28 -> {29}; 28 -> {29};
} }
@@ -8,233 +8,229 @@ digraph binaryOperations_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red]; 0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
1 [label="Enter when"]; 2 [label="Enter when"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
2 [label="Enter when branch condition "]; 4 [label="Enter when branch condition "];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
3 [label="Enter ||"]; 6 [label="Enter ||"];
4 [label="Access variable R|<local>/b1|"]; 7 [label="Access variable R|<local>/b1|"];
5 [label="Exit left part of ||"]; 8 [label="Exit left part of ||"];
6 [label="Enter right part of ||"]; 9 [label="Enter right part of ||"];
7 [label="Access variable R|<local>/b2|"]; 10 [label="Access variable R|<local>/b2|"];
8 [label="Exit ||"]; 5 [label="Exit ||"];
} }
9 [label="Exit when branch condition"]; 11 [label="Exit when branch condition"];
} }
10 [label="Synthetic else branch"]; 17 [label="Synthetic else branch"];
11 [label="Enter when branch result"]; 12 [label="Enter when branch result"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
12 [label="Enter block"]; 13 [label="Enter block"];
13 [label="Const: Int(1)"]; 14 [label="Const: Int(1)"];
14 [label="Exit block"]; 15 [label="Exit block"];
} }
15 [label="Exit when branch result"]; 16 [label="Exit when branch result"];
16 [label="Exit when"]; 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 -> {2};
0 -> {1}; 2 -> {4};
1 -> {2}; 3 -> {1};
2 -> {3}; 4 -> {6};
3 -> {4}; 5 -> {11};
4 -> {5};
5 -> {8 6};
6 -> {7}; 6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {5 9};
9 -> {11 10}; 9 -> {10};
10 -> {16}; 10 -> {5};
11 -> {12}; 11 -> {12 17};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {3};
17 -> {3};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
18 [label="Enter function test_2" style="filled" fillcolor=red]; 18 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
19 [label="Enter when"]; 20 [label="Enter when"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
20 [label="Enter when branch condition "]; 22 [label="Enter when branch condition "];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
21 [label="Enter &&"]; 24 [label="Enter &&"];
22 [label="Access variable R|<local>/b1|"]; 25 [label="Access variable R|<local>/b1|"];
23 [label="Exit left part of &&"]; 26 [label="Exit left part of &&"];
24 [label="Enter right part of &&"]; 27 [label="Enter right part of &&"];
25 [label="Access variable R|<local>/b2|"]; 28 [label="Access variable R|<local>/b2|"];
26 [label="Exit &&"]; 23 [label="Exit &&"];
} }
27 [label="Exit when branch condition"]; 29 [label="Exit when branch condition"];
} }
28 [label="Synthetic else branch"]; 35 [label="Synthetic else branch"];
29 [label="Enter when branch result"]; 30 [label="Enter when branch result"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
30 [label="Enter block"]; 31 [label="Enter block"];
31 [label="Const: Int(1)"]; 32 [label="Const: Int(1)"];
32 [label="Exit block"]; 33 [label="Exit block"];
} }
33 [label="Exit when branch result"]; 34 [label="Exit when branch result"];
34 [label="Exit when"]; 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 -> {20};
18 -> {19}; 20 -> {22};
19 -> {20}; 21 -> {19};
20 -> {21}; 22 -> {24};
21 -> {22}; 23 -> {29};
22 -> {23};
23 -> {26 24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {23 27};
27 -> {29 28}; 27 -> {28};
28 -> {34}; 28 -> {23};
29 -> {30}; 29 -> {30 35};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {21};
35 -> {21};
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
36 [label="Enter function test_3" style="filled" fillcolor=red]; 36 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
37 [label="Enter when"]; 38 [label="Enter when"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
38 [label="Enter when branch condition "]; 40 [label="Enter when branch condition "];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
39 [label="Enter ||"]; 42 [label="Enter ||"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
40 [label="Enter &&"]; 44 [label="Enter &&"];
41 [label="Access variable R|<local>/b1|"]; 45 [label="Access variable R|<local>/b1|"];
42 [label="Exit left part of &&"]; 46 [label="Exit left part of &&"];
43 [label="Enter right part of &&"]; 47 [label="Enter right part of &&"];
44 [label="Access variable R|<local>/b2|"]; 48 [label="Access variable R|<local>/b2|"];
45 [label="Exit &&"]; 43 [label="Exit &&"];
} }
46 [label="Exit left part of ||"]; 49 [label="Exit left part of ||"];
47 [label="Enter right part of ||"]; 50 [label="Enter right part of ||"];
48 [label="Access variable R|<local>/b3|"]; 51 [label="Access variable R|<local>/b3|"];
49 [label="Exit ||"]; 41 [label="Exit ||"];
} }
50 [label="Exit when branch condition"]; 52 [label="Exit when branch condition"];
} }
51 [label="Synthetic else branch"]; 58 [label="Synthetic else branch"];
52 [label="Enter when branch result"]; 53 [label="Enter when branch result"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
53 [label="Enter block"]; 54 [label="Enter block"];
54 [label="Const: Int(1)"]; 55 [label="Const: Int(1)"];
55 [label="Exit block"]; 56 [label="Exit block"];
} }
56 [label="Exit when branch result"]; 57 [label="Exit when branch result"];
57 [label="Exit when"]; 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 -> {38};
36 -> {37}; 38 -> {40};
37 -> {38}; 39 -> {37};
38 -> {39}; 40 -> {42};
39 -> {40}; 41 -> {52};
40 -> {41}; 42 -> {44};
41 -> {42}; 43 -> {49};
42 -> {45 43};
43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {49 47}; 46 -> {43 47};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {43};
49 -> {50}; 49 -> {41 50};
50 -> {52 51}; 50 -> {51};
51 -> {57}; 51 -> {41};
52 -> {53}; 52 -> {53 58};
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {57};
57 -> {58}; 57 -> {39};
58 -> {39};
subgraph cluster_16 { subgraph cluster_16 {
color=red color=red
59 [label="Enter function test_4" style="filled" fillcolor=red]; 59 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
60 [label="Enter when"]; 61 [label="Enter when"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
61 [label="Enter when branch condition "]; 63 [label="Enter when branch condition "];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
62 [label="Enter ||"]; 65 [label="Enter ||"];
63 [label="Access variable R|<local>/b1|"]; 66 [label="Access variable R|<local>/b1|"];
64 [label="Exit left part of ||"]; 67 [label="Exit left part of ||"];
65 [label="Enter right part of ||"]; 68 [label="Enter right part of ||"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
66 [label="Enter &&"]; 70 [label="Enter &&"];
67 [label="Access variable R|<local>/b2|"]; 71 [label="Access variable R|<local>/b2|"];
68 [label="Exit left part of &&"]; 72 [label="Exit left part of &&"];
69 [label="Enter right part of &&"]; 73 [label="Enter right part of &&"];
70 [label="Access variable R|<local>/b3|"]; 74 [label="Access variable R|<local>/b3|"];
71 [label="Exit &&"]; 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"]; 81 [label="Synthetic else branch"];
75 [label="Enter when branch result"]; 76 [label="Enter when branch result"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
76 [label="Enter block"]; 77 [label="Enter block"];
77 [label="Const: Int(1)"]; 78 [label="Const: Int(1)"];
78 [label="Exit block"]; 79 [label="Exit block"];
} }
79 [label="Exit when branch result"]; 80 [label="Exit when branch result"];
80 [label="Exit when"]; 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 -> {61};
59 -> {60}; 61 -> {63};
60 -> {61}; 62 -> {60};
61 -> {62}; 63 -> {65};
62 -> {63}; 64 -> {75};
63 -> {64};
64 -> {72 65};
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {64 68};
68 -> {71 69}; 68 -> {70};
69 -> {70}; 69 -> {64};
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {72};
72 -> {73}; 72 -> {69 73};
73 -> {75 74}; 73 -> {74};
74 -> {80}; 74 -> {69};
75 -> {76}; 75 -> {76 81};
76 -> {77}; 76 -> {77};
77 -> {78}; 77 -> {78};
78 -> {79}; 78 -> {79};
79 -> {80}; 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]; 0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
1 [label="Enter when"]; 2 [label="Enter when"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
2 [label="Enter when branch condition "]; 4 [label="Enter when branch condition "];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
3 [label="Enter ||"]; 6 [label="Enter ||"];
4 [label="Access variable R|<local>/b|"]; 7 [label="Access variable R|<local>/b|"];
5 [label="Exit left part of ||"]; 8 [label="Exit left part of ||"];
6 [label="Enter right part of ||"]; 9 [label="Enter right part of ||"];
7 [label="Const: Boolean(false)"]; 10 [label="Const: Boolean(false)"];
8 [label="Exit ||"]; 5 [label="Exit ||"];
} }
9 [label="Exit when branch condition"]; 11 [label="Exit when branch condition"];
} }
10 [label="Synthetic else branch"]; 17 [label="Synthetic else branch"];
11 [label="Enter when branch result"]; 12 [label="Enter when branch result"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
12 [label="Enter block"]; 13 [label="Enter block"];
13 [label="Const: Int(1)"]; 14 [label="Const: Int(1)"];
14 [label="Exit block"]; 15 [label="Exit block"];
} }
15 [label="Exit when branch result"]; 16 [label="Exit when branch result"];
16 [label="Exit when"]; 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 -> {2};
0 -> {1}; 2 -> {4};
1 -> {2}; 3 -> {1};
2 -> {3}; 4 -> {6};
3 -> {4}; 5 -> {11};
4 -> {5};
5 -> {8 6};
6 -> {7}; 6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {5 9};
9 -> {11 10}; 9 -> {10};
10 -> {16}; 10 -> {5};
11 -> {12}; 11 -> {12 17};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {3};
17 -> {3};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
18 [label="Enter function test_2" style="filled" fillcolor=red]; 18 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
19 [label="Enter when"]; 20 [label="Enter when"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
20 [label="Enter when branch condition "]; 22 [label="Enter when branch condition "];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
21 [label="Enter ||"]; 24 [label="Enter ||"];
22 [label="Const: Boolean(false)"]; 25 [label="Const: Boolean(false)"];
23 [label="Exit left part of ||"]; 26 [label="Exit left part of ||"];
24 [label="Enter right part of ||"]; 27 [label="Enter right part of ||"];
25 [label="Access variable R|<local>/b|"]; 28 [label="Access variable R|<local>/b|"];
26 [label="Exit ||"]; 23 [label="Exit ||"];
} }
27 [label="Exit when branch condition"]; 29 [label="Exit when branch condition"];
} }
28 [label="Synthetic else branch"]; 35 [label="Synthetic else branch"];
29 [label="Enter when branch result"]; 30 [label="Enter when branch result"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
30 [label="Enter block"]; 31 [label="Enter block"];
31 [label="Const: Int(1)"]; 32 [label="Const: Int(1)"];
32 [label="Exit block"]; 33 [label="Exit block"];
} }
33 [label="Exit when branch result"]; 34 [label="Exit when branch result"];
34 [label="Exit when"]; 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 -> {20};
18 -> {19}; 20 -> {22};
19 -> {20}; 21 -> {19};
20 -> {21}; 22 -> {24};
21 -> {22}; 23 -> {29};
22 -> {23};
23 -> {24};
23 -> {26} [style=dotted];
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {29 28}; 26 -> {23} [style=dotted];
28 -> {34}; 27 -> {28};
29 -> {30}; 28 -> {23};
29 -> {30 35};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {21};
35 -> {21};
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
36 [label="Enter function test_3" style="filled" fillcolor=red]; 36 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
37 [label="Enter when"]; 38 [label="Enter when"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
38 [label="Enter when branch condition "]; 40 [label="Enter when branch condition "];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
39 [label="Enter ||"]; 42 [label="Enter ||"];
40 [label="Access variable R|<local>/b|"]; 43 [label="Access variable R|<local>/b|"];
41 [label="Exit left part of ||"]; 44 [label="Exit left part of ||"];
42 [label="Enter right part of ||"]; 45 [label="Enter right part of ||"];
43 [label="Const: Boolean(true)"]; 46 [label="Const: Boolean(true)"];
44 [label="Exit ||"]; 41 [label="Exit ||"];
} }
45 [label="Exit when branch condition"]; 47 [label="Exit when branch condition"];
} }
46 [label="Synthetic else branch"]; 53 [label="Synthetic else branch"];
47 [label="Enter when branch result"]; 48 [label="Enter when branch result"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
48 [label="Enter block"]; 49 [label="Enter block"];
49 [label="Const: Int(1)"]; 50 [label="Const: Int(1)"];
50 [label="Exit block"]; 51 [label="Exit block"];
} }
51 [label="Exit when branch result"]; 52 [label="Exit when branch result"];
52 [label="Exit when"]; 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 -> {38};
36 -> {37}; 38 -> {40};
37 -> {38}; 39 -> {37};
38 -> {39}; 40 -> {42};
39 -> {40}; 41 -> {47};
40 -> {41};
41 -> {44 42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {41 45};
45 -> {47 46}; 45 -> {46};
46 -> {52}; 46 -> {41};
47 -> {48}; 47 -> {48 53};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {39};
53 -> {39};
subgraph cluster_15 { subgraph cluster_15 {
color=red color=red
54 [label="Enter function test_4" style="filled" fillcolor=red]; 54 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
55 [label="Enter when"]; 56 [label="Enter when"];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
56 [label="Enter when branch condition "]; 58 [label="Enter when branch condition "];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
57 [label="Enter ||"]; 60 [label="Enter ||"];
58 [label="Const: Boolean(true)"]; 61 [label="Const: Boolean(true)"];
59 [label="Exit left part of ||"]; 62 [label="Exit left part of ||"];
60 [label="Enter right part of ||" style="filled" fillcolor=gray]; 63 [label="Enter right part of ||" style="filled" fillcolor=gray];
61 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray]; 64 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray];
62 [label="Exit ||"]; 59 [label="Exit ||"];
} }
63 [label="Exit when branch condition"]; 65 [label="Exit when branch condition"];
} }
64 [label="Synthetic else branch"]; 71 [label="Synthetic else branch"];
65 [label="Enter when branch result"]; 66 [label="Enter when branch result"];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
66 [label="Enter block"]; 67 [label="Enter block"];
67 [label="Const: Int(1)"]; 68 [label="Const: Int(1)"];
68 [label="Exit block"]; 69 [label="Exit block"];
} }
69 [label="Exit when branch result"]; 70 [label="Exit when branch result"];
70 [label="Exit when"]; 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 -> {56};
54 -> {55}; 56 -> {58};
55 -> {56}; 57 -> {55};
56 -> {57}; 58 -> {60};
57 -> {58}; 59 -> {65};
58 -> {59}; 60 -> {61};
59 -> {62}; 61 -> {62};
59 -> {60} [style=dotted]; 62 -> {59};
60 -> {61} [style=dotted]; 62 -> {63} [style=dotted];
61 -> {62} [style=dotted]; 63 -> {64} [style=dotted];
62 -> {63}; 64 -> {59} [style=dotted];
63 -> {65 64}; 65 -> {66 71};
64 -> {70};
65 -> {66};
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {57};
71 -> {57};
subgraph cluster_20 { subgraph cluster_20 {
color=red color=red
72 [label="Enter function test_5" style="filled" fillcolor=red]; 72 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
73 [label="Enter when"]; 74 [label="Enter when"];
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
74 [label="Enter when branch condition "]; 76 [label="Enter when branch condition "];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
75 [label="Enter &&"]; 78 [label="Enter &&"];
76 [label="Access variable R|<local>/b|"]; 79 [label="Access variable R|<local>/b|"];
77 [label="Exit left part of &&"]; 80 [label="Exit left part of &&"];
78 [label="Enter right part of &&"]; 81 [label="Enter right part of &&"];
79 [label="Const: Boolean(false)"]; 82 [label="Const: Boolean(false)"];
80 [label="Exit &&"]; 77 [label="Exit &&"];
} }
81 [label="Exit when branch condition"]; 83 [label="Exit when branch condition"];
} }
82 [label="Synthetic else branch"]; 89 [label="Synthetic else branch"];
83 [label="Enter when branch result"]; 84 [label="Enter when branch result"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
84 [label="Enter block"]; 85 [label="Enter block"];
85 [label="Const: Int(1)"]; 86 [label="Const: Int(1)"];
86 [label="Exit block"]; 87 [label="Exit block"];
} }
87 [label="Exit when branch result"]; 88 [label="Exit when branch result"];
88 [label="Exit when"]; 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 -> {74};
72 -> {73}; 74 -> {76};
73 -> {74}; 75 -> {73};
74 -> {75}; 76 -> {78};
75 -> {76}; 77 -> {83};
76 -> {77};
77 -> {80 78};
78 -> {79}; 78 -> {79};
79 -> {80}; 79 -> {80};
80 -> {81}; 80 -> {77 81};
81 -> {83 82}; 81 -> {82};
82 -> {88}; 82 -> {77};
83 -> {84}; 83 -> {84 89};
84 -> {85}; 84 -> {85};
85 -> {86}; 85 -> {86};
86 -> {87}; 86 -> {87};
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {75};
89 -> {75};
subgraph cluster_25 { subgraph cluster_25 {
color=red color=red
90 [label="Enter function test_6" style="filled" fillcolor=red]; 90 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
91 [label="Enter when"]; 92 [label="Enter when"];
subgraph cluster_27 { subgraph cluster_27 {
color=blue color=blue
92 [label="Enter when branch condition "]; 94 [label="Enter when branch condition "];
subgraph cluster_28 { subgraph cluster_28 {
color=blue color=blue
93 [label="Enter &&"]; 96 [label="Enter &&"];
94 [label="Const: Boolean(false)"]; 97 [label="Const: Boolean(false)"];
95 [label="Exit left part of &&"]; 98 [label="Exit left part of &&"];
96 [label="Enter right part of &&" style="filled" fillcolor=gray]; 99 [label="Enter right part of &&" style="filled" fillcolor=gray];
97 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray]; 100 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray];
98 [label="Exit &&"]; 95 [label="Exit &&"];
} }
99 [label="Exit when branch condition"]; 101 [label="Exit when branch condition"];
} }
100 [label="Synthetic else branch"]; 107 [label="Synthetic else branch"];
101 [label="Enter when branch result"]; 102 [label="Enter when branch result"];
subgraph cluster_29 { subgraph cluster_29 {
color=blue color=blue
102 [label="Enter block"]; 103 [label="Enter block"];
103 [label="Const: Int(1)"]; 104 [label="Const: Int(1)"];
104 [label="Exit block"]; 105 [label="Exit block"];
} }
105 [label="Exit when branch result"]; 106 [label="Exit when branch result"];
106 [label="Exit when"]; 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 -> {92};
90 -> {91}; 92 -> {94};
91 -> {92}; 93 -> {91};
92 -> {93}; 94 -> {96};
93 -> {94}; 95 -> {101};
94 -> {95}; 96 -> {97};
95 -> {98}; 97 -> {98};
95 -> {96} [style=dotted]; 98 -> {95};
96 -> {97} [style=dotted]; 98 -> {99} [style=dotted];
97 -> {98} [style=dotted]; 99 -> {100} [style=dotted];
98 -> {99}; 100 -> {95} [style=dotted];
99 -> {101 100}; 101 -> {102 107};
100 -> {106};
101 -> {102};
102 -> {103}; 102 -> {103};
103 -> {104}; 103 -> {104};
104 -> {105}; 104 -> {105};
105 -> {106}; 105 -> {106};
106 -> {107}; 106 -> {93};
107 -> {93};
subgraph cluster_30 { subgraph cluster_30 {
color=red color=red
108 [label="Enter function test_7" style="filled" fillcolor=red]; 108 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_31 { subgraph cluster_31 {
color=blue color=blue
109 [label="Enter when"]; 110 [label="Enter when"];
subgraph cluster_32 { subgraph cluster_32 {
color=blue color=blue
110 [label="Enter when branch condition "]; 112 [label="Enter when branch condition "];
subgraph cluster_33 { subgraph cluster_33 {
color=blue color=blue
111 [label="Enter &&"]; 114 [label="Enter &&"];
112 [label="Access variable R|<local>/b|"]; 115 [label="Access variable R|<local>/b|"];
113 [label="Exit left part of &&"]; 116 [label="Exit left part of &&"];
114 [label="Enter right part of &&"]; 117 [label="Enter right part of &&"];
115 [label="Const: Boolean(true)"]; 118 [label="Const: Boolean(true)"];
116 [label="Exit &&"]; 113 [label="Exit &&"];
} }
117 [label="Exit when branch condition"]; 119 [label="Exit when branch condition"];
} }
118 [label="Synthetic else branch"]; 125 [label="Synthetic else branch"];
119 [label="Enter when branch result"]; 120 [label="Enter when branch result"];
subgraph cluster_34 { subgraph cluster_34 {
color=blue color=blue
120 [label="Enter block"]; 121 [label="Enter block"];
121 [label="Const: Int(1)"]; 122 [label="Const: Int(1)"];
122 [label="Exit block"]; 123 [label="Exit block"];
} }
123 [label="Exit when branch result"]; 124 [label="Exit when branch result"];
124 [label="Exit when"]; 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 -> {110};
108 -> {109}; 110 -> {112};
109 -> {110}; 111 -> {109};
110 -> {111}; 112 -> {114};
111 -> {112}; 113 -> {119};
112 -> {113};
113 -> {116 114};
114 -> {115}; 114 -> {115};
115 -> {116}; 115 -> {116};
116 -> {117}; 116 -> {113 117};
117 -> {119 118}; 117 -> {118};
118 -> {124}; 118 -> {113};
119 -> {120}; 119 -> {120 125};
120 -> {121}; 120 -> {121};
121 -> {122}; 121 -> {122};
122 -> {123}; 122 -> {123};
123 -> {124}; 123 -> {124};
124 -> {125}; 124 -> {111};
125 -> {111};
subgraph cluster_35 { subgraph cluster_35 {
color=red color=red
126 [label="Enter function test_8" style="filled" fillcolor=red]; 126 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_36 { subgraph cluster_36 {
color=blue color=blue
127 [label="Enter when"]; 128 [label="Enter when"];
subgraph cluster_37 { subgraph cluster_37 {
color=blue color=blue
128 [label="Enter when branch condition "]; 130 [label="Enter when branch condition "];
subgraph cluster_38 { subgraph cluster_38 {
color=blue color=blue
129 [label="Enter &&"]; 132 [label="Enter &&"];
130 [label="Const: Boolean(true)"]; 133 [label="Const: Boolean(true)"];
131 [label="Exit left part of &&"]; 134 [label="Exit left part of &&"];
132 [label="Enter right part of &&"]; 135 [label="Enter right part of &&"];
133 [label="Access variable R|<local>/b|"]; 136 [label="Access variable R|<local>/b|"];
134 [label="Exit &&"]; 131 [label="Exit &&"];
} }
135 [label="Exit when branch condition"]; 137 [label="Exit when branch condition"];
} }
136 [label="Synthetic else branch"]; 143 [label="Synthetic else branch"];
137 [label="Enter when branch result"]; 138 [label="Enter when branch result"];
subgraph cluster_39 { subgraph cluster_39 {
color=blue color=blue
138 [label="Enter block"]; 139 [label="Enter block"];
139 [label="Const: Int(1)"]; 140 [label="Const: Int(1)"];
140 [label="Exit block"]; 141 [label="Exit block"];
} }
141 [label="Exit when branch result"]; 142 [label="Exit when branch result"];
142 [label="Exit when"]; 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 -> {128};
126 -> {127}; 128 -> {130};
127 -> {128}; 129 -> {127};
128 -> {129}; 130 -> {132};
129 -> {130}; 131 -> {137};
130 -> {131};
131 -> {132};
131 -> {134} [style=dotted];
132 -> {133}; 132 -> {133};
133 -> {134}; 133 -> {134};
134 -> {135}; 134 -> {135};
135 -> {137 136}; 134 -> {131} [style=dotted];
136 -> {142}; 135 -> {136};
137 -> {138}; 136 -> {131};
137 -> {138 143};
138 -> {139}; 138 -> {139};
139 -> {140}; 139 -> {140};
140 -> {141}; 140 -> {141};
141 -> {142}; 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]; 0 [label="Enter function close" style="filled" fillcolor=red];
1 [label="Exit function close" style="filled" fillcolor=red]; 1 [label="Exit function close" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph complex_kt {
2 [label="Enter class AutoCloseable" style="filled" fillcolor=red]; 2 [label="Enter class AutoCloseable" style="filled" fillcolor=red];
3 [label="Exit class AutoCloseable" style="filled" fillcolor=red]; 3 [label="Exit class AutoCloseable" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 2 -> {3} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
@@ -24,7 +22,6 @@ digraph complex_kt {
4 [label="Enter function addSuppressed" style="filled" fillcolor=red]; 4 [label="Enter function addSuppressed" style="filled" fillcolor=red];
5 [label="Exit function addSuppressed" style="filled" fillcolor=red]; 5 [label="Exit function addSuppressed" style="filled" fillcolor=red];
} }
4 -> {5}; 4 -> {5};
subgraph cluster_3 { subgraph cluster_3 {
@@ -32,82 +29,82 @@ digraph complex_kt {
6 [label="Enter function closeFinally" style="filled" fillcolor=red]; 6 [label="Enter function closeFinally" style="filled" fillcolor=red];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
7 [label="Enter when"]; 8 [label="Enter when"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
8 [label="Enter when branch condition "]; 10 [label="Enter when branch condition "];
9 [label="Access variable this@R|/closeFinally|"]; 11 [label="Access variable this@R|/closeFinally|"];
10 [label="Const: Null(null)"]; 12 [label="Const: Null(null)"];
11 [label="Operator =="]; 13 [label="Operator =="];
12 [label="Exit when branch condition"]; 14 [label="Exit when branch condition"];
} }
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
13 [label="Enter when branch condition "]; 19 [label="Enter when branch condition "];
14 [label="Access variable R|<local>/cause|"]; 20 [label="Access variable R|<local>/cause|"];
15 [label="Const: Null(null)"]; 21 [label="Const: Null(null)"];
16 [label="Operator =="]; 22 [label="Operator =="];
17 [label="Exit when branch condition"]; 23 [label="Exit when branch condition"];
} }
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
18 [label="Enter when branch condition else"]; 29 [label="Enter when branch condition else"];
19 [label="Exit when branch condition"]; 30 [label="Exit when branch condition"];
} }
20 [label="Enter when branch result"]; 31 [label="Enter when branch result"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
21 [label="Enter block"]; 32 [label="Enter block"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
22 [label="Try expression enter"]; 33 [label="Try expression enter"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
23 [label="Try main block enter"]; 35 [label="Try main block enter"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
24 [label="Enter block"]; 37 [label="Enter block"];
25 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()"]; 38 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()"];
26 [label="Exit block"]; 39 [label="Exit block"];
} }
27 [label="Try main block exit"]; 40 [label="Try main block exit"];
} }
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
28 [label="Catch enter"]; 36 [label="Catch enter"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
29 [label="Enter block"]; 41 [label="Enter block"];
30 [label="Access variable R|<local>/cause|"]; 42 [label="Access variable R|<local>/cause|"];
31 [label="Access variable R|<local>/closeException|"]; 43 [label="Access variable R|<local>/closeException|"];
32 [label="Function call: R|<local>/cause|.R|/addSuppressed|(...)"]; 44 [label="Function call: R|<local>/cause|.R|/addSuppressed|(...)"];
33 [label="Exit block"]; 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"]; 48 [label="Exit when branch result"];
38 [label="Enter when branch result"]; 24 [label="Enter when branch result"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
39 [label="Enter block"]; 25 [label="Enter block"];
40 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()"]; 26 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()"];
41 [label="Exit block"]; 27 [label="Exit block"];
} }
42 [label="Exit when branch result"]; 28 [label="Exit when branch result"];
43 [label="Enter when branch result"]; 15 [label="Enter when branch result"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
44 [label="Enter block"]; 16 [label="Enter block"];
45 [label="Exit block"]; 17 [label="Exit block"];
} }
46 [label="Exit when branch result"]; 18 [label="Exit when branch result"];
47 [label="Exit when"]; 9 [label="Exit when"];
} }
48 [label="Jump: ^closeFinally when () { 49 [label="Jump: ^closeFinally when () {
==(this@R|/closeFinally|, Null(null)) -> { ==(this@R|/closeFinally|, Null(null)) -> {
} }
==(R|<local>/cause|, Null(null)) -> { ==(R|<local>/cause|, Null(null)) -> {
@@ -124,151 +121,149 @@ digraph complex_kt {
} }
} }
"]; "];
49 [label="Stub" style="filled" fillcolor=gray]; 50 [label="Stub" style="filled" fillcolor=gray];
50 [label="Exit function closeFinally" style="filled" fillcolor=red]; 7 [label="Exit function closeFinally" style="filled" fillcolor=red];
} }
6 -> {8};
6 -> {7}; 8 -> {10};
7 -> {8}; 9 -> {49};
8 -> {9};
9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {43 13}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15 19};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {38 18}; 17 -> {18};
18 -> {19}; 18 -> {9};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {50 28 24}; 23 -> {24 29};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {35}; 27 -> {28};
28 -> {50 29}; 28 -> {9};
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34}; 33 -> {35};
34 -> {35}; 34 -> {47};
35 -> {36}; 35 -> {7 36 37};
36 -> {37}; 36 -> {7 41};
37 -> {47}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {34};
41 -> {42}; 41 -> {42};
42 -> {47}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {34};
47 -> {48}; 47 -> {48};
48 -> {50}; 48 -> {9};
48 -> {49} [style=dotted]; 49 -> {7};
49 -> {50} [style=dotted]; 49 -> {50} [style=dotted];
50 -> {7} [style=dotted];
subgraph cluster_16 { subgraph cluster_16 {
color=red color=red
51 [label="Enter function firstIsInstanceOrNull" style="filled" fillcolor=red]; 51 [label="Enter function firstIsInstanceOrNull" style="filled" fillcolor=red];
52 [label="Access variable this@R|/firstIsInstanceOrNull|"]; 53 [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="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?>|"]; 55 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Any?>|"];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
55 [label="Enter while loop"]; 56 [label="Enter while loop"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
56 [label="Enter loop condition"]; 58 [label="Enter loop condition"];
57 [label="Access variable R|<local>/<iterator>|"]; 59 [label="Access variable R|<local>/<iterator>|"];
58 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"]; 60 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
59 [label="Exit loop condition"]; 61 [label="Exit loop condition"];
} }
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
60 [label="Enter loop block"]; 62 [label="Enter loop block"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
61 [label="Enter block"]; 63 [label="Enter block"];
62 [label="Access variable R|<local>/<iterator>|"]; 64 [label="Access variable R|<local>/<iterator>|"];
63 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|kotlin/Any?|>|()"]; 65 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|kotlin/Any?|>|()"];
64 [label="Variable declaration: lval element: R|kotlin/Any?|"]; 66 [label="Variable declaration: lval element: R|kotlin/Any?|"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
65 [label="Enter when"]; 67 [label="Enter when"];
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
66 [label="Enter when branch condition "]; 69 [label="Enter when branch condition "];
67 [label="Access variable R|<local>/element|"]; 70 [label="Access variable R|<local>/element|"];
68 [label="Type operator: (R|<local>/element| is R|T|)"]; 71 [label="Type operator: (R|<local>/element| is R|T|)"];
69 [label="Exit when branch condition"]; 72 [label="Exit when branch condition"];
} }
70 [label="Synthetic else branch"]; 80 [label="Synthetic else branch"];
71 [label="Enter when branch result"]; 73 [label="Enter when branch result"];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
72 [label="Enter block"]; 74 [label="Enter block"];
73 [label="Access variable R|<local>/element|"]; 75 [label="Access variable R|<local>/element|"];
74 [label="Jump: ^firstIsInstanceOrNull R|<local>/element|"]; 76 [label="Jump: ^firstIsInstanceOrNull R|<local>/element|"];
75 [label="Stub" style="filled" fillcolor=gray]; 77 [label="Stub" style="filled" fillcolor=gray];
76 [label="Exit block" style="filled" fillcolor=gray]; 78 [label="Exit block" style="filled" fillcolor=gray];
} }
77 [label="Exit when branch result" style="filled" fillcolor=gray]; 79 [label="Exit when branch result" style="filled" fillcolor=gray];
78 [label="Exit when"]; 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="Const: Null(null)"];
83 [label="Jump: ^firstIsInstanceOrNull Null(null)"]; 84 [label="Jump: ^firstIsInstanceOrNull Null(null)"];
84 [label="Stub" style="filled" fillcolor=gray]; 85 [label="Stub" style="filled" fillcolor=gray];
85 [label="Exit function firstIsInstanceOrNull" style="filled" fillcolor=red]; 52 [label="Exit function firstIsInstanceOrNull" style="filled" fillcolor=red];
} }
51 -> {53};
51 -> {52};
52 -> {53};
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {58};
57 -> {58}; 57 -> {83};
58 -> {59}; 58 -> {59};
59 -> {81 60}; 59 -> {60};
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {57 62};
62 -> {63}; 62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {69};
68 -> {69}; 68 -> {81};
69 -> {71 70}; 69 -> {70};
70 -> {78}; 70 -> {71};
71 -> {72}; 71 -> {72};
72 -> {73}; 72 -> {73 80};
73 -> {74}; 73 -> {74};
74 -> {85}; 74 -> {75};
74 -> {75} [style=dotted]; 75 -> {76};
75 -> {76} [style=dotted]; 76 -> {52};
76 -> {77} [style=dotted]; 76 -> {77} [style=dotted];
77 -> {78} [style=dotted]; 77 -> {78} [style=dotted];
78 -> {79}; 78 -> {79} [style=dotted];
79 -> {80}; 79 -> {68} [style=dotted];
80 -> {56}; 80 -> {68};
81 -> {82}; 81 -> {82};
82 -> {83}; 82 -> {58};
83 -> {85}; 83 -> {84};
83 -> {84} [style=dotted]; 84 -> {52};
84 -> {85} [style=dotted]; 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]; 0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
1 [label="Enter when"]; 2 [label="Enter when"];
2 [label="Synthetic else branch"]; 4 [label="Synthetic else branch"];
3 [label="Exit when"]; 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 -> {2};
0 -> {1}; 2 -> {4};
1 -> {2}; 3 -> {1};
2 -> {3}; 4 -> {3};
3 -> {4};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
5 [label="Enter function test_2" style="filled" fillcolor=red]; 5 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
6 [label="Enter when"]; 7 [label="Enter when"];
7 [label="Access variable R|<local>/x|"]; 9 [label="Access variable R|<local>/x|"];
8 [label="Synthetic else branch"]; 10 [label="Synthetic else branch"];
9 [label="Exit when"]; 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 -> {7};
5 -> {6}; 7 -> {9};
6 -> {7}; 8 -> {6};
7 -> {8};
8 -> {9};
9 -> {10}; 9 -> {10};
10 -> {8};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
11 [label="Enter function test_3" style="filled" fillcolor=red]; 11 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
12 [label="Enter when"]; 13 [label="Enter when"];
13 [label="Access variable R|<local>/x|"]; 15 [label="Access variable R|<local>/x|"];
14 [label="Variable declaration: lval y: R|kotlin/Int|"]; 16 [label="Variable declaration: lval y: R|kotlin/Int|"];
15 [label="Synthetic else branch"]; 17 [label="Synthetic else branch"];
16 [label="Exit when"]; 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 -> {13};
11 -> {12}; 13 -> {15};
12 -> {13}; 14 -> {12};
13 -> {14};
14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {14};
} }
@@ -8,306 +8,317 @@ digraph flowFromInplaceLambda_kt {
0 [label="Enter function takeInt" style="filled" fillcolor=red]; 0 [label="Enter function takeInt" style="filled" fillcolor=red];
1 [label="Exit function takeInt" style="filled" fillcolor=red]; 1 [label="Exit function takeInt" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
2 [label="Enter function select" style="filled" fillcolor=red]; 2 [label="Enter function select" style="filled" fillcolor=red];
3 [label="Access variable R|<local>/x|"]; 4 [label="Access variable R|<local>/x|"];
4 [label="Const: Int(0)"]; 5 [label="Const: Int(0)"];
5 [label="Function call: R|<local>/x|.R|FakeOverride<kotlin/Array.get: R|K|>|(...)"]; 6 [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="Jump: ^select R|<local>/x|.R|FakeOverride<kotlin/Array.get: R|K|>|(Int(0))"];
7 [label="Stub" style="filled" fillcolor=gray]; 8 [label="Stub" style="filled" fillcolor=gray];
8 [label="Exit function select" style="filled" fillcolor=red]; 3 [label="Exit function select" style="filled" fillcolor=red];
} }
2 -> {4};
2 -> {3};
3 -> {4};
4 -> {5}; 4 -> {5};
5 -> {6}; 5 -> {6};
6 -> {8}; 6 -> {7};
6 -> {7} [style=dotted]; 7 -> {3};
7 -> {8} [style=dotted]; 7 -> {8} [style=dotted];
8 -> {3} [style=dotted];
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
9 [label="Enter function id" style="filled" fillcolor=red]; 9 [label="Enter function id" style="filled" fillcolor=red];
10 [label="Access variable R|<local>/x|"]; 11 [label="Access variable R|<local>/x|"];
11 [label="Jump: ^id R|<local>/x|"]; 12 [label="Jump: ^id R|<local>/x|"];
12 [label="Stub" style="filled" fillcolor=gray]; 13 [label="Stub" style="filled" fillcolor=gray];
13 [label="Exit function id" style="filled" fillcolor=red]; 10 [label="Exit function id" style="filled" fillcolor=red];
} }
9 -> {11};
9 -> {10}; 11 -> {12};
10 -> {11}; 12 -> {10};
11 -> {13};
11 -> {12} [style=dotted];
12 -> {13} [style=dotted]; 12 -> {13} [style=dotted];
13 -> {10} [style=dotted];
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
14 [label="Enter function materialize" style="filled" fillcolor=red]; 14 [label="Enter function materialize" style="filled" fillcolor=red];
15 [label="Const: Null(null)"]; 16 [label="Const: Null(null)"];
16 [label="Check not null: Null(null)!!"]; 17 [label="Check not null: Null(null)!!"];
17 [label="Jump: ^materialize Null(null)!!"]; 18 [label="Jump: ^materialize Null(null)!!"];
18 [label="Stub" style="filled" fillcolor=gray]; 19 [label="Stub" style="filled" fillcolor=gray];
19 [label="Exit function materialize" style="filled" fillcolor=red]; 15 [label="Exit function materialize" style="filled" fillcolor=red];
} }
14 -> {16};
14 -> {15};
15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {19}; 17 -> {18};
17 -> {18} [style=dotted]; 18 -> {15};
18 -> {19} [style=dotted]; 18 -> {19} [style=dotted];
19 -> {15} [style=dotted];
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
20 [label="Enter function myRun" style="filled" fillcolor=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="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="Jump: ^myRun R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|R|>|()"];
23 [label="Stub" style="filled" fillcolor=gray]; 24 [label="Stub" style="filled" fillcolor=gray];
24 [label="Exit function myRun" style="filled" fillcolor=red]; 21 [label="Exit function myRun" style="filled" fillcolor=red];
} }
20 -> {22};
20 -> {21}; 22 -> {23};
21 -> {22}; 23 -> {21};
22 -> {24};
22 -> {23} [style=dotted];
23 -> {24} [style=dotted]; 23 -> {24} [style=dotted];
24 -> {21} [style=dotted];
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
25 [label="Enter function test_1" style="filled" fillcolor=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 { subgraph cluster_6 {
color=blue color=blue
27 [label="Enter function anonymousFunction"]; 29 [label="Enter function anonymousFunction"];
28 [label="Access variable R|<local>/x|"]; 31 [label="Access variable R|<local>/x|"];
29 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"]; 32 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
30 [label="Exit function anonymousFunction"]; 30 [label="Exit function anonymousFunction"];
} }
31 [label="Call arguments union" style="filled" fillcolor=yellow]; 34 [label="Call arguments union" style="filled" fillcolor=yellow];
32 [label="Postponed exit from lambda"]; 28 [label="Postponed exit from lambda"];
33 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"]; 33 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
34 [label="Access variable R|<local>/x|"]; 35 [label="Access variable R|<local>/x|"];
35 [label="Function call: R|/takeInt|(...)"]; 36 [label="Function call: R|/takeInt|(...)"];
36 [label="Exit function test_1" style="filled" fillcolor=red]; 26 [label="Exit function test_1" style="filled" fillcolor=red];
} }
25 -> {27};
25 -> {26}; 27 -> {29};
26 -> {27}; 27 -> {28} [color=red];
26 -> {32} [color=red]; 28 -> {33} [color=green];
27 -> {28}; 29 -> {31};
28 -> {29}; 30 -> {28} [color=green];
29 -> {30}; 30 -> {34} [color=red];
30 -> {32} [color=green]; 31 -> {32};
30 -> {31} [color=red]; 32 -> {30};
31 -> {33} [color=red]; 33 -> {35};
32 -> {33} [color=green]; 34 -> {33} [color=red];
33 -> {34};
34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {26};
subgraph cluster_7 { subgraph cluster_7 {
color=red color=red
37 [label="Enter function test_2" style="filled" fillcolor=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 { subgraph cluster_8 {
color=blue color=blue
39 [label="Enter function anonymousFunction"]; 41 [label="Enter function anonymousFunction"];
40 [label="Access variable R|<local>/y|"]; 43 [label="Access variable R|<local>/y|"];
41 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"]; 44 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"];
42 [label="Access variable R|<local>/x|"]; 45 [label="Access variable R|<local>/x|"];
43 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"]; 46 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
44 [label="Exit function anonymousFunction"]; 42 [label="Exit function anonymousFunction"];
} }
45 [label="Postponed exit from lambda"]; 40 [label="Postponed exit from lambda"];
46 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"]; 47 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
47 [label="Call arguments union" style="filled" fillcolor=yellow]; 49 [label="Call arguments union" style="filled" fillcolor=yellow];
48 [label="Function call: R|/id|<R|kotlin/Int|>(...)"]; 48 [label="Function call: R|/id|<R|kotlin/Int|>(...)"];
49 [label="Access variable R|<local>/y|"]; 50 [label="Access variable R|<local>/y|"];
50 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"]; 51 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"];
51 [label="Postponed enter to lambda"]; 52 [label="Postponed enter to lambda"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
52 [label="Enter function anonymousFunction"]; 54 [label="Enter function anonymousFunction"];
53 [label="Access variable R|<local>/x|"]; 56 [label="Access variable R|<local>/x|"];
54 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"]; 57 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
55 [label="Access variable R|<local>/y|"]; 58 [label="Access variable R|<local>/y|"];
56 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"]; 59 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
57 [label="Const: Int(1)"]; 60 [label="Const: Int(1)"];
58 [label="Exit function anonymousFunction"]; 55 [label="Exit function anonymousFunction"];
} }
59 [label="Postponed exit from lambda"]; 53 [label="Postponed exit from lambda"];
60 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"]; 61 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
61 [label="Call arguments union" style="filled" fillcolor=yellow]; 63 [label="Call arguments union" style="filled" fillcolor=yellow];
62 [label="Function call: R|/select|<R|kotlin/Int|>(...)"]; 62 [label="Function call: R|/select|<R|kotlin/Int|>(...)"];
63 [label="Variable declaration: lval a: R|kotlin/Int|"]; 64 [label="Variable declaration: lval a: R|kotlin/Int|"];
64 [label="Access variable R|<local>/x|"]; 65 [label="Access variable R|<local>/x|"];
65 [label="Function call: R|/takeInt|(...)"]; 66 [label="Function call: R|/takeInt|(...)"];
66 [label="Access variable R|<local>/y|"]; 67 [label="Access variable R|<local>/y|"];
67 [label="Function call: R|/takeInt|(...)"]; 68 [label="Function call: R|/takeInt|(...)"];
68 [label="Access variable R|<local>/a|"]; 69 [label="Access variable R|<local>/a|"];
69 [label="Function call: R|/takeInt|(...)"]; 70 [label="Function call: R|/takeInt|(...)"];
70 [label="Exit function test_2" style="filled" fillcolor=red]; 38 [label="Exit function test_2" style="filled" fillcolor=red];
} }
37 -> {39};
37 -> {38}; 39 -> {41};
38 -> {39}; 39 -> {40} [color=red];
38 -> {45} [color=red]; 40 -> {47};
39 -> {40}; 41 -> {43};
40 -> {41}; 42 -> {40} [color=green];
41 -> {42}; 42 -> {49} [color=red];
42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45} [color=green]; 44 -> {45};
44 -> {47} [color=red];
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {42};
47 -> {48}; 47 -> {49};
48 -> {49}; 48 -> {50};
49 -> {50}; 49 -> {48};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
51 -> {59} [color=red]; 52 -> {54};
52 -> {53}; 52 -> {53} [color=red];
53 -> {54}; 53 -> {61};
54 -> {55}; 54 -> {56};
55 -> {56}; 55 -> {53} [color=green];
55 -> {63} [color=red];
56 -> {57}; 56 -> {57};
57 -> {58}; 57 -> {58};
58 -> {59} [color=green]; 58 -> {59};
58 -> {61} [color=red];
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {55};
61 -> {62}; 61 -> {63};
62 -> {63}; 62 -> {64};
63 -> {64}; 63 -> {62};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70};
70 -> {38};
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
71 [label="Enter function test_3" style="filled" fillcolor=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 { subgraph cluster_11 {
color=blue color=blue
73 [label="Enter function anonymousFunction"]; 75 [label="Enter function anonymousFunction"];
74 [label="Access variable R|<local>/y|"]; 77 [label="Access variable R|<local>/y|"];
75 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"]; 78 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"];
76 [label="Access variable R|<local>/x|"]; 79 [label="Access variable R|<local>/x|"];
77 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"]; 80 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
78 [label="Function call: R|/materialize|<R|kotlin/Int|>()"]; 81 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
79 [label="Exit function anonymousFunction"]; 76 [label="Exit function anonymousFunction"];
} }
80 [label="Postponed exit from lambda"]; 74 [label="Postponed exit from lambda"];
81 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"]; 82 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
82 [label="Function call: R|/id|<R|kotlin/Int|>(...)"]; 83 [label="Function call: R|/id|<R|kotlin/Int|>(...)"];
83 [label="Postponed enter to lambda"]; 84 [label="Postponed enter to lambda"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
84 [label="Enter function anonymousFunction"]; 86 [label="Enter function anonymousFunction"];
85 [label="Access variable R|<local>/y|"]; 88 [label="Access variable R|<local>/y|"];
86 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"]; 89 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"];
87 [label="Access variable R|<local>/x|"]; 90 [label="Access variable R|<local>/x|"];
88 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()"]; 91 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()"];
89 [label="Access variable R|<local>/y|"]; 92 [label="Access variable R|<local>/y|"];
90 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"]; 93 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
91 [label="Const: Int(1)"]; 94 [label="Const: Int(1)"];
92 [label="Exit function anonymousFunction"]; 87 [label="Exit function anonymousFunction"];
} }
93 [label="Postponed exit from lambda"]; 85 [label="Postponed exit from lambda"];
94 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"]; 95 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
95 [label="Call arguments union" style="filled" fillcolor=yellow]; 97 [label="Call arguments union" style="filled" fillcolor=yellow];
96 [label="Function call: R|/select|<R|kotlin/Int|>(...)"]; 96 [label="Function call: R|/select|<R|kotlin/Int|>(...)"];
97 [label="Variable declaration: lval a: R|kotlin/Int|"]; 98 [label="Variable declaration: lval a: R|kotlin/Int|"];
98 [label="Access variable R|<local>/x|"]; 99 [label="Access variable R|<local>/x|"];
99 [label="Function call: R|/takeInt|(...)"]; 100 [label="Function call: R|/takeInt|(...)"];
100 [label="Access variable R|<local>/y|"]; 101 [label="Access variable R|<local>/y|"];
101 [label="Function call: R|/takeInt|(...)"]; 102 [label="Function call: R|/takeInt|(...)"];
102 [label="Access variable R|<local>/a|"]; 103 [label="Access variable R|<local>/a|"];
103 [label="Function call: R|/takeInt|(...)"]; 104 [label="Function call: R|/takeInt|(...)"];
104 [label="Exit function test_3" style="filled" fillcolor=red]; 72 [label="Exit function test_3" style="filled" fillcolor=red];
} }
71 -> {73};
71 -> {72}; 73 -> {75};
72 -> {73}; 73 -> {74} [color=red];
72 -> {80} [color=red]; 74 -> {82};
73 -> {74}; 75 -> {77};
74 -> {75}; 76 -> {74} [color=green];
75 -> {76}; 76 -> {97} [color=red];
76 -> {77};
77 -> {78}; 77 -> {78};
78 -> {79}; 78 -> {79};
79 -> {80} [color=green]; 79 -> {80};
79 -> {95} [color=red];
80 -> {81}; 80 -> {81};
81 -> {82}; 81 -> {76};
82 -> {83}; 82 -> {83};
83 -> {84}; 83 -> {84};
83 -> {93} [color=red]; 84 -> {86};
84 -> {85}; 84 -> {85} [color=red];
85 -> {86}; 85 -> {95};
86 -> {87}; 86 -> {88};
87 -> {88}; 87 -> {85} [color=green];
87 -> {97} [color=red];
88 -> {89}; 88 -> {89};
89 -> {90}; 89 -> {90};
90 -> {91}; 90 -> {91};
91 -> {92}; 91 -> {92};
92 -> {93} [color=green]; 92 -> {93};
92 -> {95} [color=red];
93 -> {94}; 93 -> {94};
94 -> {95}; 94 -> {87};
95 -> {96}; 95 -> {97};
96 -> {97}; 96 -> {98};
97 -> {98}; 97 -> {96};
98 -> {99}; 98 -> {99};
99 -> {100}; 99 -> {100};
100 -> {101}; 100 -> {101};
101 -> {102}; 101 -> {102};
102 -> {103}; 102 -> {103};
103 -> {104}; 103 -> {104};
104 -> {72};
subgraph cluster_13 { subgraph cluster_13 {
color=red color=red
105 [label="Enter function test_4" style="filled" fillcolor=red]; 105 [label="Enter function test_4" style="filled" fillcolor=red];
106 [label="Postponed enter to lambda"]; 107 [label="Postponed enter to lambda"];
107 [label="Postponed exit from lambda"]; subgraph cluster_14 {
108 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"]; color=blue
109 [label="Function call: R|/id|<R|kotlin/Int|>(...)"]; 126 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
110 [label="Access variable R|<local>/y|"]; 128 [label="Access variable R|<local>/y|"];
111 [label="Type operator: (R|<local>/y| as R|kotlin/Int|)"]; 129 [label="Function call: R|<local>/y|.<Unresolved name: inc>#()"];
112 [label="Postponed enter to lambda"]; 130 [label="Access variable R|<local>/x|"];
113 [label="Postponed exit from lambda"]; 131 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
114 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"]; 127 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
115 [label="Function call: R|/select|<R|kotlin/Int|>(...)"]; }
116 [label="Variable declaration: lval a: R|kotlin/Int|"]; 108 [label="Postponed exit from lambda"];
117 [label="Access variable R|<local>/x|"]; 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|"]; 118 [label="Access variable R|<local>/x|"];
119 [label="Access variable R|<local>/x|"]; 119 [label="Access variable R|<local>/x|"];
120 [label="Function call: <Inapplicable(INAPPLICABLE): [/takeInt]>#(...)"]; 120 [label="Access variable R|<local>/x|"];
121 [label="Access variable R|<local>/y|"]; 121 [label="Function call: <Inapplicable(INAPPLICABLE): [/takeInt]>#(...)"];
122 [label="Function call: R|/takeInt|(...)"]; 122 [label="Access variable R|<local>/y|"];
123 [label="Access variable R|<local>/a|"]; 123 [label="Function call: R|/takeInt|(...)"];
124 [label="Function call: R|/takeInt|(...)"]; 124 [label="Access variable R|<local>/a|"];
125 [label="Exit function test_4" style="filled" fillcolor=red]; 125 [label="Function call: R|/takeInt|(...)"];
106 [label="Exit function test_4" style="filled" fillcolor=red];
} }
105 -> {107};
105 -> {106}; 107 -> {108 108} [color=green];
106 -> {107 107} [color=green]; 107 -> {126} [color=red];
107 -> {108};
108 -> {109}; 108 -> {109};
109 -> {110}; 109 -> {110};
110 -> {111}; 110 -> {111};
111 -> {112}; 111 -> {112};
112 -> {113 113} [color=green]; 112 -> {113};
113 -> {114}; 113 -> {114 114} [color=green];
113 -> {132} [color=red];
114 -> {115}; 114 -> {115};
115 -> {116}; 115 -> {116};
116 -> {117}; 116 -> {117};
@@ -319,133 +330,108 @@ digraph flowFromInplaceLambda_kt {
122 -> {123}; 122 -> {123};
123 -> {124}; 123 -> {124};
124 -> {125}; 124 -> {125};
125 -> {106};
subgraph cluster_14 { 126 -> {128};
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};
128 -> {129}; 128 -> {129};
129 -> {130}; 129 -> {130};
130 -> {131}; 130 -> {131};
131 -> {127};
subgraph cluster_15 { 132 -> {134};
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};
134 -> {135}; 134 -> {135};
135 -> {136}; 135 -> {136};
136 -> {137}; 136 -> {137};
137 -> {138}; 137 -> {138};
138 -> {133};
subgraph cluster_16 { subgraph cluster_16 {
color=red color=red
139 [label="Enter function test_5" style="filled" fillcolor=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 { subgraph cluster_17 {
color=blue color=blue
141 [label="Enter function anonymousFunction"]; 143 [label="Enter function anonymousFunction"];
142 [label="Function call: R|/materialize|<R|kotlin/Int|>()"]; 145 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
143 [label="Exit function anonymousFunction"]; 144 [label="Exit function anonymousFunction"];
} }
144 [label="Postponed exit from lambda"]; 142 [label="Postponed exit from lambda"];
145 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"]; 146 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
146 [label="Postponed enter to lambda"]; 147 [label="Postponed enter to lambda"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
147 [label="Enter function anonymousFunction"]; 149 [label="Enter function anonymousFunction"];
148 [label="Function call: R|/materialize|<R|kotlin/Int|>()"]; 151 [label="Function call: R|/materialize|<R|kotlin/Int|>()"];
149 [label="Exit function anonymousFunction"]; 150 [label="Exit function anonymousFunction"];
} }
150 [label="Postponed exit from lambda"]; 148 [label="Postponed exit from lambda"];
151 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"]; 152 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
152 [label="Call arguments union" style="filled" fillcolor=yellow]; 154 [label="Call arguments union" style="filled" fillcolor=yellow];
153 [label="Function call: R|/select|<R|kotlin/Int|>(...)"]; 153 [label="Function call: R|/select|<R|kotlin/Int|>(...)"];
154 [label="Variable declaration: lval x: R|kotlin/Int|"]; 155 [label="Variable declaration: lval x: R|kotlin/Int|"];
155 [label="Access variable R|<local>/x|"]; 156 [label="Access variable R|<local>/x|"];
156 [label="Function call: R|/takeInt|(...)"]; 157 [label="Function call: R|/takeInt|(...)"];
157 [label="Exit function test_5" style="filled" fillcolor=red]; 140 [label="Exit function test_5" style="filled" fillcolor=red];
} }
139 -> {141};
139 -> {140}; 141 -> {143};
140 -> {141}; 141 -> {142} [color=red];
140 -> {144} [color=red]; 142 -> {146};
141 -> {142}; 143 -> {145};
142 -> {143}; 144 -> {142} [color=green];
143 -> {144} [color=green]; 144 -> {154} [color=red];
143 -> {152} [color=red]; 145 -> {144};
144 -> {145};
145 -> {146};
146 -> {147}; 146 -> {147};
146 -> {150} [color=red]; 147 -> {149};
147 -> {148}; 147 -> {148} [color=red];
148 -> {149}; 148 -> {152};
149 -> {150} [color=green]; 149 -> {151};
149 -> {152} [color=red]; 150 -> {148} [color=green];
150 -> {151}; 150 -> {154} [color=red];
151 -> {152}; 151 -> {150};
152 -> {153}; 152 -> {154};
153 -> {154}; 153 -> {155};
154 -> {155}; 154 -> {153};
155 -> {156}; 155 -> {156};
156 -> {157}; 156 -> {157};
157 -> {140};
subgraph cluster_19 { subgraph cluster_19 {
color=red color=red
158 [label="Enter function test_6" style="filled" fillcolor=red]; 158 [label="Enter function test_6" style="filled" fillcolor=red];
159 [label="Postponed enter to lambda"]; 160 [label="Postponed enter to lambda"];
160 [label="Postponed exit from lambda"]; subgraph cluster_20 {
161 [label="Function call: R|/myRun|<R|kotlin/String|>(...)"]; color=blue
162 [label="Function call: R|/id|<R|kotlin/String|>(...)"]; 165 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
163 [label="Variable declaration: lval x: R|kotlin/String|"]; 167 [label="Postponed enter to lambda"];
164 [label="Exit function test_6" style="filled" fillcolor=red]; 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 -> {160};
158 -> {159}; 160 -> {161 161} [color=green];
159 -> {160 160} [color=green]; 160 -> {165} [color=red];
160 -> {161};
161 -> {162}; 161 -> {162};
162 -> {163}; 162 -> {163};
163 -> {164}; 163 -> {164};
164 -> {159};
subgraph cluster_20 { 165 -> {167};
color=red 167 -> {169};
165 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 167 -> {168} [color=red];
166 [label="Postponed enter to lambda"]; 168 -> {172};
subgraph cluster_21 { 169 -> {171};
color=blue 170 -> {168} [color=green];
167 [label="Enter function anonymousFunction"]; 171 -> {170};
168 [label="Function call: R|/materialize|<R|kotlin/String|>()"]; 172 -> {166};
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};
} }
@@ -6,84 +6,80 @@ digraph initBlock_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function <init>" style="filled" fillcolor=red]; 0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 2 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 1 [label="Exit function <init>" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {1};
1 -> {2};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
3 [label="Enter init block" style="filled" fillcolor=red]; 9 [label="Enter class Foo" style="filled" fillcolor=red];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
4 [label="Enter block"]; 3 [label="Enter init block" style="filled" fillcolor=red];
5 [label="Const: Int(1)"]; subgraph cluster_3 {
6 [label="Variable declaration: lval x: R|kotlin/Int|"]; color=blue
7 [label="Exit block"]; 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];
} }
9 -> {3} [color=green];
3 -> {4}; 3 -> {5};
4 -> {5}; 4 -> {10} [color=green];
5 -> {6}; 5 -> {6};
6 -> {7}; 6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {4};
subgraph cluster_3 {
color=red
9 [label="Enter class Foo" style="filled" fillcolor=red];
10 [label="Exit class Foo" style="filled" fillcolor=red];
}
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
11 [label="Enter function <init>" style="filled" fillcolor=red]; 11 [label="Enter function <init>" style="filled" fillcolor=red];
12 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 13 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
13 [label="Exit function <init>" style="filled" fillcolor=red]; 12 [label="Exit function <init>" style="filled" fillcolor=red];
} }
11 -> {13};
11 -> {12}; 13 -> {12};
12 -> {13};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
14 [label="Enter init block" style="filled" fillcolor=red]; 25 [label="Enter class Bar" style="filled" fillcolor=red];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
15 [label="Enter block"]; 14 [label="Enter init block" style="filled" fillcolor=red];
16 [label="Const: Int(1)"]; subgraph cluster_7 {
17 [label="Variable declaration: lval x: R|kotlin/Int|"]; color=blue
18 [label="Function call: R|java/lang/Exception.Exception|()"]; 16 [label="Enter block"];
19 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 17 [label="Const: Int(1)"];
20 [label="Stub" style="filled" fillcolor=gray]; 18 [label="Variable declaration: lval x: R|kotlin/Int|"];
21 [label="Const: Int(2)" style="filled" fillcolor=gray]; 19 [label="Function call: R|java/lang/Exception.Exception|()"];
22 [label="Variable declaration: lval y: R|kotlin/Int|" style="filled" fillcolor=gray]; 20 [label="Throw: throw R|java/lang/Exception.Exception|()"];
23 [label="Exit block" style="filled" fillcolor=gray]; 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];
} }
25 -> {14} [color=green];
14 -> {15}; 14 -> {16};
15 -> {16}; 15 -> {26} [color=green];
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {24}; 19 -> {20};
19 -> {20} [style=dotted]; 20 -> {15};
20 -> {21} [style=dotted]; 20 -> {21} [style=dotted];
21 -> {22} [style=dotted]; 21 -> {22} [style=dotted];
22 -> {23} [style=dotted]; 22 -> {23} [style=dotted];
23 -> {24} [style=dotted]; 23 -> {24} [style=dotted];
24 -> {15} [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];
}
} }
@@ -8,7 +8,6 @@ digraph initBlockAndInPlaceLambda_kt {
0 [label="Enter class B" style="filled" fillcolor=red]; 0 [label="Enter class B" style="filled" fillcolor=red];
1 [label="Exit class B" style="filled" fillcolor=red]; 1 [label="Exit class B" style="filled" fillcolor=red];
} }
0 -> {1} [color=green]; 0 -> {1} [color=green];
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,87 +15,83 @@ digraph initBlockAndInPlaceLambda_kt {
2 [label="Enter function getter" style="filled" fillcolor=red]; 2 [label="Enter function getter" style="filled" fillcolor=red];
3 [label="Exit function getter" style="filled" fillcolor=red]; 3 [label="Exit function getter" style="filled" fillcolor=red];
} }
2 -> {3}; 2 -> {3};
subgraph cluster_2 { 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 color=red
6 [label="Enter class A" style="filled" fillcolor=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]; 7 [label="Exit class A" style="filled" fillcolor=red];
} }
6 -> {4} [color=green];
4 -> {5};
5 -> {7} [color=green];
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
8 [label="Enter function <init>" style="filled" fillcolor=red]; 8 [label="Enter function <init>" style="filled" fillcolor=red];
9 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 10 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
10 [label="Exit function <init>" style="filled" fillcolor=red]; 9 [label="Exit function <init>" style="filled" fillcolor=red];
} }
8 -> {10};
8 -> {9}; 10 -> {9};
9 -> {10};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
11 [label="Enter init block" style="filled" fillcolor=red]; 29 [label="Enter class C" style="filled" fillcolor=red];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
12 [label="Enter block"]; 11 [label="Enter init block" style="filled" fillcolor=red];
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"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
17 [label="Enter function anonymousFunction"]; 13 [label="Enter block"];
18 [label="Access variable R|<local>/a|"]; 14 [label="Access variable R|<local>/a|"];
19 [label="Access variable R|<local>/it|"]; 15 [label="Access variable R|/A.b|"];
20 [label="Function call: R|/C.C|(...)"]; 16 [label="Enter safe call"];
21 [label="Exit function anonymousFunction"]; 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]; 12 [label="Exit init block" style="filled" fillcolor=red];
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"];
} }
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]; 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 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function materialize" style="filled" fillcolor=red]; 0 [label="Enter function materialize" style="filled" fillcolor=red];
1 [label="Const: Null(null)"]; 2 [label="Const: Null(null)"];
2 [label="Check not null: Null(null)!!"]; 3 [label="Check not null: Null(null)!!"];
3 [label="Jump: ^materialize Null(null)!!"]; 4 [label="Jump: ^materialize Null(null)!!"];
4 [label="Stub" style="filled" fillcolor=gray]; 5 [label="Stub" style="filled" fillcolor=gray];
5 [label="Exit function materialize" style="filled" fillcolor=red]; 1 [label="Exit function materialize" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1};
1 -> {2};
2 -> {3}; 2 -> {3};
3 -> {5}; 3 -> {4};
3 -> {4} [style=dotted]; 4 -> {1};
4 -> {5} [style=dotted]; 4 -> {5} [style=dotted];
5 -> {1} [style=dotted];
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
6 [label="Enter function test_1" style="filled" fillcolor=red]; 6 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
7 [label="Enter when"]; 8 [label="Enter when"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
8 [label="Enter when branch condition "]; 10 [label="Enter when branch condition "];
9 [label="Const: Boolean(true)"]; 11 [label="Const: Boolean(true)"];
10 [label="Exit when branch condition"]; 12 [label="Exit when branch condition"];
} }
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
11 [label="Enter when branch condition else"]; 23 [label="Enter when branch condition else"];
12 [label="Exit when branch condition"]; 24 [label="Exit when branch condition"];
} }
13 [label="Enter when branch result"]; 25 [label="Enter when branch result"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
14 [label="Enter block"]; 26 [label="Enter block"];
15 [label="Const: String()"]; 27 [label="Const: String()"];
16 [label="Exit block"]; 28 [label="Exit block"];
} }
17 [label="Exit when branch result"]; 29 [label="Exit when branch result"];
18 [label="Enter when branch result"]; 13 [label="Enter when branch result"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
19 [label="Enter block"]; 14 [label="Enter block"];
20 [label="Postponed enter to lambda"]; 15 [label="Postponed enter to lambda"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
21 [label="Enter function anonymousFunction"]; 17 [label="Enter function anonymousFunction"];
22 [label="Function call: R|/materialize|<R|kotlin/String|>()"]; 19 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
23 [label="Exit function anonymousFunction"]; 18 [label="Exit function anonymousFunction"];
} }
24 [label="Postponed exit from lambda"]; 16 [label="Postponed exit from lambda"];
25 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"]; 20 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
26 [label="Exit block"]; 21 [label="Exit block"];
} }
27 [label="Exit when branch result"]; 22 [label="Exit when branch result"];
28 [label="Exit when"]; 9 [label="Exit when"];
} }
29 [label="Call arguments union" style="filled" fillcolor=yellow]; 30 [label="Call arguments union" style="filled" fillcolor=yellow];
30 [label="Variable declaration: lval x: R|kotlin/String|"]; 31 [label="Variable declaration: lval x: R|kotlin/String|"];
31 [label="Exit function test_1" style="filled" fillcolor=red]; 7 [label="Exit function test_1" style="filled" fillcolor=red];
} }
6 -> {8};
6 -> {7}; 8 -> {10};
7 -> {8}; 9 -> {30};
8 -> {9}; 10 -> {11};
9 -> {10};
10 -> {18 11};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {13 23};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {17};
16 -> {17}; 15 -> {16} [color=red];
17 -> {28}; 16 -> {20};
18 -> {19}; 17 -> {19};
19 -> {20}; 18 -> {16} [color=green];
18 -> {30} [color=red];
19 -> {18};
20 -> {21}; 20 -> {21};
20 -> {24} [color=red];
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {9};
23 -> {24} [color=green]; 23 -> {24};
23 -> {29} [color=red];
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {9};
30 -> {31}; 30 -> {31};
31 -> {7};
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
32 [label="Enter function test_2" style="filled" fillcolor=red]; 32 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
33 [label="Try expression enter"]; 34 [label="Try expression enter"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
34 [label="Try main block enter"]; 36 [label="Try main block enter"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
35 [label="Enter block"]; 38 [label="Enter block"];
36 [label="Postponed enter to lambda"]; 39 [label="Postponed enter to lambda"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
37 [label="Enter function anonymousFunction"]; 41 [label="Enter function anonymousFunction"];
38 [label="Function call: R|/materialize|<R|kotlin/String|>()"]; 43 [label="Function call: R|/materialize|<R|kotlin/String|>()"];
39 [label="Exit function anonymousFunction"]; 42 [label="Exit function anonymousFunction"];
} }
40 [label="Postponed exit from lambda"]; 40 [label="Postponed exit from lambda"];
41 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"]; 44 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)"];
42 [label="Exit block"]; 45 [label="Exit block"];
} }
43 [label="Try main block exit"]; 46 [label="Try main block exit"];
} }
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
44 [label="Catch enter"]; 37 [label="Catch enter"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
45 [label="Enter block"]; 47 [label="Enter block"];
46 [label="Const: String()"]; 48 [label="Const: String()"];
47 [label="Exit block"]; 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="Call arguments union" style="filled" fillcolor=yellow];
51 [label="Variable declaration: lval x: R|kotlin/String|"]; 52 [label="Variable declaration: lval x: R|kotlin/String|"];
52 [label="Exit function test_2" style="filled" fillcolor=red]; 33 [label="Exit function test_2" style="filled" fillcolor=red];
} }
32 -> {34};
32 -> {33}; 34 -> {36};
33 -> {34}; 35 -> {51};
34 -> {52 44 35}; 36 -> {33 37 38};
35 -> {36}; 37 -> {33 47};
36 -> {37};
36 -> {40} [color=red];
37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40} [color=green]; 39 -> {41};
39 -> {50} [color=red]; 39 -> {40} [color=red];
40 -> {41}; 40 -> {44};
41 -> {42}; 41 -> {43};
42 -> {43}; 42 -> {40} [color=green];
43 -> {49}; 42 -> {51} [color=red];
44 -> {52 45}; 43 -> {42};
44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {35};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {35};
51 -> {52}; 51 -> {52};
52 -> {33};
subgraph cluster_15 { subgraph cluster_15 {
color=red color=red
53 [label="Enter function test_3" style="filled" fillcolor=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 { subgraph cluster_16 {
color=blue color=blue
55 [label="Enter function anonymousFunction"]; 57 [label="Enter function anonymousFunction"];
56 [label="Function call: R|/materialize|<R|kotlin/String?|>()"]; 59 [label="Function call: R|/materialize|<R|kotlin/String?|>()"];
57 [label="Exit function anonymousFunction"]; 58 [label="Exit function anonymousFunction"];
} }
58 [label="Postponed exit from lambda"]; 56 [label="Postponed exit from lambda"];
59 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)"]; 60 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)"];
60 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!"]; 61 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!"];
61 [label="Call arguments union" style="filled" fillcolor=yellow]; 62 [label="Call arguments union" style="filled" fillcolor=yellow];
62 [label="Variable declaration: lval x: R|kotlin/String|"]; 63 [label="Variable declaration: lval x: R|kotlin/String|"];
63 [label="Exit function test_3" style="filled" fillcolor=red]; 54 [label="Exit function test_3" style="filled" fillcolor=red];
} }
53 -> {55};
53 -> {54}; 55 -> {57};
54 -> {55}; 55 -> {56} [color=red];
54 -> {58} [color=red]; 56 -> {60};
55 -> {56}; 57 -> {59};
56 -> {57}; 58 -> {56} [color=green];
57 -> {58} [color=green]; 58 -> {62} [color=red];
57 -> {61} [color=red]; 59 -> {58};
58 -> {59};
59 -> {60};
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {62};
62 -> {63}; 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]; 0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
1 [label="Enter when"]; 2 [label="Enter when"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
2 [label="Enter when branch condition "]; 4 [label="Enter when branch condition "];
3 [label="Access variable R|<local>/x|"]; 5 [label="Access variable R|<local>/x|"];
4 [label="Const: Null(null)"]; 6 [label="Const: Null(null)"];
5 [label="Operator =="]; 7 [label="Operator =="];
6 [label="Exit when branch condition"]; 8 [label="Exit when branch condition"];
} }
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
7 [label="Enter when branch condition else"]; 16 [label="Enter when branch condition else"];
8 [label="Exit when branch condition"]; 17 [label="Exit when branch condition"];
} }
9 [label="Enter when branch result"]; 18 [label="Enter when branch result"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
10 [label="Enter block"]; 19 [label="Enter block"];
11 [label="Access variable R|<local>/x|"]; 20 [label="Access variable R|<local>/x|"];
12 [label="Exit block"]; 21 [label="Exit block"];
} }
13 [label="Exit when branch result"]; 22 [label="Exit when branch result"];
14 [label="Enter when branch result"]; 9 [label="Enter when branch result"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
15 [label="Enter block"]; 10 [label="Enter block"];
16 [label="Function call: R|java/lang/Exception.Exception|()"]; 11 [label="Function call: R|java/lang/Exception.Exception|()"];
17 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 12 [label="Throw: throw R|java/lang/Exception.Exception|()"];
18 [label="Stub" style="filled" fillcolor=gray]; 13 [label="Stub" style="filled" fillcolor=gray];
19 [label="Exit block" style="filled" fillcolor=gray]; 14 [label="Exit block" style="filled" fillcolor=gray];
} }
20 [label="Exit when branch result" style="filled" fillcolor=gray]; 15 [label="Exit when branch result" style="filled" fillcolor=gray];
21 [label="Exit when"]; 3 [label="Exit when"];
} }
22 [label="Variable declaration: lval y: R|kotlin/Int|"]; 23 [label="Variable declaration: lval y: R|kotlin/Int|"];
23 [label="Access variable R|<local>/y|"]; 24 [label="Access variable R|<local>/y|"];
24 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"]; 25 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
25 [label="Access variable R|<local>/x|"]; 26 [label="Access variable R|<local>/x|"];
26 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"]; 27 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
27 [label="Exit function test_1" style="filled" fillcolor=red]; 1 [label="Exit function test_1" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {4};
1 -> {2}; 3 -> {23};
2 -> {3};
3 -> {4};
4 -> {5}; 4 -> {5};
5 -> {6}; 5 -> {6};
6 -> {14 7}; 6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9 16};
9 -> {10}; 9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {1};
13 -> {21}; 12 -> {13} [style=dotted];
14 -> {15}; 13 -> {14} [style=dotted];
15 -> {16}; 14 -> {15} [style=dotted];
15 -> {3} [style=dotted];
16 -> {17}; 16 -> {17};
17 -> {27}; 17 -> {18};
17 -> {18} [style=dotted]; 18 -> {19};
18 -> {19} [style=dotted]; 19 -> {20};
19 -> {20} [style=dotted]; 20 -> {21};
20 -> {21} [style=dotted];
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {3};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {1};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
28 [label="Enter function test_2" style="filled" fillcolor=red]; 28 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
29 [label="Enter when"]; 30 [label="Enter when"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
30 [label="Enter when branch condition "]; 32 [label="Enter when branch condition "];
31 [label="Access variable R|<local>/x|"]; 33 [label="Access variable R|<local>/x|"];
32 [label="Const: Null(null)"]; 34 [label="Const: Null(null)"];
33 [label="Operator =="]; 35 [label="Operator =="];
34 [label="Exit when branch condition"]; 36 [label="Exit when branch condition"];
} }
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
35 [label="Enter when branch condition else"]; 42 [label="Enter when branch condition else"];
36 [label="Exit when branch condition"]; 43 [label="Exit when branch condition"];
} }
37 [label="Enter when branch result"]; 44 [label="Enter when branch result"];
subgraph cluster_10 { 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 color=blue
38 [label="Enter block"]; 38 [label="Enter block"];
39 [label="Access variable R|<local>/x|"]; 39 [label="Access variable R|<local>/x|"];
40 [label="Exit block"]; 40 [label="Exit block"];
} }
41 [label="Exit when branch result"]; 41 [label="Exit when branch result"];
42 [label="Enter when branch result"]; 31 [label="Exit when"];
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"];
} }
48 [label="Variable declaration: lval y: R|kotlin/Int?|"]; 49 [label="Variable declaration: lval y: R|kotlin/Int?|"];
49 [label="Access variable R|<local>/y|"]; 50 [label="Access variable R|<local>/y|"];
50 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [kotlin/Int.inc]>#()"]; 51 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [kotlin/Int.inc]>#()"];
51 [label="Exit function test_2" style="filled" fillcolor=red]; 29 [label="Exit function test_2" style="filled" fillcolor=red];
} }
28 -> {30};
28 -> {29}; 30 -> {32};
29 -> {30}; 31 -> {49};
30 -> {31};
31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34}; 33 -> {34};
34 -> {42 35}; 34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37 42};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {47}; 41 -> {31};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {31};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {29};
subgraph cluster_12 { subgraph cluster_12 {
color=red color=red
52 [label="Enter function test_3" style="filled" fillcolor=red]; 52 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
53 [label="Enter while loop"]; 54 [label="Enter while loop"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
54 [label="Enter loop condition"]; 56 [label="Enter loop condition"];
55 [label="Const: Boolean(true)"]; 57 [label="Const: Boolean(true)"];
56 [label="Exit loop condition"]; 58 [label="Exit loop condition"];
} }
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
57 [label="Enter loop block"]; 59 [label="Enter loop block"];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
58 [label="Enter block"]; 60 [label="Enter block"];
59 [label="Access variable R|<local>/x|"]; 61 [label="Access variable R|<local>/x|"];
60 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"]; 62 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
61 [label="Jump: break@@@[Boolean(true)] "]; 63 [label="Jump: break@@@[Boolean(true)] "];
62 [label="Stub" style="filled" fillcolor=gray]; 64 [label="Stub" style="filled" fillcolor=gray];
63 [label="Exit block" 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="Access variable R|<local>/x|"];
67 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"]; 68 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
68 [label="Exit function test_3" style="filled" fillcolor=red]; 53 [label="Exit function test_3" style="filled" fillcolor=red];
} }
52 -> {54};
52 -> {53}; 54 -> {56};
53 -> {54}; 55 -> {67};
54 -> {55};
55 -> {56};
56 -> {57}; 56 -> {57};
56 -> {65} [style=dotted];
57 -> {58}; 57 -> {58};
58 -> {59}; 58 -> {59};
58 -> {55} [style=dotted];
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {61};
61 -> {65}; 61 -> {62};
61 -> {62} [style=dotted]; 62 -> {63};
62 -> {63} [style=dotted]; 63 -> {55};
63 -> {64} [style=dotted]; 63 -> {64} [style=dotted];
64 -> {54} [style=dotted]; 64 -> {65} [style=dotted];
65 -> {66}; 65 -> {66} [style=dotted];
66 -> {67}; 66 -> {56} [style=dotted];
67 -> {68}; 67 -> {68};
68 -> {53};
subgraph cluster_17 { subgraph cluster_17 {
color=red color=red
69 [label="Enter function test_4" style="filled" fillcolor=red]; 69 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
70 [label="Enter do-while loop"]; 71 [label="Enter do-while loop"];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
71 [label="Enter loop block"]; 73 [label="Enter loop block"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
72 [label="Enter block"]; 74 [label="Enter block"];
73 [label="Access variable R|<local>/x|"]; 75 [label="Access variable R|<local>/x|"];
74 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"]; 76 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
75 [label="Jump: break@@@[Boolean(true)] "]; 77 [label="Jump: break@@@[Boolean(true)] "];
76 [label="Stub" style="filled" fillcolor=gray]; 78 [label="Stub" style="filled" fillcolor=gray];
77 [label="Exit block" 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 { subgraph cluster_21 {
color=blue color=blue
79 [label="Enter loop condition" style="filled" fillcolor=gray]; 81 [label="Enter loop condition" style="filled" fillcolor=gray];
80 [label="Const: Boolean(true)" style="filled" fillcolor=gray]; 82 [label="Const: Boolean(true)" style="filled" fillcolor=gray];
81 [label="Exit loop condition" 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="Access variable R|<local>/x|"];
84 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"]; 85 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
85 [label="Exit function test_4" style="filled" fillcolor=red]; 70 [label="Exit function test_4" style="filled" fillcolor=red];
} }
69 -> {71};
69 -> {70}; 71 -> {73};
70 -> {71}; 72 -> {84};
71 -> {72};
72 -> {73};
73 -> {74}; 73 -> {74};
74 -> {75}; 74 -> {75};
75 -> {82}; 75 -> {76};
75 -> {76} [style=dotted]; 76 -> {77};
76 -> {77} [style=dotted]; 77 -> {72};
77 -> {78} [style=dotted]; 77 -> {78} [style=dotted];
78 -> {79} [style=dotted]; 78 -> {79} [style=dotted];
79 -> {80} [style=dotted]; 79 -> {80} [style=dotted];
80 -> {81} [style=dotted]; 80 -> {81} [style=dotted];
81 -> {71 82} [style=dotted]; 81 -> {82} [style=dotted];
82 -> {83}; 82 -> {83} [style=dotted];
83 -> {84}; 83 -> {73 72} [style=dotted];
84 -> {85}; 84 -> {85};
85 -> {70};
subgraph cluster_22 { subgraph cluster_22 {
color=red color=red
86 [label="Enter function test_5" style="filled" fillcolor=red]; 86 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
87 [label="Enter while loop"]; 88 [label="Enter while loop"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
88 [label="Enter loop condition"]; 90 [label="Enter loop condition"];
89 [label="Access variable R|<local>/b|"]; 91 [label="Access variable R|<local>/b|"];
90 [label="Exit loop condition"]; 92 [label="Exit loop condition"];
} }
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
91 [label="Enter loop block"]; 93 [label="Enter loop block"];
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
92 [label="Enter block"]; 94 [label="Enter block"];
subgraph cluster_27 { subgraph cluster_27 {
color=blue color=blue
93 [label="Enter when"]; 95 [label="Enter when"];
subgraph cluster_28 { subgraph cluster_28 {
color=blue color=blue
94 [label="Enter when branch condition "]; 97 [label="Enter when branch condition "];
95 [label="Access variable R|<local>/b|"]; 98 [label="Access variable R|<local>/b|"];
96 [label="Exit when branch condition"]; 99 [label="Exit when branch condition"];
} }
97 [label="Synthetic else branch"]; 106 [label="Synthetic else branch"];
98 [label="Enter when branch result"]; 100 [label="Enter when branch result"];
subgraph cluster_29 { subgraph cluster_29 {
color=blue color=blue
99 [label="Enter block"]; 101 [label="Enter block"];
100 [label="Jump: continue@@@[R|<local>/b|] "]; 102 [label="Jump: continue@@@[R|<local>/b|] "];
101 [label="Stub" style="filled" fillcolor=gray]; 103 [label="Stub" style="filled" fillcolor=gray];
102 [label="Exit block" style="filled" fillcolor=gray]; 104 [label="Exit block" style="filled" fillcolor=gray];
} }
103 [label="Exit when branch result" style="filled" fillcolor=gray]; 105 [label="Exit when branch result" style="filled" fillcolor=gray];
104 [label="Exit when"]; 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 -> {88};
86 -> {87}; 88 -> {90};
87 -> {88}; 89 -> {87};
88 -> {89}; 90 -> {91};
89 -> {90};
90 -> {107 91};
91 -> {92}; 91 -> {92};
92 -> {93}; 92 -> {89 93};
93 -> {94}; 93 -> {94};
94 -> {95}; 94 -> {95};
95 -> {96}; 95 -> {97};
96 -> {98 97}; 96 -> {107};
97 -> {104}; 97 -> {98};
98 -> {99}; 98 -> {99};
99 -> {100}; 99 -> {100 106};
100 -> {87}; 100 -> {101};
100 -> {101} [style=dotted]; 101 -> {102};
101 -> {102} [style=dotted]; 102 -> {88};
102 -> {103} [style=dotted]; 102 -> {103} [style=dotted];
103 -> {104} [style=dotted]; 103 -> {104} [style=dotted];
104 -> {105}; 104 -> {105} [style=dotted];
105 -> {106}; 105 -> {96} [style=dotted];
106 -> {88}; 106 -> {96};
107 -> {108}; 107 -> {108};
108 -> {90};
subgraph cluster_30 { subgraph cluster_30 {
color=red color=red
109 [label="Enter function run" style="filled" fillcolor=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="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
111 [label="Exit function run" style="filled" fillcolor=red]; 110 [label="Exit function run" style="filled" fillcolor=red];
} }
109 -> {111};
109 -> {110}; 111 -> {110};
110 -> {111};
subgraph cluster_31 { subgraph cluster_31 {
color=red color=red
112 [label="Enter function test_6" style="filled" fillcolor=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 { subgraph cluster_32 {
color=blue color=blue
114 [label="Enter function anonymousFunction"]; 116 [label="Enter function anonymousFunction"];
115 [label="Jump: ^@run Unit"]; 118 [label="Jump: ^@run Unit"];
116 [label="Stub" style="filled" fillcolor=gray]; 119 [label="Stub" style="filled" fillcolor=gray];
117 [label="Exit function anonymousFunction"]; 117 [label="Exit function anonymousFunction"];
} }
118 [label="Postponed exit from lambda"]; 115 [label="Postponed exit from lambda"];
119 [label="Function call: R|/run|(...)"]; 120 [label="Function call: R|/run|(...)"];
120 [label="Exit function test_6" style="filled" fillcolor=red]; 113 [label="Exit function test_6" style="filled" fillcolor=red];
} }
112 -> {114};
112 -> {113}; 114 -> {116};
113 -> {114}; 114 -> {115} [color=red];
113 -> {118} [color=red]; 115 -> {120};
114 -> {117 115}; 116 -> {117 118};
115 -> {117}; 117 -> {116};
115 -> {116} [style=dotted]; 117 -> {115} [color=green];
116 -> {117} [style=dotted]; 118 -> {117};
117 -> {114}; 118 -> {119} [style=dotted];
117 -> {118} [color=green]; 119 -> {117} [style=dotted];
118 -> {119}; 120 -> {113};
119 -> {120};
} }
@@ -4,76 +4,77 @@ digraph lambdaAsReturnOfLambda_kt {
edge [penwidth=2] edge [penwidth=2]
subgraph cluster_0 { 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 color=red
8 [label="Enter function getter" style="filled" fillcolor=red]; 8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red]; 9 [label="Exit function getter" style="filled" fillcolor=red];
} }
8 -> {9}; 8 -> {9};
subgraph cluster_3 { subgraph cluster_1 {
color=red color=red
10 [label="Enter property" style="filled" fillcolor=red]; 10 [label="Enter property" style="filled" fillcolor=red];
11 [label="Postponed enter to lambda"]; 12 [label="Postponed enter to lambda"];
12 [label="Postponed exit from lambda"]; subgraph cluster_2 {
13 [label="Function call: R|/run|<R|(kotlin/String) -> kotlin/Unit|>(...)"]; color=blue
14 [label="Exit property" style="filled" fillcolor=red]; 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 -> {12};
10 -> {11}; 12 -> {13 13} [color=green];
11 -> {12 12} [color=green]; 12 -> {0} [color=red];
12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15};
subgraph cluster_4 {
color=red
15 [label="Enter function bar" style="filled" fillcolor=red];
16 [label="Exit function bar" style="filled" fillcolor=red];
}
15 -> {16}; 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 { subgraph cluster_5 {
color=red color=red
17 [label="Enter function run" style="filled" fillcolor=red]; 17 [label="Enter function bar" style="filled" fillcolor=red];
18 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|R|>|()"]; 18 [label="Exit function bar" style="filled" fillcolor=red];
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 -> {18}; 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 -> {21};
19 -> {20} [style=dotted]; 21 -> {22};
20 -> {21} [style=dotted]; 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]; 0 [label="Enter class Out" style="filled" fillcolor=red];
1 [label="Exit class Out" style="filled" fillcolor=red]; 1 [label="Exit class Out" style="filled" fillcolor=red];
} }
0 -> {1} [color=green]; 0 -> {1} [color=green];
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph lambdaReturningObject_kt {
2 [label="Enter function bar" style="filled" fillcolor=red]; 2 [label="Enter function bar" style="filled" fillcolor=red];
3 [label="Exit function bar" style="filled" fillcolor=red]; 3 [label="Exit function bar" style="filled" fillcolor=red];
} }
2 -> {3}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
@@ -24,68 +22,62 @@ digraph lambdaReturningObject_kt {
4 [label="Enter class IrTypeArgument" style="filled" fillcolor=red]; 4 [label="Enter class IrTypeArgument" style="filled" fillcolor=red];
5 [label="Exit class IrTypeArgument" style="filled" fillcolor=red]; 5 [label="Exit class IrTypeArgument" style="filled" fillcolor=red];
} }
4 -> {5} [color=green]; 4 -> {5} [color=green];
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
6 [label="Enter function <init>" style="filled" fillcolor=red]; 6 [label="Enter function <init>" style="filled" fillcolor=red];
7 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 8 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
8 [label="Exit function <init>" style="filled" fillcolor=red]; 7 [label="Exit function <init>" style="filled" fillcolor=red];
} }
6 -> {8};
6 -> {7}; 8 -> {7};
7 -> {8};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
9 [label="Enter class IrStarProjectionImpl" style="filled" fillcolor=red]; 9 [label="Enter class IrStarProjectionImpl" style="filled" fillcolor=red];
10 [label="Exit class IrStarProjectionImpl" style="filled" fillcolor=red]; 10 [label="Exit class IrStarProjectionImpl" style="filled" fillcolor=red];
} }
9 -> {10} [color=green]; 9 -> {10} [color=green];
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
11 [label="Enter function MyOut" style="filled" fillcolor=red]; 11 [label="Enter function MyOut" style="filled" fillcolor=red];
12 [label="Function call: R|kotlin/TODO|()"]; 13 [label="Function call: R|kotlin/TODO|()"];
13 [label="Stub" style="filled" fillcolor=gray]; 14 [label="Stub" style="filled" fillcolor=gray];
14 [label="Jump: ^MyOut R|kotlin/TODO|()" style="filled" fillcolor=gray]; 15 [label="Jump: ^MyOut R|kotlin/TODO|()" style="filled" fillcolor=gray];
15 [label="Stub" style="filled" fillcolor=gray]; 16 [label="Stub" style="filled" fillcolor=gray];
16 [label="Exit function MyOut" style="filled" fillcolor=red]; 12 [label="Exit function MyOut" style="filled" fillcolor=red];
} }
11 -> {13};
11 -> {12}; 13 -> {12};
12 -> {16};
12 -> {13} [style=dotted];
13 -> {14} [style=dotted]; 13 -> {14} [style=dotted];
14 -> {16 15} [style=dotted]; 14 -> {15} [style=dotted];
15 -> {16} [style=dotted]; 15 -> {12 16} [style=dotted];
16 -> {12} [style=dotted];
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
17 [label="Enter function foo" style="filled" fillcolor=red]; 17 [label="Enter function foo" style="filled" fillcolor=red];
18 [label="Postponed enter to lambda"]; 19 [label="Postponed enter to lambda"];
19 [label="Postponed exit from lambda"]; subgraph cluster_7 {
20 [label="Function call: R|/MyOut|<R|IrStarProjectionImpl|>(...)"]; color=blue
21 [label="Function call: R|/bar|(...)"]; 23 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
22 [label="Exit function foo" 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 -> {19};
17 -> {18}; 19 -> {20 20} [color=green];
18 -> {19 19} [color=green]; 19 -> {23} [color=red];
19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {18};
subgraph cluster_7 { 23 -> {25};
color=red 25 -> {24};
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};
} }
+127 -134
View File
@@ -6,215 +6,208 @@ digraph lambdas_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function run" style="filled" fillcolor=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="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
2 [label="Exit function run" style="filled" fillcolor=red]; 1 [label="Exit function run" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {1};
1 -> {2};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
3 [label="Enter function test_1" style="filled" fillcolor=red]; 3 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
4 [label="Enter when"]; 5 [label="Enter when"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
5 [label="Enter when branch condition "]; 7 [label="Enter when branch condition "];
6 [label="Access variable R|<local>/x|"]; 8 [label="Access variable R|<local>/x|"];
7 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"]; 9 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
8 [label="Exit when branch condition"]; 10 [label="Exit when branch condition"];
} }
9 [label="Synthetic else branch"]; 22 [label="Synthetic else branch"];
10 [label="Enter when branch result"]; 11 [label="Enter when branch result"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
11 [label="Enter block"]; 12 [label="Enter block"];
12 [label="Postponed enter to lambda"]; 13 [label="Postponed enter to lambda"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
13 [label="Enter function anonymousFunction"]; 15 [label="Enter function anonymousFunction"];
14 [label="Access variable R|<local>/x|"]; 17 [label="Access variable R|<local>/x|"];
15 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"]; 18 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
16 [label="Exit function anonymousFunction"]; 16 [label="Exit function anonymousFunction"];
} }
17 [label="Postponed exit from lambda"]; 14 [label="Postponed exit from lambda"];
18 [label="Function call: R|/run|(...)"]; 19 [label="Function call: R|/run|(...)"];
19 [label="Exit block"]; 20 [label="Exit block"];
} }
20 [label="Exit when branch result"]; 21 [label="Exit when branch result"];
21 [label="Exit when"]; 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 -> {5};
3 -> {4}; 5 -> {7};
4 -> {5}; 6 -> {4};
5 -> {6};
6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {10 9}; 8 -> {9};
9 -> {21}; 9 -> {10};
10 -> {11}; 10 -> {11 22};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {13};
12 -> {17} [color=red]; 13 -> {15};
13 -> {16 14}; 13 -> {14} [color=red];
14 -> {15}; 14 -> {19};
15 -> {16}; 15 -> {16 17};
16 -> {13}; 16 -> {15};
16 -> {17} [color=green]; 16 -> {14} [color=green];
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {16};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {6};
22 -> {6};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
23 [label="Enter function test_2" style="filled" fillcolor=red]; 23 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
24 [label="Enter when"]; 25 [label="Enter when"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
25 [label="Enter when branch condition "]; 27 [label="Enter when branch condition "];
26 [label="Access variable R|<local>/x|"]; 28 [label="Access variable R|<local>/x|"];
27 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"]; 29 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
28 [label="Exit when branch condition"]; 30 [label="Exit when branch condition"];
} }
29 [label="Synthetic else branch"]; 36 [label="Synthetic else branch"];
30 [label="Enter when branch result"]; 31 [label="Enter when branch result"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
31 [label="Enter block"]; 32 [label="Enter block"];
32 [label="Variable declaration: lval lambda: R|() -> kotlin/Int|"]; 33 [label="Variable declaration: lval lambda: R|() -> kotlin/Int|"];
33 [label="Exit block"]; 34 [label="Exit block"];
} }
34 [label="Exit when branch result"]; 35 [label="Exit when branch result"];
35 [label="Exit when"]; 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 -> {25};
23 -> {24}; 25 -> {27};
24 -> {25}; 26 -> {24};
25 -> {26};
26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {30 29}; 28 -> {29};
29 -> {35}; 29 -> {30};
30 -> {31}; 30 -> {31 36};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
32 -> {37} [color=red];
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {26};
36 -> {26};
subgraph cluster_10 { 37 -> {39};
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};
39 -> {40}; 39 -> {40};
40 -> {38};
subgraph cluster_11 { subgraph cluster_11 {
color=red color=red
41 [label="Enter function getInt" style="filled" fillcolor=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="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
43 [label="Const: Int(1)"]; 44 [label="Const: Int(1)"];
44 [label="Jump: ^getInt Int(1)"]; 45 [label="Jump: ^getInt Int(1)"];
45 [label="Stub" style="filled" fillcolor=gray]; 46 [label="Stub" style="filled" fillcolor=gray];
46 [label="Exit function getInt" style="filled" fillcolor=red]; 42 [label="Exit function getInt" style="filled" fillcolor=red];
} }
41 -> {43};
41 -> {42};
42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {46}; 44 -> {45};
44 -> {45} [style=dotted]; 45 -> {42};
45 -> {46} [style=dotted]; 45 -> {46} [style=dotted];
46 -> {42} [style=dotted];
subgraph cluster_12 { subgraph cluster_12 {
color=red color=red
47 [label="Enter function test_3" style="filled" fillcolor=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 { subgraph cluster_13 {
color=blue color=blue
49 [label="Enter function anonymousFunction"]; 51 [label="Enter function anonymousFunction"];
50 [label="Const: Int(1)"]; 53 [label="Const: Int(1)"];
51 [label="Jump: ^test_3 Int(1)"]; 54 [label="Jump: ^test_3 Int(1)"];
52 [label="Stub" style="filled" fillcolor=gray]; 55 [label="Stub" style="filled" fillcolor=gray];
53 [label="Exit function anonymousFunction"]; 52 [label="Exit function anonymousFunction"];
} }
54 [label="Postponed exit from lambda"]; 50 [label="Postponed exit from lambda"];
55 [label="Function call: R|/getInt|(...)"]; 56 [label="Function call: R|/getInt|(...)"];
56 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> { 57 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^test_3 Int(1) ^test_3 Int(1)
} }
)"]; )"];
57 [label="Stub" style="filled" fillcolor=gray]; 58 [label="Stub" style="filled" fillcolor=gray];
58 [label="Exit function test_3" style="filled" fillcolor=red]; 48 [label="Exit function test_3" style="filled" fillcolor=red];
} }
47 -> {49};
47 -> {48}; 49 -> {51};
48 -> {49}; 49 -> {50} [color=red];
48 -> {54} [color=red]; 50 -> {56};
49 -> {53 50}; 51 -> {52 53};
50 -> {51}; 52 -> {51};
51 -> {58}; 52 -> {50} [color=green];
51 -> {52} [style=dotted]; 53 -> {54};
52 -> {53} [style=dotted]; 54 -> {48};
53 -> {49}; 54 -> {55} [style=dotted];
53 -> {54} [color=green]; 55 -> {52} [style=dotted];
54 -> {55}; 56 -> {57};
55 -> {56}; 57 -> {48};
56 -> {58};
56 -> {57} [style=dotted];
57 -> {58} [style=dotted]; 57 -> {58} [style=dotted];
58 -> {48} [style=dotted];
subgraph cluster_14 { subgraph cluster_14 {
color=red color=red
59 [label="Enter function test_4" style="filled" fillcolor=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 { subgraph cluster_15 {
color=blue color=blue
61 [label="Enter function anonymousFunction"]; 63 [label="Enter function anonymousFunction"];
62 [label="Const: Int(1)"]; 65 [label="Const: Int(1)"];
63 [label="Jump: ^test_4 Int(1)"]; 66 [label="Jump: ^test_4 Int(1)"];
64 [label="Stub" style="filled" fillcolor=gray]; 67 [label="Stub" style="filled" fillcolor=gray];
65 [label="Exit function anonymousFunction"]; 64 [label="Exit function anonymousFunction"];
} }
66 [label="Postponed exit from lambda"]; 62 [label="Postponed exit from lambda"];
67 [label="Function call: R|/getInt|(...)"]; 68 [label="Function call: R|/getInt|(...)"];
68 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> { 69 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^test_4 Int(1) ^test_4 Int(1)
} }
)"]; )"];
69 [label="Stub" style="filled" fillcolor=gray]; 70 [label="Stub" style="filled" fillcolor=gray];
70 [label="Exit function test_4" style="filled" fillcolor=red]; 60 [label="Exit function test_4" style="filled" fillcolor=red];
} }
59 -> {61};
59 -> {60}; 61 -> {63};
60 -> {61}; 61 -> {62} [color=red];
60 -> {66} [color=red]; 62 -> {68};
61 -> {65 62}; 63 -> {64 65};
62 -> {63}; 64 -> {63};
63 -> {70}; 64 -> {62} [color=green];
63 -> {64} [style=dotted]; 65 -> {66};
64 -> {65} [style=dotted]; 66 -> {60};
65 -> {61}; 66 -> {67} [style=dotted];
65 -> {66} [color=green]; 67 -> {64} [style=dotted];
66 -> {67}; 68 -> {69};
67 -> {68}; 69 -> {60};
68 -> {70};
68 -> {69} [style=dotted];
69 -> {70} [style=dotted]; 69 -> {70} [style=dotted];
70 -> {60} [style=dotted];
} }
@@ -6,127 +6,126 @@ digraph localClassesWithImplicit_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function myRun" style="filled" fillcolor=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="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="Jump: ^myRun R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|T|>|()"];
3 [label="Stub" style="filled" fillcolor=gray]; 4 [label="Stub" style="filled" fillcolor=gray];
4 [label="Exit function myRun" style="filled" fillcolor=red]; 1 [label="Exit function myRun" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {3};
1 -> {2}; 3 -> {1};
2 -> {4};
2 -> {3} [style=dotted];
3 -> {4} [style=dotted]; 3 -> {4} [style=dotted];
4 -> {1} [style=dotted];
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
5 [label="Enter function test" style="filled" fillcolor=red]; 5 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
6 [label="Enter when"]; 7 [label="Enter when"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
7 [label="Enter when branch condition "]; 9 [label="Enter when branch condition "];
8 [label="Access variable R|<local>/a|"]; 10 [label="Access variable R|<local>/a|"];
9 [label="Type operator: (R|<local>/a| !is R|kotlin/String|)"]; 11 [label="Type operator: (R|<local>/a| !is R|kotlin/String|)"];
10 [label="Exit when branch condition"]; 12 [label="Exit when branch condition"];
} }
11 [label="Synthetic else branch"]; 19 [label="Synthetic else branch"];
12 [label="Enter when branch result"]; 13 [label="Enter when branch result"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
13 [label="Enter block"]; 14 [label="Enter block"];
14 [label="Jump: ^test Unit"]; 15 [label="Jump: ^test Unit"];
15 [label="Stub" style="filled" fillcolor=gray]; 16 [label="Stub" style="filled" fillcolor=gray];
16 [label="Exit block" 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 branch result" style="filled" fillcolor=gray];
18 [label="Exit when"]; 8 [label="Exit when"];
} }
19 [label="Exit local class test"]; 20 [label="Exit local class test"];
20 [label="Exit anonymous object"]; 21 [label="Exit anonymous object"];
21 [label="Variable declaration: lval x: R|anonymous|"]; 22 [label="Variable declaration: lval x: R|anonymous|"];
22 [label="Exit function test" style="filled" fillcolor=red]; 6 [label="Exit function test" style="filled" fillcolor=red];
} }
5 -> {7};
5 -> {6}; 7 -> {9};
6 -> {7}; 8 -> {20};
7 -> {8}; 8 -> {23 26 57 71} [color=red];
8 -> {9};
9 -> {10}; 9 -> {10};
10 -> {12 11}; 10 -> {11};
11 -> {18}; 11 -> {12};
12 -> {13}; 12 -> {13 19};
13 -> {14}; 13 -> {14};
14 -> {22}; 14 -> {15};
14 -> {15} [style=dotted]; 15 -> {6};
15 -> {16} [style=dotted]; 15 -> {16} [style=dotted];
16 -> {17} [style=dotted]; 16 -> {17} [style=dotted];
17 -> {18} [style=dotted]; 17 -> {18} [style=dotted];
18 -> {19}; 18 -> {8} [style=dotted];
19 -> {20}; 19 -> {8};
20 -> {21}; 20 -> {21};
20 -> {78 81 112 126} [color=red];
21 -> {22}; 21 -> {22};
22 -> {6};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
23 [label="Enter function <init>" style="filled" fillcolor=red]; 23 [label="Enter function <init>" style="filled" fillcolor=red];
24 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 25 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
25 [label="Exit function <init>" style="filled" fillcolor=red]; 24 [label="Exit function <init>" style="filled" fillcolor=red];
} }
23 -> {25};
23 -> {24}; 25 -> {24};
24 -> {25};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
26 [label="Enter function foo" style="filled" fillcolor=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 { subgraph cluster_7 {
color=blue color=blue
28 [label="Enter function anonymousFunction"]; 30 [label="Enter function anonymousFunction"];
29 [label="Access variable R|<local>/a|"]; 32 [label="Access variable R|<local>/a|"];
30 [label="Access variable R|kotlin/String.length|"]; 33 [label="Access variable R|kotlin/String.length|"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
31 [label="Enter when"]; 34 [label="Enter when"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
32 [label="Enter when branch condition "]; 36 [label="Enter when branch condition "];
33 [label="Access variable R|<local>/b|"]; 37 [label="Access variable R|<local>/b|"];
34 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"]; 38 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
35 [label="Exit when branch condition"]; 39 [label="Exit when branch condition"];
} }
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
36 [label="Enter when branch condition else"]; 47 [label="Enter when branch condition else"];
37 [label="Exit when branch condition"]; 48 [label="Exit when branch condition"];
} }
38 [label="Enter when branch result"]; 49 [label="Enter when branch result"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
39 [label="Enter block"]; 50 [label="Enter block"];
40 [label="Const: Int(1)"]; 51 [label="Const: Int(1)"];
41 [label="Exit block"]; 52 [label="Exit block"];
} }
42 [label="Exit when branch result"]; 53 [label="Exit when branch result"];
43 [label="Enter when branch result"]; 40 [label="Enter when branch result"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
44 [label="Enter block"]; 41 [label="Enter block"];
45 [label="Access variable R|<local>/b|"]; 42 [label="Access variable R|<local>/b|"];
46 [label="Access variable R|kotlin/String.length|"]; 43 [label="Access variable R|kotlin/String.length|"];
47 [label="Function call: this@R|/A|.R|/A.bar|()"]; 44 [label="Function call: this@R|/A|.R|/A.bar|()"];
48 [label="Exit block"]; 45 [label="Exit block"];
} }
49 [label="Exit when branch result"]; 46 [label="Exit when branch result"];
50 [label="Exit when"]; 35 [label="Exit when"];
} }
51 [label="Exit function anonymousFunction"]; 31 [label="Exit function anonymousFunction"];
} }
52 [label="Postponed exit from lambda"]; 29 [label="Postponed exit from lambda"];
53 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"]; 54 [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> { 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| R|<local>/a|.R|kotlin/String.length|
^ when () { ^ when () {
(R|<local>/b| is R|kotlin/String|) -> { (R|<local>/b| is R|kotlin/String|) -> {
@@ -140,169 +139,164 @@ digraph localClassesWithImplicit_kt {
} }
)"]; )"];
55 [label="Stub" style="filled" fillcolor=gray]; 56 [label="Stub" style="filled" fillcolor=gray];
56 [label="Exit function foo" style="filled" fillcolor=red]; 27 [label="Exit function foo" style="filled" fillcolor=red];
} }
26 -> {28};
26 -> {27}; 28 -> {30};
27 -> {28}; 28 -> {29} [color=red];
27 -> {52} [color=red]; 29 -> {54};
28 -> {51 29}; 30 -> {31 32};
29 -> {30}; 31 -> {30};
30 -> {31}; 31 -> {29} [color=green];
31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {36};
35 -> {43 36}; 35 -> {31};
36 -> {37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40 47};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {50}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {35};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {28}; 51 -> {52};
51 -> {52} [color=green];
52 -> {53}; 52 -> {53};
53 -> {54}; 53 -> {35};
54 -> {56}; 54 -> {55};
54 -> {55} [style=dotted]; 55 -> {27};
55 -> {56} [style=dotted]; 55 -> {56} [style=dotted];
56 -> {27} [style=dotted];
subgraph cluster_13 { subgraph cluster_13 {
color=red color=red
57 [label="Enter function bar" style="filled" fillcolor=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 { subgraph cluster_14 {
color=blue color=blue
59 [label="Enter function anonymousFunction"]; 61 [label="Enter function anonymousFunction"];
60 [label="Access variable R|<local>/b|"]; 63 [label="Access variable R|<local>/b|"];
61 [label="Access variable <Unresolved name: length>#"]; 64 [label="Access variable <Unresolved name: length>#"];
62 [label="Access variable R|<local>/a|"]; 65 [label="Access variable R|<local>/a|"];
63 [label="Access variable R|kotlin/String.length|"]; 66 [label="Access variable R|kotlin/String.length|"];
64 [label="Function call: this@R|/A|.R|/A.baz|()"]; 67 [label="Function call: this@R|/A|.R|/A.baz|()"];
65 [label="Exit function anonymousFunction"]; 62 [label="Exit function anonymousFunction"];
} }
66 [label="Postponed exit from lambda"]; 60 [label="Postponed exit from lambda"];
67 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"]; 68 [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> { 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>/b|.<Unresolved name: length>#
R|<local>/a|.R|kotlin/String.length| R|<local>/a|.R|kotlin/String.length|
^ this@R|/A|.R|/A.baz|() ^ this@R|/A|.R|/A.baz|()
} }
)"]; )"];
69 [label="Stub" style="filled" fillcolor=gray]; 70 [label="Stub" style="filled" fillcolor=gray];
70 [label="Exit function bar" style="filled" fillcolor=red]; 58 [label="Exit function bar" style="filled" fillcolor=red];
} }
57 -> {59};
57 -> {58}; 59 -> {61};
58 -> {59}; 59 -> {60} [color=red];
58 -> {66} [color=red]; 60 -> {68};
59 -> {65 60}; 61 -> {62 63};
60 -> {61}; 62 -> {61};
61 -> {62}; 62 -> {60} [color=green];
62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {59}; 65 -> {66};
65 -> {66} [color=green];
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {62};
68 -> {70}; 68 -> {69};
68 -> {69} [style=dotted]; 69 -> {58};
69 -> {70} [style=dotted]; 69 -> {70} [style=dotted];
70 -> {58} [style=dotted];
subgraph cluster_15 { subgraph cluster_15 {
color=red color=red
71 [label="Enter function baz" style="filled" fillcolor=red]; 71 [label="Enter function baz" style="filled" fillcolor=red];
72 [label="Const: Int(1)"]; 73 [label="Const: Int(1)"];
73 [label="Jump: ^baz Int(1)"]; 74 [label="Jump: ^baz Int(1)"];
74 [label="Stub" style="filled" fillcolor=gray]; 75 [label="Stub" style="filled" fillcolor=gray];
75 [label="Exit function baz" style="filled" fillcolor=red]; 72 [label="Exit function baz" style="filled" fillcolor=red];
} }
71 -> {73};
71 -> {72}; 73 -> {74};
72 -> {73}; 74 -> {72};
73 -> {75};
73 -> {74} [style=dotted];
74 -> {75} [style=dotted]; 74 -> {75} [style=dotted];
75 -> {72} [style=dotted];
subgraph cluster_16 { subgraph cluster_16 {
color=red color=red
76 [label="Enter class A" style="filled" fillcolor=red]; 76 [label="Enter class A" style="filled" fillcolor=red];
77 [label="Exit class A" style="filled" fillcolor=red]; 77 [label="Exit class A" style="filled" fillcolor=red];
} }
76 -> {77} [color=green]; 76 -> {77} [color=green];
subgraph cluster_17 { subgraph cluster_17 {
color=red color=red
78 [label="Enter function <init>" style="filled" fillcolor=red]; 78 [label="Enter function <init>" style="filled" fillcolor=red];
79 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 80 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
80 [label="Exit function <init>" style="filled" fillcolor=red]; 79 [label="Exit function <init>" style="filled" fillcolor=red];
} }
78 -> {80};
78 -> {79}; 80 -> {79};
79 -> {80};
subgraph cluster_18 { subgraph cluster_18 {
color=red color=red
81 [label="Enter function foo" style="filled" fillcolor=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 { subgraph cluster_19 {
color=blue color=blue
83 [label="Enter function anonymousFunction"]; 85 [label="Enter function anonymousFunction"];
84 [label="Access variable R|<local>/a|"]; 87 [label="Access variable R|<local>/a|"];
85 [label="Access variable R|kotlin/String.length|"]; 88 [label="Access variable R|kotlin/String.length|"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
86 [label="Enter when"]; 89 [label="Enter when"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
87 [label="Enter when branch condition "]; 91 [label="Enter when branch condition "];
88 [label="Access variable R|<local>/b|"]; 92 [label="Access variable R|<local>/b|"];
89 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"]; 93 [label="Type operator: (R|<local>/b| is R|kotlin/String|)"];
90 [label="Exit when branch condition"]; 94 [label="Exit when branch condition"];
} }
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
91 [label="Enter when branch condition else"]; 102 [label="Enter when branch condition else"];
92 [label="Exit when branch condition"]; 103 [label="Exit when branch condition"];
} }
93 [label="Enter when branch result"]; 104 [label="Enter when branch result"];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
94 [label="Enter block"]; 105 [label="Enter block"];
95 [label="Const: Int(1)"]; 106 [label="Const: Int(1)"];
96 [label="Exit block"]; 107 [label="Exit block"];
} }
97 [label="Exit when branch result"]; 108 [label="Exit when branch result"];
98 [label="Enter when branch result"]; 95 [label="Enter when branch result"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
99 [label="Enter block"]; 96 [label="Enter block"];
100 [label="Access variable R|<local>/b|"]; 97 [label="Access variable R|<local>/b|"];
101 [label="Access variable R|kotlin/String.length|"]; 98 [label="Access variable R|kotlin/String.length|"];
102 [label="Function call: this@R|/anonymous|.R|/anonymous.bar|()"]; 99 [label="Function call: this@R|/anonymous|.R|/anonymous.bar|()"];
103 [label="Exit block"]; 100 [label="Exit block"];
} }
104 [label="Exit when branch result"]; 101 [label="Exit when branch result"];
105 [label="Exit when"]; 90 [label="Exit when"];
} }
106 [label="Exit function anonymousFunction"]; 86 [label="Exit function anonymousFunction"];
} }
107 [label="Postponed exit from lambda"]; 84 [label="Postponed exit from lambda"];
108 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"]; 109 [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> { 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| R|<local>/a|.R|kotlin/String.length|
^ when () { ^ when () {
(R|<local>/b| is R|kotlin/String|) -> { (R|<local>/b| is R|kotlin/String|) -> {
@@ -316,108 +310,104 @@ digraph localClassesWithImplicit_kt {
} }
)"]; )"];
110 [label="Stub" style="filled" fillcolor=gray]; 111 [label="Stub" style="filled" fillcolor=gray];
111 [label="Exit function foo" style="filled" fillcolor=red]; 82 [label="Exit function foo" style="filled" fillcolor=red];
} }
81 -> {83};
81 -> {82}; 83 -> {85};
82 -> {83}; 83 -> {84} [color=red];
82 -> {107} [color=red]; 84 -> {109};
83 -> {106 84}; 85 -> {86 87};
84 -> {85}; 86 -> {85};
85 -> {86}; 86 -> {84} [color=green];
86 -> {87};
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {89};
89 -> {90}; 89 -> {91};
90 -> {98 91}; 90 -> {86};
91 -> {92}; 91 -> {92};
92 -> {93}; 92 -> {93};
93 -> {94}; 93 -> {94};
94 -> {95}; 94 -> {95 102};
95 -> {96}; 95 -> {96};
96 -> {97}; 96 -> {97};
97 -> {105}; 97 -> {98};
98 -> {99}; 98 -> {99};
99 -> {100}; 99 -> {100};
100 -> {101}; 100 -> {101};
101 -> {102}; 101 -> {90};
102 -> {103}; 102 -> {103};
103 -> {104}; 103 -> {104};
104 -> {105}; 104 -> {105};
105 -> {106}; 105 -> {106};
106 -> {83}; 106 -> {107};
106 -> {107} [color=green];
107 -> {108}; 107 -> {108};
108 -> {109}; 108 -> {90};
109 -> {111}; 109 -> {110};
109 -> {110} [style=dotted]; 110 -> {82};
110 -> {111} [style=dotted]; 110 -> {111} [style=dotted];
111 -> {82} [style=dotted];
subgraph cluster_25 { subgraph cluster_25 {
color=red color=red
112 [label="Enter function bar" style="filled" fillcolor=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 { subgraph cluster_26 {
color=blue color=blue
114 [label="Enter function anonymousFunction"]; 116 [label="Enter function anonymousFunction"];
115 [label="Access variable R|<local>/a|"]; 118 [label="Access variable R|<local>/a|"];
116 [label="Access variable R|kotlin/String.length|"]; 119 [label="Access variable R|kotlin/String.length|"];
117 [label="Access variable R|<local>/b|"]; 120 [label="Access variable R|<local>/b|"];
118 [label="Access variable <Unresolved name: length>#"]; 121 [label="Access variable <Unresolved name: length>#"];
119 [label="Function call: this@R|/anonymous|.R|/anonymous.baz|()"]; 122 [label="Function call: this@R|/anonymous|.R|/anonymous.baz|()"];
120 [label="Exit function anonymousFunction"]; 117 [label="Exit function anonymousFunction"];
} }
121 [label="Postponed exit from lambda"]; 115 [label="Postponed exit from lambda"];
122 [label="Function call: R|/myRun|<R|kotlin/Int|>(...)"]; 123 [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> { 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>/a|.R|kotlin/String.length|
R|<local>/b|.<Unresolved name: length># R|<local>/b|.<Unresolved name: length>#
^ this@R|/anonymous|.R|/anonymous.baz|() ^ this@R|/anonymous|.R|/anonymous.baz|()
} }
)"]; )"];
124 [label="Stub" style="filled" fillcolor=gray]; 125 [label="Stub" style="filled" fillcolor=gray];
125 [label="Exit function bar" style="filled" fillcolor=red]; 113 [label="Exit function bar" style="filled" fillcolor=red];
} }
112 -> {114};
112 -> {113}; 114 -> {116};
113 -> {114}; 114 -> {115} [color=red];
113 -> {121} [color=red]; 115 -> {123};
114 -> {120 115}; 116 -> {117 118};
115 -> {116}; 117 -> {116};
116 -> {117}; 117 -> {115} [color=green];
117 -> {118};
118 -> {119}; 118 -> {119};
119 -> {120}; 119 -> {120};
120 -> {114}; 120 -> {121};
120 -> {121} [color=green];
121 -> {122}; 121 -> {122};
122 -> {123}; 122 -> {117};
123 -> {125}; 123 -> {124};
123 -> {124} [style=dotted]; 124 -> {113};
124 -> {125} [style=dotted]; 124 -> {125} [style=dotted];
125 -> {113} [style=dotted];
subgraph cluster_27 { subgraph cluster_27 {
color=red color=red
126 [label="Enter function baz" style="filled" fillcolor=red]; 126 [label="Enter function baz" style="filled" fillcolor=red];
127 [label="Const: Int(1)"]; 128 [label="Const: Int(1)"];
128 [label="Jump: ^baz Int(1)"]; 129 [label="Jump: ^baz Int(1)"];
129 [label="Stub" style="filled" fillcolor=gray]; 130 [label="Stub" style="filled" fillcolor=gray];
130 [label="Exit function baz" style="filled" fillcolor=red]; 127 [label="Exit function baz" style="filled" fillcolor=red];
} }
126 -> {128};
126 -> {127}; 128 -> {129};
127 -> {128}; 129 -> {127};
128 -> {130};
128 -> {129} [style=dotted];
129 -> {130} [style=dotted]; 129 -> {130} [style=dotted];
130 -> {127} [style=dotted];
subgraph cluster_28 { subgraph cluster_28 {
color=red color=red
131 [label="Enter class <anonymous>" style="filled" fillcolor=red]; 131 [label="Enter class <anonymous>" style="filled" fillcolor=red];
132 [label="Exit class <anonymous>" style="filled" fillcolor=red]; 132 [label="Exit class <anonymous>" style="filled" fillcolor=red];
} }
131 -> {132} [color=green]; 131 -> {132} [color=green];
} }
+235 -244
View File
@@ -8,85 +8,82 @@ digraph loops_kt {
0 [label="Enter function testWhile" style="filled" fillcolor=red]; 0 [label="Enter function testWhile" style="filled" fillcolor=red];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
1 [label="Enter while loop"]; 2 [label="Enter while loop"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
2 [label="Enter loop condition"]; 4 [label="Enter loop condition"];
3 [label="Access variable R|<local>/b|"]; 5 [label="Access variable R|<local>/b|"];
4 [label="Exit loop condition"]; 6 [label="Exit loop condition"];
} }
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
5 [label="Enter loop block"]; 7 [label="Enter loop block"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
6 [label="Enter block"]; 8 [label="Enter block"];
7 [label="Access variable R|<local>/x|"]; 9 [label="Access variable R|<local>/x|"];
8 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"]; 10 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
9 [label="Variable declaration: lval y: R|kotlin/Boolean|"]; 11 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
10 [label="Exit block"]; 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="Access variable R|<local>/x|"];
14 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"]; 15 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
15 [label="Exit function testWhile" style="filled" fillcolor=red]; 1 [label="Exit function testWhile" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {4};
1 -> {2}; 3 -> {14};
2 -> {3}; 4 -> {5};
3 -> {4};
4 -> {12 5};
5 -> {6}; 5 -> {6};
6 -> {7}; 6 -> {3 7};
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9};
9 -> {10}; 9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {2}; 11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {4};
14 -> {15}; 14 -> {15};
15 -> {1};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
16 [label="Enter function testDoWhile" style="filled" fillcolor=red]; 16 [label="Enter function testDoWhile" style="filled" fillcolor=red];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
17 [label="Enter do-while loop"]; 18 [label="Enter do-while loop"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
18 [label="Enter loop block"]; 20 [label="Enter loop block"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
19 [label="Enter block"]; 21 [label="Enter block"];
20 [label="Access variable R|<local>/x|"]; 22 [label="Access variable R|<local>/x|"];
21 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"]; 23 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
22 [label="Variable declaration: lval y: R|kotlin/Boolean|"]; 24 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
23 [label="Exit block"]; 25 [label="Exit block"];
} }
24 [label="Exit loop block"]; 26 [label="Exit loop block"];
} }
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
25 [label="Enter loop condition"]; 27 [label="Enter loop condition"];
26 [label="Access variable R|<local>/b|"]; 28 [label="Access variable R|<local>/b|"];
27 [label="Exit loop condition"]; 29 [label="Exit loop condition"];
} }
28 [label="Exit do-whileloop"]; 19 [label="Exit do-whileloop"];
} }
29 [label="Access variable R|<local>/x|"]; 30 [label="Access variable R|<local>/x|"];
30 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"]; 31 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
31 [label="Exit function testDoWhile" style="filled" fillcolor=red]; 17 [label="Exit function testDoWhile" style="filled" fillcolor=red];
} }
16 -> {18};
16 -> {17}; 18 -> {20};
17 -> {18}; 19 -> {30};
18 -> {19};
19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
@@ -94,65 +91,64 @@ digraph loops_kt {
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {18 28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {20 19};
30 -> {31}; 30 -> {31};
31 -> {17};
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
32 [label="Enter function testFor" style="filled" fillcolor=red]; 32 [label="Enter function testFor" style="filled" fillcolor=red];
33 [label="Const: Int(0)"]; 34 [label="Const: Int(0)"];
34 [label="Const: Int(5)"]; 35 [label="Const: Int(5)"];
35 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...)"]; 36 [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="Function call: Int(0).R|kotlin/Int.rangeTo|(...).R|kotlin/ranges/IntProgression.iterator|()"];
37 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"]; 38 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
38 [label="Enter while loop"]; 39 [label="Enter while loop"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
39 [label="Enter loop condition"]; 41 [label="Enter loop condition"];
40 [label="Access variable R|<local>/<iterator>|"]; 42 [label="Access variable R|<local>/<iterator>|"];
41 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"]; 43 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
42 [label="Exit loop condition"]; 44 [label="Exit loop condition"];
} }
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
43 [label="Enter loop block"]; 45 [label="Enter loop block"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
44 [label="Enter block"]; 46 [label="Enter block"];
45 [label="Access variable R|<local>/<iterator>|"]; 47 [label="Access variable R|<local>/<iterator>|"];
46 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()"]; 48 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()"];
47 [label="Variable declaration: lval i: R|kotlin/Int|"]; 49 [label="Variable declaration: lval i: R|kotlin/Int|"];
48 [label="Access variable R|<local>/x|"]; 50 [label="Access variable R|<local>/x|"];
49 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"]; 51 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
50 [label="Variable declaration: lval y: R|kotlin/Boolean|"]; 52 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
51 [label="Exit block"]; 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="Access variable R|<local>/x|"];
55 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"]; 56 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
56 [label="Exit function testFor" style="filled" fillcolor=red]; 33 [label="Exit function testFor" style="filled" fillcolor=red];
} }
32 -> {34};
32 -> {33};
33 -> {34};
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {41};
40 -> {41}; 40 -> {55};
41 -> {42}; 41 -> {42};
42 -> {53 43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {40 45};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {48};
@@ -160,331 +156,326 @@ digraph loops_kt {
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {39}; 52 -> {53};
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {41};
55 -> {56}; 55 -> {56};
56 -> {33};
subgraph cluster_15 { subgraph cluster_15 {
color=red color=red
57 [label="Enter function testWhileTrue" style="filled" fillcolor=red]; 57 [label="Enter function testWhileTrue" style="filled" fillcolor=red];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
58 [label="Enter while loop"]; 59 [label="Enter while loop"];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
59 [label="Enter loop condition"]; 61 [label="Enter loop condition"];
60 [label="Const: Boolean(true)"]; 62 [label="Const: Boolean(true)"];
61 [label="Exit loop condition"]; 63 [label="Exit loop condition"];
} }
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
62 [label="Enter loop block"]; 64 [label="Enter loop block"];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
63 [label="Enter block"]; 65 [label="Enter block"];
64 [label="Const: Int(1)"]; 66 [label="Const: Int(1)"];
65 [label="Exit block"]; 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="Const: Int(1)" style="filled" fillcolor=gray];
69 [label="Exit function testWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray]; 58 [label="Exit function testWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray];
} }
57 -> {59};
57 -> {58}; 59 -> {61};
58 -> {59}; 60 -> {69} [style=dotted];
59 -> {60};
60 -> {61};
61 -> {62}; 61 -> {62};
61 -> {67} [style=dotted];
62 -> {63}; 62 -> {63};
63 -> {64}; 63 -> {64};
63 -> {60} [style=dotted];
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {59}; 66 -> {67};
67 -> {68} [style=dotted]; 67 -> {68};
68 -> {69} [style=dotted]; 68 -> {61};
69 -> {58} [style=dotted];
subgraph cluster_20 { subgraph cluster_20 {
color=red color=red
70 [label="Enter function testWhileTrueWithBreak" style="filled" fillcolor=red]; 70 [label="Enter function testWhileTrueWithBreak" style="filled" fillcolor=red];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
71 [label="Enter while loop"]; 72 [label="Enter while loop"];
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
72 [label="Enter loop condition"]; 74 [label="Enter loop condition"];
73 [label="Const: Boolean(true)"]; 75 [label="Const: Boolean(true)"];
74 [label="Exit loop condition"]; 76 [label="Exit loop condition"];
} }
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
75 [label="Enter loop block"]; 77 [label="Enter loop block"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
76 [label="Enter block"]; 78 [label="Enter block"];
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
77 [label="Enter when"]; 79 [label="Enter when"];
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
78 [label="Enter when branch condition "]; 81 [label="Enter when branch condition "];
79 [label="Access variable R|<local>/b|"]; 82 [label="Access variable R|<local>/b|"];
80 [label="Exit when branch condition"]; 83 [label="Exit when branch condition"];
} }
81 [label="Synthetic else branch"]; 90 [label="Synthetic else branch"];
82 [label="Enter when branch result"]; 84 [label="Enter when branch result"];
subgraph cluster_27 { subgraph cluster_27 {
color=blue color=blue
83 [label="Enter block"]; 85 [label="Enter block"];
84 [label="Jump: break@@@[Boolean(true)] "]; 86 [label="Jump: break@@@[Boolean(true)] "];
85 [label="Stub" style="filled" fillcolor=gray]; 87 [label="Stub" style="filled" fillcolor=gray];
86 [label="Exit block" style="filled" fillcolor=gray]; 88 [label="Exit block" style="filled" fillcolor=gray];
} }
87 [label="Exit when branch result" style="filled" fillcolor=gray]; 89 [label="Exit when branch result" style="filled" fillcolor=gray];
88 [label="Exit when"]; 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="Const: Int(1)"];
93 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red]; 71 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red];
} }
70 -> {72};
70 -> {71}; 72 -> {74};
71 -> {72}; 73 -> {93};
72 -> {73};
73 -> {74};
74 -> {75}; 74 -> {75};
74 -> {91} [style=dotted];
75 -> {76}; 75 -> {76};
76 -> {77}; 76 -> {77};
76 -> {73} [style=dotted];
77 -> {78}; 77 -> {78};
78 -> {79}; 78 -> {79};
79 -> {80}; 79 -> {81};
80 -> {82 81}; 80 -> {91};
81 -> {88}; 81 -> {82};
82 -> {83}; 82 -> {83};
83 -> {84}; 83 -> {84 90};
84 -> {91}; 84 -> {85};
84 -> {85} [style=dotted]; 85 -> {86};
85 -> {86} [style=dotted]; 86 -> {73};
86 -> {87} [style=dotted]; 86 -> {87} [style=dotted];
87 -> {88} [style=dotted]; 87 -> {88} [style=dotted];
88 -> {89}; 88 -> {89} [style=dotted];
89 -> {90}; 89 -> {80} [style=dotted];
90 -> {72}; 90 -> {80};
91 -> {92}; 91 -> {92};
92 -> {93}; 92 -> {74};
93 -> {71};
subgraph cluster_28 { subgraph cluster_28 {
color=red color=red
94 [label="Enter function testWhileFalse" style="filled" fillcolor=red]; 94 [label="Enter function testWhileFalse" style="filled" fillcolor=red];
subgraph cluster_29 { subgraph cluster_29 {
color=blue color=blue
95 [label="Enter while loop"]; 96 [label="Enter while loop"];
subgraph cluster_30 { subgraph cluster_30 {
color=blue color=blue
96 [label="Enter loop condition"]; 98 [label="Enter loop condition"];
97 [label="Const: Boolean(false)"]; 99 [label="Const: Boolean(false)"];
98 [label="Exit loop condition"]; 100 [label="Exit loop condition"];
} }
subgraph cluster_31 { subgraph cluster_31 {
color=blue color=blue
99 [label="Enter loop block" style="filled" fillcolor=gray]; 101 [label="Enter loop block" style="filled" fillcolor=gray];
subgraph cluster_32 { subgraph cluster_32 {
color=blue color=blue
100 [label="Enter block" style="filled" fillcolor=gray]; 102 [label="Enter block" style="filled" fillcolor=gray];
101 [label="Const: Int(1)" style="filled" fillcolor=gray]; 103 [label="Const: Int(1)" style="filled" fillcolor=gray];
102 [label="Exit block" 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="Const: Int(1)"];
106 [label="Exit function testWhileFalse" style="filled" fillcolor=red]; 95 [label="Exit function testWhileFalse" style="filled" fillcolor=red];
} }
94 -> {96};
94 -> {95}; 96 -> {98};
95 -> {96}; 97 -> {106};
96 -> {97}; 98 -> {99};
97 -> {98}; 99 -> {100};
98 -> {104}; 100 -> {97};
98 -> {99} [style=dotted];
99 -> {100} [style=dotted];
100 -> {101} [style=dotted]; 100 -> {101} [style=dotted];
101 -> {102} [style=dotted]; 101 -> {102} [style=dotted];
102 -> {103} [style=dotted]; 102 -> {103} [style=dotted];
103 -> {96} [style=dotted]; 103 -> {104} [style=dotted];
104 -> {105}; 104 -> {105} [style=dotted];
105 -> {106}; 105 -> {98} [style=dotted];
106 -> {95};
subgraph cluster_33 { subgraph cluster_33 {
color=red color=red
107 [label="Enter function testDoWhileTrue" style="filled" fillcolor=red]; 107 [label="Enter function testDoWhileTrue" style="filled" fillcolor=red];
subgraph cluster_34 { subgraph cluster_34 {
color=blue color=blue
108 [label="Enter do-while loop"]; 109 [label="Enter do-while loop"];
subgraph cluster_35 { subgraph cluster_35 {
color=blue color=blue
109 [label="Enter loop block"]; 111 [label="Enter loop block"];
subgraph cluster_36 { subgraph cluster_36 {
color=blue color=blue
110 [label="Enter block"]; 112 [label="Enter block"];
111 [label="Const: Int(1)"]; 113 [label="Const: Int(1)"];
112 [label="Exit block"]; 114 [label="Exit block"];
} }
113 [label="Exit loop block"]; 115 [label="Exit loop block"];
} }
subgraph cluster_37 { subgraph cluster_37 {
color=blue color=blue
114 [label="Enter loop condition"]; 116 [label="Enter loop condition"];
115 [label="Const: Boolean(true)"]; 117 [label="Const: Boolean(true)"];
116 [label="Exit loop condition"]; 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="Const: Int(1)" style="filled" fillcolor=gray];
119 [label="Exit function testDoWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray]; 108 [label="Exit function testDoWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray];
} }
107 -> {109};
107 -> {108}; 109 -> {111};
108 -> {109}; 110 -> {119} [style=dotted];
109 -> {110};
110 -> {111};
111 -> {112}; 111 -> {112};
112 -> {113}; 112 -> {113};
113 -> {114}; 113 -> {114};
114 -> {115}; 114 -> {115};
115 -> {116}; 115 -> {116};
116 -> {109}; 116 -> {117};
116 -> {117} [style=dotted]; 117 -> {118};
117 -> {118} [style=dotted]; 118 -> {111};
118 -> {119} [style=dotted]; 118 -> {110} [style=dotted];
119 -> {108} [style=dotted];
subgraph cluster_38 { subgraph cluster_38 {
color=red color=red
120 [label="Enter function testDoWhileTrueWithBreak" style="filled" fillcolor=red]; 120 [label="Enter function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
subgraph cluster_39 { subgraph cluster_39 {
color=blue color=blue
121 [label="Enter do-while loop"]; 122 [label="Enter do-while loop"];
subgraph cluster_40 { subgraph cluster_40 {
color=blue color=blue
122 [label="Enter loop block"]; 124 [label="Enter loop block"];
subgraph cluster_41 { subgraph cluster_41 {
color=blue color=blue
123 [label="Enter block"]; 125 [label="Enter block"];
subgraph cluster_42 { subgraph cluster_42 {
color=blue color=blue
124 [label="Enter when"]; 126 [label="Enter when"];
subgraph cluster_43 { subgraph cluster_43 {
color=blue color=blue
125 [label="Enter when branch condition "]; 128 [label="Enter when branch condition "];
126 [label="Access variable R|<local>/b|"]; 129 [label="Access variable R|<local>/b|"];
127 [label="Exit when branch condition"]; 130 [label="Exit when branch condition"];
} }
128 [label="Synthetic else branch"]; 137 [label="Synthetic else branch"];
129 [label="Enter when branch result"]; 131 [label="Enter when branch result"];
subgraph cluster_44 { subgraph cluster_44 {
color=blue color=blue
130 [label="Enter block"]; 132 [label="Enter block"];
131 [label="Jump: break@@@[Boolean(true)] "]; 133 [label="Jump: break@@@[Boolean(true)] "];
132 [label="Stub" style="filled" fillcolor=gray]; 134 [label="Stub" style="filled" fillcolor=gray];
133 [label="Exit block" style="filled" fillcolor=gray]; 135 [label="Exit block" style="filled" fillcolor=gray];
} }
134 [label="Exit when branch result" style="filled" fillcolor=gray]; 136 [label="Exit when branch result" style="filled" fillcolor=gray];
135 [label="Exit when"]; 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 { subgraph cluster_45 {
color=blue color=blue
138 [label="Enter loop condition"]; 140 [label="Enter loop condition"];
139 [label="Const: Boolean(true)"]; 141 [label="Const: Boolean(true)"];
140 [label="Exit loop condition"]; 142 [label="Exit loop condition"];
} }
141 [label="Exit do-whileloop"]; 123 [label="Exit do-whileloop"];
} }
142 [label="Const: Int(1)"]; 143 [label="Const: Int(1)"];
143 [label="Exit function testDoWhileTrueWithBreak" style="filled" fillcolor=red]; 121 [label="Exit function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
} }
120 -> {122};
120 -> {121}; 122 -> {124};
121 -> {122}; 123 -> {143};
122 -> {123};
123 -> {124};
124 -> {125}; 124 -> {125};
125 -> {126}; 125 -> {126};
126 -> {127}; 126 -> {128};
127 -> {129 128}; 127 -> {138};
128 -> {135}; 128 -> {129};
129 -> {130}; 129 -> {130};
130 -> {131}; 130 -> {131 137};
131 -> {141}; 131 -> {132};
131 -> {132} [style=dotted]; 132 -> {133};
132 -> {133} [style=dotted]; 133 -> {123};
133 -> {134} [style=dotted]; 133 -> {134} [style=dotted];
134 -> {135} [style=dotted]; 134 -> {135} [style=dotted];
135 -> {136}; 135 -> {136} [style=dotted];
136 -> {137}; 136 -> {127} [style=dotted];
137 -> {138}; 137 -> {127};
138 -> {139}; 138 -> {139};
139 -> {140}; 139 -> {140};
140 -> {122}; 140 -> {141};
140 -> {141} [style=dotted];
141 -> {142}; 141 -> {142};
142 -> {143}; 142 -> {124};
142 -> {123} [style=dotted];
143 -> {121};
subgraph cluster_46 { subgraph cluster_46 {
color=red color=red
144 [label="Enter function testDoWhileFalse" style="filled" fillcolor=red]; 144 [label="Enter function testDoWhileFalse" style="filled" fillcolor=red];
subgraph cluster_47 { subgraph cluster_47 {
color=blue color=blue
145 [label="Enter do-while loop"]; 146 [label="Enter do-while loop"];
subgraph cluster_48 { subgraph cluster_48 {
color=blue color=blue
146 [label="Enter loop block"]; 148 [label="Enter loop block"];
subgraph cluster_49 { subgraph cluster_49 {
color=blue color=blue
147 [label="Enter block"]; 149 [label="Enter block"];
148 [label="Const: Int(1)"]; 150 [label="Const: Int(1)"];
149 [label="Exit block"]; 151 [label="Exit block"];
} }
150 [label="Exit loop block"]; 152 [label="Exit loop block"];
} }
subgraph cluster_50 { subgraph cluster_50 {
color=blue color=blue
151 [label="Enter loop condition"]; 153 [label="Enter loop condition"];
152 [label="Const: Boolean(false)"]; 154 [label="Const: Boolean(false)"];
153 [label="Exit loop condition"]; 155 [label="Exit loop condition"];
} }
154 [label="Exit do-whileloop"]; 147 [label="Exit do-whileloop"];
} }
155 [label="Const: Int(1)"]; 156 [label="Const: Int(1)"];
156 [label="Exit function testDoWhileFalse" style="filled" fillcolor=red]; 145 [label="Exit function testDoWhileFalse" style="filled" fillcolor=red];
} }
144 -> {146};
144 -> {145}; 146 -> {148};
145 -> {146}; 147 -> {156};
146 -> {147};
147 -> {148};
148 -> {149}; 148 -> {149};
149 -> {150}; 149 -> {150};
150 -> {151}; 150 -> {151};
151 -> {152}; 151 -> {152};
152 -> {153}; 152 -> {153};
153 -> {154}; 153 -> {154};
153 -> {146} [style=dotted];
154 -> {155}; 154 -> {155};
155 -> {156}; 155 -> {147};
155 -> {148} [style=dotted];
156 -> {145};
} }
@@ -6,97 +6,90 @@ digraph postponedLambdaInConstructor_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function <init>" style="filled" fillcolor=red]; 0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 2 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 1 [label="Exit function <init>" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {1};
1 -> {2};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
3 [label="Enter class A" style="filled" fillcolor=red]; 3 [label="Enter class A" style="filled" fillcolor=red];
4 [label="Exit class A" style="filled" fillcolor=red]; 4 [label="Exit class A" style="filled" fillcolor=red];
} }
3 -> {4} [color=green]; 3 -> {4} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
5 [label="Enter function <init>" style="filled" fillcolor=red]; 5 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Access variable R|<local>/s|"]; 7 [label="Access variable R|<local>/s|"];
7 [label="Postponed enter to lambda"]; 8 [label="Postponed enter to lambda"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
8 [label="Enter function anonymousFunction"]; 10 [label="Enter function anonymousFunction"];
9 [label="Postponed enter to lambda"]; 12 [label="Postponed enter to lambda"];
10 [label="Postponed exit from 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"]; 11 [label="Exit function anonymousFunction"];
} }
12 [label="Postponed exit from lambda"]; 9 [label="Postponed exit from lambda"];
13 [label="Function call: R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(...)"]; 14 [label="Function call: R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(...)"];
14 [label="Call arguments union" style="filled" fillcolor=yellow]; 16 [label="Call arguments union" style="filled" fillcolor=yellow];
15 [label="Delegated constructor call: super<R|A|>(...)"]; 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 -> {7};
5 -> {6};
6 -> {7};
7 -> {8}; 7 -> {8};
7 -> {12} [color=red]; 8 -> {10};
8 -> {9}; 8 -> {9} [color=red];
9 -> {10 10} [color=green]; 9 -> {14};
10 -> {11}; 10 -> {12};
11 -> {12} [color=green]; 11 -> {9} [color=green];
11 -> {14} [color=red]; 11 -> {16} [color=red];
12 -> {13}; 12 -> {13 13} [color=green];
13 -> {14}; 12 -> {17} [color=red];
14 -> {15}; 13 -> {11};
15 -> {16}; 14 -> {16};
15 -> {6};
subgraph cluster_4 { 16 -> {15};
color=red 17 -> {19};
17 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 19 -> {18};
18 [label="Access variable R|<local>/it|"];
19 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
20 [label="Enter function getter" style="filled" fillcolor=red]; 20 [label="Enter function getter" style="filled" fillcolor=red];
21 [label="Exit function getter" style="filled" fillcolor=red]; 21 [label="Exit function getter" style="filled" fillcolor=red];
} }
20 -> {21}; 20 -> {21};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
22 [label="Enter property" style="filled" fillcolor=red]; 25 [label="Enter function foo" style="filled" fillcolor=red];
23 [label="Access variable R|<local>/s|"]; 27 [label="Function call: this@R|/B|.R|/B.foo|()"];
24 [label="Exit property" style="filled" fillcolor=red]; 26 [label="Exit function foo" style="filled" fillcolor=red];
} }
25 -> {27};
22 -> {23}; 27 -> {26};
23 -> {24};
subgraph cluster_7 { 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 color=red
28 [label="Enter class B" style="filled" fillcolor=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]; 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]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
2 [label="Enter function test" style="filled" fillcolor=red]; 2 [label="Enter function test" style="filled" fillcolor=red];
3 [label="Access variable R|<local>/a|"]; 4 [label="Access variable R|<local>/a|"];
4 [label="Postponed enter to lambda"]; 5 [label="Postponed enter to lambda"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
5 [label="Enter function anonymousFunction"]; 8 [label="Enter function anonymousFunction"];
6 [label="Const: String()"]; 10 [label="Const: String()"];
7 [label="Exit function anonymousFunction"]; 9 [label="Exit function anonymousFunction"];
} }
8 [label="Postponed exit from lambda"]; 6 [label="Postponed exit from lambda"];
9 [label="Access variable R|<local>/b|"]; 7 [label="Access variable R|<local>/b|"];
10 [label="Function call: R|/foo|(...)"]; 11 [label="Function call: R|/foo|(...)"];
11 [label="Exit function test" style="filled" fillcolor=red]; 3 [label="Exit function test" style="filled" fillcolor=red];
} }
2 -> {4};
2 -> {3};
3 -> {4};
4 -> {5}; 4 -> {5};
4 -> {8} [color=red]; 5 -> {8};
5 -> {7 6}; 5 -> {6} [color=red];
6 -> {7}; 6 -> {7};
7 -> {5}; 7 -> {11};
7 -> {8} [color=green]; 8 -> {9 10};
8 -> {9}; 9 -> {8};
9 -> {10}; 9 -> {6} [color=green];
10 -> {11}; 10 -> {9};
11 -> {3};
} }
@@ -6,282 +6,274 @@ digraph propertiesAndInitBlocks_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function run" style="filled" fillcolor=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="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
2 [label="Exit function run" style="filled" fillcolor=red]; 1 [label="Exit function run" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {1};
1 -> {2};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
3 [label="Enter function getter" style="filled" fillcolor=red]; 3 [label="Enter function getter" style="filled" fillcolor=red];
4 [label="Exit function getter" style="filled" fillcolor=red]; 4 [label="Exit function getter" style="filled" fillcolor=red];
} }
3 -> {4}; 3 -> {4};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
5 [label="Enter property" style="filled" fillcolor=red]; 5 [label="Enter property" style="filled" fillcolor=red];
6 [label="Const: Int(1)"]; 7 [label="Const: Int(1)"];
7 [label="Exit property" style="filled" fillcolor=red]; 6 [label="Exit property" style="filled" fillcolor=red];
} }
5 -> {7};
5 -> {6}; 7 -> {6};
6 -> {7};
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
8 [label="Enter function getter" style="filled" fillcolor=red]; 8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Const: Int(1)"]; 10 [label="Const: Int(1)"];
10 [label="Jump: ^ Int(1)"]; 11 [label="Jump: ^ Int(1)"];
11 [label="Stub" style="filled" fillcolor=gray]; 12 [label="Stub" style="filled" fillcolor=gray];
12 [label="Exit function getter" style="filled" fillcolor=red]; 9 [label="Exit function getter" style="filled" fillcolor=red];
} }
8 -> {10};
8 -> {9}; 10 -> {11};
9 -> {10}; 11 -> {9};
10 -> {12};
10 -> {11} [style=dotted];
11 -> {12} [style=dotted]; 11 -> {12} [style=dotted];
12 -> {9} [style=dotted];
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
13 [label="Enter function setter" style="filled" fillcolor=red]; 13 [label="Enter function setter" style="filled" fillcolor=red];
14 [label="Const: Int(1)"]; 15 [label="Const: Int(1)"];
15 [label="Assignmenet: F|/x2|"]; 16 [label="Assignment: F|/x2|"];
16 [label="Exit function setter" style="filled" fillcolor=red]; 14 [label="Exit function setter" style="filled" fillcolor=red];
} }
13 -> {15};
13 -> {14};
14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {14};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
17 [label="Enter property" style="filled" fillcolor=red]; 17 [label="Enter property" style="filled" fillcolor=red];
18 [label="Const: Int(1)"]; 19 [label="Const: Int(1)"];
19 [label="Exit property" style="filled" fillcolor=red]; 18 [label="Exit property" style="filled" fillcolor=red];
} }
17 -> {19};
17 -> {18}; 19 -> {18};
18 -> {19};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
20 [label="Enter function foo" style="filled" fillcolor=red]; 29 [label="Enter function <init>" style="filled" fillcolor=red];
21 [label="Const: Int(1)"]; 31 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
22 [label="Const: Int(1)"]; 30 [label="Exit function <init>" style="filled" fillcolor=red];
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 -> {31};
31 -> {30};
20 -> {21}; subgraph cluster_7 {
21 -> {22}; 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}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {28}; 26 -> {27};
26 -> {27} [style=dotted]; 27 -> {21};
27 -> {28} [style=dotted]; 27 -> {28} [style=dotted];
28 -> {21} [style=dotted];
subgraph cluster_7 { subgraph cluster_19 {
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 {
color=red color=red
68 [label="Enter function getter" style="filled" fillcolor=red]; 68 [label="Enter function getter" style="filled" fillcolor=red];
69 [label="Exit function getter" style="filled" fillcolor=red]; 69 [label="Exit function getter" style="filled" fillcolor=red];
} }
68 -> {69}; 68 -> {69};
subgraph cluster_19 { subgraph cluster_20 {
color=red color=red
70 [label="Enter property" style="filled" fillcolor=red]; 70 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_20 { subgraph cluster_21 {
color=blue color=blue
71 [label="Try expression enter"]; 72 [label="Try expression enter"];
subgraph cluster_21 { subgraph cluster_22 {
color=blue color=blue
72 [label="Try main block enter"]; 74 [label="Try main block enter"];
subgraph cluster_22 { subgraph cluster_23 {
color=blue color=blue
73 [label="Enter block"]; 77 [label="Enter block"];
74 [label="Const: Int(1)"]; 78 [label="Const: Int(1)"];
75 [label="Exit block"]; 79 [label="Exit block"];
} }
76 [label="Try main block exit"]; 80 [label="Try main block exit"];
} }
subgraph cluster_23 { subgraph cluster_24 {
color=blue color=blue
77 [label="Enter finally"]; 76 [label="Enter finally"];
subgraph cluster_24 { subgraph cluster_25 {
color=blue color=blue
78 [label="Enter block"]; 85 [label="Enter block"];
79 [label="Const: Int(0)"]; 86 [label="Const: Int(0)"];
80 [label="Exit block"]; 87 [label="Exit block"];
} }
81 [label="Exit finally"]; 88 [label="Exit finally"];
} }
subgraph cluster_25 { subgraph cluster_26 {
color=blue color=blue
82 [label="Catch enter"]; 75 [label="Catch enter"];
subgraph cluster_26 { subgraph cluster_27 {
color=blue color=blue
83 [label="Enter block"]; 81 [label="Enter block"];
84 [label="Const: Int(2)"]; 82 [label="Const: Int(2)"];
85 [label="Exit block"]; 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 -> {72};
70 -> {71}; 72 -> {74};
71 -> {72}; 73 -> {71};
72 -> {88 82 77 73}; 74 -> {71 75 76 77};
73 -> {74}; 75 -> {71 81};
74 -> {75}; 76 -> {85};
75 -> {76};
76 -> {87};
77 -> {78}; 77 -> {78};
78 -> {79}; 78 -> {79};
79 -> {80}; 79 -> {80};
80 -> {81}; 80 -> {73};
81 -> {87}; 81 -> {82};
82 -> {88 83}; 82 -> {83};
83 -> {84}; 83 -> {84};
84 -> {85}; 84 -> {73};
85 -> {86}; 85 -> {86};
86 -> {87}; 86 -> {87};
87 -> {88}; 87 -> {88};
88 -> {73};
} }
@@ -8,176 +8,168 @@ digraph returnValuesFromLambda_kt {
0 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
1 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
0 -> {1} [color=green]; 0 -> {1} [color=green];
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
2 [label="Enter function <init>" style="filled" fillcolor=red]; 2 [label="Enter function <init>" style="filled" fillcolor=red];
3 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 4 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
4 [label="Exit function <init>" style="filled" fillcolor=red]; 3 [label="Exit function <init>" style="filled" fillcolor=red];
} }
2 -> {4};
2 -> {3}; 4 -> {3};
3 -> {4};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
5 [label="Enter class B" style="filled" fillcolor=red]; 5 [label="Enter class B" style="filled" fillcolor=red];
6 [label="Exit class B" style="filled" fillcolor=red]; 6 [label="Exit class B" style="filled" fillcolor=red];
} }
5 -> {6} [color=green]; 5 -> {6} [color=green];
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
7 [label="Enter function <init>" style="filled" fillcolor=red]; 7 [label="Enter function <init>" style="filled" fillcolor=red];
8 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 9 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
9 [label="Exit function <init>" style="filled" fillcolor=red]; 8 [label="Exit function <init>" style="filled" fillcolor=red];
} }
7 -> {9};
7 -> {8}; 9 -> {8};
8 -> {9};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
10 [label="Enter class C" style="filled" fillcolor=red]; 10 [label="Enter class C" style="filled" fillcolor=red];
11 [label="Exit class C" style="filled" fillcolor=red]; 11 [label="Exit class C" style="filled" fillcolor=red];
} }
10 -> {11} [color=green]; 10 -> {11} [color=green];
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
12 [label="Enter function test_1" style="filled" fillcolor=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 { subgraph cluster_6 {
color=blue color=blue
14 [label="Enter function anonymousFunction"]; 16 [label="Enter function anonymousFunction"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
15 [label="Enter when"]; 18 [label="Enter when"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
16 [label="Enter when branch condition "]; 20 [label="Enter when branch condition "];
17 [label="Access variable R|<local>/b|"]; 21 [label="Access variable R|<local>/b|"];
18 [label="Exit when branch condition"]; 22 [label="Exit when branch condition"];
} }
19 [label="Synthetic else branch"]; 30 [label="Synthetic else branch"];
20 [label="Enter when branch result"]; 23 [label="Enter when branch result"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
21 [label="Enter block"]; 24 [label="Enter block"];
22 [label="Function call: R|/B.B|()"]; 25 [label="Function call: R|/B.B|()"];
23 [label="Jump: ^@run R|/B.B|()"]; 26 [label="Jump: ^@run R|/B.B|()"];
24 [label="Stub" style="filled" fillcolor=gray]; 27 [label="Stub" style="filled" fillcolor=gray];
25 [label="Exit block" style="filled" fillcolor=gray]; 28 [label="Exit block" style="filled" fillcolor=gray];
} }
26 [label="Exit when branch result" style="filled" fillcolor=gray]; 29 [label="Exit when branch result" style="filled" fillcolor=gray];
27 [label="Exit when"]; 19 [label="Exit when"];
} }
28 [label="Function call: R|/C.C|()"]; 31 [label="Function call: R|/C.C|()"];
29 [label="Exit function anonymousFunction"]; 17 [label="Exit function anonymousFunction"];
} }
30 [label="Call arguments union" style="filled" fillcolor=yellow]; 33 [label="Call arguments union" style="filled" fillcolor=yellow];
31 [label="Postponed exit from lambda"]; 15 [label="Postponed exit from lambda"];
32 [label="Function call: R|kotlin/run|<R|A|>(...)"]; 32 [label="Function call: R|kotlin/run|<R|A|>(...)"];
33 [label="Variable declaration: lval x: R|A|"]; 34 [label="Variable declaration: lval x: R|A|"];
34 [label="Exit function test_1" style="filled" fillcolor=red]; 13 [label="Exit function test_1" style="filled" fillcolor=red];
} }
12 -> {14};
12 -> {13}; 14 -> {16};
13 -> {14}; 14 -> {15} [color=red];
13 -> {31} [color=red]; 15 -> {32} [color=green];
14 -> {15}; 16 -> {18};
15 -> {16}; 17 -> {15} [color=green];
16 -> {17}; 17 -> {33} [color=red];
17 -> {18}; 18 -> {20};
18 -> {20 19}; 19 -> {31};
19 -> {27};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23 30};
23 -> {29}; 23 -> {24};
23 -> {24} [style=dotted]; 24 -> {25};
24 -> {25} [style=dotted]; 25 -> {26};
25 -> {26} [style=dotted]; 26 -> {17};
26 -> {27} [style=dotted]; 26 -> {27} [style=dotted];
27 -> {28}; 27 -> {28} [style=dotted];
28 -> {29}; 28 -> {29} [style=dotted];
29 -> {31} [color=green]; 29 -> {19} [style=dotted];
29 -> {30} [color=red]; 30 -> {19};
30 -> {32} [color=red]; 31 -> {17};
31 -> {32} [color=green]; 32 -> {34};
32 -> {33}; 33 -> {32} [color=red];
33 -> {34}; 34 -> {13};
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
35 [label="Enter function test_2" style="filled" fillcolor=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 { subgraph cluster_11 {
color=blue color=blue
37 [label="Enter function anonymousFunction"]; 39 [label="Enter function anonymousFunction"];
38 [label="Function call: R|/C.C|()"]; 41 [label="Function call: R|/C.C|()"];
39 [label="Jump: ^@run R|/C.C|()"]; 42 [label="Jump: ^@run R|/C.C|()"];
40 [label="Stub" style="filled" fillcolor=gray]; 43 [label="Stub" style="filled" fillcolor=gray];
41 [label="Exit function anonymousFunction"]; 40 [label="Exit function anonymousFunction"];
} }
42 [label="Call arguments union" style="filled" fillcolor=yellow]; 45 [label="Call arguments union" style="filled" fillcolor=yellow];
43 [label="Postponed exit from lambda"]; 38 [label="Postponed exit from lambda"];
44 [label="Function call: R|kotlin/run|<R|C|>(...)"]; 44 [label="Function call: R|kotlin/run|<R|C|>(...)"];
45 [label="Variable declaration: lval x: R|C|"]; 46 [label="Variable declaration: lval x: R|C|"];
46 [label="Exit function test_2" style="filled" fillcolor=red]; 36 [label="Exit function test_2" style="filled" fillcolor=red];
} }
35 -> {37};
35 -> {36}; 37 -> {39};
36 -> {37}; 37 -> {38} [color=red];
36 -> {43} [color=red]; 38 -> {44} [color=green];
37 -> {38};
38 -> {39};
39 -> {41}; 39 -> {41};
39 -> {40} [style=dotted]; 40 -> {38} [color=green];
40 -> {41} [style=dotted]; 40 -> {45} [color=red];
41 -> {43} [color=green]; 41 -> {42};
41 -> {42} [color=red]; 42 -> {40};
42 -> {44} [color=red]; 42 -> {43} [style=dotted];
43 -> {44} [color=green]; 43 -> {40} [style=dotted];
44 -> {45}; 44 -> {46};
45 -> {46}; 45 -> {44} [color=red];
46 -> {36};
subgraph cluster_12 { subgraph cluster_12 {
color=red color=red
47 [label="Enter function test_3" style="filled" fillcolor=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 { subgraph cluster_13 {
color=blue color=blue
49 [label="Enter function anonymousFunction"]; 51 [label="Enter function anonymousFunction"];
50 [label="Jump: ^test_3 Unit"]; 53 [label="Jump: ^test_3 Unit"];
51 [label="Stub" style="filled" fillcolor=gray]; 54 [label="Stub" style="filled" fillcolor=gray];
52 [label="Exit function anonymousFunction" style="filled" fillcolor=gray]; 52 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
} }
53 [label="Call arguments union" style="filled" fillcolor=gray]; 56 [label="Call arguments union" style="filled" fillcolor=gray];
54 [label="Postponed exit from lambda"]; 50 [label="Postponed exit from lambda"];
55 [label="Function call: R|kotlin/run|<R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray]; 55 [label="Function call: R|kotlin/run|<R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
56 [label="Stub" style="filled" fillcolor=gray]; 57 [label="Stub" style="filled" fillcolor=gray];
57 [label="Variable declaration: lval x: R|kotlin/Nothing|" style="filled" fillcolor=gray]; 58 [label="Variable declaration: lval x: R|kotlin/Nothing|" style="filled" fillcolor=gray];
58 [label="Exit function test_3" style="filled" fillcolor=red]; 48 [label="Exit function test_3" style="filled" fillcolor=red];
} }
47 -> {49};
47 -> {48}; 49 -> {51};
48 -> {49}; 49 -> {50} [color=red];
48 -> {54} [color=red]; 50 -> {55} [color=green];
49 -> {50}; 51 -> {53};
50 -> {58}; 52 -> {56} [style=dotted];
50 -> {51} [style=dotted]; 52 -> {50} [color=green];
51 -> {52} [style=dotted]; 53 -> {48};
52 -> {53} [style=dotted]; 53 -> {54} [style=dotted];
52 -> {54} [color=green]; 54 -> {52} [style=dotted];
53 -> {55} [style=dotted]; 55 -> {48 57} [style=dotted];
54 -> {55} [color=green]; 56 -> {55} [style=dotted];
55 -> {58 56} [style=dotted];
56 -> {57} [style=dotted];
57 -> {58} [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]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph safeCalls_kt {
2 [label="Enter function bar" style="filled" fillcolor=red]; 2 [label="Enter function bar" style="filled" fillcolor=red];
3 [label="Exit function bar" style="filled" fillcolor=red]; 3 [label="Exit function bar" style="filled" fillcolor=red];
} }
2 -> {3}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
@@ -24,7 +22,6 @@ digraph safeCalls_kt {
4 [label="Enter class A" style="filled" fillcolor=red]; 4 [label="Enter class A" style="filled" fillcolor=red];
5 [label="Exit class A" style="filled" fillcolor=red]; 5 [label="Exit class A" style="filled" fillcolor=red];
} }
4 -> {5} [color=green]; 4 -> {5} [color=green];
subgraph cluster_3 { subgraph cluster_3 {
@@ -32,82 +29,76 @@ digraph safeCalls_kt {
6 [label="Enter function getter" style="filled" fillcolor=red]; 6 [label="Enter function getter" style="filled" fillcolor=red];
7 [label="Exit function getter" style="filled" fillcolor=red]; 7 [label="Exit function getter" style="filled" fillcolor=red];
} }
6 -> {7}; 6 -> {7};
subgraph cluster_4 { 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 color=red
10 [label="Enter function getter" style="filled" fillcolor=red]; 10 [label="Enter function getter" style="filled" fillcolor=red];
11 [label="Exit function getter" style="filled" fillcolor=red]; 11 [label="Exit function getter" style="filled" fillcolor=red];
} }
10 -> {11}; 10 -> {11};
subgraph cluster_6 { subgraph cluster_5 {
color=red
12 [label="Enter property" style="filled" fillcolor=red];
13 [label="Exit property" style="filled" fillcolor=red];
}
12 -> {13};
subgraph cluster_7 {
color=red color=red
14 [label="Enter class B" style="filled" fillcolor=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]; 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 { subgraph cluster_8 {
color=red color=red
16 [label="Enter function test_1" style="filled" fillcolor=red]; 16 [label="Enter function test_1" style="filled" fillcolor=red];
17 [label="Access variable R|<local>/x|"]; 18 [label="Access variable R|<local>/x|"];
18 [label="Enter safe call"]; 19 [label="Enter safe call"];
19 [label="Function call: R|<local>/x|?.R|/A.foo|()"]; 21 [label="Function call: R|<local>/x|?.R|/A.foo|()"];
20 [label="Exit safe call"]; 20 [label="Exit safe call"];
21 [label="Enter safe call"]; 22 [label="Enter safe call"];
22 [label="Function call: R|<local>/x|?.R|/A.foo|()?.R|/A.bar|()"]; 24 [label="Function call: R|<local>/x|?.R|/A.foo|()?.R|/A.bar|()"];
23 [label="Exit safe call"]; 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 -> {18};
16 -> {17}; 18 -> {19 20};
17 -> {18 20}; 19 -> {21};
18 -> {19}; 20 -> {22 23};
19 -> {20}; 21 -> {20};
20 -> {21 23}; 22 -> {24};
21 -> {22}; 23 -> {17};
22 -> {23}; 24 -> {23};
23 -> {24};
subgraph cluster_9 { subgraph cluster_9 {
color=red color=red
25 [label="Enter function test_2" style="filled" fillcolor=red]; 25 [label="Enter function test_2" style="filled" fillcolor=red];
26 [label="Access variable R|<local>/x|"]; 27 [label="Access variable R|<local>/x|"];
27 [label="Enter safe call"]; 28 [label="Enter safe call"];
28 [label="Access variable R|/B.foo|"]; 30 [label="Access variable R|/B.foo|"];
29 [label="Exit safe call"]; 29 [label="Exit safe call"];
30 [label="Enter safe call"]; 31 [label="Enter safe call"];
31 [label="Access variable R|/B.bar|"]; 33 [label="Access variable R|/B.bar|"];
32 [label="Exit safe call"]; 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 -> {27};
25 -> {26}; 27 -> {28 29};
26 -> {27 29}; 28 -> {30};
27 -> {28}; 29 -> {31 32};
28 -> {29}; 30 -> {29};
29 -> {30 32}; 31 -> {33};
30 -> {31}; 32 -> {26};
31 -> {32}; 33 -> {32};
32 -> {33};
} }
+10 -12
View File
@@ -8,29 +8,27 @@ digraph simple_kt {
0 [label="Enter function foo" style="filled" fillcolor=red]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
2 [label="Enter function test" style="filled" fillcolor=red]; 2 [label="Enter function test" style="filled" fillcolor=red];
3 [label="Const: Int(1)"]; 4 [label="Const: Int(1)"];
4 [label="Variable declaration: lval x: R|kotlin/Int|"]; 5 [label="Variable declaration: lval x: R|kotlin/Int|"];
5 [label="Access variable R|<local>/x|"]; 6 [label="Access variable R|<local>/x|"];
6 [label="Const: Int(1)"]; 7 [label="Const: Int(1)"];
7 [label="Function call: R|<local>/x|.R|kotlin/Int.plus|(...)"]; 8 [label="Function call: R|<local>/x|.R|kotlin/Int.plus|(...)"];
8 [label="Variable declaration: lval y: R|kotlin/Int|"]; 9 [label="Variable declaration: lval y: R|kotlin/Int|"];
9 [label="Function call: R|/foo|()"]; 10 [label="Function call: R|/foo|()"];
10 [label="Exit function test" style="filled" fillcolor=red]; 3 [label="Exit function test" style="filled" fillcolor=red];
} }
2 -> {4};
2 -> {3};
3 -> {4};
4 -> {5}; 4 -> {5};
5 -> {6}; 5 -> {6};
6 -> {7}; 6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9};
9 -> {10}; 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]; 0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
1 [label="Try expression enter"]; 2 [label="Try expression enter"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
2 [label="Try main block enter"]; 4 [label="Try main block enter"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
3 [label="Enter block"]; 7 [label="Enter block"];
4 [label="Const: Int(1)"]; 8 [label="Const: Int(1)"];
5 [label="Variable declaration: lval x: R|kotlin/Int|"]; 9 [label="Variable declaration: lval x: R|kotlin/Int|"];
6 [label="Exit block"]; 10 [label="Exit block"];
} }
7 [label="Try main block exit"]; 11 [label="Try main block exit"];
} }
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
8 [label="Catch enter"]; 6 [label="Catch enter"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
9 [label="Enter block"]; 17 [label="Enter block"];
10 [label="Const: Int(3)"]; 18 [label="Const: Int(3)"];
11 [label="Variable declaration: lval z: R|kotlin/Int|"]; 19 [label="Variable declaration: lval z: R|kotlin/Int|"];
12 [label="Exit block"]; 20 [label="Exit block"];
} }
13 [label="Catch exit"]; 21 [label="Catch exit"];
} }
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
14 [label="Catch enter"]; 5 [label="Catch enter"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
15 [label="Enter block"]; 12 [label="Enter block"];
16 [label="Const: Int(2)"]; 13 [label="Const: Int(2)"];
17 [label="Variable declaration: lval y: R|kotlin/Int|"]; 14 [label="Variable declaration: lval y: R|kotlin/Int|"];
18 [label="Exit block"]; 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 -> {2};
0 -> {1}; 2 -> {4};
1 -> {2}; 3 -> {1};
2 -> {21 14 8 3}; 4 -> {1 5 6 7};
3 -> {4}; 5 -> {1 12};
4 -> {5}; 6 -> {1 17};
5 -> {6}; 7 -> {8};
6 -> {7}; 8 -> {9};
7 -> {20};
8 -> {21 9};
9 -> {10}; 9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {3};
12 -> {13}; 12 -> {13};
13 -> {20}; 13 -> {14};
14 -> {21 15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {3};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {3};
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
22 [label="Enter function test_2" style="filled" fillcolor=red]; 22 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
23 [label="Try expression enter"]; 24 [label="Try expression enter"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
24 [label="Try main block enter"]; 26 [label="Try main block enter"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
25 [label="Enter block"]; 28 [label="Enter block"];
26 [label="Const: Int(1)"]; 29 [label="Const: Int(1)"];
27 [label="Exit block"]; 30 [label="Exit block"];
} }
28 [label="Try main block exit"]; 31 [label="Try main block exit"];
} }
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
29 [label="Catch enter"]; 27 [label="Catch enter"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
30 [label="Enter block"]; 32 [label="Enter block"];
31 [label="Const: Int(2)"]; 33 [label="Const: Int(2)"];
32 [label="Exit block"]; 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="Variable declaration: lval x: R|kotlin/Int|"];
36 [label="Exit function test_2" style="filled" fillcolor=red]; 23 [label="Exit function test_2" style="filled" fillcolor=red];
} }
22 -> {24};
22 -> {23}; 24 -> {26};
23 -> {24}; 25 -> {36};
24 -> {36 29 25}; 26 -> {23 27 28};
25 -> {26}; 27 -> {23 32};
26 -> {27}; 28 -> {29};
27 -> {28}; 29 -> {30};
28 -> {34};
29 -> {36 30};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {25};
32 -> {33}; 32 -> {33};
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {25};
36 -> {23};
subgraph cluster_14 { subgraph cluster_14 {
color=red color=red
37 [label="Enter function test_3" style="filled" fillcolor=red]; 37 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
38 [label="Enter while loop"]; 39 [label="Enter while loop"];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
39 [label="Enter loop condition"]; 41 [label="Enter loop condition"];
40 [label="Const: Boolean(true)"]; 42 [label="Const: Boolean(true)"];
41 [label="Exit loop condition"]; 43 [label="Exit loop condition"];
} }
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
42 [label="Enter loop block"]; 44 [label="Enter loop block"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
43 [label="Enter block"]; 45 [label="Enter block"];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
44 [label="Try expression enter"]; 46 [label="Try expression enter"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
45 [label="Try main block enter"]; 48 [label="Try main block enter"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
46 [label="Enter block"]; 51 [label="Enter block"];
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
47 [label="Enter when"]; 52 [label="Enter when"];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
48 [label="Enter when branch condition "]; 54 [label="Enter when branch condition "];
49 [label="Access variable R|<local>/b|"]; 55 [label="Access variable R|<local>/b|"];
50 [label="Exit when branch condition"]; 56 [label="Exit when branch condition"];
} }
51 [label="Synthetic else branch"]; 63 [label="Synthetic else branch"];
52 [label="Enter when branch result"]; 57 [label="Enter when branch result"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
53 [label="Enter block"]; 58 [label="Enter block"];
54 [label="Jump: ^test_3 Unit"]; 59 [label="Jump: ^test_3 Unit"];
55 [label="Stub" style="filled" fillcolor=gray]; 60 [label="Stub" style="filled" fillcolor=gray];
56 [label="Exit block" style="filled" fillcolor=gray]; 61 [label="Exit block" style="filled" fillcolor=gray];
} }
57 [label="Exit when branch result" style="filled" fillcolor=gray]; 62 [label="Exit when branch result" style="filled" fillcolor=gray];
58 [label="Exit when"]; 53 [label="Exit when"];
} }
59 [label="Const: Int(1)"]; 64 [label="Const: Int(1)"];
60 [label="Variable declaration: lval x: R|kotlin/Int|"]; 65 [label="Variable declaration: lval x: R|kotlin/Int|"];
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
61 [label="Enter when"]; 66 [label="Enter when"];
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
62 [label="Enter when branch condition "]; 68 [label="Enter when branch condition "];
63 [label="Access variable R|<local>/b|"]; 69 [label="Access variable R|<local>/b|"];
64 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"]; 70 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
65 [label="Exit when branch condition"]; 71 [label="Exit when branch condition"];
} }
66 [label="Synthetic else branch"]; 78 [label="Synthetic else branch"];
67 [label="Enter when branch result"]; 72 [label="Enter when branch result"];
subgraph cluster_27 { subgraph cluster_27 {
color=blue color=blue
68 [label="Enter block"]; 73 [label="Enter block"];
69 [label="Jump: break@@@[Boolean(true)] "]; 74 [label="Jump: break@@@[Boolean(true)] "];
70 [label="Stub" style="filled" fillcolor=gray]; 75 [label="Stub" style="filled" fillcolor=gray];
71 [label="Exit block" style="filled" fillcolor=gray]; 76 [label="Exit block" style="filled" fillcolor=gray];
} }
72 [label="Exit when branch result" style="filled" fillcolor=gray]; 77 [label="Exit when branch result" style="filled" fillcolor=gray];
73 [label="Exit when"]; 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 { subgraph cluster_28 {
color=blue color=blue
76 [label="Catch enter"]; 50 [label="Catch enter"];
subgraph cluster_29 { subgraph cluster_29 {
color=blue color=blue
77 [label="Enter block"]; 86 [label="Enter block"];
78 [label="Jump: break@@@[Boolean(true)] "]; 87 [label="Jump: break@@@[Boolean(true)] "];
79 [label="Stub" style="filled" fillcolor=gray]; 88 [label="Stub" style="filled" fillcolor=gray];
80 [label="Exit block" 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 { subgraph cluster_30 {
color=blue color=blue
82 [label="Catch enter"]; 49 [label="Catch enter"];
subgraph cluster_31 { subgraph cluster_31 {
color=blue color=blue
83 [label="Enter block"]; 81 [label="Enter block"];
84 [label="Jump: continue@@@[Boolean(true)] "]; 82 [label="Jump: continue@@@[Boolean(true)] "];
85 [label="Stub" style="filled" fillcolor=gray]; 83 [label="Stub" style="filled" fillcolor=gray];
86 [label="Exit block" 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)"]; 91 [label="Const: Int(2)"];
90 [label="Variable declaration: lval y: R|kotlin/Int|"]; 92 [label="Variable declaration: lval y: R|kotlin/Int|"];
91 [label="Exit block"]; 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="Const: Int(3)"];
95 [label="Variable declaration: lval z: R|kotlin/Int|"]; 96 [label="Variable declaration: lval z: R|kotlin/Int|"];
96 [label="Exit function test_3" style="filled" fillcolor=red]; 38 [label="Exit function test_3" style="filled" fillcolor=red];
} }
37 -> {39};
37 -> {38}; 39 -> {41};
38 -> {39}; 40 -> {95};
39 -> {40};
40 -> {41};
41 -> {42}; 41 -> {42};
41 -> {93} [style=dotted];
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
43 -> {40} [style=dotted];
44 -> {45}; 44 -> {45};
45 -> {96 82 76 46}; 45 -> {46};
46 -> {47}; 46 -> {48};
47 -> {48}; 47 -> {91};
48 -> {49}; 48 -> {38 49 50 51};
49 -> {50}; 49 -> {38 81};
50 -> {52 51}; 50 -> {38 86};
51 -> {58}; 51 -> {52};
52 -> {53}; 52 -> {54};
53 -> {54}; 53 -> {64};
54 -> {96}; 54 -> {55};
54 -> {55} [style=dotted]; 55 -> {56};
55 -> {56} [style=dotted]; 56 -> {57 63};
56 -> {57} [style=dotted]; 57 -> {58};
57 -> {58} [style=dotted];
58 -> {59}; 58 -> {59};
59 -> {60}; 59 -> {38};
60 -> {61}; 59 -> {60} [style=dotted];
61 -> {62}; 60 -> {61} [style=dotted];
62 -> {63}; 61 -> {62} [style=dotted];
63 -> {64}; 62 -> {53} [style=dotted];
63 -> {53};
64 -> {65}; 64 -> {65};
65 -> {67 66}; 65 -> {66};
66 -> {73}; 66 -> {68};
67 -> {68}; 67 -> {79};
68 -> {69}; 68 -> {69};
69 -> {93}; 69 -> {70};
69 -> {70} [style=dotted]; 70 -> {71};
70 -> {71} [style=dotted]; 71 -> {72 78};
71 -> {72} [style=dotted]; 72 -> {73};
72 -> {73} [style=dotted];
73 -> {74}; 73 -> {74};
74 -> {75}; 74 -> {40};
75 -> {88}; 74 -> {75} [style=dotted];
76 -> {96 77}; 75 -> {76} [style=dotted];
77 -> {78}; 76 -> {77} [style=dotted];
78 -> {93}; 77 -> {67} [style=dotted];
78 -> {79} [style=dotted]; 78 -> {67};
79 -> {80} [style=dotted]; 79 -> {80};
80 -> {81} [style=dotted]; 80 -> {47};
81 -> {88} [style=dotted]; 81 -> {82};
82 -> {96 83}; 82 -> {39};
83 -> {84}; 82 -> {83} [style=dotted];
84 -> {38}; 83 -> {84} [style=dotted];
84 -> {85} [style=dotted]; 84 -> {85} [style=dotted];
85 -> {86} [style=dotted]; 85 -> {47} [style=dotted];
86 -> {87} [style=dotted]; 86 -> {87};
87 -> {40};
87 -> {88} [style=dotted]; 87 -> {88} [style=dotted];
88 -> {89}; 88 -> {89} [style=dotted];
89 -> {90}; 89 -> {90} [style=dotted];
90 -> {91}; 90 -> {47} [style=dotted];
91 -> {92}; 91 -> {92};
92 -> {39}; 92 -> {93};
93 -> {94}; 93 -> {94};
94 -> {95}; 94 -> {41};
95 -> {96}; 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]; 0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
1 [label="Enter when"]; 2 [label="Enter when"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
2 [label="Enter when branch condition "]; 4 [label="Enter when branch condition "];
3 [label="Access variable R|<local>/x|"]; 5 [label="Access variable R|<local>/x|"];
4 [label="Const: Int(1)"]; 6 [label="Const: Int(1)"];
5 [label="Operator =="]; 7 [label="Operator =="];
6 [label="Exit when branch condition"]; 8 [label="Exit when branch condition"];
} }
subgraph cluster_3 { 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 color=blue
14 [label="Enter when branch condition "]; 14 [label="Enter when branch condition "];
15 [label="Const: Int(1)"]; 15 [label="Access variable R|<local>/x|"];
16 [label="Const: Int(1)"]; 16 [label="Const: Int(2)"];
17 [label="Function call: Int(1).R|kotlin/Int.minus|(...)"]; 17 [label="Function call: R|<local>/x|.R|kotlin/Int.rem|(...)"];
18 [label="Const: Int(0)"]; 18 [label="Const: Int(0)"];
19 [label="Operator =="]; 19 [label="Operator =="];
20 [label="Exit when branch condition"]; 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 { subgraph cluster_5 {
color=blue color=blue
21 [label="Enter when branch condition else"]; 39 [label="Enter when branch condition else"];
22 [label="Exit when branch condition"]; 40 [label="Exit when branch condition"];
} }
23 [label="Enter when branch result"]; 41 [label="Enter when branch result"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
24 [label="Enter block"]; 42 [label="Enter block"];
25 [label="Const: Int(5)"]; 43 [label="Const: Int(5)"];
26 [label="Exit block"]; 44 [label="Exit block"];
} }
27 [label="Exit when branch result"]; 45 [label="Exit when branch result"];
28 [label="Enter when branch result"]; 33 [label="Enter when branch result"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
29 [label="Enter block"]; 34 [label="Enter block"];
30 [label="Jump: ^test_1 Unit"]; 35 [label="Jump: ^test_1 Unit"];
31 [label="Stub" style="filled" fillcolor=gray]; 36 [label="Stub" style="filled" fillcolor=gray];
32 [label="Exit block" style="filled" fillcolor=gray]; 37 [label="Exit block" style="filled" fillcolor=gray];
} }
33 [label="Exit when branch result" style="filled" fillcolor=gray]; 38 [label="Exit when branch result" style="filled" fillcolor=gray];
34 [label="Enter when branch result"]; 21 [label="Enter when branch result"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
35 [label="Enter block"]; 22 [label="Enter block"];
36 [label="Const: Int(20)"]; 23 [label="Const: Int(20)"];
37 [label="Exit block"]; 24 [label="Exit block"];
} }
38 [label="Exit when branch result"]; 25 [label="Exit when branch result"];
39 [label="Enter when branch result"]; 9 [label="Enter when branch result"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
40 [label="Enter block"]; 10 [label="Enter block"];
41 [label="Const: Int(10)"]; 11 [label="Const: Int(10)"];
42 [label="Exit block"]; 12 [label="Exit block"];
} }
43 [label="Exit when branch result"]; 13 [label="Exit when branch result"];
44 [label="Exit when"]; 3 [label="Exit when"];
} }
45 [label="Variable declaration: lval y: R|kotlin/Int|"]; 46 [label="Variable declaration: lval y: R|kotlin/Int|"];
46 [label="Exit function test_1" style="filled" fillcolor=red]; 1 [label="Exit function test_1" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {4};
1 -> {2}; 3 -> {46};
2 -> {3};
3 -> {4};
4 -> {5}; 4 -> {5};
5 -> {6}; 5 -> {6};
6 -> {39 7}; 6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9 14};
9 -> {10}; 9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {34 14}; 13 -> {3};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {28 21}; 20 -> {21 26};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {3};
26 -> {27}; 26 -> {27};
27 -> {44}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {46}; 30 -> {31};
30 -> {31} [style=dotted]; 31 -> {32};
31 -> {32} [style=dotted]; 32 -> {33 39};
32 -> {33} [style=dotted]; 33 -> {34};
33 -> {44} [style=dotted];
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {1};
36 -> {37}; 35 -> {36} [style=dotted];
37 -> {38}; 36 -> {37} [style=dotted];
38 -> {44}; 37 -> {38} [style=dotted];
38 -> {3} [style=dotted];
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {3};
46 -> {1};
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
47 [label="Enter class A" style="filled" fillcolor=red]; 47 [label="Enter class A" style="filled" fillcolor=red];
48 [label="Exit class A" style="filled" fillcolor=red]; 48 [label="Exit class A" style="filled" fillcolor=red];
} }
47 -> {48} [color=green]; 47 -> {48} [color=green];
subgraph cluster_11 { subgraph cluster_11 {
@@ -142,7 +140,6 @@ digraph when_kt {
49 [label="Enter class B" style="filled" fillcolor=red]; 49 [label="Enter class B" style="filled" fillcolor=red];
50 [label="Exit class B" style="filled" fillcolor=red]; 50 [label="Exit class B" style="filled" fillcolor=red];
} }
49 -> {50} [color=green]; 49 -> {50} [color=green];
subgraph cluster_12 { subgraph cluster_12 {
@@ -150,57 +147,56 @@ digraph when_kt {
51 [label="Enter function test_2" style="filled" fillcolor=red]; 51 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
52 [label="Enter when"]; 53 [label="Enter when"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
53 [label="Enter when branch condition "]; 55 [label="Enter when branch condition "];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
54 [label="Enter &&"]; 57 [label="Enter &&"];
55 [label="Access variable R|<local>/x|"]; 58 [label="Access variable R|<local>/x|"];
56 [label="Type operator: (R|<local>/x| is R|A|)"]; 59 [label="Type operator: (R|<local>/x| is R|A|)"];
57 [label="Exit left part of &&"]; 60 [label="Exit left part of &&"];
58 [label="Enter right part of &&"]; 61 [label="Enter right part of &&"];
59 [label="Access variable R|<local>/x|"]; 62 [label="Access variable R|<local>/x|"];
60 [label="Type operator: (R|<local>/x| is R|B|)"]; 63 [label="Type operator: (R|<local>/x| is R|B|)"];
61 [label="Exit &&"]; 56 [label="Exit &&"];
} }
62 [label="Exit when branch condition"]; 64 [label="Exit when branch condition"];
} }
63 [label="Synthetic else branch"]; 71 [label="Synthetic else branch"];
64 [label="Enter when branch result"]; 65 [label="Enter when branch result"];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
65 [label="Enter block"]; 66 [label="Enter block"];
66 [label="Access variable R|<local>/x|"]; 67 [label="Access variable R|<local>/x|"];
67 [label="Type operator: (R|<local>/x| is R|A|)"]; 68 [label="Type operator: (R|<local>/x| is R|A|)"];
68 [label="Exit block"]; 69 [label="Exit block"];
} }
69 [label="Exit when branch result"]; 70 [label="Exit when branch result"];
70 [label="Exit when"]; 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 -> {53};
51 -> {52}; 53 -> {55};
52 -> {53}; 54 -> {52};
53 -> {54}; 55 -> {57};
54 -> {55}; 56 -> {64};
55 -> {56}; 57 -> {58};
56 -> {57};
57 -> {61 58};
58 -> {59}; 58 -> {59};
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {56 61};
61 -> {62}; 61 -> {62};
62 -> {64 63}; 62 -> {63};
63 -> {70}; 63 -> {56};
64 -> {65}; 64 -> {65 71};
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {54};
71 -> {54};
} }
@@ -6,19 +6,17 @@ digraph exhaustiveWhenAndDNNType_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function <init>" style="filled" fillcolor=red]; 0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Enum<SomeEnum>|>()"]; 2 [label="Delegated constructor call: super<R|kotlin/Enum<SomeEnum>|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 1 [label="Exit function <init>" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {1};
1 -> {2};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
3 [label="Enter function values" style="filled" fillcolor=red]; 3 [label="Enter function values" style="filled" fillcolor=red];
4 [label="Exit function values" style="filled" fillcolor=red]; 4 [label="Exit function values" style="filled" fillcolor=red];
} }
3 -> {4}; 3 -> {4};
subgraph cluster_2 { subgraph cluster_2 {
@@ -26,7 +24,6 @@ digraph exhaustiveWhenAndDNNType_kt {
5 [label="Enter function valueOf" style="filled" fillcolor=red]; 5 [label="Enter function valueOf" style="filled" fillcolor=red];
6 [label="Exit function valueOf" style="filled" fillcolor=red]; 6 [label="Exit function valueOf" style="filled" fillcolor=red];
} }
5 -> {6}; 5 -> {6};
subgraph cluster_3 { subgraph cluster_3 {
@@ -34,25 +31,22 @@ digraph exhaustiveWhenAndDNNType_kt {
7 [label="Enter class SomeEnum" style="filled" fillcolor=red]; 7 [label="Enter class SomeEnum" style="filled" fillcolor=red];
8 [label="Exit class SomeEnum" style="filled" fillcolor=red]; 8 [label="Exit class SomeEnum" style="filled" fillcolor=red];
} }
7 -> {8} [color=green]; 7 -> {8} [color=green];
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
9 [label="Enter function <init>" style="filled" fillcolor=red]; 9 [label="Enter function <init>" style="filled" fillcolor=red];
10 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 11 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
11 [label="Exit function <init>" style="filled" fillcolor=red]; 10 [label="Exit function <init>" style="filled" fillcolor=red];
} }
9 -> {11};
9 -> {10}; 11 -> {10};
10 -> {11};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
12 [label="Enter class B" style="filled" fillcolor=red]; 12 [label="Enter class B" style="filled" fillcolor=red];
13 [label="Exit class B" style="filled" fillcolor=red]; 13 [label="Exit class B" style="filled" fillcolor=red];
} }
12 -> {13} [color=green]; 12 -> {13} [color=green];
subgraph cluster_6 { subgraph cluster_6 {
@@ -60,254 +54,250 @@ digraph exhaustiveWhenAndDNNType_kt {
14 [label="Enter function takeB" style="filled" fillcolor=red]; 14 [label="Enter function takeB" style="filled" fillcolor=red];
15 [label="Exit function takeB" style="filled" fillcolor=red]; 15 [label="Exit function takeB" style="filled" fillcolor=red];
} }
14 -> {15}; 14 -> {15};
subgraph cluster_7 { subgraph cluster_7 {
color=red color=red
16 [label="Enter function test_1" style="filled" fillcolor=red]; 16 [label="Enter function test_1" style="filled" fillcolor=red];
17 [label="Access qualifier /SomeEnum"]; 18 [label="Access qualifier /SomeEnum"];
18 [label="Access variable R|/SomeEnum.A1|"]; 19 [label="Access variable R|/SomeEnum.A1|"];
19 [label="Variable declaration: lval flag: R|SomeEnum|"]; 20 [label="Variable declaration: lval flag: R|SomeEnum|"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
20 [label="Enter when"]; 21 [label="Enter when"];
21 [label="Access variable R|<local>/flag|"]; 23 [label="Access variable R|<local>/flag|"];
22 [label="Check not null: R|<local>/flag|!!"]; 24 [label="Check not null: R|<local>/flag|!!"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
23 [label="Enter when branch condition "]; 25 [label="Enter when branch condition "];
24 [label="Access qualifier /SomeEnum"]; 26 [label="Access qualifier /SomeEnum"];
25 [label="Access variable R|/SomeEnum.A1|"]; 27 [label="Access variable R|/SomeEnum.A1|"];
26 [label="Operator =="]; 28 [label="Operator =="];
27 [label="Exit when branch condition"]; 29 [label="Exit when branch condition"];
} }
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
28 [label="Enter when branch condition "]; 35 [label="Enter when branch condition "];
29 [label="Access qualifier /SomeEnum"]; 36 [label="Access qualifier /SomeEnum"];
30 [label="Access variable R|/SomeEnum.A2|"]; 37 [label="Access variable R|/SomeEnum.A2|"];
31 [label="Operator =="]; 38 [label="Operator =="];
32 [label="Exit when branch condition"]; 39 [label="Exit when branch condition"];
} }
33 [label="Enter when branch result"]; 40 [label="Enter when branch result"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
34 [label="Enter block"]; 41 [label="Enter block"];
35 [label="Function call: R|/B.B|()"]; 42 [label="Function call: R|/B.B|()"];
36 [label="Exit block"]; 43 [label="Exit block"];
} }
37 [label="Exit when branch result"]; 44 [label="Exit when branch result"];
38 [label="Enter when branch result"]; 30 [label="Enter when branch result"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
39 [label="Enter block"]; 31 [label="Enter block"];
40 [label="Function call: R|/B.B|()"]; 32 [label="Function call: R|/B.B|()"];
41 [label="Exit block"]; 33 [label="Exit block"];
} }
42 [label="Exit when branch result"]; 34 [label="Exit when branch result"];
43 [label="Exit when"]; 22 [label="Exit when"];
} }
44 [label="Variable declaration: lval b: R|B|"]; 45 [label="Variable declaration: lval b: R|B|"];
45 [label="Access variable R|<local>/b|"]; 46 [label="Access variable R|<local>/b|"];
46 [label="Function call: R|/takeB|(...)"]; 47 [label="Function call: R|/takeB|(...)"];
47 [label="Exit function test_1" style="filled" fillcolor=red]; 17 [label="Exit function test_1" style="filled" fillcolor=red];
} }
16 -> {18};
16 -> {17};
17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {23};
22 -> {23}; 22 -> {45};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {38 28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {30 35};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {22};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37};
37 -> {43}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {22};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {17};
subgraph cluster_13 { subgraph cluster_13 {
color=red color=red
48 [label="Enter function test_2" style="filled" fillcolor=red]; 48 [label="Enter function test_2" style="filled" fillcolor=red];
49 [label="Access qualifier /SomeEnum"]; 50 [label="Access qualifier /SomeEnum"];
50 [label="Access variable R|/SomeEnum.A1|"]; 51 [label="Access variable R|/SomeEnum.A1|"];
51 [label="Variable declaration: lval flag: R|SomeEnum|"]; 52 [label="Variable declaration: lval flag: R|SomeEnum|"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
52 [label="Enter when"]; 53 [label="Enter when"];
53 [label="Access variable R|<local>/flag|"]; 55 [label="Access variable R|<local>/flag|"];
54 [label="Check not null: R|<local>/flag|!!"]; 56 [label="Check not null: R|<local>/flag|!!"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
55 [label="Enter when branch condition "]; 57 [label="Enter when branch condition "];
56 [label="Access qualifier /SomeEnum"]; 58 [label="Access qualifier /SomeEnum"];
57 [label="Access variable R|/SomeEnum.A1|"]; 59 [label="Access variable R|/SomeEnum.A1|"];
58 [label="Operator =="]; 60 [label="Operator =="];
59 [label="Exit when branch condition"]; 61 [label="Exit when branch condition"];
} }
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
60 [label="Enter when branch condition "]; 67 [label="Enter when branch condition "];
61 [label="Access qualifier /SomeEnum"]; 68 [label="Access qualifier /SomeEnum"];
62 [label="Access variable R|/SomeEnum.A2|"]; 69 [label="Access variable R|/SomeEnum.A2|"];
63 [label="Operator =="]; 70 [label="Operator =="];
64 [label="Exit when branch condition"]; 71 [label="Exit when branch condition"];
} }
65 [label="Enter when branch result"]; 72 [label="Enter when branch result"];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
66 [label="Enter block"]; 73 [label="Enter block"];
67 [label="Function call: R|/B.B|()"]; 74 [label="Function call: R|/B.B|()"];
68 [label="Exit block"]; 75 [label="Exit block"];
} }
69 [label="Exit when branch result"]; 76 [label="Exit when branch result"];
70 [label="Enter when branch result"]; 62 [label="Enter when branch result"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
71 [label="Enter block"]; 63 [label="Enter block"];
72 [label="Function call: R|/B.B|()"]; 64 [label="Function call: R|/B.B|()"];
73 [label="Exit block"]; 65 [label="Exit block"];
} }
74 [label="Exit when branch result"]; 66 [label="Exit when branch result"];
75 [label="Exit when"]; 54 [label="Exit when"];
} }
76 [label="Variable declaration: lval b: R|B|"]; 77 [label="Variable declaration: lval b: R|B|"];
77 [label="Access variable R|<local>/b|"]; 78 [label="Access variable R|<local>/b|"];
78 [label="Function call: R|/takeB|(...)"]; 79 [label="Function call: R|/takeB|(...)"];
79 [label="Exit function test_2" style="filled" fillcolor=red]; 49 [label="Exit function test_2" style="filled" fillcolor=red];
} }
48 -> {50};
48 -> {49};
49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {53};
53 -> {54}; 53 -> {55};
54 -> {55}; 54 -> {77};
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {57};
57 -> {58}; 57 -> {58};
58 -> {59}; 58 -> {59};
59 -> {70 60}; 59 -> {60};
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {62 67};
62 -> {63}; 62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {54};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {75}; 69 -> {70};
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {72};
72 -> {73}; 72 -> {73};
73 -> {74}; 73 -> {74};
74 -> {75}; 74 -> {75};
75 -> {76}; 75 -> {76};
76 -> {77}; 76 -> {54};
77 -> {78}; 77 -> {78};
78 -> {79}; 78 -> {79};
79 -> {49};
subgraph cluster_19 { subgraph cluster_19 {
color=red color=red
80 [label="Enter function test_3" style="filled" fillcolor=red]; 80 [label="Enter function test_3" style="filled" fillcolor=red];
81 [label="Access qualifier /SomeEnum"]; 82 [label="Access qualifier /SomeEnum"];
82 [label="Access variable R|/SomeEnum.A1|"]; 83 [label="Access variable R|/SomeEnum.A1|"];
83 [label="Variable declaration: lval flag: R|SomeEnum|"]; 84 [label="Variable declaration: lval flag: R|SomeEnum|"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
84 [label="Enter when"]; 85 [label="Enter when"];
85 [label="Access variable R|<local>/flag|"]; 87 [label="Access variable R|<local>/flag|"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
86 [label="Enter when branch condition "]; 88 [label="Enter when branch condition "];
87 [label="Access qualifier /SomeEnum"]; 89 [label="Access qualifier /SomeEnum"];
88 [label="Access variable R|/SomeEnum.A1|"]; 90 [label="Access variable R|/SomeEnum.A1|"];
89 [label="Operator =="]; 91 [label="Operator =="];
90 [label="Exit when branch condition"]; 92 [label="Exit when branch condition"];
} }
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
91 [label="Enter when branch condition "]; 98 [label="Enter when branch condition "];
92 [label="Access qualifier /SomeEnum"]; 99 [label="Access qualifier /SomeEnum"];
93 [label="Access variable R|/SomeEnum.A2|"]; 100 [label="Access variable R|/SomeEnum.A2|"];
94 [label="Operator =="]; 101 [label="Operator =="];
95 [label="Exit when branch condition"]; 102 [label="Exit when branch condition"];
} }
96 [label="Enter when branch result"]; 103 [label="Enter when branch result"];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
97 [label="Enter block"]; 104 [label="Enter block"];
98 [label="Function call: R|/B.B|()"]; 105 [label="Function call: R|/B.B|()"];
99 [label="Exit block"]; 106 [label="Exit block"];
} }
100 [label="Exit when branch result"]; 107 [label="Exit when branch result"];
101 [label="Enter when branch result"]; 93 [label="Enter when branch result"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
102 [label="Enter block"]; 94 [label="Enter block"];
103 [label="Function call: R|/B.B|()"]; 95 [label="Function call: R|/B.B|()"];
104 [label="Exit block"]; 96 [label="Exit block"];
} }
105 [label="Exit when branch result"]; 97 [label="Exit when branch result"];
106 [label="Exit when"]; 86 [label="Exit when"];
} }
107 [label="Variable declaration: lval b: R|B|"]; 108 [label="Variable declaration: lval b: R|B|"];
108 [label="Access variable R|<local>/b|"]; 109 [label="Access variable R|<local>/b|"];
109 [label="Function call: R|/takeB|(...)"]; 110 [label="Function call: R|/takeB|(...)"];
110 [label="Exit function test_3" style="filled" fillcolor=red]; 81 [label="Exit function test_3" style="filled" fillcolor=red];
} }
80 -> {82};
80 -> {81};
81 -> {82};
82 -> {83}; 82 -> {83};
83 -> {84}; 83 -> {84};
84 -> {85}; 84 -> {85};
85 -> {86}; 85 -> {87};
86 -> {87}; 86 -> {108};
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {89};
89 -> {90}; 89 -> {90};
90 -> {101 91}; 90 -> {91};
91 -> {92}; 91 -> {92};
92 -> {93}; 92 -> {93 98};
93 -> {94}; 93 -> {94};
94 -> {95}; 94 -> {95};
95 -> {96}; 95 -> {96};
96 -> {97}; 96 -> {97};
97 -> {98}; 97 -> {86};
98 -> {99}; 98 -> {99};
99 -> {100}; 99 -> {100};
100 -> {106}; 100 -> {101};
101 -> {102}; 101 -> {102};
102 -> {103}; 102 -> {103};
103 -> {104}; 103 -> {104};
104 -> {105}; 104 -> {105};
105 -> {106}; 105 -> {106};
106 -> {107}; 106 -> {107};
107 -> {108}; 107 -> {86};
108 -> {109}; 108 -> {109};
109 -> {110}; 109 -> {110};
110 -> {81};
} }
@@ -8,7 +8,6 @@ digraph bangbang_kt {
0 [label="Enter function foo" style="filled" fillcolor=red]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,350 +15,341 @@ digraph bangbang_kt {
2 [label="Enter class A" style="filled" fillcolor=red]; 2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 3 [label="Exit class A" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 2 -> {3} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
4 [label="Enter function test_0" style="filled" fillcolor=red]; 4 [label="Enter function test_0" style="filled" fillcolor=red];
5 [label="Access variable R|<local>/a|"]; 6 [label="Access variable R|<local>/a|"];
6 [label="Check not null: R|<local>/a|!!"]; 7 [label="Check not null: R|<local>/a|!!"];
7 [label="Function call: R|<local>/a|!!.R|/A.foo|()"]; 8 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
8 [label="Access variable R|<local>/a|"]; 9 [label="Access variable R|<local>/a|"];
9 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 10 [label="Function call: R|<local>/a|.R|/A.foo|()"];
10 [label="Exit function test_0" style="filled" fillcolor=red]; 5 [label="Exit function test_0" style="filled" fillcolor=red];
} }
4 -> {6};
4 -> {5};
5 -> {6};
6 -> {7}; 6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9};
9 -> {10}; 9 -> {10};
10 -> {5};
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
11 [label="Enter function test_1" style="filled" fillcolor=red]; 11 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
12 [label="Enter when"]; 13 [label="Enter when"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
13 [label="Enter when branch condition "]; 15 [label="Enter when branch condition "];
14 [label="Access variable R|<local>/a|"]; 16 [label="Access variable R|<local>/a|"];
15 [label="Check not null: R|<local>/a|!!"]; 17 [label="Check not null: R|<local>/a|!!"];
16 [label="Function call: R|<local>/a|!!.R|/A.foo|()"]; 18 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
17 [label="Exit when branch condition"]; 19 [label="Exit when branch condition"];
} }
18 [label="Synthetic else branch"]; 26 [label="Synthetic else branch"];
19 [label="Enter when branch result"]; 20 [label="Enter when branch result"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
20 [label="Enter block"]; 21 [label="Enter block"];
21 [label="Access variable R|<local>/a|"]; 22 [label="Access variable R|<local>/a|"];
22 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 23 [label="Function call: R|<local>/a|.R|/A.foo|()"];
23 [label="Exit block"]; 24 [label="Exit block"];
} }
24 [label="Exit when branch result"]; 25 [label="Exit when branch result"];
25 [label="Exit when"]; 14 [label="Exit when"];
} }
26 [label="Access variable R|<local>/a|"]; 27 [label="Access variable R|<local>/a|"];
27 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 28 [label="Function call: R|<local>/a|.R|/A.foo|()"];
28 [label="Exit function test_1" style="filled" fillcolor=red]; 12 [label="Exit function test_1" style="filled" fillcolor=red];
} }
11 -> {13};
11 -> {12}; 13 -> {15};
12 -> {13}; 14 -> {27};
13 -> {14};
14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {19 18}; 17 -> {18};
18 -> {25}; 18 -> {19};
19 -> {20}; 19 -> {20 26};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {14};
26 -> {27}; 26 -> {14};
27 -> {28}; 27 -> {28};
28 -> {12};
subgraph cluster_7 { subgraph cluster_7 {
color=red color=red
29 [label="Enter function test_2" style="filled" fillcolor=red]; 29 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
30 [label="Enter when"]; 31 [label="Enter when"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
31 [label="Enter when branch condition "]; 33 [label="Enter when branch condition "];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
32 [label="Enter &&"]; 35 [label="Enter &&"];
33 [label="Access variable R|<local>/a|"]; 36 [label="Access variable R|<local>/a|"];
34 [label="Check not null: R|<local>/a|!!"]; 37 [label="Check not null: R|<local>/a|!!"];
35 [label="Function call: R|<local>/a|!!.R|/A.foo|()"]; 38 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
36 [label="Exit left part of &&"]; 39 [label="Exit left part of &&"];
37 [label="Enter right part of &&"]; 40 [label="Enter right part of &&"];
38 [label="Access variable R|<local>/b|"]; 41 [label="Access variable R|<local>/b|"];
39 [label="Exit &&"]; 34 [label="Exit &&"];
} }
40 [label="Exit when branch condition"]; 42 [label="Exit when branch condition"];
} }
41 [label="Synthetic else branch"]; 49 [label="Synthetic else branch"];
42 [label="Enter when branch result"]; 43 [label="Enter when branch result"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
43 [label="Enter block"]; 44 [label="Enter block"];
44 [label="Access variable R|<local>/a|"]; 45 [label="Access variable R|<local>/a|"];
45 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 46 [label="Function call: R|<local>/a|.R|/A.foo|()"];
46 [label="Exit block"]; 47 [label="Exit block"];
} }
47 [label="Exit when branch result"]; 48 [label="Exit when branch result"];
48 [label="Exit when"]; 32 [label="Exit when"];
} }
49 [label="Access variable R|<local>/a|"]; 50 [label="Access variable R|<local>/a|"];
50 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 51 [label="Function call: R|<local>/a|.R|/A.foo|()"];
51 [label="Exit function test_2" style="filled" fillcolor=red]; 30 [label="Exit function test_2" style="filled" fillcolor=red];
} }
29 -> {31};
29 -> {30}; 31 -> {33};
30 -> {31}; 32 -> {50};
31 -> {32}; 33 -> {35};
32 -> {33}; 34 -> {42};
33 -> {34};
34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {39 37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {34 40};
40 -> {42 41}; 40 -> {41};
41 -> {48}; 41 -> {34};
42 -> {43}; 42 -> {43 49};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {32};
49 -> {50}; 49 -> {32};
50 -> {51}; 50 -> {51};
51 -> {30};
subgraph cluster_12 { subgraph cluster_12 {
color=red color=red
52 [label="Enter function test_3" style="filled" fillcolor=red]; 52 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
53 [label="Enter when"]; 54 [label="Enter when"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
54 [label="Enter when branch condition "]; 56 [label="Enter when branch condition "];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
55 [label="Enter &&"]; 58 [label="Enter &&"];
56 [label="Access variable R|<local>/b|"]; 59 [label="Access variable R|<local>/b|"];
57 [label="Exit left part of &&"]; 60 [label="Exit left part of &&"];
58 [label="Enter right part of &&"]; 61 [label="Enter right part of &&"];
59 [label="Access variable R|<local>/a|"]; 62 [label="Access variable R|<local>/a|"];
60 [label="Check not null: R|<local>/a|!!"]; 63 [label="Check not null: R|<local>/a|!!"];
61 [label="Function call: R|<local>/a|!!.R|/A.foo|()"]; 64 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
62 [label="Exit &&"]; 57 [label="Exit &&"];
} }
63 [label="Exit when branch condition"]; 65 [label="Exit when branch condition"];
} }
64 [label="Synthetic else branch"]; 72 [label="Synthetic else branch"];
65 [label="Enter when branch result"]; 66 [label="Enter when branch result"];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
66 [label="Enter block"]; 67 [label="Enter block"];
67 [label="Access variable R|<local>/a|"]; 68 [label="Access variable R|<local>/a|"];
68 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 69 [label="Function call: R|<local>/a|.R|/A.foo|()"];
69 [label="Exit block"]; 70 [label="Exit block"];
} }
70 [label="Exit when branch result"]; 71 [label="Exit when branch result"];
71 [label="Exit when"]; 55 [label="Exit when"];
} }
72 [label="Access variable R|<local>/a|"]; 73 [label="Access variable R|<local>/a|"];
73 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"]; 74 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
74 [label="Exit function test_3" style="filled" fillcolor=red]; 53 [label="Exit function test_3" style="filled" fillcolor=red];
} }
52 -> {54};
52 -> {53}; 54 -> {56};
53 -> {54}; 55 -> {73};
54 -> {55}; 56 -> {58};
55 -> {56}; 57 -> {65};
56 -> {57};
57 -> {62 58};
58 -> {59}; 58 -> {59};
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {57 61};
61 -> {62}; 61 -> {62};
62 -> {63}; 62 -> {63};
63 -> {65 64}; 63 -> {64};
64 -> {71}; 64 -> {57};
65 -> {66}; 65 -> {66 72};
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {55};
72 -> {73}; 72 -> {55};
73 -> {74}; 73 -> {74};
74 -> {53};
subgraph cluster_17 { subgraph cluster_17 {
color=red color=red
75 [label="Enter function test_4" style="filled" fillcolor=red]; 75 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
76 [label="Enter when"]; 77 [label="Enter when"];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
77 [label="Enter when branch condition "]; 79 [label="Enter when branch condition "];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
78 [label="Enter ||"]; 81 [label="Enter ||"];
79 [label="Access variable R|<local>/a|"]; 82 [label="Access variable R|<local>/a|"];
80 [label="Check not null: R|<local>/a|!!"]; 83 [label="Check not null: R|<local>/a|!!"];
81 [label="Function call: R|<local>/a|!!.R|/A.foo|()"]; 84 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
82 [label="Exit left part of ||"]; 85 [label="Exit left part of ||"];
83 [label="Enter right part of ||"]; 86 [label="Enter right part of ||"];
84 [label="Access variable R|<local>/b|"]; 87 [label="Access variable R|<local>/b|"];
85 [label="Exit ||"]; 80 [label="Exit ||"];
} }
86 [label="Exit when branch condition"]; 88 [label="Exit when branch condition"];
} }
87 [label="Synthetic else branch"]; 95 [label="Synthetic else branch"];
88 [label="Enter when branch result"]; 89 [label="Enter when branch result"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
89 [label="Enter block"]; 90 [label="Enter block"];
90 [label="Access variable R|<local>/a|"]; 91 [label="Access variable R|<local>/a|"];
91 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 92 [label="Function call: R|<local>/a|.R|/A.foo|()"];
92 [label="Exit block"]; 93 [label="Exit block"];
} }
93 [label="Exit when branch result"]; 94 [label="Exit when branch result"];
94 [label="Exit when"]; 78 [label="Exit when"];
} }
95 [label="Access variable R|<local>/a|"]; 96 [label="Access variable R|<local>/a|"];
96 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 97 [label="Function call: R|<local>/a|.R|/A.foo|()"];
97 [label="Exit function test_4" style="filled" fillcolor=red]; 76 [label="Exit function test_4" style="filled" fillcolor=red];
} }
75 -> {77};
75 -> {76}; 77 -> {79};
76 -> {77}; 78 -> {96};
77 -> {78}; 79 -> {81};
78 -> {79}; 80 -> {88};
79 -> {80};
80 -> {81};
81 -> {82}; 81 -> {82};
82 -> {85 83}; 82 -> {83};
83 -> {84}; 83 -> {84};
84 -> {85}; 84 -> {85};
85 -> {86}; 85 -> {80 86};
86 -> {88 87}; 86 -> {87};
87 -> {94}; 87 -> {80};
88 -> {89}; 88 -> {89 95};
89 -> {90}; 89 -> {90};
90 -> {91}; 90 -> {91};
91 -> {92}; 91 -> {92};
92 -> {93}; 92 -> {93};
93 -> {94}; 93 -> {94};
94 -> {95}; 94 -> {78};
95 -> {96}; 95 -> {78};
96 -> {97}; 96 -> {97};
97 -> {76};
subgraph cluster_22 { subgraph cluster_22 {
color=red color=red
98 [label="Enter function test_5" style="filled" fillcolor=red]; 98 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
99 [label="Enter when"]; 100 [label="Enter when"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
100 [label="Enter when branch condition "]; 102 [label="Enter when branch condition "];
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
101 [label="Enter ||"]; 104 [label="Enter ||"];
102 [label="Access variable R|<local>/b|"]; 105 [label="Access variable R|<local>/b|"];
103 [label="Exit left part of ||"]; 106 [label="Exit left part of ||"];
104 [label="Enter right part of ||"]; 107 [label="Enter right part of ||"];
105 [label="Access variable R|<local>/a|"]; 108 [label="Access variable R|<local>/a|"];
106 [label="Check not null: R|<local>/a|!!"]; 109 [label="Check not null: R|<local>/a|!!"];
107 [label="Function call: R|<local>/a|!!.R|/A.foo|()"]; 110 [label="Function call: R|<local>/a|!!.R|/A.foo|()"];
108 [label="Exit ||"]; 103 [label="Exit ||"];
} }
109 [label="Exit when branch condition"]; 111 [label="Exit when branch condition"];
} }
110 [label="Synthetic else branch"]; 118 [label="Synthetic else branch"];
111 [label="Enter when branch result"]; 112 [label="Enter when branch result"];
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
112 [label="Enter block"]; 113 [label="Enter block"];
113 [label="Access variable R|<local>/a|"]; 114 [label="Access variable R|<local>/a|"];
114 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"]; 115 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
115 [label="Exit block"]; 116 [label="Exit block"];
} }
116 [label="Exit when branch result"]; 117 [label="Exit when branch result"];
117 [label="Exit when"]; 101 [label="Exit when"];
} }
118 [label="Access variable R|<local>/a|"]; 119 [label="Access variable R|<local>/a|"];
119 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"]; 120 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
120 [label="Exit function test_5" style="filled" fillcolor=red]; 99 [label="Exit function test_5" style="filled" fillcolor=red];
} }
98 -> {100};
98 -> {99}; 100 -> {102};
99 -> {100}; 101 -> {119};
100 -> {101}; 102 -> {104};
101 -> {102}; 103 -> {111};
102 -> {103};
103 -> {108 104};
104 -> {105}; 104 -> {105};
105 -> {106}; 105 -> {106};
106 -> {107}; 106 -> {103 107};
107 -> {108}; 107 -> {108};
108 -> {109}; 108 -> {109};
109 -> {111 110}; 109 -> {110};
110 -> {117}; 110 -> {103};
111 -> {112}; 111 -> {112 118};
112 -> {113}; 112 -> {113};
113 -> {114}; 113 -> {114};
114 -> {115}; 114 -> {115};
115 -> {116}; 115 -> {116};
116 -> {117}; 116 -> {117};
117 -> {118}; 117 -> {101};
118 -> {119}; 118 -> {101};
119 -> {120}; 119 -> {120};
120 -> {99};
subgraph cluster_27 { subgraph cluster_27 {
color=red color=red
121 [label="Enter function test_6" style="filled" fillcolor=red]; 121 [label="Enter function test_6" style="filled" fillcolor=red];
122 [label="Access variable R|<local>/x|"]; 123 [label="Access variable R|<local>/x|"];
123 [label="Check not null: R|<local>/x|!!"]; 124 [label="Check not null: R|<local>/x|!!"];
124 [label="Function call: R|<local>/x|!!.R|/A.foo|()"]; 125 [label="Function call: R|<local>/x|!!.R|/A.foo|()"];
125 [label="Exit function test_6" style="filled" fillcolor=red]; 122 [label="Exit function test_6" style="filled" fillcolor=red];
} }
121 -> {123};
121 -> {122};
122 -> {123};
123 -> {124}; 123 -> {124};
124 -> {125}; 124 -> {125};
125 -> {122};
subgraph cluster_28 { subgraph cluster_28 {
color=red color=red
126 [label="Enter function test_7" style="filled" fillcolor=red]; 126 [label="Enter function test_7" style="filled" fillcolor=red];
127 [label="Access variable R|<local>/x|"]; 128 [label="Access variable R|<local>/x|"];
128 [label="Check not null: R|<local>/x|!!"]; 129 [label="Check not null: R|<local>/x|!!"];
129 [label="Function call: R|<local>/x|!!.R|/A.foo|()"]; 130 [label="Function call: R|<local>/x|!!.R|/A.foo|()"];
130 [label="Exit function test_7" style="filled" fillcolor=red]; 127 [label="Exit function test_7" style="filled" fillcolor=red];
} }
126 -> {128};
126 -> {127};
127 -> {128};
128 -> {129}; 128 -> {129};
129 -> {130}; 129 -> {130};
130 -> {127};
} }
File diff suppressed because it is too large Load Diff
@@ -8,7 +8,6 @@ digraph equalsToBoolean_kt {
0 [label="Enter function foo" style="filled" fillcolor=red]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,85 +15,81 @@ digraph equalsToBoolean_kt {
2 [label="Enter function getter" style="filled" fillcolor=red]; 2 [label="Enter function getter" style="filled" fillcolor=red];
3 [label="Exit function getter" style="filled" fillcolor=red]; 3 [label="Exit function getter" style="filled" fillcolor=red];
} }
2 -> {3}; 2 -> {3};
subgraph cluster_2 { 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 color=red
6 [label="Enter class A" style="filled" fillcolor=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]; 7 [label="Exit class A" style="filled" fillcolor=red];
} }
6 -> {4} [color=green];
4 -> {5};
5 -> {7} [color=green];
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
8 [label="Enter function test_1" style="filled" fillcolor=red]; 8 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
9 [label="Enter when"]; 10 [label="Enter when"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
10 [label="Enter when branch condition "]; 12 [label="Enter when branch condition "];
11 [label="Access variable R|<local>/b|"]; 13 [label="Access variable R|<local>/b|"];
12 [label="Const: Boolean(true)"];
13 [label="Operator =="];
14 [label="Const: Boolean(true)"]; 14 [label="Const: Boolean(true)"];
15 [label="Operator =="]; 15 [label="Operator =="];
16 [label="Exit when branch condition"]; 16 [label="Const: Boolean(true)"];
17 [label="Operator =="];
18 [label="Exit when branch condition"];
} }
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
17 [label="Enter when branch condition else"]; 25 [label="Enter when branch condition else"];
18 [label="Exit when branch condition"]; 26 [label="Exit when branch condition"];
} }
19 [label="Enter when branch result"]; 27 [label="Enter when branch result"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue
28 [label="Enter block"];
29 [label="Access variable R|<local>/b|"];
30 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
31 [label="Exit block"];
}
32 [label="Exit when branch result"];
19 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue color=blue
20 [label="Enter block"]; 20 [label="Enter block"];
21 [label="Access variable R|<local>/b|"]; 21 [label="Access variable R|<local>/b|"];
22 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"]; 22 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
23 [label="Exit block"]; 23 [label="Exit block"];
} }
24 [label="Exit when branch result"]; 24 [label="Exit when branch result"];
25 [label="Enter when branch result"]; 11 [label="Exit when"];
subgraph cluster_9 {
color=blue
26 [label="Enter block"];
27 [label="Access variable R|<local>/b|"];
28 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
29 [label="Exit block"];
}
30 [label="Exit when branch result"];
31 [label="Exit when"];
} }
32 [label="Exit function test_1" style="filled" fillcolor=red]; 9 [label="Exit function test_1" style="filled" fillcolor=red];
} }
8 -> {10};
8 -> {9}; 10 -> {12};
9 -> {10}; 11 -> {9};
10 -> {11};
11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {25 17}; 16 -> {17};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19 25};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {31}; 24 -> {11};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
@@ -102,68 +97,67 @@ digraph equalsToBoolean_kt {
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {11};
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
33 [label="Enter function test_2" style="filled" fillcolor=red]; 33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
34 [label="Enter when"]; 35 [label="Enter when"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
35 [label="Enter when branch condition "]; 37 [label="Enter when branch condition "];
36 [label="Access variable R|<local>/b|"]; 38 [label="Access variable R|<local>/b|"];
37 [label="Const: Boolean(true)"];
38 [label="Operator =="];
39 [label="Const: Boolean(true)"]; 39 [label="Const: Boolean(true)"];
40 [label="Operator !="]; 40 [label="Operator =="];
41 [label="Exit when branch condition"]; 41 [label="Const: Boolean(true)"];
42 [label="Operator !="];
43 [label="Exit when branch condition"];
} }
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
42 [label="Enter when branch condition else"]; 50 [label="Enter when branch condition else"];
43 [label="Exit when branch condition"]; 51 [label="Exit when branch condition"];
} }
44 [label="Enter when branch result"]; 52 [label="Enter when branch result"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue
53 [label="Enter block"];
54 [label="Access variable R|<local>/b|"];
55 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
56 [label="Exit block"];
}
57 [label="Exit when branch result"];
44 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue color=blue
45 [label="Enter block"]; 45 [label="Enter block"];
46 [label="Access variable R|<local>/b|"]; 46 [label="Access variable R|<local>/b|"];
47 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"]; 47 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
48 [label="Exit block"]; 48 [label="Exit block"];
} }
49 [label="Exit when branch result"]; 49 [label="Exit when branch result"];
50 [label="Enter when branch result"]; 36 [label="Exit when"];
subgraph cluster_15 {
color=blue
51 [label="Enter block"];
52 [label="Access variable R|<local>/b|"];
53 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
54 [label="Exit block"];
}
55 [label="Exit when branch result"];
56 [label="Exit when"];
} }
57 [label="Exit function test_2" style="filled" fillcolor=red]; 34 [label="Exit function test_2" style="filled" fillcolor=red];
} }
33 -> {35};
33 -> {34}; 35 -> {37};
34 -> {35}; 36 -> {34};
35 -> {36};
36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {50 42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44 50};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {56}; 49 -> {36};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {53};
@@ -171,68 +165,67 @@ digraph equalsToBoolean_kt {
54 -> {55}; 54 -> {55};
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {57};
57 -> {36};
subgraph cluster_16 { subgraph cluster_16 {
color=red color=red
58 [label="Enter function test_3" style="filled" fillcolor=red]; 58 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
59 [label="Enter when"]; 60 [label="Enter when"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
60 [label="Enter when branch condition "]; 62 [label="Enter when branch condition "];
61 [label="Access variable R|<local>/b|"]; 63 [label="Access variable R|<local>/b|"];
62 [label="Const: Boolean(true)"]; 64 [label="Const: Boolean(true)"];
63 [label="Operator =="];
64 [label="Const: Boolean(false)"];
65 [label="Operator =="]; 65 [label="Operator =="];
66 [label="Exit when branch condition"]; 66 [label="Const: Boolean(false)"];
67 [label="Operator =="];
68 [label="Exit when branch condition"];
} }
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
67 [label="Enter when branch condition else"]; 75 [label="Enter when branch condition else"];
68 [label="Exit when branch condition"]; 76 [label="Exit when branch condition"];
} }
69 [label="Enter when branch result"]; 77 [label="Enter when branch result"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue
78 [label="Enter block"];
79 [label="Access variable R|<local>/b|"];
80 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
81 [label="Exit block"];
}
82 [label="Exit when branch result"];
69 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue color=blue
70 [label="Enter block"]; 70 [label="Enter block"];
71 [label="Access variable R|<local>/b|"]; 71 [label="Access variable R|<local>/b|"];
72 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"]; 72 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
73 [label="Exit block"]; 73 [label="Exit block"];
} }
74 [label="Exit when branch result"]; 74 [label="Exit when branch result"];
75 [label="Enter when branch result"]; 61 [label="Exit when"];
subgraph cluster_21 {
color=blue
76 [label="Enter block"];
77 [label="Access variable R|<local>/b|"];
78 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
79 [label="Exit block"];
}
80 [label="Exit when branch result"];
81 [label="Exit when"];
} }
82 [label="Exit function test_3" style="filled" fillcolor=red]; 59 [label="Exit function test_3" style="filled" fillcolor=red];
} }
58 -> {60};
58 -> {59}; 60 -> {62};
59 -> {60}; 61 -> {59};
60 -> {61};
61 -> {62};
62 -> {63}; 62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {75 67}; 66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69 75};
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {72};
72 -> {73}; 72 -> {73};
73 -> {74}; 73 -> {74};
74 -> {81}; 74 -> {61};
75 -> {76}; 75 -> {76};
76 -> {77}; 76 -> {77};
77 -> {78}; 77 -> {78};
@@ -240,68 +233,67 @@ digraph equalsToBoolean_kt {
79 -> {80}; 79 -> {80};
80 -> {81}; 80 -> {81};
81 -> {82}; 81 -> {82};
82 -> {61};
subgraph cluster_22 { subgraph cluster_22 {
color=red color=red
83 [label="Enter function test_4" style="filled" fillcolor=red]; 83 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
84 [label="Enter when"]; 85 [label="Enter when"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
85 [label="Enter when branch condition "]; 87 [label="Enter when branch condition "];
86 [label="Access variable R|<local>/b|"]; 88 [label="Access variable R|<local>/b|"];
87 [label="Const: Boolean(true)"]; 89 [label="Const: Boolean(true)"];
88 [label="Operator =="]; 90 [label="Operator =="];
89 [label="Const: Boolean(false)"]; 91 [label="Const: Boolean(false)"];
90 [label="Operator !="]; 92 [label="Operator !="];
91 [label="Exit when branch condition"]; 93 [label="Exit when branch condition"];
} }
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
92 [label="Enter when branch condition else"]; 100 [label="Enter when branch condition else"];
93 [label="Exit when branch condition"]; 101 [label="Exit when branch condition"];
} }
94 [label="Enter when branch result"]; 102 [label="Enter when branch result"];
subgraph cluster_26 { subgraph cluster_26 {
color=blue
103 [label="Enter block"];
104 [label="Access variable R|<local>/b|"];
105 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
106 [label="Exit block"];
}
107 [label="Exit when branch result"];
94 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue color=blue
95 [label="Enter block"]; 95 [label="Enter block"];
96 [label="Access variable R|<local>/b|"]; 96 [label="Access variable R|<local>/b|"];
97 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"]; 97 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
98 [label="Exit block"]; 98 [label="Exit block"];
} }
99 [label="Exit when branch result"]; 99 [label="Exit when branch result"];
100 [label="Enter when branch result"]; 86 [label="Exit when"];
subgraph cluster_27 {
color=blue
101 [label="Enter block"];
102 [label="Access variable R|<local>/b|"];
103 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
104 [label="Exit block"];
}
105 [label="Exit when branch result"];
106 [label="Exit when"];
} }
107 [label="Exit function test_4" style="filled" fillcolor=red]; 84 [label="Exit function test_4" style="filled" fillcolor=red];
} }
83 -> {85};
83 -> {84}; 85 -> {87};
84 -> {85}; 86 -> {84};
85 -> {86};
86 -> {87};
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {89};
89 -> {90}; 89 -> {90};
90 -> {91}; 90 -> {91};
91 -> {100 92}; 91 -> {92};
92 -> {93}; 92 -> {93};
93 -> {94}; 93 -> {94 100};
94 -> {95}; 94 -> {95};
95 -> {96}; 95 -> {96};
96 -> {97}; 96 -> {97};
97 -> {98}; 97 -> {98};
98 -> {99}; 98 -> {99};
99 -> {106}; 99 -> {86};
100 -> {101}; 100 -> {101};
101 -> {102}; 101 -> {102};
102 -> {103}; 102 -> {103};
@@ -309,68 +301,67 @@ digraph equalsToBoolean_kt {
104 -> {105}; 104 -> {105};
105 -> {106}; 105 -> {106};
106 -> {107}; 106 -> {107};
107 -> {86};
subgraph cluster_28 { subgraph cluster_28 {
color=red color=red
108 [label="Enter function test_5" style="filled" fillcolor=red]; 108 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_29 { subgraph cluster_29 {
color=blue color=blue
109 [label="Enter when"]; 110 [label="Enter when"];
subgraph cluster_30 { subgraph cluster_30 {
color=blue color=blue
110 [label="Enter when branch condition "]; 112 [label="Enter when branch condition "];
111 [label="Access variable R|<local>/b|"]; 113 [label="Access variable R|<local>/b|"];
112 [label="Const: Boolean(true)"];
113 [label="Operator !="];
114 [label="Const: Boolean(true)"]; 114 [label="Const: Boolean(true)"];
115 [label="Operator =="]; 115 [label="Operator !="];
116 [label="Exit when branch condition"]; 116 [label="Const: Boolean(true)"];
117 [label="Operator =="];
118 [label="Exit when branch condition"];
} }
subgraph cluster_31 { subgraph cluster_31 {
color=blue color=blue
117 [label="Enter when branch condition else"]; 125 [label="Enter when branch condition else"];
118 [label="Exit when branch condition"]; 126 [label="Exit when branch condition"];
} }
119 [label="Enter when branch result"]; 127 [label="Enter when branch result"];
subgraph cluster_32 { subgraph cluster_32 {
color=blue
128 [label="Enter block"];
129 [label="Access variable R|<local>/b|"];
130 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
131 [label="Exit block"];
}
132 [label="Exit when branch result"];
119 [label="Enter when branch result"];
subgraph cluster_33 {
color=blue color=blue
120 [label="Enter block"]; 120 [label="Enter block"];
121 [label="Access variable R|<local>/b|"]; 121 [label="Access variable R|<local>/b|"];
122 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"]; 122 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
123 [label="Exit block"]; 123 [label="Exit block"];
} }
124 [label="Exit when branch result"]; 124 [label="Exit when branch result"];
125 [label="Enter when branch result"]; 111 [label="Exit when"];
subgraph cluster_33 {
color=blue
126 [label="Enter block"];
127 [label="Access variable R|<local>/b|"];
128 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
129 [label="Exit block"];
}
130 [label="Exit when branch result"];
131 [label="Exit when"];
} }
132 [label="Exit function test_5" style="filled" fillcolor=red]; 109 [label="Exit function test_5" style="filled" fillcolor=red];
} }
108 -> {110};
108 -> {109}; 110 -> {112};
109 -> {110}; 111 -> {109};
110 -> {111};
111 -> {112};
112 -> {113}; 112 -> {113};
113 -> {114}; 113 -> {114};
114 -> {115}; 114 -> {115};
115 -> {116}; 115 -> {116};
116 -> {125 117}; 116 -> {117};
117 -> {118}; 117 -> {118};
118 -> {119}; 118 -> {119 125};
119 -> {120}; 119 -> {120};
120 -> {121}; 120 -> {121};
121 -> {122}; 121 -> {122};
122 -> {123}; 122 -> {123};
123 -> {124}; 123 -> {124};
124 -> {131}; 124 -> {111};
125 -> {126}; 125 -> {126};
126 -> {127}; 126 -> {127};
127 -> {128}; 127 -> {128};
@@ -378,68 +369,67 @@ digraph equalsToBoolean_kt {
129 -> {130}; 129 -> {130};
130 -> {131}; 130 -> {131};
131 -> {132}; 131 -> {132};
132 -> {111};
subgraph cluster_34 { subgraph cluster_34 {
color=red color=red
133 [label="Enter function test_6" style="filled" fillcolor=red]; 133 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_35 { subgraph cluster_35 {
color=blue color=blue
134 [label="Enter when"]; 135 [label="Enter when"];
subgraph cluster_36 { subgraph cluster_36 {
color=blue color=blue
135 [label="Enter when branch condition "]; 137 [label="Enter when branch condition "];
136 [label="Access variable R|<local>/b|"]; 138 [label="Access variable R|<local>/b|"];
137 [label="Const: Boolean(true)"];
138 [label="Operator !="];
139 [label="Const: Boolean(true)"]; 139 [label="Const: Boolean(true)"];
140 [label="Operator !="]; 140 [label="Operator !="];
141 [label="Exit when branch condition"]; 141 [label="Const: Boolean(true)"];
142 [label="Operator !="];
143 [label="Exit when branch condition"];
} }
subgraph cluster_37 { subgraph cluster_37 {
color=blue color=blue
142 [label="Enter when branch condition else"]; 150 [label="Enter when branch condition else"];
143 [label="Exit when branch condition"]; 151 [label="Exit when branch condition"];
} }
144 [label="Enter when branch result"]; 152 [label="Enter when branch result"];
subgraph cluster_38 { subgraph cluster_38 {
color=blue
153 [label="Enter block"];
154 [label="Access variable R|<local>/b|"];
155 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
156 [label="Exit block"];
}
157 [label="Exit when branch result"];
144 [label="Enter when branch result"];
subgraph cluster_39 {
color=blue color=blue
145 [label="Enter block"]; 145 [label="Enter block"];
146 [label="Access variable R|<local>/b|"]; 146 [label="Access variable R|<local>/b|"];
147 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"]; 147 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
148 [label="Exit block"]; 148 [label="Exit block"];
} }
149 [label="Exit when branch result"]; 149 [label="Exit when branch result"];
150 [label="Enter when branch result"]; 136 [label="Exit when"];
subgraph cluster_39 {
color=blue
151 [label="Enter block"];
152 [label="Access variable R|<local>/b|"];
153 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
154 [label="Exit block"];
}
155 [label="Exit when branch result"];
156 [label="Exit when"];
} }
157 [label="Exit function test_6" style="filled" fillcolor=red]; 134 [label="Exit function test_6" style="filled" fillcolor=red];
} }
133 -> {135};
133 -> {134}; 135 -> {137};
134 -> {135}; 136 -> {134};
135 -> {136};
136 -> {137};
137 -> {138}; 137 -> {138};
138 -> {139}; 138 -> {139};
139 -> {140}; 139 -> {140};
140 -> {141}; 140 -> {141};
141 -> {150 142}; 141 -> {142};
142 -> {143}; 142 -> {143};
143 -> {144}; 143 -> {144 150};
144 -> {145}; 144 -> {145};
145 -> {146}; 145 -> {146};
146 -> {147}; 146 -> {147};
147 -> {148}; 147 -> {148};
148 -> {149}; 148 -> {149};
149 -> {156}; 149 -> {136};
150 -> {151}; 150 -> {151};
151 -> {152}; 151 -> {152};
152 -> {153}; 152 -> {153};
@@ -447,68 +437,67 @@ digraph equalsToBoolean_kt {
154 -> {155}; 154 -> {155};
155 -> {156}; 155 -> {156};
156 -> {157}; 156 -> {157};
157 -> {136};
subgraph cluster_40 { subgraph cluster_40 {
color=red color=red
158 [label="Enter function test_7" style="filled" fillcolor=red]; 158 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_41 { subgraph cluster_41 {
color=blue color=blue
159 [label="Enter when"]; 160 [label="Enter when"];
subgraph cluster_42 { subgraph cluster_42 {
color=blue color=blue
160 [label="Enter when branch condition "]; 162 [label="Enter when branch condition "];
161 [label="Access variable R|<local>/b|"]; 163 [label="Access variable R|<local>/b|"];
162 [label="Const: Boolean(true)"]; 164 [label="Const: Boolean(true)"];
163 [label="Operator !="]; 165 [label="Operator !="];
164 [label="Const: Boolean(false)"]; 166 [label="Const: Boolean(false)"];
165 [label="Operator =="]; 167 [label="Operator =="];
166 [label="Exit when branch condition"]; 168 [label="Exit when branch condition"];
} }
subgraph cluster_43 { subgraph cluster_43 {
color=blue color=blue
167 [label="Enter when branch condition else"]; 175 [label="Enter when branch condition else"];
168 [label="Exit when branch condition"]; 176 [label="Exit when branch condition"];
} }
169 [label="Enter when branch result"]; 177 [label="Enter when branch result"];
subgraph cluster_44 { subgraph cluster_44 {
color=blue
178 [label="Enter block"];
179 [label="Access variable R|<local>/b|"];
180 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
181 [label="Exit block"];
}
182 [label="Exit when branch result"];
169 [label="Enter when branch result"];
subgraph cluster_45 {
color=blue color=blue
170 [label="Enter block"]; 170 [label="Enter block"];
171 [label="Access variable R|<local>/b|"]; 171 [label="Access variable R|<local>/b|"];
172 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"]; 172 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
173 [label="Exit block"]; 173 [label="Exit block"];
} }
174 [label="Exit when branch result"]; 174 [label="Exit when branch result"];
175 [label="Enter when branch result"]; 161 [label="Exit when"];
subgraph cluster_45 {
color=blue
176 [label="Enter block"];
177 [label="Access variable R|<local>/b|"];
178 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
179 [label="Exit block"];
}
180 [label="Exit when branch result"];
181 [label="Exit when"];
} }
182 [label="Exit function test_7" style="filled" fillcolor=red]; 159 [label="Exit function test_7" style="filled" fillcolor=red];
} }
158 -> {160};
158 -> {159}; 160 -> {162};
159 -> {160}; 161 -> {159};
160 -> {161};
161 -> {162};
162 -> {163}; 162 -> {163};
163 -> {164}; 163 -> {164};
164 -> {165}; 164 -> {165};
165 -> {166}; 165 -> {166};
166 -> {175 167}; 166 -> {167};
167 -> {168}; 167 -> {168};
168 -> {169}; 168 -> {169 175};
169 -> {170}; 169 -> {170};
170 -> {171}; 170 -> {171};
171 -> {172}; 171 -> {172};
172 -> {173}; 172 -> {173};
173 -> {174}; 173 -> {174};
174 -> {181}; 174 -> {161};
175 -> {176}; 175 -> {176};
176 -> {177}; 176 -> {177};
177 -> {178}; 177 -> {178};
@@ -516,68 +505,67 @@ digraph equalsToBoolean_kt {
179 -> {180}; 179 -> {180};
180 -> {181}; 180 -> {181};
181 -> {182}; 181 -> {182};
182 -> {161};
subgraph cluster_46 { subgraph cluster_46 {
color=red color=red
183 [label="Enter function test_8" style="filled" fillcolor=red]; 183 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_47 { subgraph cluster_47 {
color=blue color=blue
184 [label="Enter when"]; 185 [label="Enter when"];
subgraph cluster_48 { subgraph cluster_48 {
color=blue color=blue
185 [label="Enter when branch condition "]; 187 [label="Enter when branch condition "];
186 [label="Access variable R|<local>/b|"]; 188 [label="Access variable R|<local>/b|"];
187 [label="Const: Boolean(true)"]; 189 [label="Const: Boolean(true)"];
188 [label="Operator !="];
189 [label="Const: Boolean(false)"];
190 [label="Operator !="]; 190 [label="Operator !="];
191 [label="Exit when branch condition"]; 191 [label="Const: Boolean(false)"];
192 [label="Operator !="];
193 [label="Exit when branch condition"];
} }
subgraph cluster_49 { subgraph cluster_49 {
color=blue color=blue
192 [label="Enter when branch condition else"]; 200 [label="Enter when branch condition else"];
193 [label="Exit when branch condition"]; 201 [label="Exit when branch condition"];
} }
194 [label="Enter when branch result"]; 202 [label="Enter when branch result"];
subgraph cluster_50 { subgraph cluster_50 {
color=blue
203 [label="Enter block"];
204 [label="Access variable R|<local>/b|"];
205 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
206 [label="Exit block"];
}
207 [label="Exit when branch result"];
194 [label="Enter when branch result"];
subgraph cluster_51 {
color=blue color=blue
195 [label="Enter block"]; 195 [label="Enter block"];
196 [label="Access variable R|<local>/b|"]; 196 [label="Access variable R|<local>/b|"];
197 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"]; 197 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
198 [label="Exit block"]; 198 [label="Exit block"];
} }
199 [label="Exit when branch result"]; 199 [label="Exit when branch result"];
200 [label="Enter when branch result"]; 186 [label="Exit when"];
subgraph cluster_51 {
color=blue
201 [label="Enter block"];
202 [label="Access variable R|<local>/b|"];
203 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
204 [label="Exit block"];
}
205 [label="Exit when branch result"];
206 [label="Exit when"];
} }
207 [label="Exit function test_8" style="filled" fillcolor=red]; 184 [label="Exit function test_8" style="filled" fillcolor=red];
} }
183 -> {185};
183 -> {184}; 185 -> {187};
184 -> {185}; 186 -> {184};
185 -> {186};
186 -> {187};
187 -> {188}; 187 -> {188};
188 -> {189}; 188 -> {189};
189 -> {190}; 189 -> {190};
190 -> {191}; 190 -> {191};
191 -> {200 192}; 191 -> {192};
192 -> {193}; 192 -> {193};
193 -> {194}; 193 -> {194 200};
194 -> {195}; 194 -> {195};
195 -> {196}; 195 -> {196};
196 -> {197}; 196 -> {197};
197 -> {198}; 197 -> {198};
198 -> {199}; 198 -> {199};
199 -> {206}; 199 -> {186};
200 -> {201}; 200 -> {201};
201 -> {202}; 201 -> {202};
202 -> {203}; 202 -> {203};
@@ -585,5 +573,6 @@ digraph equalsToBoolean_kt {
204 -> {205}; 204 -> {205};
205 -> {206}; 205 -> {206};
206 -> {207}; 206 -> {207};
207 -> {186};
} }
@@ -8,7 +8,6 @@ digraph jumpFromRhsOfOperator_kt {
0 [label="Enter function foo" style="filled" fillcolor=red]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph jumpFromRhsOfOperator_kt {
2 [label="Enter class A" style="filled" fillcolor=red]; 2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 3 [label="Exit class A" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 2 -> {3} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
@@ -24,411 +22,403 @@ digraph jumpFromRhsOfOperator_kt {
4 [label="Enter function test_1" style="filled" fillcolor=red]; 4 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
5 [label="Enter ||"]; 7 [label="Enter ||"];
6 [label="Access variable R|<local>/a|"]; 8 [label="Access variable R|<local>/a|"];
7 [label="Const: Null(null)"]; 9 [label="Const: Null(null)"];
8 [label="Operator !="]; 10 [label="Operator !="];
9 [label="Exit left part of ||"]; 11 [label="Exit left part of ||"];
10 [label="Enter right part of ||"]; 12 [label="Enter right part of ||"];
11 [label="Function call: R|java/lang/Exception.Exception|()"]; 13 [label="Function call: R|java/lang/Exception.Exception|()"];
12 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 14 [label="Throw: throw R|java/lang/Exception.Exception|()"];
13 [label="Stub" style="filled" fillcolor=gray]; 15 [label="Stub" style="filled" fillcolor=gray];
14 [label="Exit ||"]; 6 [label="Exit ||"];
} }
15 [label="Access variable R|<local>/a|"]; 16 [label="Access variable R|<local>/a|"];
16 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 17 [label="Function call: R|<local>/a|.R|/A.foo|()"];
17 [label="Exit function test_1" style="filled" fillcolor=red]; 5 [label="Exit function test_1" style="filled" fillcolor=red];
} }
4 -> {7};
4 -> {5}; 6 -> {16};
5 -> {6};
6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9};
9 -> {14 10}; 9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {6 12};
12 -> {17}; 12 -> {13};
12 -> {13} [style=dotted]; 13 -> {14};
13 -> {14} [style=dotted]; 14 -> {5};
14 -> {15}; 14 -> {15} [style=dotted];
15 -> {16}; 15 -> {6} [style=dotted];
16 -> {17}; 16 -> {17};
17 -> {5};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
18 [label="Enter function teat_2" style="filled" fillcolor=red]; 18 [label="Enter function teat_2" style="filled" fillcolor=red];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
19 [label="Enter &&"]; 21 [label="Enter &&"];
20 [label="Access variable R|<local>/a|"]; 22 [label="Access variable R|<local>/a|"];
21 [label="Const: Null(null)"]; 23 [label="Const: Null(null)"];
22 [label="Operator =="]; 24 [label="Operator =="];
23 [label="Exit left part of &&"]; 25 [label="Exit left part of &&"];
24 [label="Enter right part of &&"]; 26 [label="Enter right part of &&"];
25 [label="Function call: R|java/lang/Exception.Exception|()"]; 27 [label="Function call: R|java/lang/Exception.Exception|()"];
26 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 28 [label="Throw: throw R|java/lang/Exception.Exception|()"];
27 [label="Stub" style="filled" fillcolor=gray]; 29 [label="Stub" style="filled" fillcolor=gray];
28 [label="Exit &&"]; 20 [label="Exit &&"];
} }
29 [label="Access variable R|<local>/a|"]; 30 [label="Access variable R|<local>/a|"];
30 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 31 [label="Function call: R|<local>/a|.R|/A.foo|()"];
31 [label="Exit function teat_2" style="filled" fillcolor=red]; 19 [label="Exit function teat_2" style="filled" fillcolor=red];
} }
18 -> {21};
18 -> {19}; 20 -> {30};
19 -> {20};
20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {28 24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {20 26};
26 -> {31}; 26 -> {27};
26 -> {27} [style=dotted]; 27 -> {28};
27 -> {28} [style=dotted]; 28 -> {19};
28 -> {29}; 28 -> {29} [style=dotted];
29 -> {30}; 29 -> {20} [style=dotted];
30 -> {31}; 30 -> {31};
31 -> {19};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
32 [label="Enter function test_3" style="filled" fillcolor=red]; 32 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
33 [label="Enter when"]; 34 [label="Enter when"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
34 [label="Enter when branch condition "]; 36 [label="Enter when branch condition "];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
35 [label="Enter ||"]; 38 [label="Enter ||"];
36 [label="Access variable R|<local>/a|"]; 39 [label="Access variable R|<local>/a|"];
37 [label="Const: Null(null)"]; 40 [label="Const: Null(null)"];
38 [label="Operator !="]; 41 [label="Operator !="];
39 [label="Exit left part of ||"]; 42 [label="Exit left part of ||"];
40 [label="Enter right part of ||"]; 43 [label="Enter right part of ||"];
41 [label="Function call: R|java/lang/Exception.Exception|()"]; 44 [label="Function call: R|java/lang/Exception.Exception|()"];
42 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 45 [label="Throw: throw R|java/lang/Exception.Exception|()"];
43 [label="Stub" style="filled" fillcolor=gray]; 46 [label="Stub" style="filled" fillcolor=gray];
44 [label="Exit ||"]; 37 [label="Exit ||"];
} }
45 [label="Exit when branch condition"]; 47 [label="Exit when branch condition"];
} }
46 [label="Synthetic else branch"]; 54 [label="Synthetic else branch"];
47 [label="Enter when branch result"]; 48 [label="Enter when branch result"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
48 [label="Enter block"]; 49 [label="Enter block"];
49 [label="Access variable R|<local>/a|"]; 50 [label="Access variable R|<local>/a|"];
50 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 51 [label="Function call: R|<local>/a|.R|/A.foo|()"];
51 [label="Exit block"]; 52 [label="Exit block"];
} }
52 [label="Exit when branch result"]; 53 [label="Exit when branch result"];
53 [label="Exit when"]; 35 [label="Exit when"];
} }
54 [label="Access variable R|<local>/a|"]; 55 [label="Access variable R|<local>/a|"];
55 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 56 [label="Function call: R|<local>/a|.R|/A.foo|()"];
56 [label="Exit function test_3" style="filled" fillcolor=red]; 33 [label="Exit function test_3" style="filled" fillcolor=red];
} }
32 -> {34};
32 -> {33}; 34 -> {36};
33 -> {34}; 35 -> {55};
34 -> {35}; 36 -> {38};
35 -> {36}; 37 -> {47};
36 -> {37};
37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {44 40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {56}; 42 -> {37 43};
42 -> {43} [style=dotted]; 43 -> {44};
43 -> {44} [style=dotted];
44 -> {45}; 44 -> {45};
45 -> {47 46}; 45 -> {33};
46 -> {53}; 45 -> {46} [style=dotted];
47 -> {48}; 46 -> {37} [style=dotted];
47 -> {48 54};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {53};
53 -> {54}; 53 -> {35};
54 -> {55}; 54 -> {35};
55 -> {56}; 55 -> {56};
56 -> {33};
subgraph cluster_11 { subgraph cluster_11 {
color=red color=red
57 [label="Enter function test_4" style="filled" fillcolor=red]; 57 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
58 [label="Enter when"]; 59 [label="Enter when"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
59 [label="Enter when branch condition "]; 61 [label="Enter when branch condition "];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
60 [label="Enter &&"]; 63 [label="Enter &&"];
61 [label="Access variable R|<local>/a|"]; 64 [label="Access variable R|<local>/a|"];
62 [label="Const: Null(null)"]; 65 [label="Const: Null(null)"];
63 [label="Operator =="]; 66 [label="Operator =="];
64 [label="Exit left part of &&"]; 67 [label="Exit left part of &&"];
65 [label="Enter right part of &&"]; 68 [label="Enter right part of &&"];
66 [label="Function call: R|java/lang/Exception.Exception|()"]; 69 [label="Function call: R|java/lang/Exception.Exception|()"];
67 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 70 [label="Throw: throw R|java/lang/Exception.Exception|()"];
68 [label="Stub" style="filled" fillcolor=gray]; 71 [label="Stub" style="filled" fillcolor=gray];
69 [label="Exit &&"]; 62 [label="Exit &&"];
} }
70 [label="Exit when branch condition"]; 72 [label="Exit when branch condition"];
} }
71 [label="Synthetic else branch"]; 79 [label="Synthetic else branch"];
72 [label="Enter when branch result"]; 73 [label="Enter when branch result"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
73 [label="Enter block"]; 74 [label="Enter block"];
74 [label="Access variable R|<local>/a|"]; 75 [label="Access variable R|<local>/a|"];
75 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 76 [label="Function call: R|<local>/a|.R|/A.foo|()"];
76 [label="Exit block"]; 77 [label="Exit block"];
} }
77 [label="Exit when branch result"]; 78 [label="Exit when branch result"];
78 [label="Exit when"]; 60 [label="Exit when"];
} }
79 [label="Access variable R|<local>/a|"]; 80 [label="Access variable R|<local>/a|"];
80 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 81 [label="Function call: R|<local>/a|.R|/A.foo|()"];
81 [label="Exit function test_4" style="filled" fillcolor=red]; 58 [label="Exit function test_4" style="filled" fillcolor=red];
} }
57 -> {59};
57 -> {58}; 59 -> {61};
58 -> {59}; 60 -> {80};
59 -> {60}; 61 -> {63};
60 -> {61}; 62 -> {72};
61 -> {62};
62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {69 65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {67};
67 -> {81}; 67 -> {62 68};
67 -> {68} [style=dotted]; 68 -> {69};
68 -> {69} [style=dotted];
69 -> {70}; 69 -> {70};
70 -> {72 71}; 70 -> {58};
71 -> {78}; 70 -> {71} [style=dotted];
72 -> {73}; 71 -> {62} [style=dotted];
72 -> {73 79};
73 -> {74}; 73 -> {74};
74 -> {75}; 74 -> {75};
75 -> {76}; 75 -> {76};
76 -> {77}; 76 -> {77};
77 -> {78}; 77 -> {78};
78 -> {79}; 78 -> {60};
79 -> {80}; 79 -> {60};
80 -> {81}; 80 -> {81};
81 -> {58};
subgraph cluster_16 { subgraph cluster_16 {
color=red color=red
82 [label="Enter function test_5" style="filled" fillcolor=red]; 82 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
83 [label="Enter ||"]; 85 [label="Enter ||"];
84 [label="Access variable R|<local>/a|"]; 86 [label="Access variable R|<local>/a|"];
85 [label="Const: Null(null)"]; 87 [label="Const: Null(null)"];
86 [label="Operator =="]; 88 [label="Operator =="];
87 [label="Exit left part of ||"]; 89 [label="Exit left part of ||"];
88 [label="Enter right part of ||"]; 90 [label="Enter right part of ||"];
89 [label="Function call: R|java/lang/Exception.Exception|()"]; 91 [label="Function call: R|java/lang/Exception.Exception|()"];
90 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 92 [label="Throw: throw R|java/lang/Exception.Exception|()"];
91 [label="Stub" style="filled" fillcolor=gray]; 93 [label="Stub" style="filled" fillcolor=gray];
92 [label="Exit ||"]; 84 [label="Exit ||"];
} }
93 [label="Access variable R|<local>/a|"]; 94 [label="Access variable R|<local>/a|"];
94 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"]; 95 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
95 [label="Exit function test_5" style="filled" fillcolor=red]; 83 [label="Exit function test_5" style="filled" fillcolor=red];
} }
82 -> {85};
82 -> {83}; 84 -> {94};
83 -> {84};
84 -> {85};
85 -> {86}; 85 -> {86};
86 -> {87}; 86 -> {87};
87 -> {92 88}; 87 -> {88};
88 -> {89}; 88 -> {89};
89 -> {90}; 89 -> {84 90};
90 -> {95}; 90 -> {91};
90 -> {91} [style=dotted]; 91 -> {92};
91 -> {92} [style=dotted]; 92 -> {83};
92 -> {93}; 92 -> {93} [style=dotted];
93 -> {94}; 93 -> {84} [style=dotted];
94 -> {95}; 94 -> {95};
95 -> {83};
subgraph cluster_18 { subgraph cluster_18 {
color=red color=red
96 [label="Enter function teat_6" style="filled" fillcolor=red]; 96 [label="Enter function teat_6" style="filled" fillcolor=red];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
97 [label="Enter &&"]; 99 [label="Enter &&"];
98 [label="Access variable R|<local>/a|"]; 100 [label="Access variable R|<local>/a|"];
99 [label="Const: Null(null)"]; 101 [label="Const: Null(null)"];
100 [label="Operator !="]; 102 [label="Operator !="];
101 [label="Exit left part of &&"]; 103 [label="Exit left part of &&"];
102 [label="Enter right part of &&"]; 104 [label="Enter right part of &&"];
103 [label="Function call: R|java/lang/Exception.Exception|()"]; 105 [label="Function call: R|java/lang/Exception.Exception|()"];
104 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 106 [label="Throw: throw R|java/lang/Exception.Exception|()"];
105 [label="Stub" style="filled" fillcolor=gray]; 107 [label="Stub" style="filled" fillcolor=gray];
106 [label="Exit &&"]; 98 [label="Exit &&"];
} }
107 [label="Access variable R|<local>/a|"]; 108 [label="Access variable R|<local>/a|"];
108 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"]; 109 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
109 [label="Exit function teat_6" style="filled" fillcolor=red]; 97 [label="Exit function teat_6" style="filled" fillcolor=red];
} }
96 -> {99};
96 -> {97}; 98 -> {108};
97 -> {98};
98 -> {99};
99 -> {100}; 99 -> {100};
100 -> {101}; 100 -> {101};
101 -> {106 102}; 101 -> {102};
102 -> {103}; 102 -> {103};
103 -> {104}; 103 -> {98 104};
104 -> {109}; 104 -> {105};
104 -> {105} [style=dotted]; 105 -> {106};
105 -> {106} [style=dotted]; 106 -> {97};
106 -> {107}; 106 -> {107} [style=dotted];
107 -> {108}; 107 -> {98} [style=dotted];
108 -> {109}; 108 -> {109};
109 -> {97};
subgraph cluster_20 { subgraph cluster_20 {
color=red color=red
110 [label="Enter function test_7" style="filled" fillcolor=red]; 110 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
111 [label="Enter when"]; 112 [label="Enter when"];
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
112 [label="Enter when branch condition "]; 114 [label="Enter when branch condition "];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
113 [label="Enter ||"]; 116 [label="Enter ||"];
114 [label="Access variable R|<local>/a|"]; 117 [label="Access variable R|<local>/a|"];
115 [label="Const: Null(null)"]; 118 [label="Const: Null(null)"];
116 [label="Operator =="]; 119 [label="Operator =="];
117 [label="Exit left part of ||"]; 120 [label="Exit left part of ||"];
118 [label="Enter right part of ||"]; 121 [label="Enter right part of ||"];
119 [label="Function call: R|java/lang/Exception.Exception|()"]; 122 [label="Function call: R|java/lang/Exception.Exception|()"];
120 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 123 [label="Throw: throw R|java/lang/Exception.Exception|()"];
121 [label="Stub" style="filled" fillcolor=gray]; 124 [label="Stub" style="filled" fillcolor=gray];
122 [label="Exit ||"]; 115 [label="Exit ||"];
} }
123 [label="Exit when branch condition"]; 125 [label="Exit when branch condition"];
} }
124 [label="Synthetic else branch"]; 132 [label="Synthetic else branch"];
125 [label="Enter when branch result"]; 126 [label="Enter when branch result"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
126 [label="Enter block"]; 127 [label="Enter block"];
127 [label="Access variable R|<local>/a|"]; 128 [label="Access variable R|<local>/a|"];
128 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"]; 129 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
129 [label="Exit block"]; 130 [label="Exit block"];
} }
130 [label="Exit when branch result"]; 131 [label="Exit when branch result"];
131 [label="Exit when"]; 113 [label="Exit when"];
} }
132 [label="Access variable R|<local>/a|"]; 133 [label="Access variable R|<local>/a|"];
133 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"]; 134 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
134 [label="Exit function test_7" style="filled" fillcolor=red]; 111 [label="Exit function test_7" style="filled" fillcolor=red];
} }
110 -> {112};
110 -> {111}; 112 -> {114};
111 -> {112}; 113 -> {133};
112 -> {113}; 114 -> {116};
113 -> {114}; 115 -> {125};
114 -> {115};
115 -> {116};
116 -> {117}; 116 -> {117};
117 -> {122 118}; 117 -> {118};
118 -> {119}; 118 -> {119};
119 -> {120}; 119 -> {120};
120 -> {134}; 120 -> {115 121};
120 -> {121} [style=dotted]; 121 -> {122};
121 -> {122} [style=dotted];
122 -> {123}; 122 -> {123};
123 -> {125 124}; 123 -> {111};
124 -> {131}; 123 -> {124} [style=dotted];
125 -> {126}; 124 -> {115} [style=dotted];
125 -> {126 132};
126 -> {127}; 126 -> {127};
127 -> {128}; 127 -> {128};
128 -> {129}; 128 -> {129};
129 -> {130}; 129 -> {130};
130 -> {131}; 130 -> {131};
131 -> {132}; 131 -> {113};
132 -> {133}; 132 -> {113};
133 -> {134}; 133 -> {134};
134 -> {111};
subgraph cluster_25 { subgraph cluster_25 {
color=red color=red
135 [label="Enter function test_8" style="filled" fillcolor=red]; 135 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
136 [label="Enter when"]; 137 [label="Enter when"];
subgraph cluster_27 { subgraph cluster_27 {
color=blue color=blue
137 [label="Enter when branch condition "]; 139 [label="Enter when branch condition "];
subgraph cluster_28 { subgraph cluster_28 {
color=blue color=blue
138 [label="Enter &&"]; 141 [label="Enter &&"];
139 [label="Access variable R|<local>/a|"]; 142 [label="Access variable R|<local>/a|"];
140 [label="Const: Null(null)"]; 143 [label="Const: Null(null)"];
141 [label="Operator !="]; 144 [label="Operator !="];
142 [label="Exit left part of &&"]; 145 [label="Exit left part of &&"];
143 [label="Enter right part of &&"]; 146 [label="Enter right part of &&"];
144 [label="Function call: R|java/lang/Exception.Exception|()"]; 147 [label="Function call: R|java/lang/Exception.Exception|()"];
145 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 148 [label="Throw: throw R|java/lang/Exception.Exception|()"];
146 [label="Stub" style="filled" fillcolor=gray]; 149 [label="Stub" style="filled" fillcolor=gray];
147 [label="Exit &&"]; 140 [label="Exit &&"];
} }
148 [label="Exit when branch condition"]; 150 [label="Exit when branch condition"];
} }
149 [label="Synthetic else branch"]; 157 [label="Synthetic else branch"];
150 [label="Enter when branch result"]; 151 [label="Enter when branch result"];
subgraph cluster_29 { subgraph cluster_29 {
color=blue color=blue
151 [label="Enter block"]; 152 [label="Enter block"];
152 [label="Access variable R|<local>/a|"]; 153 [label="Access variable R|<local>/a|"];
153 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"]; 154 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
154 [label="Exit block"]; 155 [label="Exit block"];
} }
155 [label="Exit when branch result"]; 156 [label="Exit when branch result"];
156 [label="Exit when"]; 138 [label="Exit when"];
} }
157 [label="Access variable R|<local>/a|"]; 158 [label="Access variable R|<local>/a|"];
158 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"]; 159 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
159 [label="Exit function test_8" style="filled" fillcolor=red]; 136 [label="Exit function test_8" style="filled" fillcolor=red];
} }
135 -> {137};
135 -> {136}; 137 -> {139};
136 -> {137}; 138 -> {158};
137 -> {138}; 139 -> {141};
138 -> {139}; 140 -> {150};
139 -> {140};
140 -> {141};
141 -> {142}; 141 -> {142};
142 -> {147 143}; 142 -> {143};
143 -> {144}; 143 -> {144};
144 -> {145}; 144 -> {145};
145 -> {159}; 145 -> {140 146};
145 -> {146} [style=dotted]; 146 -> {147};
146 -> {147} [style=dotted];
147 -> {148}; 147 -> {148};
148 -> {150 149}; 148 -> {136};
149 -> {156}; 148 -> {149} [style=dotted];
150 -> {151}; 149 -> {140} [style=dotted];
150 -> {151 157};
151 -> {152}; 151 -> {152};
152 -> {153}; 152 -> {153};
153 -> {154}; 153 -> {154};
154 -> {155}; 154 -> {155};
155 -> {156}; 155 -> {156};
156 -> {157}; 156 -> {138};
157 -> {158}; 157 -> {138};
158 -> {159}; 158 -> {159};
159 -> {136};
} }
@@ -8,7 +8,6 @@ digraph boundSmartcasts_kt {
0 [label="Enter function foo" style="filled" fillcolor=red]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph boundSmartcasts_kt {
2 [label="Enter class A" style="filled" fillcolor=red]; 2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 3 [label="Exit class A" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 2 -> {3} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
@@ -24,7 +22,6 @@ digraph boundSmartcasts_kt {
4 [label="Enter function bar" style="filled" fillcolor=red]; 4 [label="Enter function bar" style="filled" fillcolor=red];
5 [label="Exit function bar" style="filled" fillcolor=red]; 5 [label="Exit function bar" style="filled" fillcolor=red];
} }
4 -> {5}; 4 -> {5};
subgraph cluster_3 { subgraph cluster_3 {
@@ -32,51 +29,48 @@ digraph boundSmartcasts_kt {
6 [label="Enter class B" style="filled" fillcolor=red]; 6 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red]; 7 [label="Exit class B" style="filled" fillcolor=red];
} }
6 -> {7} [color=green]; 6 -> {7} [color=green];
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
8 [label="Enter function test_1" style="filled" fillcolor=red]; 8 [label="Enter function test_1" style="filled" fillcolor=red];
9 [label="Access variable R|<local>/x|"]; 10 [label="Access variable R|<local>/x|"];
10 [label="Variable declaration: lval y: R|kotlin/Any|"]; 11 [label="Variable declaration: lval y: R|kotlin/Any|"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
11 [label="Enter when"]; 12 [label="Enter when"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
12 [label="Enter when branch condition "]; 14 [label="Enter when branch condition "];
13 [label="Access variable R|<local>/x|"]; 15 [label="Access variable R|<local>/x|"];
14 [label="Type operator: (R|<local>/x| is R|A|)"]; 16 [label="Type operator: (R|<local>/x| is R|A|)"];
15 [label="Exit when branch condition"]; 17 [label="Exit when branch condition"];
} }
16 [label="Synthetic else branch"]; 26 [label="Synthetic else branch"];
17 [label="Enter when branch result"]; 18 [label="Enter when branch result"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
18 [label="Enter block"]; 19 [label="Enter block"];
19 [label="Access variable R|<local>/x|"]; 20 [label="Access variable R|<local>/x|"];
20 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 21 [label="Function call: R|<local>/x|.R|/A.foo|()"];
21 [label="Access variable R|<local>/y|"]; 22 [label="Access variable R|<local>/y|"];
22 [label="Function call: R|<local>/y|.R|/A.foo|()"]; 23 [label="Function call: R|<local>/y|.R|/A.foo|()"];
23 [label="Exit block"]; 24 [label="Exit block"];
} }
24 [label="Exit when branch result"]; 25 [label="Exit when branch result"];
25 [label="Exit when"]; 13 [label="Exit when"];
} }
26 [label="Exit function test_1" style="filled" fillcolor=red]; 9 [label="Exit function test_1" style="filled" fillcolor=red];
} }
8 -> {10};
8 -> {9};
9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {14};
13 -> {14}; 13 -> {9};
14 -> {15}; 14 -> {15};
15 -> {17 16}; 15 -> {16};
16 -> {25}; 16 -> {17};
17 -> {18}; 17 -> {18 26};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
@@ -84,50 +78,49 @@ digraph boundSmartcasts_kt {
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {13};
26 -> {13};
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
27 [label="Enter function test_2" style="filled" fillcolor=red]; 27 [label="Enter function test_2" style="filled" fillcolor=red];
28 [label="Access variable R|<local>/x|"]; 29 [label="Access variable R|<local>/x|"];
29 [label="Variable declaration: lval y: R|kotlin/Any|"]; 30 [label="Variable declaration: lval y: R|kotlin/Any|"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
30 [label="Enter when"]; 31 [label="Enter when"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
31 [label="Enter when branch condition "]; 33 [label="Enter when branch condition "];
32 [label="Access variable R|<local>/y|"]; 34 [label="Access variable R|<local>/y|"];
33 [label="Type operator: (R|<local>/y| is R|A|)"]; 35 [label="Type operator: (R|<local>/y| is R|A|)"];
34 [label="Exit when branch condition"]; 36 [label="Exit when branch condition"];
} }
35 [label="Synthetic else branch"]; 45 [label="Synthetic else branch"];
36 [label="Enter when branch result"]; 37 [label="Enter when branch result"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
37 [label="Enter block"]; 38 [label="Enter block"];
38 [label="Access variable R|<local>/x|"]; 39 [label="Access variable R|<local>/x|"];
39 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 40 [label="Function call: R|<local>/x|.R|/A.foo|()"];
40 [label="Access variable R|<local>/y|"]; 41 [label="Access variable R|<local>/y|"];
41 [label="Function call: R|<local>/y|.R|/A.foo|()"]; 42 [label="Function call: R|<local>/y|.R|/A.foo|()"];
42 [label="Exit block"]; 43 [label="Exit block"];
} }
43 [label="Exit when branch result"]; 44 [label="Exit when branch result"];
44 [label="Exit when"]; 32 [label="Exit when"];
} }
45 [label="Exit function test_2" style="filled" fillcolor=red]; 28 [label="Exit function test_2" style="filled" fillcolor=red];
} }
27 -> {29};
27 -> {28};
28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {33};
32 -> {33}; 32 -> {28};
33 -> {34}; 33 -> {34};
34 -> {36 35}; 34 -> {35};
35 -> {44}; 35 -> {36};
36 -> {37}; 36 -> {37 45};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
@@ -135,89 +128,88 @@ digraph boundSmartcasts_kt {
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {32};
45 -> {32};
subgraph cluster_12 { subgraph cluster_12 {
color=red color=red
46 [label="Enter function test_3" style="filled" fillcolor=red]; 46 [label="Enter function test_3" style="filled" fillcolor=red];
47 [label="Access variable R|<local>/x|"]; 48 [label="Access variable R|<local>/x|"];
48 [label="Variable declaration: lvar z: R|kotlin/Any|"]; 49 [label="Variable declaration: lvar z: R|kotlin/Any|"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
49 [label="Enter when"]; 50 [label="Enter when"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
50 [label="Enter when branch condition "]; 52 [label="Enter when branch condition "];
51 [label="Access variable R|<local>/x|"]; 53 [label="Access variable R|<local>/x|"];
52 [label="Type operator: (R|<local>/x| is R|A|)"]; 54 [label="Type operator: (R|<local>/x| is R|A|)"];
53 [label="Exit when branch condition"]; 55 [label="Exit when branch condition"];
} }
54 [label="Synthetic else branch"]; 62 [label="Synthetic else branch"];
55 [label="Enter when branch result"]; 56 [label="Enter when branch result"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
56 [label="Enter block"]; 57 [label="Enter block"];
57 [label="Access variable R|<local>/z|"]; 58 [label="Access variable R|<local>/z|"];
58 [label="Function call: R|<local>/z|.R|/A.foo|()"]; 59 [label="Function call: R|<local>/z|.R|/A.foo|()"];
59 [label="Exit block"]; 60 [label="Exit block"];
} }
60 [label="Exit when branch result"]; 61 [label="Exit when branch result"];
61 [label="Exit when"]; 51 [label="Exit when"];
} }
62 [label="Access variable R|<local>/y|"]; 63 [label="Access variable R|<local>/y|"];
63 [label="Assignmenet: R|<local>/z|"]; 64 [label="Assignment: R|<local>/z|"];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
64 [label="Enter when"]; 65 [label="Enter when"];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
65 [label="Enter when branch condition "]; 67 [label="Enter when branch condition "];
66 [label="Access variable R|<local>/y|"]; 68 [label="Access variable R|<local>/y|"];
67 [label="Type operator: (R|<local>/y| is R|B|)"]; 69 [label="Type operator: (R|<local>/y| is R|B|)"];
68 [label="Exit when branch condition"]; 70 [label="Exit when branch condition"];
} }
69 [label="Synthetic else branch"]; 79 [label="Synthetic else branch"];
70 [label="Enter when branch result"]; 71 [label="Enter when branch result"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
71 [label="Enter block"]; 72 [label="Enter block"];
72 [label="Access variable R|<local>/z|"]; 73 [label="Access variable R|<local>/z|"];
73 [label="Function call: R|<local>/z|.<Unresolved name: foo>#()"]; 74 [label="Function call: R|<local>/z|.<Unresolved name: foo>#()"];
74 [label="Access variable R|<local>/z|"]; 75 [label="Access variable R|<local>/z|"];
75 [label="Function call: R|<local>/z|.R|/B.bar|()"]; 76 [label="Function call: R|<local>/z|.R|/B.bar|()"];
76 [label="Exit block"]; 77 [label="Exit block"];
} }
77 [label="Exit when branch result"]; 78 [label="Exit when branch result"];
78 [label="Exit when"]; 66 [label="Exit when"];
} }
79 [label="Exit function test_3" style="filled" fillcolor=red]; 47 [label="Exit function test_3" style="filled" fillcolor=red];
} }
46 -> {48};
46 -> {47};
47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {52};
51 -> {52}; 51 -> {63};
52 -> {53}; 52 -> {53};
53 -> {55 54}; 53 -> {54};
54 -> {61}; 54 -> {55};
55 -> {56}; 55 -> {56 62};
56 -> {57}; 56 -> {57};
57 -> {58}; 57 -> {58};
58 -> {59}; 58 -> {59};
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {51};
62 -> {63}; 62 -> {51};
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {67};
66 -> {67}; 66 -> {47};
67 -> {68}; 67 -> {68};
68 -> {70 69}; 68 -> {69};
69 -> {78}; 69 -> {70};
70 -> {71}; 70 -> {71 79};
71 -> {72}; 71 -> {72};
72 -> {73}; 72 -> {73};
73 -> {74}; 73 -> {74};
@@ -225,50 +217,49 @@ digraph boundSmartcasts_kt {
75 -> {76}; 75 -> {76};
76 -> {77}; 76 -> {77};
77 -> {78}; 77 -> {78};
78 -> {79}; 78 -> {66};
79 -> {66};
subgraph cluster_19 { subgraph cluster_19 {
color=red color=red
80 [label="Enter function test_4" style="filled" fillcolor=red]; 80 [label="Enter function test_4" style="filled" fillcolor=red];
81 [label="Const: Int(1)"]; 82 [label="Const: Int(1)"];
82 [label="Variable declaration: lvar x: R|kotlin/Any|"]; 83 [label="Variable declaration: lvar x: R|kotlin/Any|"];
83 [label="Access variable R|<local>/x|"]; 84 [label="Access variable R|<local>/x|"];
84 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"]; 85 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
85 [label="Access variable R|<local>/x|"]; 86 [label="Access variable R|<local>/x|"];
86 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"]; 87 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
87 [label="Access variable R|<local>/y|"]; 88 [label="Access variable R|<local>/y|"];
88 [label="Assignmenet: R|<local>/x|"]; 89 [label="Assignment: R|<local>/x|"];
89 [label="Access variable R|<local>/x|"]; 90 [label="Access variable R|<local>/x|"];
90 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()"]; 91 [label="Function call: R|<local>/x|.<Unresolved name: inc>#()"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
91 [label="Enter when"]; 92 [label="Enter when"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
92 [label="Enter when branch condition "]; 94 [label="Enter when branch condition "];
93 [label="Access variable R|<local>/y|"]; 95 [label="Access variable R|<local>/y|"];
94 [label="Type operator: (R|<local>/y| is R|A|)"]; 96 [label="Type operator: (R|<local>/y| is R|A|)"];
95 [label="Exit when branch condition"]; 97 [label="Exit when branch condition"];
} }
96 [label="Synthetic else branch"]; 106 [label="Synthetic else branch"];
97 [label="Enter when branch result"]; 98 [label="Enter when branch result"];
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
98 [label="Enter block"]; 99 [label="Enter block"];
99 [label="Access variable R|<local>/x|"]; 100 [label="Access variable R|<local>/x|"];
100 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 101 [label="Function call: R|<local>/x|.R|/A.foo|()"];
101 [label="Access variable R|<local>/y|"]; 102 [label="Access variable R|<local>/y|"];
102 [label="Function call: R|<local>/y|.R|/A.foo|()"]; 103 [label="Function call: R|<local>/y|.R|/A.foo|()"];
103 [label="Exit block"]; 104 [label="Exit block"];
} }
104 [label="Exit when branch result"]; 105 [label="Exit when branch result"];
105 [label="Exit when"]; 93 [label="Exit when"];
} }
106 [label="Exit function test_4" style="filled" fillcolor=red]; 81 [label="Exit function test_4" style="filled" fillcolor=red];
} }
80 -> {82};
80 -> {81};
81 -> {82};
82 -> {83}; 82 -> {83};
83 -> {84}; 83 -> {84};
84 -> {85}; 84 -> {85};
@@ -279,12 +270,12 @@ digraph boundSmartcasts_kt {
89 -> {90}; 89 -> {90};
90 -> {91}; 90 -> {91};
91 -> {92}; 91 -> {92};
92 -> {93}; 92 -> {94};
93 -> {94}; 93 -> {81};
94 -> {95}; 94 -> {95};
95 -> {97 96}; 95 -> {96};
96 -> {105}; 96 -> {97};
97 -> {98}; 97 -> {98 106};
98 -> {99}; 98 -> {99};
99 -> {100}; 99 -> {100};
100 -> {101}; 100 -> {101};
@@ -292,49 +283,46 @@ digraph boundSmartcasts_kt {
102 -> {103}; 102 -> {103};
103 -> {104}; 103 -> {104};
104 -> {105}; 104 -> {105};
105 -> {106}; 105 -> {93};
106 -> {93};
subgraph cluster_23 { subgraph cluster_23 {
color=red color=red
107 [label="Enter function <init>" style="filled" fillcolor=red]; 107 [label="Enter function <init>" style="filled" fillcolor=red];
108 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 109 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
109 [label="Exit function <init>" style="filled" fillcolor=red]; 108 [label="Exit function <init>" style="filled" fillcolor=red];
} }
107 -> {109};
107 -> {108}; 109 -> {108};
108 -> {109};
subgraph cluster_24 { subgraph cluster_24 {
color=red color=red
110 [label="Enter function getter" style="filled" fillcolor=red]; 110 [label="Enter function getter" style="filled" fillcolor=red];
111 [label="Exit function getter" style="filled" fillcolor=red]; 111 [label="Exit function getter" style="filled" fillcolor=red];
} }
110 -> {111}; 110 -> {111};
subgraph cluster_25 { subgraph cluster_25 {
color=red
112 [label="Enter property" style="filled" fillcolor=red];
113 [label="Access variable R|<local>/any|"];
114 [label="Exit property" style="filled" fillcolor=red];
}
112 -> {113};
113 -> {114};
subgraph cluster_26 {
color=red color=red
115 [label="Enter class D" style="filled" fillcolor=red]; 115 [label="Enter class D" style="filled" fillcolor=red];
subgraph cluster_26 {
color=blue
112 [label="Enter property" style="filled" fillcolor=red];
114 [label="Access variable R|<local>/any|"];
113 [label="Exit property" style="filled" fillcolor=red];
}
116 [label="Exit class D" style="filled" fillcolor=red]; 116 [label="Exit class D" style="filled" fillcolor=red];
} }
115 -> {112} [color=green];
112 -> {114};
113 -> {116} [color=green];
114 -> {113};
subgraph cluster_27 { subgraph cluster_27 {
color=red color=red
117 [label="Enter function baz" style="filled" fillcolor=red]; 117 [label="Enter function baz" style="filled" fillcolor=red];
118 [label="Exit function baz" style="filled" fillcolor=red]; 118 [label="Exit function baz" style="filled" fillcolor=red];
} }
117 -> {118}; 117 -> {118};
subgraph cluster_28 { subgraph cluster_28 {
@@ -342,79 +330,77 @@ digraph boundSmartcasts_kt {
119 [label="Enter function test_5" style="filled" fillcolor=red]; 119 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_29 { subgraph cluster_29 {
color=blue color=blue
120 [label="Enter when"]; 121 [label="Enter when"];
121 [label="Access variable R|<local>/d|"]; 123 [label="Access variable R|<local>/d|"];
122 [label="Access variable R|/D.any|"]; 124 [label="Access variable R|/D.any|"];
123 [label="Variable declaration: lval <elvis>: R|kotlin/Any?|"]; 125 [label="Variable declaration: lval <elvis>: R|kotlin/Any?|"];
subgraph cluster_30 { subgraph cluster_30 {
color=blue color=blue
124 [label="Enter when branch condition "]; 126 [label="Enter when branch condition "];
125 [label="Const: Null(null)"]; 127 [label="Const: Null(null)"];
126 [label="Operator =="]; 128 [label="Operator =="];
127 [label="Exit when branch condition"]; 129 [label="Exit when branch condition"];
} }
subgraph cluster_31 { subgraph cluster_31 {
color=blue color=blue
128 [label="Enter when branch condition else"]; 136 [label="Enter when branch condition else"];
129 [label="Exit when branch condition"]; 137 [label="Exit when branch condition"];
} }
130 [label="Enter when branch result"]; 138 [label="Enter when branch result"];
subgraph cluster_32 { subgraph cluster_32 {
color=blue color=blue
131 [label="Enter block"]; 139 [label="Enter block"];
132 [label="Access variable R|<local>/<elvis>|"]; 140 [label="Access variable R|<local>/<elvis>|"];
133 [label="Exit block"]; 141 [label="Exit block"];
} }
134 [label="Exit when branch result"]; 142 [label="Exit when branch result"];
135 [label="Enter when branch result"]; 130 [label="Enter when branch result"];
subgraph cluster_33 { subgraph cluster_33 {
color=blue color=blue
136 [label="Enter block"]; 131 [label="Enter block"];
137 [label="Jump: ^test_5 Unit"]; 132 [label="Jump: ^test_5 Unit"];
138 [label="Stub" style="filled" fillcolor=gray]; 133 [label="Stub" style="filled" fillcolor=gray];
139 [label="Exit block" style="filled" fillcolor=gray]; 134 [label="Exit block" style="filled" fillcolor=gray];
} }
140 [label="Exit when branch result" style="filled" fillcolor=gray]; 135 [label="Exit when branch result" style="filled" fillcolor=gray];
141 [label="Exit when"]; 122 [label="Exit when"];
} }
142 [label="Variable declaration: lval a: R|kotlin/Any|"]; 143 [label="Variable declaration: lval a: R|kotlin/Any|"];
143 [label="Access variable R|<local>/a|"]; 144 [label="Access variable R|<local>/a|"];
144 [label="Function call: R|<local>/a|.R|/baz|()"]; 145 [label="Function call: R|<local>/a|.R|/baz|()"];
145 [label="Access variable R|<local>/d|"]; 146 [label="Access variable R|<local>/d|"];
146 [label="Access variable R|/D.any|"]; 147 [label="Access variable R|/D.any|"];
147 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()"]; 148 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()"];
148 [label="Access variable R|<local>/a|"]; 149 [label="Access variable R|<local>/a|"];
149 [label="Type operator: (R|<local>/a| as R|A|)"]; 150 [label="Type operator: (R|<local>/a| as R|A|)"];
150 [label="Access variable R|<local>/a|"]; 151 [label="Access variable R|<local>/a|"];
151 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 152 [label="Function call: R|<local>/a|.R|/A.foo|()"];
152 [label="Exit function test_5" style="filled" fillcolor=red]; 120 [label="Exit function test_5" style="filled" fillcolor=red];
} }
119 -> {121};
119 -> {120}; 121 -> {123};
120 -> {121}; 122 -> {143};
121 -> {122};
122 -> {123};
123 -> {124}; 123 -> {124};
124 -> {125}; 124 -> {125};
125 -> {126}; 125 -> {126};
126 -> {127}; 126 -> {127};
127 -> {135 128}; 127 -> {128};
128 -> {129}; 128 -> {129};
129 -> {130}; 129 -> {130 136};
130 -> {131}; 130 -> {131};
131 -> {132}; 131 -> {132};
132 -> {133}; 132 -> {120};
133 -> {134}; 132 -> {133} [style=dotted];
134 -> {141}; 133 -> {134} [style=dotted];
135 -> {136}; 134 -> {135} [style=dotted];
135 -> {122} [style=dotted];
136 -> {137}; 136 -> {137};
137 -> {152}; 137 -> {138};
137 -> {138} [style=dotted]; 138 -> {139};
138 -> {139} [style=dotted]; 139 -> {140};
139 -> {140} [style=dotted]; 140 -> {141};
140 -> {141} [style=dotted];
141 -> {142}; 141 -> {142};
142 -> {143}; 142 -> {122};
143 -> {144}; 143 -> {144};
144 -> {145}; 144 -> {145};
145 -> {146}; 145 -> {146};
@@ -424,28 +410,27 @@ digraph boundSmartcasts_kt {
149 -> {150}; 149 -> {150};
150 -> {151}; 150 -> {151};
151 -> {152}; 151 -> {152};
152 -> {120};
subgraph cluster_34 { subgraph cluster_34 {
color=red color=red
153 [label="Enter function test_6" style="filled" fillcolor=red]; 153 [label="Enter function test_6" style="filled" fillcolor=red];
154 [label="Access variable R|<local>/d1|"]; 155 [label="Access variable R|<local>/d1|"];
155 [label="Access variable R|/D.any|"]; 156 [label="Access variable R|/D.any|"];
156 [label="Variable declaration: lval a: R|kotlin/Any?|"]; 157 [label="Variable declaration: lval a: R|kotlin/Any?|"];
157 [label="Access variable R|<local>/a|"]; 158 [label="Access variable R|<local>/a|"];
158 [label="Type operator: (R|<local>/a| as R|A|)"]; 159 [label="Type operator: (R|<local>/a| as R|A|)"];
159 [label="Access variable R|<local>/a|"]; 160 [label="Access variable R|<local>/a|"];
160 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 161 [label="Function call: R|<local>/a|.R|/A.foo|()"];
161 [label="Access variable R|<local>/d1|"]; 162 [label="Access variable R|<local>/d1|"];
162 [label="Access variable R|/D.any|"]; 163 [label="Access variable R|/D.any|"];
163 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()"]; 164 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()"];
164 [label="Access variable R|<local>/d1|"]; 165 [label="Access variable R|<local>/d1|"];
165 [label="Access variable R|/D.any|"]; 166 [label="Access variable R|/D.any|"];
166 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()"]; 167 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()"];
167 [label="Exit function test_6" style="filled" fillcolor=red]; 154 [label="Exit function test_6" style="filled" fillcolor=red];
} }
153 -> {155};
153 -> {154};
154 -> {155};
155 -> {156}; 155 -> {156};
156 -> {157}; 156 -> {157};
157 -> {158}; 157 -> {158};
@@ -458,42 +443,41 @@ digraph boundSmartcasts_kt {
164 -> {165}; 164 -> {165};
165 -> {166}; 165 -> {166};
166 -> {167}; 166 -> {167};
167 -> {154};
subgraph cluster_35 { subgraph cluster_35 {
color=red color=red
168 [label="Enter function test_7" style="filled" fillcolor=red]; 168 [label="Enter function test_7" style="filled" fillcolor=red];
169 [label="Access variable R|<local>/d1|"]; 170 [label="Access variable R|<local>/d1|"];
170 [label="Enter safe call"]; 171 [label="Enter safe call"];
171 [label="Access variable R|/D.any|"]; 173 [label="Access variable R|/D.any|"];
172 [label="Exit safe call"]; 172 [label="Exit safe call"];
173 [label="Variable declaration: lval a: R|kotlin/Any?|"]; 174 [label="Variable declaration: lval a: R|kotlin/Any?|"];
174 [label="Access variable R|<local>/d2|"]; 175 [label="Access variable R|<local>/d2|"];
175 [label="Enter safe call"]; 176 [label="Enter safe call"];
176 [label="Access variable R|/D.any|"]; 178 [label="Access variable R|/D.any|"];
177 [label="Exit safe call"]; 177 [label="Exit safe call"];
178 [label="Variable declaration: lval b: R|kotlin/Any?|"]; 179 [label="Variable declaration: lval b: R|kotlin/Any?|"];
179 [label="Access variable R|<local>/a|"]; 180 [label="Access variable R|<local>/a|"];
180 [label="Type operator: (R|<local>/a| as R|A|)"]; 181 [label="Type operator: (R|<local>/a| as R|A|)"];
181 [label="Access variable R|<local>/a|"]; 182 [label="Access variable R|<local>/a|"];
182 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 183 [label="Function call: R|<local>/a|.R|/A.foo|()"];
183 [label="Access variable R|<local>/b|"]; 184 [label="Access variable R|<local>/b|"];
184 [label="Type operator: (R|<local>/b| as R|B|)"]; 185 [label="Type operator: (R|<local>/b| as R|B|)"];
185 [label="Access variable R|<local>/b|"]; 186 [label="Access variable R|<local>/b|"];
186 [label="Function call: R|<local>/b|.R|/B.bar|()"]; 187 [label="Function call: R|<local>/b|.R|/B.bar|()"];
187 [label="Exit function test_7" style="filled" fillcolor=red]; 169 [label="Exit function test_7" style="filled" fillcolor=red];
} }
168 -> {170};
168 -> {169}; 170 -> {171 172};
169 -> {170 172}; 171 -> {173};
170 -> {171}; 172 -> {174};
171 -> {172}; 173 -> {172};
172 -> {173}; 174 -> {175};
173 -> {174}; 175 -> {176 177};
174 -> {175 177}; 176 -> {178};
175 -> {176}; 177 -> {179};
176 -> {177}; 178 -> {177};
177 -> {178};
178 -> {179};
179 -> {180}; 179 -> {180};
180 -> {181}; 180 -> {181};
181 -> {182}; 181 -> {182};
@@ -502,5 +486,6 @@ digraph boundSmartcasts_kt {
184 -> {185}; 184 -> {185};
185 -> {186}; 185 -> {186};
186 -> {187}; 186 -> {187};
187 -> {169};
} }
@@ -6,114 +6,108 @@ digraph functionCallBound_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function <init>" style="filled" fillcolor=red]; 0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 2 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 1 [label="Exit function <init>" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {1};
1 -> {2};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
3 [label="Enter class Base" style="filled" fillcolor=red]; 3 [label="Enter class Base" style="filled" fillcolor=red];
4 [label="Exit class Base" style="filled" fillcolor=red]; 4 [label="Exit class Base" style="filled" fillcolor=red];
} }
3 -> {4} [color=green]; 3 -> {4} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
5 [label="Enter function <init>" style="filled" fillcolor=red]; 5 [label="Enter function <init>" style="filled" fillcolor=red];
6 [label="Delegated constructor call: super<R|Base|>()"]; 7 [label="Delegated constructor call: super<R|Base|>()"];
7 [label="Exit function <init>" style="filled" fillcolor=red]; 6 [label="Exit function <init>" style="filled" fillcolor=red];
} }
5 -> {7};
5 -> {6}; 7 -> {6};
6 -> {7};
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
8 [label="Enter function getter" style="filled" fillcolor=red]; 8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red]; 9 [label="Exit function getter" style="filled" fillcolor=red];
} }
8 -> {9}; 8 -> {9};
subgraph cluster_4 { subgraph cluster_4 {
color=red
10 [label="Enter property" style="filled" fillcolor=red];
11 [label="Access variable R|<local>/data|"];
12 [label="Exit property" style="filled" fillcolor=red];
}
10 -> {11};
11 -> {12};
subgraph cluster_5 {
color=red color=red
13 [label="Enter class Sub" style="filled" fillcolor=red]; 13 [label="Enter class Sub" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
10 [label="Enter property" style="filled" fillcolor=red];
12 [label="Access variable R|<local>/data|"];
11 [label="Exit property" style="filled" fillcolor=red];
}
14 [label="Exit class Sub" style="filled" fillcolor=red]; 14 [label="Exit class Sub" style="filled" fillcolor=red];
} }
13 -> {10} [color=green];
10 -> {12};
11 -> {14} [color=green];
12 -> {11};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
15 [label="Enter function isOk" style="filled" fillcolor=red]; 15 [label="Enter function isOk" style="filled" fillcolor=red];
16 [label="Const: Boolean(true)"]; 17 [label="Const: Boolean(true)"];
17 [label="Jump: ^isOk Boolean(true)"]; 18 [label="Jump: ^isOk Boolean(true)"];
18 [label="Stub" style="filled" fillcolor=gray]; 19 [label="Stub" style="filled" fillcolor=gray];
19 [label="Exit function isOk" style="filled" fillcolor=red]; 16 [label="Exit function isOk" style="filled" fillcolor=red];
} }
15 -> {17};
15 -> {16}; 17 -> {18};
16 -> {17}; 18 -> {16};
17 -> {19};
17 -> {18} [style=dotted];
18 -> {19} [style=dotted]; 18 -> {19} [style=dotted];
19 -> {16} [style=dotted];
subgraph cluster_7 { subgraph cluster_7 {
color=red color=red
20 [label="Enter function check" style="filled" fillcolor=red]; 20 [label="Enter function check" style="filled" fillcolor=red];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
21 [label="Enter when"]; 22 [label="Enter when"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
22 [label="Enter when branch condition "]; 24 [label="Enter when branch condition "];
23 [label="Access variable R|<local>/base|"]; 25 [label="Access variable R|<local>/base|"];
24 [label="Type operator: (R|<local>/base| as? R|Sub|)"]; 26 [label="Type operator: (R|<local>/base| as? R|Sub|)"];
25 [label="Enter safe call"]; 27 [label="Enter safe call"];
26 [label="Function call: (R|<local>/base| as? R|Sub|)?.R|/isOk|()"]; 29 [label="Function call: (R|<local>/base| as? R|Sub|)?.R|/isOk|()"];
27 [label="Exit safe call"]; 28 [label="Exit safe call"];
28 [label="Const: Boolean(true)"]; 30 [label="Const: Boolean(true)"];
29 [label="Operator =="]; 31 [label="Operator =="];
30 [label="Exit when branch condition"]; 32 [label="Exit when branch condition"];
} }
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
31 [label="Enter when branch condition else"]; 39 [label="Enter when branch condition else"];
32 [label="Exit when branch condition"]; 40 [label="Exit when branch condition"];
} }
33 [label="Enter when branch result"]; 41 [label="Enter when branch result"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue
42 [label="Enter block"];
43 [label="Access variable R|<local>/base|"];
44 [label="Exit block"];
}
45 [label="Exit when branch result"];
33 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue color=blue
34 [label="Enter block"]; 34 [label="Enter block"];
35 [label="Access variable R|<local>/base|"]; 35 [label="Access variable R|<local>/base|"];
36 [label="Exit block"]; 36 [label="Access variable R|/Sub.data|"];
37 [label="Exit block"];
} }
37 [label="Exit when branch result"]; 38 [label="Exit when branch result"];
38 [label="Enter when branch result"]; 23 [label="Exit when"];
subgraph cluster_12 {
color=blue
39 [label="Enter block"];
40 [label="Access variable R|<local>/base|"];
41 [label="Access variable R|/Sub.data|"];
42 [label="Exit block"];
}
43 [label="Exit when branch result"];
44 [label="Exit when"];
} }
45 [label="Jump: ^check when () { 46 [label="Jump: ^check when () {
==((R|<local>/base| as? R|Sub|)?.R|/isOk|(), Boolean(true)) -> { ==((R|<local>/base| as? R|Sub|)?.R|/isOk|(), Boolean(true)) -> {
R|<local>/base|.R|/Sub.data| R|<local>/base|.R|/Sub.data|
} }
@@ -122,37 +116,36 @@ digraph functionCallBound_kt {
} }
} }
"]; "];
46 [label="Stub" style="filled" fillcolor=gray]; 47 [label="Stub" style="filled" fillcolor=gray];
47 [label="Exit function check" style="filled" fillcolor=red]; 21 [label="Exit function check" style="filled" fillcolor=red];
} }
20 -> {22};
20 -> {21}; 22 -> {24};
21 -> {22}; 23 -> {46};
22 -> {23}; 24 -> {25};
23 -> {24};
24 -> {25 27};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27 28};
27 -> {28}; 27 -> {29};
28 -> {29}; 28 -> {30};
29 -> {30}; 29 -> {28};
30 -> {38 31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33 39};
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37};
37 -> {44}; 37 -> {38};
38 -> {39}; 38 -> {23};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {47}; 45 -> {23};
45 -> {46} [style=dotted]; 46 -> {21};
46 -> {47} [style=dotted]; 46 -> {47} [style=dotted];
47 -> {21} [style=dotted];
} }
@@ -6,334 +6,329 @@ digraph casts_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function test_1" style="filled" fillcolor=red]; 0 [label="Enter function test_1" style="filled" fillcolor=red];
1 [label="Access variable R|<local>/x|"]; 2 [label="Access variable R|<local>/x|"];
2 [label="Type operator: (R|<local>/x| as R|kotlin/String|)"]; 3 [label="Type operator: (R|<local>/x| as R|kotlin/String|)"];
3 [label="Access variable R|<local>/x|"]; 4 [label="Access variable R|<local>/x|"];
4 [label="Access variable R|kotlin/String.length|"]; 5 [label="Access variable R|kotlin/String.length|"];
5 [label="Exit function test_1" style="filled" fillcolor=red]; 1 [label="Exit function test_1" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1};
1 -> {2};
2 -> {3}; 2 -> {3};
3 -> {4}; 3 -> {4};
4 -> {5}; 4 -> {5};
5 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
6 [label="Enter function test_2" style="filled" fillcolor=red]; 6 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
7 [label="Enter when"]; 8 [label="Enter when"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
8 [label="Enter when branch condition "]; 10 [label="Enter when branch condition "];
9 [label="Access variable R|<local>/x|"]; 11 [label="Access variable R|<local>/x|"];
10 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"]; 12 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
11 [label="Exit when branch condition"]; 13 [label="Exit when branch condition"];
} }
12 [label="Synthetic else branch"]; 20 [label="Synthetic else branch"];
13 [label="Enter when branch result"]; 14 [label="Enter when branch result"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
14 [label="Enter block"]; 15 [label="Enter block"];
15 [label="Access variable R|<local>/x|"]; 16 [label="Access variable R|<local>/x|"];
16 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"]; 17 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
17 [label="Exit block"]; 18 [label="Exit block"];
} }
18 [label="Exit when branch result"]; 19 [label="Exit when branch result"];
19 [label="Exit when"]; 9 [label="Exit when"];
} }
20 [label="Access variable R|<local>/x|"]; 21 [label="Access variable R|<local>/x|"];
21 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"]; 22 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
22 [label="Exit function test_2" style="filled" fillcolor=red]; 7 [label="Exit function test_2" style="filled" fillcolor=red];
} }
6 -> {8};
6 -> {7}; 8 -> {10};
7 -> {8}; 9 -> {21};
8 -> {9};
9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {13 12}; 11 -> {12};
12 -> {19}; 12 -> {13};
13 -> {14}; 13 -> {14 20};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {9};
20 -> {21}; 20 -> {9};
21 -> {22}; 21 -> {22};
22 -> {7};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
23 [label="Enter function test_3" style="filled" fillcolor=red]; 23 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
24 [label="Enter when"]; 25 [label="Enter when"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
25 [label="Enter when branch condition "]; 27 [label="Enter when branch condition "];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
26 [label="Enter &&"]; 29 [label="Enter &&"];
27 [label="Access variable R|<local>/b|"]; 30 [label="Access variable R|<local>/b|"];
28 [label="Exit left part of &&"]; 31 [label="Exit left part of &&"];
29 [label="Enter right part of &&"]; 32 [label="Enter right part of &&"];
30 [label="Access variable R|<local>/x|"]; 33 [label="Access variable R|<local>/x|"];
31 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"]; 34 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
32 [label="Exit &&"]; 28 [label="Exit &&"];
} }
33 [label="Exit when branch condition"]; 35 [label="Exit when branch condition"];
} }
34 [label="Synthetic else branch"]; 42 [label="Synthetic else branch"];
35 [label="Enter when branch result"]; 36 [label="Enter when branch result"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
36 [label="Enter block"]; 37 [label="Enter block"];
37 [label="Access variable R|<local>/x|"]; 38 [label="Access variable R|<local>/x|"];
38 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"]; 39 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
39 [label="Exit block"]; 40 [label="Exit block"];
} }
40 [label="Exit when branch result"]; 41 [label="Exit when branch result"];
41 [label="Exit when"]; 26 [label="Exit when"];
} }
42 [label="Access variable R|<local>/x|"]; 43 [label="Access variable R|<local>/x|"];
43 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"]; 44 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
44 [label="Enter when"]; 45 [label="Enter when"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
45 [label="Enter when branch condition "]; 47 [label="Enter when branch condition "];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
46 [label="Enter &&"]; 49 [label="Enter &&"];
47 [label="Access variable R|<local>/b|"]; 50 [label="Access variable R|<local>/b|"];
48 [label="Exit left part of &&"]; 51 [label="Exit left part of &&"];
49 [label="Enter right part of &&"]; 52 [label="Enter right part of &&"];
50 [label="Access variable R|<local>/x|"]; 53 [label="Access variable R|<local>/x|"];
51 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"]; 54 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
52 [label="Const: Boolean(true)"]; 55 [label="Const: Boolean(true)"];
53 [label="Operator =="]; 56 [label="Operator =="];
54 [label="Exit &&"]; 48 [label="Exit &&"];
} }
55 [label="Exit when branch condition"]; 57 [label="Exit when branch condition"];
} }
56 [label="Synthetic else branch"]; 64 [label="Synthetic else branch"];
57 [label="Enter when branch result"]; 58 [label="Enter when branch result"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
58 [label="Enter block"]; 59 [label="Enter block"];
59 [label="Access variable R|<local>/x|"]; 60 [label="Access variable R|<local>/x|"];
60 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"]; 61 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
61 [label="Exit block"]; 62 [label="Exit block"];
} }
62 [label="Exit when branch result"]; 63 [label="Exit when branch result"];
63 [label="Exit when"]; 46 [label="Exit when"];
} }
64 [label="Access variable R|<local>/x|"]; 65 [label="Access variable R|<local>/x|"];
65 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"]; 66 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
66 [label="Enter when"]; 67 [label="Enter when"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
67 [label="Enter when branch condition "]; 69 [label="Enter when branch condition "];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
68 [label="Enter ||"]; 71 [label="Enter ||"];
69 [label="Access variable R|<local>/b|"]; 72 [label="Access variable R|<local>/b|"];
70 [label="Exit left part of ||"]; 73 [label="Exit left part of ||"];
71 [label="Enter right part of ||"]; 74 [label="Enter right part of ||"];
72 [label="Access variable R|<local>/x|"]; 75 [label="Access variable R|<local>/x|"];
73 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"]; 76 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
74 [label="Exit ||"]; 70 [label="Exit ||"];
} }
75 [label="Exit when branch condition"]; 77 [label="Exit when branch condition"];
} }
76 [label="Synthetic else branch"]; 84 [label="Synthetic else branch"];
77 [label="Enter when branch result"]; 78 [label="Enter when branch result"];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
78 [label="Enter block"]; 79 [label="Enter block"];
79 [label="Access variable R|<local>/x|"]; 80 [label="Access variable R|<local>/x|"];
80 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"]; 81 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
81 [label="Exit block"]; 82 [label="Exit block"];
} }
82 [label="Exit when branch result"]; 83 [label="Exit when branch result"];
83 [label="Exit when"]; 68 [label="Exit when"];
} }
84 [label="Access variable R|<local>/x|"]; 85 [label="Access variable R|<local>/x|"];
85 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"]; 86 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
86 [label="Exit function test_3" style="filled" fillcolor=red]; 24 [label="Exit function test_3" style="filled" fillcolor=red];
} }
23 -> {25};
23 -> {24}; 25 -> {27};
24 -> {25}; 26 -> {43};
25 -> {26}; 27 -> {29};
26 -> {27}; 28 -> {35};
27 -> {28};
28 -> {32 29};
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {28 32};
32 -> {33}; 32 -> {33};
33 -> {35 34}; 33 -> {34};
34 -> {41}; 34 -> {28};
35 -> {36}; 35 -> {36 42};
36 -> {37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {26};
42 -> {43}; 42 -> {26};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {47};
46 -> {47}; 46 -> {65};
47 -> {48}; 47 -> {49};
48 -> {54 49}; 48 -> {57};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {48 52};
52 -> {53}; 52 -> {53};
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {57 56}; 55 -> {56};
56 -> {63}; 56 -> {48};
57 -> {58}; 57 -> {58 64};
58 -> {59}; 58 -> {59};
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {62};
62 -> {63}; 62 -> {63};
63 -> {64}; 63 -> {46};
64 -> {65}; 64 -> {46};
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {69};
68 -> {69}; 68 -> {85};
69 -> {70}; 69 -> {71};
70 -> {74 71}; 70 -> {77};
71 -> {72}; 71 -> {72};
72 -> {73}; 72 -> {73};
73 -> {74}; 73 -> {70 74};
74 -> {75}; 74 -> {75};
75 -> {77 76}; 75 -> {76};
76 -> {83}; 76 -> {70};
77 -> {78}; 77 -> {78 84};
78 -> {79}; 78 -> {79};
79 -> {80}; 79 -> {80};
80 -> {81}; 80 -> {81};
81 -> {82}; 81 -> {82};
82 -> {83}; 82 -> {83};
83 -> {84}; 83 -> {68};
84 -> {85}; 84 -> {68};
85 -> {86}; 85 -> {86};
86 -> {24};
subgraph cluster_18 { subgraph cluster_18 {
color=red color=red
87 [label="Enter function test_4" style="filled" fillcolor=red]; 87 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
88 [label="Enter when"]; 89 [label="Enter when"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
89 [label="Enter when branch condition "]; 91 [label="Enter when branch condition "];
90 [label="Access variable R|<local>/b|"]; 92 [label="Access variable R|<local>/b|"];
91 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"]; 93 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"];
92 [label="Const: Null(null)"]; 94 [label="Const: Null(null)"];
93 [label="Operator !="]; 95 [label="Operator !="];
94 [label="Exit when branch condition"]; 96 [label="Exit when branch condition"];
} }
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
95 [label="Enter when branch condition else"]; 103 [label="Enter when branch condition else"];
96 [label="Exit when branch condition"]; 104 [label="Exit when branch condition"];
} }
97 [label="Enter when branch result"]; 105 [label="Enter when branch result"];
subgraph cluster_22 { subgraph cluster_22 {
color=blue
106 [label="Enter block"];
107 [label="Access variable R|<local>/b|"];
108 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
109 [label="Exit block"];
}
110 [label="Exit when branch result"];
97 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue color=blue
98 [label="Enter block"]; 98 [label="Enter block"];
99 [label="Access variable R|<local>/b|"]; 99 [label="Access variable R|<local>/b|"];
100 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"]; 100 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
101 [label="Exit block"]; 101 [label="Exit block"];
} }
102 [label="Exit when branch result"]; 102 [label="Exit when branch result"];
103 [label="Enter when branch result"]; 90 [label="Exit when"];
subgraph cluster_23 {
color=blue
104 [label="Enter block"];
105 [label="Access variable R|<local>/b|"];
106 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
107 [label="Exit block"];
}
108 [label="Exit when branch result"];
109 [label="Exit when"];
} }
110 [label="Access variable R|<local>/b|"]; 111 [label="Access variable R|<local>/b|"];
111 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"]; 112 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
112 [label="Enter when"]; 113 [label="Enter when"];
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
113 [label="Enter when branch condition "]; 115 [label="Enter when branch condition "];
114 [label="Access variable R|<local>/b|"]; 116 [label="Access variable R|<local>/b|"];
115 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"]; 117 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"];
116 [label="Const: Null(null)"]; 118 [label="Const: Null(null)"];
117 [label="Operator =="]; 119 [label="Operator =="];
118 [label="Exit when branch condition"]; 120 [label="Exit when branch condition"];
} }
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
119 [label="Enter when branch condition else"]; 127 [label="Enter when branch condition else"];
120 [label="Exit when branch condition"]; 128 [label="Exit when branch condition"];
} }
121 [label="Enter when branch result"]; 129 [label="Enter when branch result"];
subgraph cluster_27 { subgraph cluster_27 {
color=blue
130 [label="Enter block"];
131 [label="Access variable R|<local>/b|"];
132 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
133 [label="Exit block"];
}
134 [label="Exit when branch result"];
121 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue color=blue
122 [label="Enter block"]; 122 [label="Enter block"];
123 [label="Access variable R|<local>/b|"]; 123 [label="Access variable R|<local>/b|"];
124 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"]; 124 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
125 [label="Exit block"]; 125 [label="Exit block"];
} }
126 [label="Exit when branch result"]; 126 [label="Exit when branch result"];
127 [label="Enter when branch result"]; 114 [label="Exit when"];
subgraph cluster_28 {
color=blue
128 [label="Enter block"];
129 [label="Access variable R|<local>/b|"];
130 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
131 [label="Exit block"];
}
132 [label="Exit when branch result"];
133 [label="Exit when"];
} }
134 [label="Access variable R|<local>/b|"]; 135 [label="Access variable R|<local>/b|"];
135 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"]; 136 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
136 [label="Exit function test_4" style="filled" fillcolor=red]; 88 [label="Exit function test_4" style="filled" fillcolor=red];
} }
87 -> {89};
87 -> {88}; 89 -> {91};
88 -> {89}; 90 -> {111};
89 -> {90};
90 -> {91};
91 -> {92}; 91 -> {92};
92 -> {93}; 92 -> {93};
93 -> {94}; 93 -> {94};
94 -> {103 95}; 94 -> {95};
95 -> {96}; 95 -> {96};
96 -> {97}; 96 -> {97 103};
97 -> {98}; 97 -> {98};
98 -> {99}; 98 -> {99};
99 -> {100}; 99 -> {100};
100 -> {101}; 100 -> {101};
101 -> {102}; 101 -> {102};
102 -> {109}; 102 -> {90};
103 -> {104}; 103 -> {104};
104 -> {105}; 104 -> {105};
105 -> {106}; 105 -> {106};
@@ -341,23 +336,23 @@ digraph casts_kt {
107 -> {108}; 107 -> {108};
108 -> {109}; 108 -> {109};
109 -> {110}; 109 -> {110};
110 -> {111}; 110 -> {90};
111 -> {112}; 111 -> {112};
112 -> {113}; 112 -> {113};
113 -> {114}; 113 -> {115};
114 -> {115}; 114 -> {135};
115 -> {116}; 115 -> {116};
116 -> {117}; 116 -> {117};
117 -> {118}; 117 -> {118};
118 -> {127 119}; 118 -> {119};
119 -> {120}; 119 -> {120};
120 -> {121}; 120 -> {121 127};
121 -> {122}; 121 -> {122};
122 -> {123}; 122 -> {123};
123 -> {124}; 123 -> {124};
124 -> {125}; 124 -> {125};
125 -> {126}; 125 -> {126};
126 -> {133}; 126 -> {114};
127 -> {128}; 127 -> {128};
128 -> {129}; 128 -> {129};
129 -> {130}; 129 -> {130};
@@ -365,7 +360,8 @@ digraph casts_kt {
131 -> {132}; 131 -> {132};
132 -> {133}; 132 -> {133};
133 -> {134}; 133 -> {134};
134 -> {135}; 134 -> {114};
135 -> {136}; 135 -> {136};
136 -> {88};
} }
@@ -8,7 +8,6 @@ digraph elvis_kt {
0 [label="Enter function foo" style="filled" fillcolor=red]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,212 +15,209 @@ digraph elvis_kt {
2 [label="Enter function getter" style="filled" fillcolor=red]; 2 [label="Enter function getter" style="filled" fillcolor=red];
3 [label="Exit function getter" style="filled" fillcolor=red]; 3 [label="Exit function getter" style="filled" fillcolor=red];
} }
2 -> {3}; 2 -> {3};
subgraph cluster_2 { 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 color=red
6 [label="Enter class A" style="filled" fillcolor=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]; 7 [label="Exit class A" style="filled" fillcolor=red];
} }
6 -> {4} [color=green];
4 -> {5};
5 -> {7} [color=green];
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
8 [label="Enter function test_1" style="filled" fillcolor=red]; 8 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
9 [label="Enter when"]; 10 [label="Enter when"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
10 [label="Enter when branch condition "]; 12 [label="Enter when branch condition "];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
11 [label="Enter when"]; 13 [label="Enter when"];
12 [label="Access variable R|<local>/x|"]; 15 [label="Access variable R|<local>/x|"];
13 [label="Enter safe call"]; 16 [label="Enter safe call"];
14 [label="Access variable R|/A.b|"]; 18 [label="Access variable R|/A.b|"];
15 [label="Exit safe call"]; 17 [label="Exit safe call"];
16 [label="Variable declaration: lval <elvis>: R|kotlin/Boolean?|"]; 19 [label="Variable declaration: lval <elvis>: R|kotlin/Boolean?|"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
17 [label="Enter when branch condition "]; 20 [label="Enter when branch condition "];
18 [label="Const: Null(null)"]; 21 [label="Const: Null(null)"];
19 [label="Operator =="]; 22 [label="Operator =="];
20 [label="Exit when branch condition"]; 23 [label="Exit when branch condition"];
} }
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
21 [label="Enter when branch condition else"]; 30 [label="Enter when branch condition else"];
22 [label="Exit when branch condition"]; 31 [label="Exit when branch condition"];
} }
23 [label="Enter when branch result"]; 32 [label="Enter when branch result"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
24 [label="Enter block"]; 33 [label="Enter block"];
25 [label="Access variable R|<local>/<elvis>|"]; 34 [label="Access variable R|<local>/<elvis>|"];
26 [label="Exit block"]; 35 [label="Exit block"];
} }
27 [label="Exit when branch result"]; 36 [label="Exit when branch result"];
28 [label="Enter when branch result"]; 24 [label="Enter when branch result"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
29 [label="Enter block"]; 25 [label="Enter block"];
30 [label="Jump: ^test_1 Unit"]; 26 [label="Jump: ^test_1 Unit"];
31 [label="Stub" style="filled" fillcolor=gray]; 27 [label="Stub" style="filled" fillcolor=gray];
32 [label="Exit block" style="filled" fillcolor=gray]; 28 [label="Exit block" style="filled" fillcolor=gray];
} }
33 [label="Exit when branch result" style="filled" fillcolor=gray]; 29 [label="Exit when branch result" style="filled" fillcolor=gray];
34 [label="Exit when"]; 14 [label="Exit when"];
} }
35 [label="Exit when branch condition"]; 37 [label="Exit when branch condition"];
} }
36 [label="Synthetic else branch"]; 44 [label="Synthetic else branch"];
37 [label="Enter when branch result"]; 38 [label="Enter when branch result"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
38 [label="Enter block"]; 39 [label="Enter block"];
39 [label="Access variable R|<local>/x|"]; 40 [label="Access variable R|<local>/x|"];
40 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 41 [label="Function call: R|<local>/x|.R|/A.foo|()"];
41 [label="Exit block"]; 42 [label="Exit block"];
} }
42 [label="Exit when branch result"]; 43 [label="Exit when branch result"];
43 [label="Exit when"]; 11 [label="Exit when"];
} }
44 [label="Exit function test_1" style="filled" fillcolor=red]; 9 [label="Exit function test_1" style="filled" fillcolor=red];
} }
8 -> {10};
8 -> {9}; 10 -> {12};
9 -> {10}; 11 -> {9};
10 -> {11}; 12 -> {13};
11 -> {12}; 13 -> {15};
12 -> {13 15}; 14 -> {37};
13 -> {14}; 15 -> {16 17};
14 -> {15}; 16 -> {18};
15 -> {16}; 17 -> {19};
16 -> {17}; 18 -> {17};
17 -> {18};
18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {28 21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24 30};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {9};
27 -> {34}; 26 -> {27} [style=dotted];
28 -> {29}; 27 -> {28} [style=dotted];
29 -> {30}; 28 -> {29} [style=dotted];
30 -> {44}; 29 -> {14} [style=dotted];
30 -> {31} [style=dotted]; 30 -> {31};
31 -> {32} [style=dotted]; 31 -> {32};
32 -> {33} [style=dotted]; 32 -> {33};
33 -> {34} [style=dotted]; 33 -> {34};
34 -> {35}; 34 -> {35};
35 -> {37 36}; 35 -> {36};
36 -> {43}; 36 -> {14};
37 -> {38}; 37 -> {38 44};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {11};
44 -> {11};
subgraph cluster_13 { subgraph cluster_13 {
color=red color=red
45 [label="Enter function test2" style="filled" fillcolor=red]; 45 [label="Enter function test2" style="filled" fillcolor=red];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
46 [label="Enter when"]; 47 [label="Enter when"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
47 [label="Enter when branch condition "]; 49 [label="Enter when branch condition "];
48 [label="Access variable R|<local>/b|"]; 50 [label="Access variable R|<local>/b|"];
49 [label="Type operator: (R|<local>/b| !is R|kotlin/String|)"]; 51 [label="Type operator: (R|<local>/b| !is R|kotlin/String|)"];
50 [label="Exit when branch condition"]; 52 [label="Exit when branch condition"];
} }
51 [label="Synthetic else branch"]; 60 [label="Synthetic else branch"];
52 [label="Enter when branch result"]; 53 [label="Enter when branch result"];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
53 [label="Enter block"]; 54 [label="Enter block"];
54 [label="Const: String()"]; 55 [label="Const: String()"];
55 [label="Jump: ^test2 String()"]; 56 [label="Jump: ^test2 String()"];
56 [label="Stub" style="filled" fillcolor=gray]; 57 [label="Stub" style="filled" fillcolor=gray];
57 [label="Exit block" style="filled" fillcolor=gray]; 58 [label="Exit block" style="filled" fillcolor=gray];
} }
58 [label="Exit when branch result" style="filled" fillcolor=gray]; 59 [label="Exit when branch result" style="filled" fillcolor=gray];
59 [label="Exit when"]; 48 [label="Exit when"];
} }
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
60 [label="Enter when"]; 61 [label="Enter when"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
61 [label="Enter when branch condition "]; 63 [label="Enter when branch condition "];
62 [label="Access variable R|<local>/a|"]; 64 [label="Access variable R|<local>/a|"];
63 [label="Type operator: (R|<local>/a| !is R|kotlin/String?|)"]; 65 [label="Type operator: (R|<local>/a| !is R|kotlin/String?|)"];
64 [label="Exit when branch condition"]; 66 [label="Exit when branch condition"];
} }
65 [label="Synthetic else branch"]; 74 [label="Synthetic else branch"];
66 [label="Enter when branch result"]; 67 [label="Enter when branch result"];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
67 [label="Enter block"]; 68 [label="Enter block"];
68 [label="Const: String()"]; 69 [label="Const: String()"];
69 [label="Jump: ^test2 String()"]; 70 [label="Jump: ^test2 String()"];
70 [label="Stub" style="filled" fillcolor=gray]; 71 [label="Stub" style="filled" fillcolor=gray];
71 [label="Exit block" style="filled" fillcolor=gray]; 72 [label="Exit block" style="filled" fillcolor=gray];
} }
72 [label="Exit when branch result" style="filled" fillcolor=gray]; 73 [label="Exit when branch result" style="filled" fillcolor=gray];
73 [label="Exit when"]; 62 [label="Exit when"];
} }
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
74 [label="Enter when"]; 75 [label="Enter when"];
75 [label="Access variable R|<local>/a|"]; 77 [label="Access variable R|<local>/a|"];
76 [label="Variable declaration: lval <elvis>: R|kotlin/String?|"]; 78 [label="Variable declaration: lval <elvis>: R|kotlin/String?|"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
77 [label="Enter when branch condition "]; 79 [label="Enter when branch condition "];
78 [label="Const: Null(null)"]; 80 [label="Const: Null(null)"];
79 [label="Operator =="]; 81 [label="Operator =="];
80 [label="Exit when branch condition"]; 82 [label="Exit when branch condition"];
} }
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
81 [label="Enter when branch condition else"]; 88 [label="Enter when branch condition else"];
82 [label="Exit when branch condition"]; 89 [label="Exit when branch condition"];
} }
83 [label="Enter when branch result"]; 90 [label="Enter when branch result"];
subgraph cluster_23 { subgraph cluster_23 {
color=blue
91 [label="Enter block"];
92 [label="Access variable R|<local>/<elvis>|"];
93 [label="Exit block"];
}
94 [label="Exit when branch result"];
83 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue color=blue
84 [label="Enter block"]; 84 [label="Enter block"];
85 [label="Access variable R|<local>/<elvis>|"]; 85 [label="Access variable R|<local>/b|"];
86 [label="Exit block"]; 86 [label="Exit block"];
} }
87 [label="Exit when branch result"]; 87 [label="Exit when branch result"];
88 [label="Enter when branch result"]; 76 [label="Exit when"];
subgraph cluster_24 {
color=blue
89 [label="Enter block"];
90 [label="Access variable R|<local>/b|"];
91 [label="Exit block"];
}
92 [label="Exit when branch result"];
93 [label="Exit when"];
} }
94 [label="Jump: ^test2 when (lval <elvis>: R|kotlin/String?| = R|<local>/a|) { 95 [label="Jump: ^test2 when (lval <elvis>: R|kotlin/String?| = R|<local>/a|) {
==($subj$, Null(null)) -> { ==($subj$, Null(null)) -> {
R|<local>/b| R|<local>/b|
} }
@@ -230,63 +226,62 @@ digraph elvis_kt {
} }
} }
"]; "];
95 [label="Stub" style="filled" fillcolor=gray]; 96 [label="Stub" style="filled" fillcolor=gray];
96 [label="Exit function test2" style="filled" fillcolor=red]; 46 [label="Exit function test2" style="filled" fillcolor=red];
} }
45 -> {47};
45 -> {46}; 47 -> {49};
46 -> {47}; 48 -> {61};
47 -> {48};
48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {52 51}; 50 -> {51};
51 -> {59}; 51 -> {52};
52 -> {53}; 52 -> {53 60};
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {96}; 55 -> {56};
55 -> {56} [style=dotted]; 56 -> {46};
56 -> {57} [style=dotted]; 56 -> {57} [style=dotted];
57 -> {58} [style=dotted]; 57 -> {58} [style=dotted];
58 -> {59} [style=dotted]; 58 -> {59} [style=dotted];
59 -> {60}; 59 -> {48} [style=dotted];
60 -> {61}; 60 -> {48};
61 -> {62}; 61 -> {63};
62 -> {63}; 62 -> {75};
63 -> {64}; 63 -> {64};
64 -> {66 65}; 64 -> {65};
65 -> {73}; 65 -> {66};
66 -> {67}; 66 -> {67 74};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {96}; 69 -> {70};
69 -> {70} [style=dotted]; 70 -> {46};
70 -> {71} [style=dotted]; 70 -> {71} [style=dotted];
71 -> {72} [style=dotted]; 71 -> {72} [style=dotted];
72 -> {73} [style=dotted]; 72 -> {73} [style=dotted];
73 -> {74}; 73 -> {62} [style=dotted];
74 -> {75}; 74 -> {62};
75 -> {76}; 75 -> {77};
76 -> {77}; 76 -> {95};
77 -> {78}; 77 -> {78};
78 -> {79}; 78 -> {79};
79 -> {80}; 79 -> {80};
80 -> {88 81}; 80 -> {81};
81 -> {82}; 81 -> {82};
82 -> {83}; 82 -> {83 88};
83 -> {84}; 83 -> {84};
84 -> {85}; 84 -> {85};
85 -> {86}; 85 -> {86};
86 -> {87}; 86 -> {87};
87 -> {93}; 87 -> {76};
88 -> {89}; 88 -> {89};
89 -> {90}; 89 -> {90};
90 -> {91}; 90 -> {91};
91 -> {92}; 91 -> {92};
92 -> {93}; 92 -> {93};
93 -> {94}; 93 -> {94};
94 -> {96}; 94 -> {76};
94 -> {95} [style=dotted]; 95 -> {46};
95 -> {96} [style=dotted]; 95 -> {96} [style=dotted];
96 -> {46} [style=dotted];
} }
@@ -8,138 +8,135 @@ digraph returns_kt {
0 [label="Enter function test_0" style="filled" fillcolor=red]; 0 [label="Enter function test_0" style="filled" fillcolor=red];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
1 [label="Enter when"]; 2 [label="Enter when"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
2 [label="Enter when branch condition "]; 4 [label="Enter when branch condition "];
3 [label="Access variable R|<local>/x|"]; 5 [label="Access variable R|<local>/x|"];
4 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"]; 6 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
5 [label="Exit when branch condition"]; 7 [label="Exit when branch condition"];
} }
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
6 [label="Enter when branch condition else"]; 14 [label="Enter when branch condition else"];
7 [label="Exit when branch condition"]; 15 [label="Exit when branch condition"];
} }
8 [label="Enter when branch result"]; 16 [label="Enter when branch result"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
9 [label="Enter block"]; 17 [label="Enter block"];
10 [label="Exit block"]; 18 [label="Exit block"];
} }
11 [label="Exit when branch result"]; 19 [label="Exit when branch result"];
12 [label="Enter when branch result"]; 8 [label="Enter when branch result"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
13 [label="Enter block"]; 9 [label="Enter block"];
14 [label="Access variable R|<local>/x|"]; 10 [label="Access variable R|<local>/x|"];
15 [label="Access variable R|kotlin/String.length|"]; 11 [label="Access variable R|kotlin/String.length|"];
16 [label="Exit block"]; 12 [label="Exit block"];
} }
17 [label="Exit when branch result"]; 13 [label="Exit when branch result"];
18 [label="Exit when"]; 3 [label="Exit when"];
} }
19 [label="Access variable R|<local>/x|"]; 20 [label="Access variable R|<local>/x|"];
20 [label="Access variable <Unresolved name: length>#"]; 21 [label="Access variable <Unresolved name: length>#"];
21 [label="Exit function test_0" style="filled" fillcolor=red]; 1 [label="Exit function test_0" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {4};
1 -> {2}; 3 -> {20};
2 -> {3};
3 -> {4};
4 -> {5}; 4 -> {5};
5 -> {12 6}; 5 -> {6};
6 -> {7}; 6 -> {7};
7 -> {8}; 7 -> {8 14};
8 -> {9}; 8 -> {9};
9 -> {10}; 9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {18}; 11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {3};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {3};
20 -> {21}; 20 -> {21};
21 -> {1};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
22 [label="Enter function test_1" style="filled" fillcolor=red]; 22 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
23 [label="Enter when"]; 24 [label="Enter when"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
24 [label="Enter when branch condition "]; 26 [label="Enter when branch condition "];
25 [label="Access variable R|<local>/x|"]; 27 [label="Access variable R|<local>/x|"];
26 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"]; 28 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
27 [label="Exit when branch condition"]; 29 [label="Exit when branch condition"];
} }
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
28 [label="Enter when branch condition else"]; 36 [label="Enter when branch condition else"];
29 [label="Exit when branch condition"]; 37 [label="Exit when branch condition"];
} }
30 [label="Enter when branch result"]; 38 [label="Enter when branch result"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
31 [label="Enter block"]; 39 [label="Enter block"];
32 [label="Jump: ^test_1 Unit"]; 40 [label="Jump: ^test_1 Unit"];
33 [label="Stub" style="filled" fillcolor=gray]; 41 [label="Stub" style="filled" fillcolor=gray];
34 [label="Exit block" style="filled" fillcolor=gray]; 42 [label="Exit block" style="filled" fillcolor=gray];
} }
35 [label="Exit when branch result" style="filled" fillcolor=gray]; 43 [label="Exit when branch result" style="filled" fillcolor=gray];
36 [label="Enter when branch result"]; 30 [label="Enter when branch result"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
37 [label="Enter block"]; 31 [label="Enter block"];
38 [label="Access variable R|<local>/x|"]; 32 [label="Access variable R|<local>/x|"];
39 [label="Access variable R|kotlin/String.length|"]; 33 [label="Access variable R|kotlin/String.length|"];
40 [label="Exit block"]; 34 [label="Exit block"];
} }
41 [label="Exit when branch result"]; 35 [label="Exit when branch result"];
42 [label="Exit when"]; 25 [label="Exit when"];
} }
43 [label="Access variable R|<local>/x|"]; 44 [label="Access variable R|<local>/x|"];
44 [label="Access variable R|kotlin/String.length|"]; 45 [label="Access variable R|kotlin/String.length|"];
45 [label="Exit function test_1" style="filled" fillcolor=red]; 23 [label="Exit function test_1" style="filled" fillcolor=red];
} }
22 -> {24};
22 -> {23}; 24 -> {26};
23 -> {24}; 25 -> {44};
24 -> {25};
25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {36 28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {30 36};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {45}; 32 -> {33};
32 -> {33} [style=dotted]; 33 -> {34};
33 -> {34} [style=dotted]; 34 -> {35};
34 -> {35} [style=dotted]; 35 -> {25};
35 -> {42} [style=dotted];
36 -> {37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {23};
41 -> {42}; 40 -> {41} [style=dotted];
42 -> {43}; 41 -> {42} [style=dotted];
43 -> {44}; 42 -> {43} [style=dotted];
43 -> {25} [style=dotted];
44 -> {45}; 44 -> {45};
45 -> {23};
subgraph cluster_12 { subgraph cluster_12 {
color=red color=red
46 [label="Enter function foo" style="filled" fillcolor=red]; 46 [label="Enter function foo" style="filled" fillcolor=red];
47 [label="Exit function foo" style="filled" fillcolor=red]; 47 [label="Exit function foo" style="filled" fillcolor=red];
} }
46 -> {47}; 46 -> {47};
subgraph cluster_13 { subgraph cluster_13 {
@@ -147,7 +144,6 @@ digraph returns_kt {
48 [label="Enter class A" style="filled" fillcolor=red]; 48 [label="Enter class A" style="filled" fillcolor=red];
49 [label="Exit class A" style="filled" fillcolor=red]; 49 [label="Exit class A" style="filled" fillcolor=red];
} }
48 -> {49} [color=green]; 48 -> {49} [color=green];
subgraph cluster_14 { subgraph cluster_14 {
@@ -155,7 +151,6 @@ digraph returns_kt {
50 [label="Enter function bar" style="filled" fillcolor=red]; 50 [label="Enter function bar" style="filled" fillcolor=red];
51 [label="Exit function bar" style="filled" fillcolor=red]; 51 [label="Exit function bar" style="filled" fillcolor=red];
} }
50 -> {51}; 50 -> {51};
subgraph cluster_15 { subgraph cluster_15 {
@@ -163,7 +158,6 @@ digraph returns_kt {
52 [label="Enter class B" style="filled" fillcolor=red]; 52 [label="Enter class B" style="filled" fillcolor=red];
53 [label="Exit class B" style="filled" fillcolor=red]; 53 [label="Exit class B" style="filled" fillcolor=red];
} }
52 -> {53} [color=green]; 52 -> {53} [color=green];
subgraph cluster_16 { subgraph cluster_16 {
@@ -171,7 +165,6 @@ digraph returns_kt {
54 [label="Enter function baz" style="filled" fillcolor=red]; 54 [label="Enter function baz" style="filled" fillcolor=red];
55 [label="Exit function baz" style="filled" fillcolor=red]; 55 [label="Exit function baz" style="filled" fillcolor=red];
} }
54 -> {55}; 54 -> {55};
subgraph cluster_17 { subgraph cluster_17 {
@@ -179,7 +172,6 @@ digraph returns_kt {
56 [label="Enter class C" style="filled" fillcolor=red]; 56 [label="Enter class C" style="filled" fillcolor=red];
57 [label="Exit class C" style="filled" fillcolor=red]; 57 [label="Exit class C" style="filled" fillcolor=red];
} }
56 -> {57} [color=green]; 56 -> {57} [color=green];
subgraph cluster_18 { subgraph cluster_18 {
@@ -187,35 +179,35 @@ digraph returns_kt {
58 [label="Enter function test_2" style="filled" fillcolor=red]; 58 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
59 [label="Enter when"]; 60 [label="Enter when"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
60 [label="Enter when branch condition "]; 62 [label="Enter when branch condition "];
61 [label="Access variable R|<local>/x|"]; 63 [label="Access variable R|<local>/x|"];
62 [label="Type operator: (R|<local>/x| is R|B|)"]; 64 [label="Type operator: (R|<local>/x| is R|B|)"];
63 [label="Exit when branch condition"]; 65 [label="Exit when branch condition"];
} }
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
64 [label="Enter when branch condition "]; 72 [label="Enter when branch condition "];
65 [label="Access variable R|<local>/x|"]; 73 [label="Access variable R|<local>/x|"];
66 [label="Type operator: (R|<local>/x| is R|C|)"]; 74 [label="Type operator: (R|<local>/x| is R|C|)"];
67 [label="Exit when branch condition"]; 75 [label="Exit when branch condition"];
} }
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
68 [label="Enter when branch condition else"]; 82 [label="Enter when branch condition else"];
69 [label="Exit when branch condition"]; 83 [label="Exit when branch condition"];
} }
70 [label="Enter when branch result"]; 84 [label="Enter when branch result"];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
71 [label="Enter block"]; 85 [label="Enter block"];
72 [label="Jump: ^test_2 Unit"]; 86 [label="Jump: ^test_2 Unit"];
73 [label="Stub" style="filled" fillcolor=gray]; 87 [label="Stub" style="filled" fillcolor=gray];
74 [label="Exit block" style="filled" fillcolor=gray]; 88 [label="Exit block" style="filled" fillcolor=gray];
} }
75 [label="Exit when branch result" style="filled" fillcolor=gray]; 89 [label="Exit when branch result" style="filled" fillcolor=gray];
76 [label="Enter when branch result"]; 76 [label="Enter when branch result"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
@@ -225,280 +217,273 @@ digraph returns_kt {
80 [label="Exit block"]; 80 [label="Exit block"];
} }
81 [label="Exit when branch result"]; 81 [label="Exit when branch result"];
82 [label="Enter when branch result"]; 66 [label="Enter when branch result"];
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
83 [label="Enter block"]; 67 [label="Enter block"];
84 [label="Access variable R|<local>/x|"]; 68 [label="Access variable R|<local>/x|"];
85 [label="Function call: R|<local>/x|.R|/B.bar|()"]; 69 [label="Function call: R|<local>/x|.R|/B.bar|()"];
86 [label="Exit block"]; 70 [label="Exit block"];
} }
87 [label="Exit when branch result"]; 71 [label="Exit when branch result"];
88 [label="Exit when"]; 61 [label="Exit when"];
} }
89 [label="Access variable R|<local>/x|"]; 90 [label="Access variable R|<local>/x|"];
90 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 91 [label="Function call: R|<local>/x|.R|/A.foo|()"];
91 [label="Access variable R|<local>/x|"]; 92 [label="Access variable R|<local>/x|"];
92 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"]; 93 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
93 [label="Access variable R|<local>/x|"]; 94 [label="Access variable R|<local>/x|"];
94 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"]; 95 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
95 [label="Exit function test_2" style="filled" fillcolor=red]; 59 [label="Exit function test_2" style="filled" fillcolor=red];
} }
58 -> {60};
58 -> {59}; 60 -> {62};
59 -> {60}; 61 -> {90};
60 -> {61};
61 -> {62};
62 -> {63}; 62 -> {63};
63 -> {82 64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66 72};
66 -> {67}; 66 -> {67};
67 -> {76 68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {61};
72 -> {95}; 72 -> {73};
72 -> {73} [style=dotted]; 73 -> {74};
73 -> {74} [style=dotted]; 74 -> {75};
74 -> {75} [style=dotted]; 75 -> {76 82};
75 -> {88} [style=dotted];
76 -> {77}; 76 -> {77};
77 -> {78}; 77 -> {78};
78 -> {79}; 78 -> {79};
79 -> {80}; 79 -> {80};
80 -> {81}; 80 -> {81};
81 -> {88}; 81 -> {61};
82 -> {83}; 82 -> {83};
83 -> {84}; 83 -> {84};
84 -> {85}; 84 -> {85};
85 -> {86}; 85 -> {86};
86 -> {87}; 86 -> {59};
87 -> {88}; 86 -> {87} [style=dotted];
88 -> {89}; 87 -> {88} [style=dotted];
89 -> {90}; 88 -> {89} [style=dotted];
89 -> {61} [style=dotted];
90 -> {91}; 90 -> {91};
91 -> {92}; 91 -> {92};
92 -> {93}; 92 -> {93};
93 -> {94}; 93 -> {94};
94 -> {95}; 94 -> {95};
95 -> {59};
subgraph cluster_26 { subgraph cluster_26 {
color=red color=red
96 [label="Enter function test_3" style="filled" fillcolor=red]; 96 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_27 { subgraph cluster_27 {
color=blue color=blue
97 [label="Enter when"]; 98 [label="Enter when"];
subgraph cluster_28 { subgraph cluster_28 {
color=blue color=blue
98 [label="Enter when branch condition "]; 100 [label="Enter when branch condition "];
99 [label="Access variable R|<local>/x|"]; 101 [label="Access variable R|<local>/x|"];
100 [label="Type operator: (R|<local>/x| is R|B|)"]; 102 [label="Type operator: (R|<local>/x| is R|B|)"];
101 [label="Exit when branch condition"]; 103 [label="Exit when branch condition"];
} }
subgraph cluster_29 { subgraph cluster_29 {
color=blue color=blue
102 [label="Enter when branch condition "]; 110 [label="Enter when branch condition "];
103 [label="Access variable R|<local>/x|"]; 111 [label="Access variable R|<local>/x|"];
104 [label="Type operator: (R|<local>/x| is R|C|)"]; 112 [label="Type operator: (R|<local>/x| is R|C|)"];
105 [label="Exit when branch condition"]; 113 [label="Exit when branch condition"];
} }
106 [label="Synthetic else branch"]; 120 [label="Synthetic else branch"];
107 [label="Enter when branch result"]; 114 [label="Enter when branch result"];
subgraph cluster_30 { subgraph cluster_30 {
color=blue color=blue
108 [label="Enter block"]; 115 [label="Enter block"];
109 [label="Access variable R|<local>/x|"]; 116 [label="Access variable R|<local>/x|"];
110 [label="Function call: R|<local>/x|.R|/C.baz|()"]; 117 [label="Function call: R|<local>/x|.R|/C.baz|()"];
111 [label="Exit block"]; 118 [label="Exit block"];
} }
112 [label="Exit when branch result"]; 119 [label="Exit when branch result"];
113 [label="Enter when branch result"]; 104 [label="Enter when branch result"];
subgraph cluster_31 { subgraph cluster_31 {
color=blue color=blue
114 [label="Enter block"]; 105 [label="Enter block"];
115 [label="Access variable R|<local>/x|"]; 106 [label="Access variable R|<local>/x|"];
116 [label="Function call: R|<local>/x|.R|/B.bar|()"]; 107 [label="Function call: R|<local>/x|.R|/B.bar|()"];
117 [label="Exit block"]; 108 [label="Exit block"];
} }
118 [label="Exit when branch result"]; 109 [label="Exit when branch result"];
119 [label="Exit when"]; 99 [label="Exit when"];
} }
120 [label="Access variable R|<local>/x|"]; 121 [label="Access variable R|<local>/x|"];
121 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"]; 122 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
122 [label="Access variable R|<local>/x|"]; 123 [label="Access variable R|<local>/x|"];
123 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"]; 124 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
124 [label="Access variable R|<local>/x|"]; 125 [label="Access variable R|<local>/x|"];
125 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"]; 126 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
126 [label="Exit function test_3" style="filled" fillcolor=red]; 97 [label="Exit function test_3" style="filled" fillcolor=red];
} }
96 -> {98};
96 -> {97}; 98 -> {100};
97 -> {98}; 99 -> {121};
98 -> {99};
99 -> {100};
100 -> {101}; 100 -> {101};
101 -> {113 102}; 101 -> {102};
102 -> {103}; 102 -> {103};
103 -> {104}; 103 -> {104 110};
104 -> {105}; 104 -> {105};
105 -> {107 106}; 105 -> {106};
106 -> {119}; 106 -> {107};
107 -> {108}; 107 -> {108};
108 -> {109}; 108 -> {109};
109 -> {110}; 109 -> {99};
110 -> {111}; 110 -> {111};
111 -> {112}; 111 -> {112};
112 -> {119}; 112 -> {113};
113 -> {114}; 113 -> {114 120};
114 -> {115}; 114 -> {115};
115 -> {116}; 115 -> {116};
116 -> {117}; 116 -> {117};
117 -> {118}; 117 -> {118};
118 -> {119}; 118 -> {119};
119 -> {120}; 119 -> {99};
120 -> {121}; 120 -> {99};
121 -> {122}; 121 -> {122};
122 -> {123}; 122 -> {123};
123 -> {124}; 123 -> {124};
124 -> {125}; 124 -> {125};
125 -> {126}; 125 -> {126};
126 -> {97};
subgraph cluster_32 { subgraph cluster_32 {
color=red color=red
127 [label="Enter function runHigherOrder" style="filled" fillcolor=red]; 127 [label="Enter function runHigherOrder" style="filled" fillcolor=red];
128 [label="Function call: R|<local>/f|.R|FakeOverride<kotlin/Function0.invoke: R|T|>|()"]; 129 [label="Function call: R|<local>/f|.R|FakeOverride<kotlin/Function0.invoke: R|T|>|()"];
129 [label="Jump: ^runHigherOrder R|<local>/f|.R|FakeOverride<kotlin/Function0.invoke: R|T|>|()"]; 130 [label="Jump: ^runHigherOrder R|<local>/f|.R|FakeOverride<kotlin/Function0.invoke: R|T|>|()"];
130 [label="Stub" style="filled" fillcolor=gray]; 131 [label="Stub" style="filled" fillcolor=gray];
131 [label="Exit function runHigherOrder" style="filled" fillcolor=red]; 128 [label="Exit function runHigherOrder" style="filled" fillcolor=red];
} }
127 -> {129};
127 -> {128}; 129 -> {130};
128 -> {129}; 130 -> {128};
129 -> {131};
129 -> {130} [style=dotted];
130 -> {131} [style=dotted]; 130 -> {131} [style=dotted];
131 -> {128} [style=dotted];
subgraph cluster_33 { subgraph cluster_33 {
color=red color=red
132 [label="Enter function getter" style="filled" fillcolor=red]; 132 [label="Enter function getter" style="filled" fillcolor=red];
133 [label="Access variable R|kotlin/String.length|"]; 134 [label="Access variable R|kotlin/String.length|"];
134 [label="Jump: ^ this@R|/ext|.R|kotlin/String.length|"]; 135 [label="Jump: ^ this@R|/ext|.R|kotlin/String.length|"];
135 [label="Stub" style="filled" fillcolor=gray]; 136 [label="Stub" style="filled" fillcolor=gray];
136 [label="Exit function getter" style="filled" fillcolor=red]; 133 [label="Exit function getter" style="filled" fillcolor=red];
} }
132 -> {134};
132 -> {133}; 134 -> {135};
133 -> {134}; 135 -> {133};
134 -> {136};
134 -> {135} [style=dotted];
135 -> {136} [style=dotted]; 135 -> {136} [style=dotted];
136 -> {133} [style=dotted];
subgraph cluster_34 { subgraph cluster_34 {
color=red color=red
137 [label="Enter property" style="filled" fillcolor=red]; 137 [label="Enter property" style="filled" fillcolor=red];
138 [label="Exit property" style="filled" fillcolor=red]; 138 [label="Exit property" style="filled" fillcolor=red];
} }
137 -> {138}; 137 -> {138};
subgraph cluster_35 { subgraph cluster_35 {
color=red color=red
139 [label="Enter function test_4" style="filled" fillcolor=red]; 139 [label="Enter function test_4" style="filled" fillcolor=red];
140 [label="Access variable R|<local>/a|"]; 141 [label="Access variable R|<local>/a|"];
141 [label="Type operator: (R|<local>/a| as? R|kotlin/String|)"]; 142 [label="Type operator: (R|<local>/a| as? R|kotlin/String|)"];
142 [label="Variable declaration: lval s: R|kotlin/String?|"]; 143 [label="Variable declaration: lval s: R|kotlin/String?|"];
subgraph cluster_36 { subgraph cluster_36 {
color=blue color=blue
143 [label="Enter when"]; 144 [label="Enter when"];
144 [label="Access variable R|<local>/s|"]; 146 [label="Access variable R|<local>/s|"];
145 [label="Enter safe call"]; 147 [label="Enter safe call"];
146 [label="Access variable R|/ext|"]; 149 [label="Access variable R|/ext|"];
147 [label="Exit safe call"]; 148 [label="Exit safe call"];
148 [label="Variable declaration: lval <elvis>: R|kotlin/Int?|"]; 150 [label="Variable declaration: lval <elvis>: R|kotlin/Int?|"];
subgraph cluster_37 { subgraph cluster_37 {
color=blue color=blue
149 [label="Enter when branch condition "]; 151 [label="Enter when branch condition "];
150 [label="Const: Null(null)"]; 152 [label="Const: Null(null)"];
151 [label="Operator =="]; 153 [label="Operator =="];
152 [label="Exit when branch condition"]; 154 [label="Exit when branch condition"];
} }
subgraph cluster_38 { subgraph cluster_38 {
color=blue color=blue
153 [label="Enter when branch condition else"]; 161 [label="Enter when branch condition else"];
154 [label="Exit when branch condition"]; 162 [label="Exit when branch condition"];
} }
155 [label="Enter when branch result"]; 163 [label="Enter when branch result"];
subgraph cluster_39 { subgraph cluster_39 {
color=blue color=blue
156 [label="Enter block"]; 164 [label="Enter block"];
157 [label="Access variable R|<local>/<elvis>|"]; 165 [label="Access variable R|<local>/<elvis>|"];
158 [label="Exit block"]; 166 [label="Exit block"];
} }
159 [label="Exit when branch result"]; 167 [label="Exit when branch result"];
160 [label="Enter when branch result"]; 155 [label="Enter when branch result"];
subgraph cluster_40 { subgraph cluster_40 {
color=blue color=blue
161 [label="Enter block"]; 156 [label="Enter block"];
162 [label="Jump: ^test_4 Unit"]; 157 [label="Jump: ^test_4 Unit"];
163 [label="Stub" style="filled" fillcolor=gray]; 158 [label="Stub" style="filled" fillcolor=gray];
164 [label="Exit block" style="filled" fillcolor=gray]; 159 [label="Exit block" style="filled" fillcolor=gray];
} }
165 [label="Exit when branch result" style="filled" fillcolor=gray]; 160 [label="Exit when branch result" style="filled" fillcolor=gray];
166 [label="Exit when"]; 145 [label="Exit when"];
} }
167 [label="Variable declaration: lval length: R|kotlin/Int|"]; 168 [label="Variable declaration: lval length: R|kotlin/Int|"];
168 [label="Postponed enter to lambda"]; 169 [label="Postponed enter to lambda"];
169 [label="Postponed exit from lambda"]; subgraph cluster_41 {
170 [label="Function call: R|/runHigherOrder|<R|kotlin/Int|>(...)"]; color=blue
171 [label="Exit function test_4" style="filled" fillcolor=red]; 172 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
174 [label="Access variable R|<local>/s|"];
175 [label="Access variable R|kotlin/String.length|"];
173 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
170 [label="Postponed exit from lambda"];
171 [label="Function call: R|/runHigherOrder|<R|kotlin/Int|>(...)"];
140 [label="Exit function test_4" style="filled" fillcolor=red];
} }
139 -> {141};
139 -> {140};
140 -> {141};
141 -> {142}; 141 -> {142};
142 -> {143}; 142 -> {143};
143 -> {144}; 143 -> {144};
144 -> {145 147}; 144 -> {146};
145 -> {146}; 145 -> {168};
146 -> {147}; 146 -> {147 148};
147 -> {148}; 147 -> {149};
148 -> {149}; 148 -> {150};
149 -> {150}; 149 -> {148};
150 -> {151}; 150 -> {151};
151 -> {152}; 151 -> {152};
152 -> {160 153}; 152 -> {153};
153 -> {154}; 153 -> {154};
154 -> {155}; 154 -> {155 161};
155 -> {156}; 155 -> {156};
156 -> {157}; 156 -> {157};
157 -> {158}; 157 -> {140};
158 -> {159}; 157 -> {158} [style=dotted];
159 -> {166}; 158 -> {159} [style=dotted];
160 -> {161}; 159 -> {160} [style=dotted];
160 -> {145} [style=dotted];
161 -> {162}; 161 -> {162};
162 -> {171}; 162 -> {163};
162 -> {163} [style=dotted]; 163 -> {164};
163 -> {164} [style=dotted]; 164 -> {165};
164 -> {165} [style=dotted]; 165 -> {166};
165 -> {166} [style=dotted];
166 -> {167}; 166 -> {167};
167 -> {168}; 167 -> {145};
168 -> {169 169} [color=green]; 168 -> {169};
169 -> {170}; 169 -> {170 170} [color=green];
169 -> {172} [color=red];
170 -> {171}; 170 -> {171};
171 -> {140};
subgraph cluster_41 { 172 -> {174};
color=red
172 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
173 [label="Access variable R|<local>/s|"];
174 [label="Access variable R|kotlin/String.length|"];
175 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
172 -> {173};
173 -> {174};
174 -> {175}; 174 -> {175};
175 -> {173};
} }
@@ -8,182 +8,179 @@ digraph simpleIf_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red]; 0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
1 [label="Enter when"]; 2 [label="Enter when"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
2 [label="Enter when branch condition "]; 4 [label="Enter when branch condition "];
3 [label="Access variable R|<local>/x|"]; 5 [label="Access variable R|<local>/x|"];
4 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"]; 6 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
5 [label="Exit when branch condition"]; 7 [label="Exit when branch condition"];
} }
6 [label="Synthetic else branch"]; 14 [label="Synthetic else branch"];
7 [label="Enter when branch result"]; 8 [label="Enter when branch result"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
8 [label="Enter block"]; 9 [label="Enter block"];
9 [label="Access variable R|<local>/x|"]; 10 [label="Access variable R|<local>/x|"];
10 [label="Access variable R|kotlin/String.length|"]; 11 [label="Access variable R|kotlin/String.length|"];
11 [label="Exit block"]; 12 [label="Exit block"];
} }
12 [label="Exit when branch result"]; 13 [label="Exit when branch result"];
13 [label="Exit when"]; 3 [label="Exit when"];
} }
14 [label="Access variable R|<local>/x|"]; 15 [label="Access variable R|<local>/x|"];
15 [label="Access variable <Unresolved name: length>#"]; 16 [label="Access variable <Unresolved name: length>#"];
16 [label="Exit function test_1" style="filled" fillcolor=red]; 1 [label="Exit function test_1" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {4};
1 -> {2}; 3 -> {15};
2 -> {3};
3 -> {4};
4 -> {5}; 4 -> {5};
5 -> {7 6}; 5 -> {6};
6 -> {13}; 6 -> {7};
7 -> {8}; 7 -> {8 14};
8 -> {9}; 8 -> {9};
9 -> {10}; 9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {3};
14 -> {15}; 14 -> {3};
15 -> {16}; 15 -> {16};
16 -> {1};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
17 [label="Enter function test_2" style="filled" fillcolor=red]; 17 [label="Enter function test_2" style="filled" fillcolor=red];
18 [label="Access variable R|<local>/x|"]; 19 [label="Access variable R|<local>/x|"];
19 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"]; 20 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
20 [label="Variable declaration: lval b: R|kotlin/Boolean|"]; 21 [label="Variable declaration: lval b: R|kotlin/Boolean|"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
21 [label="Enter when"]; 22 [label="Enter when"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
22 [label="Enter when branch condition "]; 24 [label="Enter when branch condition "];
23 [label="Access variable R|<local>/b|"]; 25 [label="Access variable R|<local>/b|"];
24 [label="Exit when branch condition"]; 26 [label="Exit when branch condition"];
} }
25 [label="Synthetic else branch"]; 33 [label="Synthetic else branch"];
26 [label="Enter when branch result"]; 27 [label="Enter when branch result"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
27 [label="Enter block"]; 28 [label="Enter block"];
28 [label="Access variable R|<local>/x|"]; 29 [label="Access variable R|<local>/x|"];
29 [label="Access variable R|kotlin/String.length|"]; 30 [label="Access variable R|kotlin/String.length|"];
30 [label="Exit block"]; 31 [label="Exit block"];
} }
31 [label="Exit when branch result"]; 32 [label="Exit when branch result"];
32 [label="Exit when"]; 23 [label="Exit when"];
} }
33 [label="Access variable R|<local>/x|"]; 34 [label="Access variable R|<local>/x|"];
34 [label="Access variable <Unresolved name: length>#"]; 35 [label="Access variable <Unresolved name: length>#"];
35 [label="Exit function test_2" style="filled" fillcolor=red]; 18 [label="Exit function test_2" style="filled" fillcolor=red];
} }
17 -> {19};
17 -> {18};
18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {24};
23 -> {24}; 23 -> {34};
24 -> {26 25}; 24 -> {25};
25 -> {32}; 25 -> {26};
26 -> {27}; 26 -> {27 33};
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {23};
33 -> {34}; 33 -> {23};
34 -> {35}; 34 -> {35};
35 -> {18};
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
36 [label="Enter function test_3" style="filled" fillcolor=red]; 36 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
37 [label="Enter when"]; 38 [label="Enter when"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
38 [label="Enter when branch condition "]; 40 [label="Enter when branch condition "];
39 [label="Access variable R|<local>/x|"]; 41 [label="Access variable R|<local>/x|"];
40 [label="Type operator: (R|<local>/x| !is R|kotlin/String|)"]; 42 [label="Type operator: (R|<local>/x| !is R|kotlin/String|)"];
41 [label="Exit when branch condition"]; 43 [label="Exit when branch condition"];
} }
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
42 [label="Enter when branch condition "]; 48 [label="Enter when branch condition "];
43 [label="Access variable R|<local>/x|"]; 49 [label="Access variable R|<local>/x|"];
44 [label="Type operator: (R|<local>/x| !is R|kotlin/Int|)"]; 50 [label="Type operator: (R|<local>/x| !is R|kotlin/Int|)"];
45 [label="Exit when branch condition"]; 51 [label="Exit when branch condition"];
} }
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
46 [label="Enter when branch condition else"]; 56 [label="Enter when branch condition else"];
47 [label="Exit when branch condition"]; 57 [label="Exit when branch condition"];
} }
48 [label="Enter when branch result"]; 58 [label="Enter when branch result"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
49 [label="Enter block"]; 59 [label="Enter block"];
50 [label="Access variable R|<local>/x|"]; 60 [label="Access variable R|<local>/x|"];
51 [label="Access variable R|kotlin/String.length|"]; 61 [label="Access variable R|kotlin/String.length|"];
52 [label="Access variable R|<local>/x|"]; 62 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"]; 63 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
64 [label="Exit block"];
}
65 [label="Exit when branch result"];
52 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
53 [label="Enter block"];
54 [label="Exit block"]; 54 [label="Exit block"];
} }
55 [label="Exit when branch result"]; 55 [label="Exit when branch result"];
56 [label="Enter when branch result"]; 44 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
57 [label="Enter block"];
58 [label="Exit block"];
}
59 [label="Exit when branch result"];
60 [label="Enter when branch result"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
61 [label="Enter block"]; 45 [label="Enter block"];
62 [label="Exit block"]; 46 [label="Exit block"];
} }
63 [label="Exit when branch result"]; 47 [label="Exit when branch result"];
64 [label="Exit when"]; 39 [label="Exit when"];
} }
65 [label="Exit function test_3" style="filled" fillcolor=red]; 37 [label="Exit function test_3" style="filled" fillcolor=red];
} }
36 -> {38};
36 -> {37}; 38 -> {40};
37 -> {38}; 39 -> {37};
38 -> {39};
39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {60 42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44 48};
44 -> {45}; 44 -> {45};
45 -> {56 46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {39};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52 56};
52 -> {53}; 52 -> {53};
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {64}; 55 -> {39};
56 -> {57}; 56 -> {57};
57 -> {58}; 57 -> {58};
58 -> {59}; 58 -> {59};
59 -> {64}; 59 -> {60};
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {62};
62 -> {63}; 62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {39};
} }
@@ -8,7 +8,6 @@ digraph smartcastFromArgument_kt {
0 [label="Enter function foo" style="filled" fillcolor=red]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,123 +15,120 @@ digraph smartcastFromArgument_kt {
2 [label="Enter class A" style="filled" fillcolor=red]; 2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 3 [label="Exit class A" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 2 -> {3} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
4 [label="Enter function takeA" style="filled" fillcolor=red]; 4 [label="Enter function takeA" style="filled" fillcolor=red];
5 [label="Const: Boolean(true)"]; 6 [label="Const: Boolean(true)"];
6 [label="Jump: ^takeA Boolean(true)"]; 7 [label="Jump: ^takeA Boolean(true)"];
7 [label="Stub" style="filled" fillcolor=gray]; 8 [label="Stub" style="filled" fillcolor=gray];
8 [label="Exit function takeA" style="filled" fillcolor=red]; 5 [label="Exit function takeA" style="filled" fillcolor=red];
} }
4 -> {6};
4 -> {5}; 6 -> {7};
5 -> {6}; 7 -> {5};
6 -> {8};
6 -> {7} [style=dotted];
7 -> {8} [style=dotted]; 7 -> {8} [style=dotted];
8 -> {5} [style=dotted];
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
9 [label="Enter function test" style="filled" fillcolor=red]; 9 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
10 [label="Enter when"]; 11 [label="Enter when"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
11 [label="Enter when branch condition "]; 13 [label="Enter when branch condition "];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
12 [label="Enter when"]; 14 [label="Enter when"];
13 [label="Access variable R|<local>/a|"]; 16 [label="Access variable R|<local>/a|"];
14 [label="Type operator: (R|<local>/a| as? R|A|)"]; 17 [label="Type operator: (R|<local>/a| as? R|A|)"];
15 [label="Variable declaration: lval <elvis>: R|A?|"]; 18 [label="Variable declaration: lval <elvis>: R|A?|"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
16 [label="Enter when branch condition "]; 19 [label="Enter when branch condition "];
17 [label="Const: Null(null)"]; 20 [label="Const: Null(null)"];
18 [label="Operator =="]; 21 [label="Operator =="];
19 [label="Exit when branch condition"]; 22 [label="Exit when branch condition"];
} }
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
20 [label="Enter when branch condition else"]; 29 [label="Enter when branch condition else"];
21 [label="Exit when branch condition"]; 30 [label="Exit when branch condition"];
} }
22 [label="Enter when branch result"]; 31 [label="Enter when branch result"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
23 [label="Enter block"]; 32 [label="Enter block"];
24 [label="Access variable R|<local>/<elvis>|"]; 33 [label="Access variable R|<local>/<elvis>|"];
25 [label="Exit block"]; 34 [label="Exit block"];
} }
26 [label="Exit when branch result"]; 35 [label="Exit when branch result"];
27 [label="Enter when branch result"]; 23 [label="Enter when branch result"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
28 [label="Enter block"]; 24 [label="Enter block"];
29 [label="Jump: ^test Unit"]; 25 [label="Jump: ^test Unit"];
30 [label="Stub" style="filled" fillcolor=gray]; 26 [label="Stub" style="filled" fillcolor=gray];
31 [label="Exit block" style="filled" fillcolor=gray]; 27 [label="Exit block" style="filled" fillcolor=gray];
} }
32 [label="Exit when branch result" style="filled" fillcolor=gray]; 28 [label="Exit when branch result" style="filled" fillcolor=gray];
33 [label="Exit when"]; 15 [label="Exit when"];
} }
34 [label="Function call: R|/takeA|(...)"]; 36 [label="Function call: R|/takeA|(...)"];
35 [label="Exit when branch condition"]; 37 [label="Exit when branch condition"];
} }
36 [label="Synthetic else branch"]; 44 [label="Synthetic else branch"];
37 [label="Enter when branch result"]; 38 [label="Enter when branch result"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
38 [label="Enter block"]; 39 [label="Enter block"];
39 [label="Access variable R|<local>/a|"]; 40 [label="Access variable R|<local>/a|"];
40 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 41 [label="Function call: R|<local>/a|.R|/A.foo|()"];
41 [label="Exit block"]; 42 [label="Exit block"];
} }
42 [label="Exit when branch result"]; 43 [label="Exit when branch result"];
43 [label="Exit when"]; 12 [label="Exit when"];
} }
44 [label="Exit function test" style="filled" fillcolor=red]; 10 [label="Exit function test" style="filled" fillcolor=red];
} }
9 -> {11};
9 -> {10}; 11 -> {13};
10 -> {11}; 12 -> {10};
11 -> {12};
12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {16};
15 -> {16}; 15 -> {36};
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {27 20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23 29};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {10};
26 -> {33}; 25 -> {26} [style=dotted];
27 -> {28}; 26 -> {27} [style=dotted];
28 -> {29}; 27 -> {28} [style=dotted];
29 -> {44}; 28 -> {15} [style=dotted];
29 -> {30} [style=dotted]; 29 -> {30};
30 -> {31} [style=dotted]; 30 -> {31};
31 -> {32} [style=dotted]; 31 -> {32};
32 -> {33} [style=dotted]; 32 -> {33};
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {35};
35 -> {37 36}; 35 -> {15};
36 -> {43}; 36 -> {37};
37 -> {38}; 37 -> {38 44};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {12};
44 -> {12};
} }
@@ -8,7 +8,6 @@ digraph when_kt {
0 [label="Enter function foo" style="filled" fillcolor=red]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph when_kt {
2 [label="Enter class A" style="filled" fillcolor=red]; 2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 3 [label="Exit class A" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 2 -> {3} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
@@ -24,7 +22,6 @@ digraph when_kt {
4 [label="Enter function bar" style="filled" fillcolor=red]; 4 [label="Enter function bar" style="filled" fillcolor=red];
5 [label="Exit function bar" style="filled" fillcolor=red]; 5 [label="Exit function bar" style="filled" fillcolor=red];
} }
4 -> {5}; 4 -> {5};
subgraph cluster_3 { subgraph cluster_3 {
@@ -32,7 +29,6 @@ digraph when_kt {
6 [label="Enter class B" style="filled" fillcolor=red]; 6 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red]; 7 [label="Exit class B" style="filled" fillcolor=red];
} }
6 -> {7} [color=green]; 6 -> {7} [color=green];
subgraph cluster_4 { subgraph cluster_4 {
@@ -40,165 +36,163 @@ digraph when_kt {
8 [label="Enter function test_1" style="filled" fillcolor=red]; 8 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
9 [label="Enter when"]; 10 [label="Enter when"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
10 [label="Enter when branch condition "]; 12 [label="Enter when branch condition "];
11 [label="Access variable R|<local>/x|"]; 13 [label="Access variable R|<local>/x|"];
12 [label="Type operator: (R|<local>/x| is R|A|)"]; 14 [label="Type operator: (R|<local>/x| is R|A|)"];
13 [label="Exit when branch condition"]; 15 [label="Exit when branch condition"];
} }
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
14 [label="Enter when branch condition "]; 22 [label="Enter when branch condition "];
15 [label="Access variable R|<local>/x|"]; 23 [label="Access variable R|<local>/x|"];
16 [label="Type operator: (R|<local>/x| is R|B|)"]; 24 [label="Type operator: (R|<local>/x| is R|B|)"];
17 [label="Exit when branch condition"]; 25 [label="Exit when branch condition"];
} }
18 [label="Synthetic else branch"]; 32 [label="Synthetic else branch"];
19 [label="Enter when branch result"]; 26 [label="Enter when branch result"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
20 [label="Enter block"]; 27 [label="Enter block"];
21 [label="Access variable R|<local>/x|"]; 28 [label="Access variable R|<local>/x|"];
22 [label="Function call: R|<local>/x|.R|/B.bar|()"]; 29 [label="Function call: R|<local>/x|.R|/B.bar|()"];
23 [label="Exit block"]; 30 [label="Exit block"];
} }
24 [label="Exit when branch result"]; 31 [label="Exit when branch result"];
25 [label="Enter when branch result"]; 16 [label="Enter when branch result"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
26 [label="Enter block"]; 17 [label="Enter block"];
27 [label="Access variable R|<local>/x|"]; 18 [label="Access variable R|<local>/x|"];
28 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 19 [label="Function call: R|<local>/x|.R|/A.foo|()"];
29 [label="Exit block"]; 20 [label="Exit block"];
} }
30 [label="Exit when branch result"]; 21 [label="Exit when branch result"];
31 [label="Exit when"]; 11 [label="Exit when"];
} }
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
32 [label="Enter when"]; 33 [label="Enter when"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
33 [label="Enter when branch condition "]; 35 [label="Enter when branch condition "];
34 [label="Access variable R|<local>/x|"]; 36 [label="Access variable R|<local>/x|"];
35 [label="Type operator: (R|<local>/x| !is R|A|)"]; 37 [label="Type operator: (R|<local>/x| !is R|A|)"];
36 [label="Exit when branch condition"]; 38 [label="Exit when branch condition"];
} }
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
37 [label="Enter when branch condition "]; 43 [label="Enter when branch condition "];
38 [label="Access variable R|<local>/x|"]; 44 [label="Access variable R|<local>/x|"];
39 [label="Type operator: (R|<local>/x| !is R|B|)"]; 45 [label="Type operator: (R|<local>/x| !is R|B|)"];
40 [label="Exit when branch condition"]; 46 [label="Exit when branch condition"];
} }
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
41 [label="Enter when branch condition "]; 53 [label="Enter when branch condition "];
42 [label="Access variable R|<local>/x|"]; 54 [label="Access variable R|<local>/x|"];
43 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"]; 55 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
44 [label="Exit when branch condition"]; 56 [label="Exit when branch condition"];
} }
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
45 [label="Enter when branch condition else"]; 67 [label="Enter when branch condition else"];
46 [label="Exit when branch condition"]; 68 [label="Exit when branch condition"];
} }
47 [label="Enter when branch result"]; 69 [label="Enter when branch result"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue
70 [label="Enter block"];
71 [label="Access variable R|<local>/x|"];
72 [label="Function call: R|<local>/x|.R|/A.foo|()"];
73 [label="Access variable R|<local>/x|"];
74 [label="Function call: R|<local>/x|.R|/B.bar|()"];
75 [label="Exit block"];
}
76 [label="Exit when branch result"];
57 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
58 [label="Enter block"];
59 [label="Access variable R|<local>/x|"];
60 [label="Function call: R|<local>/x|.R|/A.foo|()"];
61 [label="Access variable R|<local>/x|"];
62 [label="Function call: R|<local>/x|.R|/B.bar|()"];
63 [label="Access variable R|<local>/x|"];
64 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
65 [label="Exit block"];
}
66 [label="Exit when branch result"];
47 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue color=blue
48 [label="Enter block"]; 48 [label="Enter block"];
49 [label="Access variable R|<local>/x|"]; 49 [label="Access variable R|<local>/x|"];
50 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 50 [label="Function call: R|<local>/x|.R|/A.foo|()"];
51 [label="Access variable R|<local>/x|"]; 51 [label="Exit block"];
52 [label="Function call: R|<local>/x|.R|/B.bar|()"];
53 [label="Exit block"];
} }
54 [label="Exit when branch result"]; 52 [label="Exit when branch result"];
55 [label="Enter when branch result"]; 39 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
56 [label="Enter block"];
57 [label="Access variable R|<local>/x|"];
58 [label="Function call: R|<local>/x|.R|/A.foo|()"];
59 [label="Access variable R|<local>/x|"];
60 [label="Function call: R|<local>/x|.R|/B.bar|()"];
61 [label="Access variable R|<local>/x|"];
62 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
63 [label="Exit block"];
}
64 [label="Exit when branch result"];
65 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
66 [label="Enter block"];
67 [label="Access variable R|<local>/x|"];
68 [label="Function call: R|<local>/x|.R|/A.foo|()"];
69 [label="Exit block"];
}
70 [label="Exit when branch result"];
71 [label="Enter when branch result"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
72 [label="Enter block"]; 40 [label="Enter block"];
73 [label="Exit block"]; 41 [label="Exit block"];
} }
74 [label="Exit when branch result"]; 42 [label="Exit when branch result"];
75 [label="Exit when"]; 34 [label="Exit when"];
} }
76 [label="Exit function test_1" style="filled" fillcolor=red]; 9 [label="Exit function test_1" style="filled" fillcolor=red];
} }
8 -> {10};
8 -> {9}; 10 -> {12};
9 -> {10}; 11 -> {33};
10 -> {11};
11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {25 14}; 13 -> {14};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16 22};
16 -> {17}; 16 -> {17};
17 -> {19 18}; 17 -> {18};
18 -> {31}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {11};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {31}; 24 -> {25};
25 -> {26}; 25 -> {26 32};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {11};
32 -> {33}; 32 -> {11};
33 -> {34}; 33 -> {35};
34 -> {35}; 34 -> {9};
35 -> {36}; 35 -> {36};
36 -> {71 37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39 43};
39 -> {40}; 39 -> {40};
40 -> {65 41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {34};
43 -> {44}; 43 -> {44};
44 -> {55 45}; 44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47 53};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {34};
53 -> {54}; 53 -> {54};
54 -> {75}; 54 -> {55};
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {57 67};
57 -> {58}; 57 -> {58};
58 -> {59}; 58 -> {59};
59 -> {60}; 59 -> {60};
@@ -206,177 +200,176 @@ digraph when_kt {
61 -> {62}; 61 -> {62};
62 -> {63}; 62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {75}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {34};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70};
70 -> {75}; 70 -> {71};
71 -> {72}; 71 -> {72};
72 -> {73}; 72 -> {73};
73 -> {74}; 73 -> {74};
74 -> {75}; 74 -> {75};
75 -> {76}; 75 -> {76};
76 -> {34};
subgraph cluster_19 { subgraph cluster_19 {
color=red color=red
77 [label="Enter function test_2" style="filled" fillcolor=red]; 77 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
78 [label="Enter when"]; 79 [label="Enter when"];
79 [label="Access variable R|<local>/x|"]; 81 [label="Access variable R|<local>/x|"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
80 [label="Enter when branch condition "]; 82 [label="Enter when branch condition "];
81 [label="Type operator: ($subj$ is R|A|)"]; 83 [label="Type operator: ($subj$ is R|A|)"];
82 [label="Exit when branch condition"]; 84 [label="Exit when branch condition"];
} }
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
83 [label="Enter when branch condition "]; 91 [label="Enter when branch condition "];
84 [label="Type operator: ($subj$ is R|B|)"]; 92 [label="Type operator: ($subj$ is R|B|)"];
85 [label="Exit when branch condition"]; 93 [label="Exit when branch condition"];
} }
86 [label="Synthetic else branch"]; 100 [label="Synthetic else branch"];
87 [label="Enter when branch result"]; 94 [label="Enter when branch result"];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
88 [label="Enter block"]; 95 [label="Enter block"];
89 [label="Access variable R|<local>/x|"]; 96 [label="Access variable R|<local>/x|"];
90 [label="Function call: R|<local>/x|.R|/B.bar|()"]; 97 [label="Function call: R|<local>/x|.R|/B.bar|()"];
91 [label="Exit block"]; 98 [label="Exit block"];
} }
92 [label="Exit when branch result"]; 99 [label="Exit when branch result"];
93 [label="Enter when branch result"]; 85 [label="Enter when branch result"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
94 [label="Enter block"]; 86 [label="Enter block"];
95 [label="Access variable R|<local>/x|"]; 87 [label="Access variable R|<local>/x|"];
96 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 88 [label="Function call: R|<local>/x|.R|/A.foo|()"];
97 [label="Exit block"]; 89 [label="Exit block"];
} }
98 [label="Exit when branch result"]; 90 [label="Exit when branch result"];
99 [label="Exit when"]; 80 [label="Exit when"];
} }
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
100 [label="Enter when"]; 101 [label="Enter when"];
101 [label="Access variable R|<local>/x|"]; 103 [label="Access variable R|<local>/x|"];
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
102 [label="Enter when branch condition "]; 104 [label="Enter when branch condition "];
103 [label="Type operator: ($subj$ !is R|A|)"]; 105 [label="Type operator: ($subj$ !is R|A|)"];
104 [label="Exit when branch condition"]; 106 [label="Exit when branch condition"];
} }
subgraph cluster_27 { subgraph cluster_27 {
color=blue color=blue
105 [label="Enter when branch condition "]; 111 [label="Enter when branch condition "];
106 [label="Type operator: ($subj$ !is R|B|)"]; 112 [label="Type operator: ($subj$ !is R|B|)"];
107 [label="Exit when branch condition"]; 113 [label="Exit when branch condition"];
} }
subgraph cluster_28 { subgraph cluster_28 {
color=blue color=blue
108 [label="Enter when branch condition "]; 120 [label="Enter when branch condition "];
109 [label="Type operator: ($subj$ is R|kotlin/Int|)"]; 121 [label="Type operator: ($subj$ is R|kotlin/Int|)"];
110 [label="Exit when branch condition"]; 122 [label="Exit when branch condition"];
} }
subgraph cluster_29 { subgraph cluster_29 {
color=blue color=blue
111 [label="Enter when branch condition else"]; 133 [label="Enter when branch condition else"];
112 [label="Exit when branch condition"]; 134 [label="Exit when branch condition"];
} }
113 [label="Enter when branch result"]; 135 [label="Enter when branch result"];
subgraph cluster_30 { subgraph cluster_30 {
color=blue color=blue
114 [label="Enter block"]; 136 [label="Enter block"];
115 [label="Access variable R|<local>/x|"]; 137 [label="Access variable R|<local>/x|"];
116 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 138 [label="Function call: R|<local>/x|.R|/A.foo|()"];
117 [label="Access variable R|<local>/x|"]; 139 [label="Access variable R|<local>/x|"];
118 [label="Function call: R|<local>/x|.R|/B.bar|()"]; 140 [label="Function call: R|<local>/x|.R|/B.bar|()"];
119 [label="Exit block"]; 141 [label="Exit block"];
} }
120 [label="Exit when branch result"]; 142 [label="Exit when branch result"];
121 [label="Enter when branch result"]; 123 [label="Enter when branch result"];
subgraph cluster_31 { subgraph cluster_31 {
color=blue color=blue
122 [label="Enter block"]; 124 [label="Enter block"];
123 [label="Access variable R|<local>/x|"];
124 [label="Function call: R|<local>/x|.R|/A.foo|()"];
125 [label="Access variable R|<local>/x|"]; 125 [label="Access variable R|<local>/x|"];
126 [label="Function call: R|<local>/x|.R|/B.bar|()"]; 126 [label="Function call: R|<local>/x|.R|/A.foo|()"];
127 [label="Access variable R|<local>/x|"]; 127 [label="Access variable R|<local>/x|"];
128 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"]; 128 [label="Function call: R|<local>/x|.R|/B.bar|()"];
129 [label="Exit block"]; 129 [label="Access variable R|<local>/x|"];
130 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
131 [label="Exit block"];
} }
130 [label="Exit when branch result"]; 132 [label="Exit when branch result"];
131 [label="Enter when branch result"]; 114 [label="Enter when branch result"];
subgraph cluster_32 { subgraph cluster_32 {
color=blue color=blue
132 [label="Enter block"]; 115 [label="Enter block"];
133 [label="Access variable R|<local>/x|"]; 116 [label="Access variable R|<local>/x|"];
134 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 117 [label="Function call: R|<local>/x|.R|/A.foo|()"];
135 [label="Exit block"]; 118 [label="Exit block"];
} }
136 [label="Exit when branch result"]; 119 [label="Exit when branch result"];
137 [label="Enter when branch result"]; 107 [label="Enter when branch result"];
subgraph cluster_33 { subgraph cluster_33 {
color=blue color=blue
138 [label="Enter block"]; 108 [label="Enter block"];
139 [label="Exit block"]; 109 [label="Exit block"];
} }
140 [label="Exit when branch result"]; 110 [label="Exit when branch result"];
141 [label="Exit when"]; 102 [label="Exit when"];
} }
142 [label="Exit function test_2" style="filled" fillcolor=red]; 78 [label="Exit function test_2" style="filled" fillcolor=red];
} }
77 -> {79};
77 -> {78}; 79 -> {81};
78 -> {79}; 80 -> {101};
79 -> {80};
80 -> {81};
81 -> {82}; 81 -> {82};
82 -> {93 83}; 82 -> {83};
83 -> {84}; 83 -> {84};
84 -> {85}; 84 -> {85 91};
85 -> {87 86}; 85 -> {86};
86 -> {99}; 86 -> {87};
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {89};
89 -> {90}; 89 -> {90};
90 -> {91}; 90 -> {80};
91 -> {92}; 91 -> {92};
92 -> {99}; 92 -> {93};
93 -> {94}; 93 -> {94 100};
94 -> {95}; 94 -> {95};
95 -> {96}; 95 -> {96};
96 -> {97}; 96 -> {97};
97 -> {98}; 97 -> {98};
98 -> {99}; 98 -> {99};
99 -> {100}; 99 -> {80};
100 -> {101}; 100 -> {80};
101 -> {102}; 101 -> {103};
102 -> {103}; 102 -> {78};
103 -> {104}; 103 -> {104};
104 -> {137 105}; 104 -> {105};
105 -> {106}; 105 -> {106};
106 -> {107}; 106 -> {107 111};
107 -> {131 108}; 107 -> {108};
108 -> {109}; 108 -> {109};
109 -> {110}; 109 -> {110};
110 -> {121 111}; 110 -> {102};
111 -> {112}; 111 -> {112};
112 -> {113}; 112 -> {113};
113 -> {114}; 113 -> {114 120};
114 -> {115}; 114 -> {115};
115 -> {116}; 115 -> {116};
116 -> {117}; 116 -> {117};
117 -> {118}; 117 -> {118};
118 -> {119}; 118 -> {119};
119 -> {120}; 119 -> {102};
120 -> {141}; 120 -> {121};
121 -> {122}; 121 -> {122};
122 -> {123}; 122 -> {123 133};
123 -> {124}; 123 -> {124};
124 -> {125}; 124 -> {125};
125 -> {126}; 125 -> {126};
@@ -384,107 +377,108 @@ digraph when_kt {
127 -> {128}; 127 -> {128};
128 -> {129}; 128 -> {129};
129 -> {130}; 129 -> {130};
130 -> {141}; 130 -> {131};
131 -> {132}; 131 -> {132};
132 -> {133}; 132 -> {102};
133 -> {134}; 133 -> {134};
134 -> {135}; 134 -> {135};
135 -> {136}; 135 -> {136};
136 -> {141}; 136 -> {137};
137 -> {138}; 137 -> {138};
138 -> {139}; 138 -> {139};
139 -> {140}; 139 -> {140};
140 -> {141}; 140 -> {141};
141 -> {142}; 141 -> {142};
142 -> {102};
subgraph cluster_34 { subgraph cluster_34 {
color=red color=red
143 [label="Enter function test_3" style="filled" fillcolor=red]; 143 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_35 { subgraph cluster_35 {
color=blue color=blue
144 [label="Enter when"]; 145 [label="Enter when"];
145 [label="Access variable R|<local>/x|"]; 147 [label="Access variable R|<local>/x|"];
146 [label="Variable declaration: lval y: R|kotlin/Any?|"]; 148 [label="Variable declaration: lval y: R|kotlin/Any?|"];
subgraph cluster_36 { subgraph cluster_36 {
color=blue color=blue
147 [label="Enter when branch condition "]; 149 [label="Enter when branch condition "];
148 [label="Type operator: ($subj$ is R|A|)"]; 150 [label="Type operator: ($subj$ is R|A|)"];
149 [label="Exit when branch condition"]; 151 [label="Exit when branch condition"];
} }
subgraph cluster_37 { subgraph cluster_37 {
color=blue color=blue
150 [label="Enter when branch condition "]; 160 [label="Enter when branch condition "];
151 [label="Type operator: ($subj$ is R|B|)"]; 161 [label="Type operator: ($subj$ is R|B|)"];
152 [label="Exit when branch condition"]; 162 [label="Exit when branch condition"];
} }
153 [label="Synthetic else branch"]; 171 [label="Synthetic else branch"];
154 [label="Enter when branch result"]; 163 [label="Enter when branch result"];
subgraph cluster_38 { subgraph cluster_38 {
color=blue color=blue
155 [label="Enter block"]; 164 [label="Enter block"];
156 [label="Access variable R|<local>/x|"]; 165 [label="Access variable R|<local>/x|"];
157 [label="Function call: R|<local>/x|.R|/B.bar|()"]; 166 [label="Function call: R|<local>/x|.R|/B.bar|()"];
158 [label="Access variable R|<local>/y|"]; 167 [label="Access variable R|<local>/y|"];
159 [label="Function call: R|<local>/y|.R|/B.bar|()"]; 168 [label="Function call: R|<local>/y|.R|/B.bar|()"];
160 [label="Exit block"]; 169 [label="Exit block"];
} }
161 [label="Exit when branch result"]; 170 [label="Exit when branch result"];
162 [label="Enter when branch result"]; 152 [label="Enter when branch result"];
subgraph cluster_39 { subgraph cluster_39 {
color=blue color=blue
163 [label="Enter block"]; 153 [label="Enter block"];
164 [label="Access variable R|<local>/x|"]; 154 [label="Access variable R|<local>/x|"];
165 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 155 [label="Function call: R|<local>/x|.R|/A.foo|()"];
166 [label="Access variable R|<local>/y|"]; 156 [label="Access variable R|<local>/y|"];
167 [label="Function call: R|<local>/y|.R|/A.foo|()"]; 157 [label="Function call: R|<local>/y|.R|/A.foo|()"];
168 [label="Exit block"]; 158 [label="Exit block"];
} }
169 [label="Exit when branch result"]; 159 [label="Exit when branch result"];
170 [label="Exit when"]; 146 [label="Exit when"];
} }
subgraph cluster_40 { subgraph cluster_40 {
color=blue color=blue
171 [label="Enter when"]; 172 [label="Enter when"];
172 [label="Access variable R|<local>/x|"]; 174 [label="Access variable R|<local>/x|"];
173 [label="Variable declaration: lval y: R|kotlin/Any?|"]; 175 [label="Variable declaration: lval y: R|kotlin/Any?|"];
subgraph cluster_41 { subgraph cluster_41 {
color=blue color=blue
174 [label="Enter when branch condition "]; 176 [label="Enter when branch condition "];
175 [label="Type operator: ($subj$ !is R|A|)"]; 177 [label="Type operator: ($subj$ !is R|A|)"];
176 [label="Exit when branch condition"]; 178 [label="Exit when branch condition"];
} }
subgraph cluster_42 { subgraph cluster_42 {
color=blue color=blue
177 [label="Enter when branch condition "]; 183 [label="Enter when branch condition "];
178 [label="Type operator: ($subj$ !is R|B|)"]; 184 [label="Type operator: ($subj$ !is R|B|)"];
179 [label="Exit when branch condition"]; 185 [label="Exit when branch condition"];
} }
subgraph cluster_43 { subgraph cluster_43 {
color=blue color=blue
180 [label="Enter when branch condition "]; 194 [label="Enter when branch condition "];
181 [label="Type operator: ($subj$ is R|kotlin/Int|)"]; 195 [label="Type operator: ($subj$ is R|kotlin/Int|)"];
182 [label="Exit when branch condition"]; 196 [label="Exit when branch condition"];
} }
subgraph cluster_44 { subgraph cluster_44 {
color=blue color=blue
183 [label="Enter when branch condition else"]; 213 [label="Enter when branch condition else"];
184 [label="Exit when branch condition"]; 214 [label="Exit when branch condition"];
} }
185 [label="Enter when branch result"]; 215 [label="Enter when branch result"];
subgraph cluster_45 { subgraph cluster_45 {
color=blue color=blue
186 [label="Enter block"]; 216 [label="Enter block"];
187 [label="Access variable R|<local>/x|"]; 217 [label="Access variable R|<local>/x|"];
188 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 218 [label="Function call: R|<local>/x|.R|/A.foo|()"];
189 [label="Access variable R|<local>/x|"]; 219 [label="Access variable R|<local>/x|"];
190 [label="Function call: R|<local>/x|.R|/B.bar|()"]; 220 [label="Function call: R|<local>/x|.R|/B.bar|()"];
191 [label="Access variable R|<local>/y|"]; 221 [label="Access variable R|<local>/y|"];
192 [label="Function call: R|<local>/y|.R|/A.foo|()"]; 222 [label="Function call: R|<local>/y|.R|/A.foo|()"];
193 [label="Access variable R|<local>/y|"]; 223 [label="Access variable R|<local>/y|"];
194 [label="Function call: R|<local>/y|.R|/B.bar|()"]; 224 [label="Function call: R|<local>/y|.R|/B.bar|()"];
195 [label="Exit block"]; 225 [label="Exit block"];
} }
196 [label="Exit when branch result"]; 226 [label="Exit when branch result"];
197 [label="Enter when branch result"]; 197 [label="Enter when branch result"];
subgraph cluster_46 { subgraph cluster_46 {
color=blue color=blue
@@ -504,49 +498,47 @@ digraph when_kt {
211 [label="Exit block"]; 211 [label="Exit block"];
} }
212 [label="Exit when branch result"]; 212 [label="Exit when branch result"];
213 [label="Enter when branch result"]; 186 [label="Enter when branch result"];
subgraph cluster_47 { subgraph cluster_47 {
color=blue color=blue
214 [label="Enter block"]; 187 [label="Enter block"];
215 [label="Access variable R|<local>/x|"]; 188 [label="Access variable R|<local>/x|"];
216 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 189 [label="Function call: R|<local>/x|.R|/A.foo|()"];
217 [label="Access variable R|<local>/y|"]; 190 [label="Access variable R|<local>/y|"];
218 [label="Function call: R|<local>/y|.R|/A.foo|()"]; 191 [label="Function call: R|<local>/y|.R|/A.foo|()"];
219 [label="Exit block"]; 192 [label="Exit block"];
} }
220 [label="Exit when branch result"]; 193 [label="Exit when branch result"];
221 [label="Enter when branch result"]; 179 [label="Enter when branch result"];
subgraph cluster_48 { subgraph cluster_48 {
color=blue color=blue
222 [label="Enter block"]; 180 [label="Enter block"];
223 [label="Exit block"]; 181 [label="Exit block"];
} }
224 [label="Exit when branch result"]; 182 [label="Exit when branch result"];
225 [label="Exit when"]; 173 [label="Exit when"];
} }
226 [label="Exit function test_3" style="filled" fillcolor=red]; 144 [label="Exit function test_3" style="filled" fillcolor=red];
} }
143 -> {145};
143 -> {144}; 145 -> {147};
144 -> {145}; 146 -> {172};
145 -> {146};
146 -> {147};
147 -> {148}; 147 -> {148};
148 -> {149}; 148 -> {149};
149 -> {162 150}; 149 -> {150};
150 -> {151}; 150 -> {151};
151 -> {152}; 151 -> {152 160};
152 -> {154 153}; 152 -> {153};
153 -> {170}; 153 -> {154};
154 -> {155}; 154 -> {155};
155 -> {156}; 155 -> {156};
156 -> {157}; 156 -> {157};
157 -> {158}; 157 -> {158};
158 -> {159}; 158 -> {159};
159 -> {160}; 159 -> {146};
160 -> {161}; 160 -> {161};
161 -> {170}; 161 -> {162};
162 -> {163}; 162 -> {163 171};
163 -> {164}; 163 -> {164};
164 -> {165}; 164 -> {165};
165 -> {166}; 165 -> {166};
@@ -554,22 +546,22 @@ digraph when_kt {
167 -> {168}; 167 -> {168};
168 -> {169}; 168 -> {169};
169 -> {170}; 169 -> {170};
170 -> {171}; 170 -> {146};
171 -> {172}; 171 -> {146};
172 -> {173}; 172 -> {174};
173 -> {174}; 173 -> {144};
174 -> {175}; 174 -> {175};
175 -> {176}; 175 -> {176};
176 -> {221 177}; 176 -> {177};
177 -> {178}; 177 -> {178};
178 -> {179}; 178 -> {179 183};
179 -> {213 180}; 179 -> {180};
180 -> {181}; 180 -> {181};
181 -> {182}; 181 -> {182};
182 -> {197 183}; 182 -> {173};
183 -> {184}; 183 -> {184};
184 -> {185}; 184 -> {185};
185 -> {186}; 185 -> {186 194};
186 -> {187}; 186 -> {187};
187 -> {188}; 187 -> {188};
188 -> {189}; 188 -> {189};
@@ -577,10 +569,10 @@ digraph when_kt {
190 -> {191}; 190 -> {191};
191 -> {192}; 191 -> {192};
192 -> {193}; 192 -> {193};
193 -> {194}; 193 -> {173};
194 -> {195}; 194 -> {195};
195 -> {196}; 195 -> {196};
196 -> {225}; 196 -> {197 213};
197 -> {198}; 197 -> {198};
198 -> {199}; 198 -> {199};
199 -> {200}; 199 -> {200};
@@ -596,7 +588,7 @@ digraph when_kt {
209 -> {210}; 209 -> {210};
210 -> {211}; 210 -> {211};
211 -> {212}; 211 -> {212};
212 -> {225}; 212 -> {173};
213 -> {214}; 213 -> {214};
214 -> {215}; 214 -> {215};
215 -> {216}; 215 -> {216};
@@ -604,62 +596,62 @@ digraph when_kt {
217 -> {218}; 217 -> {218};
218 -> {219}; 218 -> {219};
219 -> {220}; 219 -> {220};
220 -> {225}; 220 -> {221};
221 -> {222}; 221 -> {222};
222 -> {223}; 222 -> {223};
223 -> {224}; 223 -> {224};
224 -> {225}; 224 -> {225};
225 -> {226}; 225 -> {226};
226 -> {173};
subgraph cluster_49 { subgraph cluster_49 {
color=red color=red
227 [label="Enter function test_4" style="filled" fillcolor=red]; 227 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_50 { subgraph cluster_50 {
color=blue color=blue
228 [label="Enter when"]; 229 [label="Enter when"];
229 [label="Access variable R|<local>/x|"]; 231 [label="Access variable R|<local>/x|"];
230 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"]; 232 [label="Type operator: (R|<local>/x| as R|kotlin/Int|)"];
subgraph cluster_51 { subgraph cluster_51 {
color=blue color=blue
231 [label="Enter when branch condition "]; 233 [label="Enter when branch condition "];
232 [label="Const: Int(1)"]; 234 [label="Const: Int(1)"];
233 [label="Operator =="]; 235 [label="Operator =="];
234 [label="Exit when branch condition"]; 236 [label="Exit when branch condition"];
} }
235 [label="Synthetic else branch"]; 243 [label="Synthetic else branch"];
236 [label="Enter when branch result"]; 237 [label="Enter when branch result"];
subgraph cluster_52 { subgraph cluster_52 {
color=blue color=blue
237 [label="Enter block"]; 238 [label="Enter block"];
238 [label="Access variable R|<local>/x|"]; 239 [label="Access variable R|<local>/x|"];
239 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"]; 240 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
240 [label="Exit block"]; 241 [label="Exit block"];
} }
241 [label="Exit when branch result"]; 242 [label="Exit when branch result"];
242 [label="Exit when"]; 230 [label="Exit when"];
} }
243 [label="Access variable R|<local>/x|"]; 244 [label="Access variable R|<local>/x|"];
244 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"]; 245 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
245 [label="Exit function test_4" style="filled" fillcolor=red]; 228 [label="Exit function test_4" style="filled" fillcolor=red];
} }
227 -> {229};
227 -> {228}; 229 -> {231};
228 -> {229}; 230 -> {244};
229 -> {230};
230 -> {231};
231 -> {232}; 231 -> {232};
232 -> {233}; 232 -> {233};
233 -> {234}; 233 -> {234};
234 -> {236 235}; 234 -> {235};
235 -> {242}; 235 -> {236};
236 -> {237}; 236 -> {237 243};
237 -> {238}; 237 -> {238};
238 -> {239}; 238 -> {239};
239 -> {240}; 239 -> {240};
240 -> {241}; 240 -> {241};
241 -> {242}; 241 -> {242};
242 -> {243}; 242 -> {230};
243 -> {244}; 243 -> {230};
244 -> {245}; 244 -> {245};
245 -> {228};
} }
@@ -8,7 +8,6 @@ digraph equalsAndIdentity_kt {
0 [label="Enter function foo" style="filled" fillcolor=red]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph equalsAndIdentity_kt {
2 [label="Enter class A" style="filled" fillcolor=red]; 2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 3 [label="Exit class A" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 2 -> {3} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
@@ -24,66 +22,64 @@ digraph equalsAndIdentity_kt {
4 [label="Enter function test_1" style="filled" fillcolor=red]; 4 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
5 [label="Enter when"]; 6 [label="Enter when"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
6 [label="Enter when branch condition "]; 8 [label="Enter when branch condition "];
7 [label="Access variable R|<local>/x|"]; 9 [label="Access variable R|<local>/x|"];
8 [label="Access variable R|<local>/y|"]; 10 [label="Access variable R|<local>/y|"];
9 [label="Operator =="]; 11 [label="Operator =="];
10 [label="Exit when branch condition"]; 12 [label="Exit when branch condition"];
} }
11 [label="Synthetic else branch"]; 21 [label="Synthetic else branch"];
12 [label="Enter when branch result"]; 13 [label="Enter when branch result"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
13 [label="Enter block"]; 14 [label="Enter block"];
14 [label="Access variable R|<local>/x|"]; 15 [label="Access variable R|<local>/x|"];
15 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 16 [label="Function call: R|<local>/x|.R|/A.foo|()"];
16 [label="Access variable R|<local>/y|"]; 17 [label="Access variable R|<local>/y|"];
17 [label="Function call: R|<local>/y|.R|/A.foo|()"]; 18 [label="Function call: R|<local>/y|.R|/A.foo|()"];
18 [label="Exit block"]; 19 [label="Exit block"];
} }
19 [label="Exit when branch result"]; 20 [label="Exit when branch result"];
20 [label="Exit when"]; 7 [label="Exit when"];
} }
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
21 [label="Enter when"]; 22 [label="Enter when"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
22 [label="Enter when branch condition "]; 24 [label="Enter when branch condition "];
23 [label="Access variable R|<local>/x|"]; 25 [label="Access variable R|<local>/x|"];
24 [label="Access variable R|<local>/y|"]; 26 [label="Access variable R|<local>/y|"];
25 [label="Operator ==="]; 27 [label="Operator ==="];
26 [label="Exit when branch condition"]; 28 [label="Exit when branch condition"];
} }
27 [label="Synthetic else branch"]; 37 [label="Synthetic else branch"];
28 [label="Enter when branch result"]; 29 [label="Enter when branch result"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
29 [label="Enter block"]; 30 [label="Enter block"];
30 [label="Access variable R|<local>/x|"]; 31 [label="Access variable R|<local>/x|"];
31 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 32 [label="Function call: R|<local>/x|.R|/A.foo|()"];
32 [label="Access variable R|<local>/y|"]; 33 [label="Access variable R|<local>/y|"];
33 [label="Function call: R|<local>/y|.R|/A.foo|()"]; 34 [label="Function call: R|<local>/y|.R|/A.foo|()"];
34 [label="Exit block"]; 35 [label="Exit block"];
} }
35 [label="Exit when branch result"]; 36 [label="Exit when branch result"];
36 [label="Exit when"]; 23 [label="Exit when"];
} }
37 [label="Exit function test_1" style="filled" fillcolor=red]; 5 [label="Exit function test_1" style="filled" fillcolor=red];
} }
4 -> {6};
4 -> {5}; 6 -> {8};
5 -> {6}; 7 -> {22};
6 -> {7};
7 -> {8};
8 -> {9}; 8 -> {9};
9 -> {10}; 9 -> {10};
10 -> {12 11}; 10 -> {11};
11 -> {20}; 11 -> {12};
12 -> {13}; 12 -> {13 21};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
@@ -91,15 +87,15 @@ digraph equalsAndIdentity_kt {
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {7};
21 -> {22}; 21 -> {7};
22 -> {23}; 22 -> {24};
23 -> {24}; 23 -> {5};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {28 27}; 26 -> {27};
27 -> {36}; 27 -> {28};
28 -> {29}; 28 -> {29 37};
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
@@ -107,73 +103,72 @@ digraph equalsAndIdentity_kt {
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {23};
37 -> {23};
subgraph cluster_9 { subgraph cluster_9 {
color=red color=red
38 [label="Enter function test_2" style="filled" fillcolor=red]; 38 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
39 [label="Enter when"]; 40 [label="Enter when"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
40 [label="Enter when branch condition "]; 42 [label="Enter when branch condition "];
41 [label="Access variable R|<local>/x|"]; 43 [label="Access variable R|<local>/x|"];
42 [label="Access variable R|<local>/y|"]; 44 [label="Access variable R|<local>/y|"];
43 [label="Operator =="]; 45 [label="Operator =="];
44 [label="Exit when branch condition"]; 46 [label="Exit when branch condition"];
} }
45 [label="Synthetic else branch"]; 55 [label="Synthetic else branch"];
46 [label="Enter when branch result"]; 47 [label="Enter when branch result"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
47 [label="Enter block"]; 48 [label="Enter block"];
48 [label="Access variable R|<local>/x|"]; 49 [label="Access variable R|<local>/x|"];
49 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"]; 50 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
50 [label="Access variable R|<local>/y|"]; 51 [label="Access variable R|<local>/y|"];
51 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"]; 52 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
52 [label="Exit block"]; 53 [label="Exit block"];
} }
53 [label="Exit when branch result"]; 54 [label="Exit when branch result"];
54 [label="Exit when"]; 41 [label="Exit when"];
} }
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
55 [label="Enter when"]; 56 [label="Enter when"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
56 [label="Enter when branch condition "]; 58 [label="Enter when branch condition "];
57 [label="Access variable R|<local>/x|"]; 59 [label="Access variable R|<local>/x|"];
58 [label="Access variable R|<local>/y|"]; 60 [label="Access variable R|<local>/y|"];
59 [label="Operator ==="]; 61 [label="Operator ==="];
60 [label="Exit when branch condition"]; 62 [label="Exit when branch condition"];
} }
61 [label="Synthetic else branch"]; 71 [label="Synthetic else branch"];
62 [label="Enter when branch result"]; 63 [label="Enter when branch result"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
63 [label="Enter block"]; 64 [label="Enter block"];
64 [label="Access variable R|<local>/x|"]; 65 [label="Access variable R|<local>/x|"];
65 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"]; 66 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
66 [label="Access variable R|<local>/y|"]; 67 [label="Access variable R|<local>/y|"];
67 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"]; 68 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
68 [label="Exit block"]; 69 [label="Exit block"];
} }
69 [label="Exit when branch result"]; 70 [label="Exit when branch result"];
70 [label="Exit when"]; 57 [label="Exit when"];
} }
71 [label="Exit function test_2" style="filled" fillcolor=red]; 39 [label="Exit function test_2" style="filled" fillcolor=red];
} }
38 -> {40};
38 -> {39}; 40 -> {42};
39 -> {40}; 41 -> {56};
40 -> {41};
41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {46 45}; 44 -> {45};
45 -> {54}; 45 -> {46};
46 -> {47}; 46 -> {47 55};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
@@ -181,15 +176,15 @@ digraph equalsAndIdentity_kt {
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {53};
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {41};
55 -> {56}; 55 -> {41};
56 -> {57}; 56 -> {58};
57 -> {58}; 57 -> {39};
58 -> {59}; 58 -> {59};
59 -> {60}; 59 -> {60};
60 -> {62 61}; 60 -> {61};
61 -> {70}; 61 -> {62};
62 -> {63}; 62 -> {63 71};
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
@@ -197,111 +192,110 @@ digraph equalsAndIdentity_kt {
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {57};
71 -> {57};
subgraph cluster_16 { subgraph cluster_16 {
color=red color=red
72 [label="Enter function test_3" style="filled" fillcolor=red]; 72 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
73 [label="Enter when"]; 74 [label="Enter when"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
74 [label="Enter when branch condition "]; 76 [label="Enter when branch condition "];
75 [label="Access variable R|<local>/y|"]; 77 [label="Access variable R|<local>/y|"];
76 [label="Const: Null(null)"]; 78 [label="Const: Null(null)"];
77 [label="Operator =="]; 79 [label="Operator =="];
78 [label="Exit when branch condition"]; 80 [label="Exit when branch condition"];
} }
79 [label="Synthetic else branch"]; 87 [label="Synthetic else branch"];
80 [label="Enter when branch result"]; 81 [label="Enter when branch result"];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
81 [label="Enter block"]; 82 [label="Enter block"];
82 [label="Jump: ^test_3 Unit"]; 83 [label="Jump: ^test_3 Unit"];
83 [label="Stub" style="filled" fillcolor=gray]; 84 [label="Stub" style="filled" fillcolor=gray];
84 [label="Exit block" style="filled" fillcolor=gray]; 85 [label="Exit block" style="filled" fillcolor=gray];
} }
85 [label="Exit when branch result" style="filled" fillcolor=gray]; 86 [label="Exit when branch result" style="filled" fillcolor=gray];
86 [label="Exit when"]; 75 [label="Exit when"];
} }
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
87 [label="Enter when"]; 88 [label="Enter when"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
88 [label="Enter when branch condition "]; 90 [label="Enter when branch condition "];
89 [label="Access variable R|<local>/x|"]; 91 [label="Access variable R|<local>/x|"];
90 [label="Access variable R|<local>/y|"]; 92 [label="Access variable R|<local>/y|"];
91 [label="Operator =="]; 93 [label="Operator =="];
92 [label="Exit when branch condition"]; 94 [label="Exit when branch condition"];
} }
93 [label="Synthetic else branch"]; 103 [label="Synthetic else branch"];
94 [label="Enter when branch result"]; 95 [label="Enter when branch result"];
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
95 [label="Enter block"]; 96 [label="Enter block"];
96 [label="Access variable R|<local>/x|"]; 97 [label="Access variable R|<local>/x|"];
97 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 98 [label="Function call: R|<local>/x|.R|/A.foo|()"];
98 [label="Access variable R|<local>/y|"]; 99 [label="Access variable R|<local>/y|"];
99 [label="Function call: R|<local>/y|.R|/A.foo|()"]; 100 [label="Function call: R|<local>/y|.R|/A.foo|()"];
100 [label="Exit block"]; 101 [label="Exit block"];
} }
101 [label="Exit when branch result"]; 102 [label="Exit when branch result"];
102 [label="Exit when"]; 89 [label="Exit when"];
} }
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
103 [label="Enter when"]; 104 [label="Enter when"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
104 [label="Enter when branch condition "]; 106 [label="Enter when branch condition "];
105 [label="Access variable R|<local>/x|"]; 107 [label="Access variable R|<local>/x|"];
106 [label="Access variable R|<local>/y|"]; 108 [label="Access variable R|<local>/y|"];
107 [label="Operator ==="]; 109 [label="Operator ==="];
108 [label="Exit when branch condition"]; 110 [label="Exit when branch condition"];
} }
109 [label="Synthetic else branch"]; 119 [label="Synthetic else branch"];
110 [label="Enter when branch result"]; 111 [label="Enter when branch result"];
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
111 [label="Enter block"]; 112 [label="Enter block"];
112 [label="Access variable R|<local>/x|"]; 113 [label="Access variable R|<local>/x|"];
113 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 114 [label="Function call: R|<local>/x|.R|/A.foo|()"];
114 [label="Access variable R|<local>/y|"]; 115 [label="Access variable R|<local>/y|"];
115 [label="Function call: R|<local>/y|.R|/A.foo|()"]; 116 [label="Function call: R|<local>/y|.R|/A.foo|()"];
116 [label="Exit block"]; 117 [label="Exit block"];
} }
117 [label="Exit when branch result"]; 118 [label="Exit when branch result"];
118 [label="Exit when"]; 105 [label="Exit when"];
} }
119 [label="Exit function test_3" style="filled" fillcolor=red]; 73 [label="Exit function test_3" style="filled" fillcolor=red];
} }
72 -> {74};
72 -> {73}; 74 -> {76};
73 -> {74}; 75 -> {88};
74 -> {75};
75 -> {76};
76 -> {77}; 76 -> {77};
77 -> {78}; 77 -> {78};
78 -> {80 79}; 78 -> {79};
79 -> {86}; 79 -> {80};
80 -> {81}; 80 -> {81 87};
81 -> {82}; 81 -> {82};
82 -> {119}; 82 -> {83};
82 -> {83} [style=dotted]; 83 -> {73};
83 -> {84} [style=dotted]; 83 -> {84} [style=dotted];
84 -> {85} [style=dotted]; 84 -> {85} [style=dotted];
85 -> {86} [style=dotted]; 85 -> {86} [style=dotted];
86 -> {87}; 86 -> {75} [style=dotted];
87 -> {88}; 87 -> {75};
88 -> {89}; 88 -> {90};
89 -> {90}; 89 -> {104};
90 -> {91}; 90 -> {91};
91 -> {92}; 91 -> {92};
92 -> {94 93}; 92 -> {93};
93 -> {102}; 93 -> {94};
94 -> {95}; 94 -> {95 103};
95 -> {96}; 95 -> {96};
96 -> {97}; 96 -> {97};
97 -> {98}; 97 -> {98};
@@ -309,15 +303,15 @@ digraph equalsAndIdentity_kt {
99 -> {100}; 99 -> {100};
100 -> {101}; 100 -> {101};
101 -> {102}; 101 -> {102};
102 -> {103}; 102 -> {89};
103 -> {104}; 103 -> {89};
104 -> {105}; 104 -> {106};
105 -> {106}; 105 -> {73};
106 -> {107}; 106 -> {107};
107 -> {108}; 107 -> {108};
108 -> {110 109}; 108 -> {109};
109 -> {118}; 109 -> {110};
110 -> {111}; 110 -> {111 119};
111 -> {112}; 111 -> {112};
112 -> {113}; 112 -> {113};
113 -> {114}; 113 -> {114};
@@ -325,6 +319,7 @@ digraph equalsAndIdentity_kt {
115 -> {116}; 115 -> {116};
116 -> {117}; 116 -> {117};
117 -> {118}; 117 -> {118};
118 -> {119}; 118 -> {105};
119 -> {105};
} }
@@ -8,7 +8,6 @@ digraph inPlaceLambdas_kt {
0 [label="Enter function foo" style="filled" fillcolor=red]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph inPlaceLambdas_kt {
2 [label="Enter class A" style="filled" fillcolor=red]; 2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 3 [label="Exit class A" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 2 -> {3} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
@@ -24,7 +22,6 @@ digraph inPlaceLambdas_kt {
4 [label="Enter function bar" style="filled" fillcolor=red]; 4 [label="Enter function bar" style="filled" fillcolor=red];
5 [label="Exit function bar" style="filled" fillcolor=red]; 5 [label="Exit function bar" style="filled" fillcolor=red];
} }
4 -> {5}; 4 -> {5};
subgraph cluster_3 { subgraph cluster_3 {
@@ -32,7 +29,6 @@ digraph inPlaceLambdas_kt {
6 [label="Enter class B" style="filled" fillcolor=red]; 6 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red]; 7 [label="Exit class B" style="filled" fillcolor=red];
} }
6 -> {7} [color=green]; 6 -> {7} [color=green];
subgraph cluster_4 { subgraph cluster_4 {
@@ -40,160 +36,157 @@ digraph inPlaceLambdas_kt {
8 [label="Enter function test_1" style="filled" fillcolor=red]; 8 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
9 [label="Enter when"]; 10 [label="Enter when"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
10 [label="Enter when branch condition "]; 12 [label="Enter when branch condition "];
11 [label="Access variable R|<local>/x|"]; 13 [label="Access variable R|<local>/x|"];
12 [label="Type operator: (R|<local>/x| is R|A|)"]; 14 [label="Type operator: (R|<local>/x| is R|A|)"];
13 [label="Exit when branch condition"]; 15 [label="Exit when branch condition"];
} }
14 [label="Synthetic else branch"]; 28 [label="Synthetic else branch"];
15 [label="Enter when branch result"]; 16 [label="Enter when branch result"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
16 [label="Enter block"]; 17 [label="Enter block"];
17 [label="Postponed enter to lambda"]; 18 [label="Postponed enter to lambda"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
18 [label="Enter function anonymousFunction"]; 20 [label="Enter function anonymousFunction"];
19 [label="Access variable R|<local>/x|"]; 22 [label="Access variable R|<local>/x|"];
20 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 23 [label="Function call: R|<local>/x|.R|/A.foo|()"];
21 [label="Exit function anonymousFunction"]; 21 [label="Exit function anonymousFunction"];
} }
22 [label="Call arguments union" style="filled" fillcolor=yellow]; 25 [label="Call arguments union" style="filled" fillcolor=yellow];
23 [label="Postponed exit from lambda"]; 19 [label="Postponed exit from lambda"];
24 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)"]; 24 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)"];
25 [label="Exit block"]; 26 [label="Exit block"];
} }
26 [label="Exit when branch result"]; 27 [label="Exit when branch result"];
27 [label="Exit when"]; 11 [label="Exit when"];
} }
28 [label="Exit function test_1" style="filled" fillcolor=red]; 9 [label="Exit function test_1" style="filled" fillcolor=red];
} }
8 -> {10};
8 -> {9}; 10 -> {12};
9 -> {10}; 11 -> {9};
10 -> {11};
11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {15 14}; 13 -> {14};
14 -> {27}; 14 -> {15};
15 -> {16}; 15 -> {16 28};
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18};
17 -> {23} [color=red]; 18 -> {20};
18 -> {19}; 18 -> {19} [color=red];
19 -> {20}; 19 -> {24} [color=green];
20 -> {21}; 20 -> {22};
21 -> {23} [color=green]; 21 -> {19} [color=green];
21 -> {22} [color=red]; 21 -> {25} [color=red];
22 -> {24} [color=red]; 22 -> {23};
23 -> {24} [color=green]; 23 -> {21};
24 -> {25}; 24 -> {26};
25 -> {26}; 25 -> {24} [color=red];
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {11};
28 -> {11};
subgraph cluster_9 { subgraph cluster_9 {
color=red color=red
29 [label="Enter function test_2" style="filled" fillcolor=red]; 29 [label="Enter function test_2" style="filled" fillcolor=red];
30 [label="Postponed enter to lambda"]; 31 [label="Postponed enter to lambda"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
31 [label="Enter function anonymousFunction"]; 33 [label="Enter function anonymousFunction"];
32 [label="Access variable R|<local>/x|"]; 35 [label="Access variable R|<local>/x|"];
33 [label="Type operator: (R|<local>/x| as R|B|)"]; 36 [label="Type operator: (R|<local>/x| as R|B|)"];
34 [label="Exit function anonymousFunction"]; 34 [label="Exit function anonymousFunction"];
} }
35 [label="Call arguments union" style="filled" fillcolor=yellow]; 38 [label="Call arguments union" style="filled" fillcolor=yellow];
36 [label="Postponed exit from lambda"]; 32 [label="Postponed exit from lambda"];
37 [label="Function call: R|kotlin/run|<R|B|>(...)"]; 37 [label="Function call: R|kotlin/run|<R|B|>(...)"];
38 [label="Access variable R|<local>/x|"]; 39 [label="Access variable R|<local>/x|"];
39 [label="Function call: R|<local>/x|.R|/B.bar|()"]; 40 [label="Function call: R|<local>/x|.R|/B.bar|()"];
40 [label="Exit function test_2" style="filled" fillcolor=red]; 30 [label="Exit function test_2" style="filled" fillcolor=red];
} }
29 -> {31};
29 -> {30}; 31 -> {33};
30 -> {31}; 31 -> {32} [color=red];
30 -> {36} [color=red]; 32 -> {37} [color=green];
31 -> {32}; 33 -> {35};
32 -> {33}; 34 -> {32} [color=green];
33 -> {34}; 34 -> {38} [color=red];
34 -> {36} [color=green]; 35 -> {36};
34 -> {35} [color=red]; 36 -> {34};
35 -> {37} [color=red]; 37 -> {39};
36 -> {37} [color=green]; 38 -> {37} [color=red];
37 -> {38};
38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {30};
subgraph cluster_11 { subgraph cluster_11 {
color=red color=red
41 [label="Enter function test_3" style="filled" fillcolor=red]; 41 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
42 [label="Enter when"]; 43 [label="Enter when"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
43 [label="Enter when branch condition "]; 45 [label="Enter when branch condition "];
44 [label="Access variable R|<local>/x|"]; 46 [label="Access variable R|<local>/x|"];
45 [label="Type operator: (R|<local>/x| is R|A|)"]; 47 [label="Type operator: (R|<local>/x| is R|A|)"];
46 [label="Exit when branch condition"]; 48 [label="Exit when branch condition"];
} }
47 [label="Synthetic else branch"]; 65 [label="Synthetic else branch"];
48 [label="Enter when branch result"]; 49 [label="Enter when branch result"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
49 [label="Enter block"]; 50 [label="Enter block"];
50 [label="Postponed enter to lambda"]; 51 [label="Postponed enter to lambda"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
51 [label="Enter function anonymousFunction"]; 53 [label="Enter function anonymousFunction"];
52 [label="Access variable R|<local>/x|"]; 55 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 56 [label="Function call: R|<local>/x|.R|/A.foo|()"];
54 [label="Access variable R|<local>/x|"]; 57 [label="Access variable R|<local>/x|"];
55 [label="Type operator: (R|<local>/x| as R|B|)"]; 58 [label="Type operator: (R|<local>/x| as R|B|)"];
56 [label="Exit function anonymousFunction"]; 54 [label="Exit function anonymousFunction"];
} }
57 [label="Call arguments union" style="filled" fillcolor=yellow]; 60 [label="Call arguments union" style="filled" fillcolor=yellow];
58 [label="Postponed exit from lambda"]; 52 [label="Postponed exit from lambda"];
59 [label="Function call: R|kotlin/run|<R|B|>(...)"]; 59 [label="Function call: R|kotlin/run|<R|B|>(...)"];
60 [label="Access variable R|<local>/x|"]; 61 [label="Access variable R|<local>/x|"];
61 [label="Function call: R|<local>/x|.R|/B.bar|()"]; 62 [label="Function call: R|<local>/x|.R|/B.bar|()"];
62 [label="Exit block"]; 63 [label="Exit block"];
} }
63 [label="Exit when branch result"]; 64 [label="Exit when branch result"];
64 [label="Exit when"]; 44 [label="Exit when"];
} }
65 [label="Exit function test_3" style="filled" fillcolor=red]; 42 [label="Exit function test_3" style="filled" fillcolor=red];
} }
41 -> {43};
41 -> {42}; 43 -> {45};
42 -> {43}; 44 -> {42};
43 -> {44};
44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {48 47}; 46 -> {47};
47 -> {64}; 47 -> {48};
48 -> {49}; 48 -> {49 65};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
50 -> {58} [color=red]; 51 -> {53};
51 -> {52}; 51 -> {52} [color=red];
52 -> {53}; 52 -> {59} [color=green];
53 -> {54}; 53 -> {55};
54 -> {55}; 54 -> {52} [color=green];
54 -> {60} [color=red];
55 -> {56}; 55 -> {56};
56 -> {58} [color=green]; 56 -> {57};
56 -> {57} [color=red]; 57 -> {58};
57 -> {59} [color=red]; 58 -> {54};
58 -> {59} [color=green]; 59 -> {61};
59 -> {60}; 60 -> {59} [color=red];
60 -> {61};
61 -> {62}; 61 -> {62};
62 -> {63}; 62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {44};
65 -> {44};
} }
@@ -8,42 +8,41 @@ digraph smartcastOnLambda_kt {
0 [label="Enter function test" style="filled" fillcolor=red]; 0 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
1 [label="Enter when"]; 2 [label="Enter when"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
2 [label="Enter when branch condition "]; 4 [label="Enter when branch condition "];
3 [label="Access variable R|<local>/func|"]; 5 [label="Access variable R|<local>/func|"];
4 [label="Const: Null(null)"]; 6 [label="Const: Null(null)"];
5 [label="Operator !="]; 7 [label="Operator !="];
6 [label="Exit when branch condition"]; 8 [label="Exit when branch condition"];
} }
7 [label="Synthetic else branch"]; 14 [label="Synthetic else branch"];
8 [label="Enter when branch result"]; 9 [label="Enter when branch result"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
9 [label="Enter block"]; 10 [label="Enter block"];
10 [label="Function call: R|<local>/func|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"]; 11 [label="Function call: R|<local>/func|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
11 [label="Exit block"]; 12 [label="Exit block"];
} }
12 [label="Exit when branch result"]; 13 [label="Exit when branch result"];
13 [label="Exit when"]; 3 [label="Exit when"];
} }
14 [label="Exit function test" style="filled" fillcolor=red]; 1 [label="Exit function test" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {4};
1 -> {2}; 3 -> {1};
2 -> {3};
3 -> {4};
4 -> {5}; 4 -> {5};
5 -> {6}; 5 -> {6};
6 -> {8 7}; 6 -> {7};
7 -> {13}; 7 -> {8};
8 -> {9}; 8 -> {9 14};
9 -> {10}; 9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {3};
14 -> {3};
} }
@@ -8,7 +8,6 @@ digraph dataFlowInfoFromWhileCondition_kt {
0 [label="Enter function foo" style="filled" fillcolor=red]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph dataFlowInfoFromWhileCondition_kt {
2 [label="Enter class A" style="filled" fillcolor=red]; 2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 3 [label="Exit class A" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 2 -> {3} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
@@ -24,7 +22,6 @@ digraph dataFlowInfoFromWhileCondition_kt {
4 [label="Enter class B" style="filled" fillcolor=red]; 4 [label="Enter class B" style="filled" fillcolor=red];
5 [label="Exit class B" style="filled" fillcolor=red]; 5 [label="Exit class B" style="filled" fillcolor=red];
} }
4 -> {5} [color=green]; 4 -> {5} [color=green];
subgraph cluster_3 { subgraph cluster_3 {
@@ -32,70 +29,68 @@ digraph dataFlowInfoFromWhileCondition_kt {
6 [label="Enter class C" style="filled" fillcolor=red]; 6 [label="Enter class C" style="filled" fillcolor=red];
7 [label="Exit class C" style="filled" fillcolor=red]; 7 [label="Exit class C" style="filled" fillcolor=red];
} }
6 -> {7} [color=green]; 6 -> {7} [color=green];
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
8 [label="Enter function test" style="filled" fillcolor=red]; 8 [label="Enter function test" style="filled" fillcolor=red];
9 [label="Const: Null(null)"]; 10 [label="Const: Null(null)"];
10 [label="Variable declaration: lvar a: R|A?|"]; 11 [label="Variable declaration: lvar a: R|A?|"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
11 [label="Enter while loop"]; 12 [label="Enter while loop"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
12 [label="Enter loop condition"]; 14 [label="Enter loop condition"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
13 [label="Enter ||"]; 16 [label="Enter ||"];
14 [label="Access variable R|<local>/a|"]; 17 [label="Access variable R|<local>/a|"];
15 [label="Type operator: (R|<local>/a| is R|B|)"]; 18 [label="Type operator: (R|<local>/a| is R|B|)"];
16 [label="Exit left part of ||"]; 19 [label="Exit left part of ||"];
17 [label="Enter right part of ||"]; 20 [label="Enter right part of ||"];
18 [label="Access variable R|<local>/a|"]; 21 [label="Access variable R|<local>/a|"];
19 [label="Type operator: (R|<local>/a| is R|C|)"]; 22 [label="Type operator: (R|<local>/a| is R|C|)"];
20 [label="Exit ||"]; 15 [label="Exit ||"];
} }
21 [label="Exit loop condition"]; 23 [label="Exit loop condition"];
} }
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
22 [label="Enter loop block"]; 24 [label="Enter loop block"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
23 [label="Enter block"]; 25 [label="Enter block"];
24 [label="Access variable R|<local>/a|"]; 26 [label="Access variable R|<local>/a|"];
25 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 27 [label="Function call: R|<local>/a|.R|/A.foo|()"];
26 [label="Exit block"]; 28 [label="Exit block"];
} }
27 [label="Exit loop block"]; 29 [label="Exit loop block"];
} }
28 [label="Exit whileloop"]; 13 [label="Exit whileloop"];
} }
29 [label="Exit function test" style="filled" fillcolor=red]; 9 [label="Exit function test" style="filled" fillcolor=red];
} }
8 -> {10};
8 -> {9};
9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {14};
13 -> {14}; 13 -> {9};
14 -> {15}; 14 -> {16};
15 -> {16}; 15 -> {23};
16 -> {20 17}; 16 -> {17};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {15 20};
20 -> {21}; 20 -> {21};
21 -> {28 22}; 21 -> {22};
22 -> {23}; 22 -> {15};
23 -> {24}; 23 -> {13 24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {12}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {14};
} }
@@ -8,7 +8,6 @@ digraph endlessLoops_kt {
0 [label="Enter function foo" style="filled" fillcolor=red]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph endlessLoops_kt {
2 [label="Enter class A" style="filled" fillcolor=red]; 2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 3 [label="Exit class A" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 2 -> {3} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
@@ -24,571 +22,564 @@ digraph endlessLoops_kt {
4 [label="Enter function test_1" style="filled" fillcolor=red]; 4 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
5 [label="Enter while loop"]; 6 [label="Enter while loop"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
6 [label="Enter loop condition"]; 8 [label="Enter loop condition"];
7 [label="Const: Boolean(true)"]; 9 [label="Const: Boolean(true)"];
8 [label="Exit loop condition"]; 10 [label="Exit loop condition"];
} }
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
9 [label="Enter loop block"]; 11 [label="Enter loop block"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
10 [label="Enter block"]; 12 [label="Enter block"];
11 [label="Access variable R|<local>/x|"]; 13 [label="Access variable R|<local>/x|"];
12 [label="Type operator: (R|<local>/x| as R|A|)"]; 14 [label="Type operator: (R|<local>/x| as R|A|)"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
13 [label="Enter when"]; 15 [label="Enter when"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
14 [label="Enter when branch condition "]; 17 [label="Enter when branch condition "];
15 [label="Access variable R|<local>/b|"]; 18 [label="Access variable R|<local>/b|"];
16 [label="Exit when branch condition"]; 19 [label="Exit when branch condition"];
} }
17 [label="Synthetic else branch"]; 26 [label="Synthetic else branch"];
18 [label="Enter when branch result"]; 20 [label="Enter when branch result"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
19 [label="Enter block"]; 21 [label="Enter block"];
20 [label="Jump: break@@@[Boolean(true)] "]; 22 [label="Jump: break@@@[Boolean(true)] "];
21 [label="Stub" style="filled" fillcolor=gray]; 23 [label="Stub" style="filled" fillcolor=gray];
22 [label="Exit block" style="filled" fillcolor=gray]; 24 [label="Exit block" style="filled" fillcolor=gray];
} }
23 [label="Exit when branch result" style="filled" fillcolor=gray]; 25 [label="Exit when branch result" style="filled" fillcolor=gray];
24 [label="Exit when"]; 16 [label="Exit when"];
} }
25 [label="Exit block"]; 27 [label="Exit block"];
} }
26 [label="Exit loop block"]; 28 [label="Exit loop block"];
} }
27 [label="Exit whileloop"]; 7 [label="Exit whileloop"];
} }
28 [label="Access variable R|<local>/x|"]; 29 [label="Access variable R|<local>/x|"];
29 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 30 [label="Function call: R|<local>/x|.R|/A.foo|()"];
30 [label="Exit function test_1" style="filled" fillcolor=red]; 5 [label="Exit function test_1" style="filled" fillcolor=red];
} }
4 -> {6};
4 -> {5}; 6 -> {8};
5 -> {6}; 7 -> {29};
6 -> {7};
7 -> {8};
8 -> {9}; 8 -> {9};
8 -> {27} [style=dotted];
9 -> {10}; 9 -> {10};
10 -> {11}; 10 -> {11};
10 -> {7} [style=dotted];
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {17};
16 -> {18 17}; 16 -> {27};
17 -> {24}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20 26};
20 -> {27}; 20 -> {21};
20 -> {21} [style=dotted]; 21 -> {22};
21 -> {22} [style=dotted]; 22 -> {7};
22 -> {23} [style=dotted]; 22 -> {23} [style=dotted];
23 -> {24} [style=dotted]; 23 -> {24} [style=dotted];
24 -> {25}; 24 -> {25} [style=dotted];
25 -> {26}; 25 -> {16} [style=dotted];
26 -> {6}; 26 -> {16};
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {8};
29 -> {30}; 29 -> {30};
30 -> {5};
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
31 [label="Enter function test_2" style="filled" fillcolor=red]; 31 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
32 [label="Enter while loop"]; 33 [label="Enter while loop"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
33 [label="Enter loop condition"]; 35 [label="Enter loop condition"];
34 [label="Const: Boolean(true)"]; 36 [label="Const: Boolean(true)"];
35 [label="Exit loop condition"]; 37 [label="Exit loop condition"];
} }
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
36 [label="Enter loop block"]; 38 [label="Enter loop block"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
37 [label="Enter block"]; 39 [label="Enter block"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
38 [label="Enter when"]; 40 [label="Enter when"];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
39 [label="Enter when branch condition "]; 42 [label="Enter when branch condition "];
40 [label="Access variable R|<local>/b|"]; 43 [label="Access variable R|<local>/b|"];
41 [label="Exit when branch condition"]; 44 [label="Exit when branch condition"];
} }
42 [label="Synthetic else branch"]; 53 [label="Synthetic else branch"];
43 [label="Enter when branch result"]; 45 [label="Enter when branch result"];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
44 [label="Enter block"]; 46 [label="Enter block"];
45 [label="Access variable R|<local>/x|"]; 47 [label="Access variable R|<local>/x|"];
46 [label="Type operator: (R|<local>/x| as R|A|)"]; 48 [label="Type operator: (R|<local>/x| as R|A|)"];
47 [label="Jump: break@@@[Boolean(true)] "]; 49 [label="Jump: break@@@[Boolean(true)] "];
48 [label="Stub" style="filled" fillcolor=gray]; 50 [label="Stub" style="filled" fillcolor=gray];
49 [label="Exit block" style="filled" fillcolor=gray]; 51 [label="Exit block" style="filled" fillcolor=gray];
} }
50 [label="Exit when branch result" style="filled" fillcolor=gray]; 52 [label="Exit when branch result" style="filled" fillcolor=gray];
51 [label="Exit when"]; 41 [label="Exit when"];
} }
52 [label="Exit block"]; 54 [label="Exit block"];
} }
53 [label="Exit loop block"]; 55 [label="Exit loop block"];
} }
54 [label="Exit whileloop"]; 34 [label="Exit whileloop"];
} }
55 [label="Access variable R|<local>/x|"]; 56 [label="Access variable R|<local>/x|"];
56 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 57 [label="Function call: R|<local>/x|.R|/A.foo|()"];
57 [label="Exit function test_2" style="filled" fillcolor=red]; 32 [label="Exit function test_2" style="filled" fillcolor=red];
} }
31 -> {33};
31 -> {32}; 33 -> {35};
32 -> {33}; 34 -> {56};
33 -> {34};
34 -> {35};
35 -> {36}; 35 -> {36};
35 -> {54} [style=dotted];
36 -> {37}; 36 -> {37};
37 -> {38}; 37 -> {38};
37 -> {34} [style=dotted];
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {42};
41 -> {43 42}; 41 -> {54};
42 -> {51}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45 53};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {54}; 47 -> {48};
47 -> {48} [style=dotted]; 48 -> {49};
48 -> {49} [style=dotted]; 49 -> {34};
49 -> {50} [style=dotted]; 49 -> {50} [style=dotted];
50 -> {51} [style=dotted]; 50 -> {51} [style=dotted];
51 -> {52}; 51 -> {52} [style=dotted];
52 -> {53}; 52 -> {41} [style=dotted];
53 -> {33}; 53 -> {41};
54 -> {55}; 54 -> {55};
55 -> {56}; 55 -> {35};
56 -> {57}; 56 -> {57};
57 -> {32};
subgraph cluster_18 { subgraph cluster_18 {
color=red color=red
58 [label="Enter function test_3" style="filled" fillcolor=red]; 58 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
59 [label="Enter while loop"]; 60 [label="Enter while loop"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
60 [label="Enter loop condition"]; 62 [label="Enter loop condition"];
61 [label="Const: Boolean(true)"]; 63 [label="Const: Boolean(true)"];
62 [label="Exit loop condition"]; 64 [label="Exit loop condition"];
} }
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
63 [label="Enter loop block"]; 65 [label="Enter loop block"];
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
64 [label="Enter block"]; 66 [label="Enter block"];
65 [label="Access variable R|<local>/x|"]; 67 [label="Access variable R|<local>/x|"];
66 [label="Type operator: (R|<local>/x| as R|A|)"]; 68 [label="Type operator: (R|<local>/x| as R|A|)"];
subgraph cluster_23 { subgraph cluster_23 {
color=blue color=blue
67 [label="Enter when"]; 69 [label="Enter when"];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
68 [label="Enter when branch condition "]; 71 [label="Enter when branch condition "];
69 [label="Access variable R|<local>/b|"]; 72 [label="Access variable R|<local>/b|"];
70 [label="Exit when branch condition"]; 73 [label="Exit when branch condition"];
} }
71 [label="Synthetic else branch"]; 80 [label="Synthetic else branch"];
72 [label="Enter when branch result"]; 74 [label="Enter when branch result"];
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
73 [label="Enter block"]; 75 [label="Enter block"];
74 [label="Jump: break@@@[Boolean(true)] "]; 76 [label="Jump: break@@@[Boolean(true)] "];
75 [label="Stub" style="filled" fillcolor=gray]; 77 [label="Stub" style="filled" fillcolor=gray];
76 [label="Exit block" style="filled" fillcolor=gray]; 78 [label="Exit block" style="filled" fillcolor=gray];
} }
77 [label="Exit when branch result" style="filled" fillcolor=gray]; 79 [label="Exit when branch result" style="filled" fillcolor=gray];
78 [label="Exit when"]; 70 [label="Exit when"];
} }
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
79 [label="Enter when"]; 81 [label="Enter when"];
subgraph cluster_27 { subgraph cluster_27 {
color=blue color=blue
80 [label="Enter when branch condition "]; 83 [label="Enter when branch condition "];
81 [label="Access variable R|<local>/b|"]; 84 [label="Access variable R|<local>/b|"];
82 [label="Exit when branch condition"]; 85 [label="Exit when branch condition"];
} }
83 [label="Synthetic else branch"]; 92 [label="Synthetic else branch"];
84 [label="Enter when branch result"]; 86 [label="Enter when branch result"];
subgraph cluster_28 { subgraph cluster_28 {
color=blue color=blue
85 [label="Enter block"]; 87 [label="Enter block"];
86 [label="Jump: break@@@[Boolean(true)] "]; 88 [label="Jump: break@@@[Boolean(true)] "];
87 [label="Stub" style="filled" fillcolor=gray]; 89 [label="Stub" style="filled" fillcolor=gray];
88 [label="Exit block" style="filled" fillcolor=gray]; 90 [label="Exit block" style="filled" fillcolor=gray];
} }
89 [label="Exit when branch result" style="filled" fillcolor=gray]; 91 [label="Exit when branch result" style="filled" fillcolor=gray];
90 [label="Exit when"]; 82 [label="Exit when"];
} }
91 [label="Exit block"]; 93 [label="Exit block"];
} }
92 [label="Exit loop block"]; 94 [label="Exit loop block"];
} }
93 [label="Exit whileloop"]; 61 [label="Exit whileloop"];
} }
94 [label="Access variable R|<local>/x|"]; 95 [label="Access variable R|<local>/x|"];
95 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 96 [label="Function call: R|<local>/x|.R|/A.foo|()"];
96 [label="Exit function test_3" style="filled" fillcolor=red]; 59 [label="Exit function test_3" style="filled" fillcolor=red];
} }
58 -> {60};
58 -> {59}; 60 -> {62};
59 -> {60}; 61 -> {95};
60 -> {61};
61 -> {62};
62 -> {63}; 62 -> {63};
62 -> {93} [style=dotted];
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
64 -> {61} [style=dotted];
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {71};
70 -> {72 71}; 70 -> {81};
71 -> {78}; 71 -> {72};
72 -> {73}; 72 -> {73};
73 -> {74}; 73 -> {74 80};
74 -> {93}; 74 -> {75};
74 -> {75} [style=dotted]; 75 -> {76};
75 -> {76} [style=dotted]; 76 -> {61};
76 -> {77} [style=dotted]; 76 -> {77} [style=dotted];
77 -> {78} [style=dotted]; 77 -> {78} [style=dotted];
78 -> {79}; 78 -> {79} [style=dotted];
79 -> {80}; 79 -> {70} [style=dotted];
80 -> {81}; 80 -> {70};
81 -> {82}; 81 -> {83};
82 -> {84 83}; 82 -> {93};
83 -> {90}; 83 -> {84};
84 -> {85}; 84 -> {85};
85 -> {86}; 85 -> {86 92};
86 -> {93}; 86 -> {87};
86 -> {87} [style=dotted]; 87 -> {88};
87 -> {88} [style=dotted]; 88 -> {61};
88 -> {89} [style=dotted]; 88 -> {89} [style=dotted];
89 -> {90} [style=dotted]; 89 -> {90} [style=dotted];
90 -> {91}; 90 -> {91} [style=dotted];
91 -> {92}; 91 -> {82} [style=dotted];
92 -> {60}; 92 -> {82};
93 -> {94}; 93 -> {94};
94 -> {95}; 94 -> {62};
95 -> {96}; 95 -> {96};
96 -> {59};
subgraph cluster_29 { subgraph cluster_29 {
color=red color=red
97 [label="Enter function test_4" style="filled" fillcolor=red]; 97 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_30 { subgraph cluster_30 {
color=blue color=blue
98 [label="Enter while loop"]; 99 [label="Enter while loop"];
subgraph cluster_31 { subgraph cluster_31 {
color=blue color=blue
99 [label="Enter loop condition"]; 101 [label="Enter loop condition"];
100 [label="Const: Boolean(true)"]; 102 [label="Const: Boolean(true)"];
101 [label="Exit loop condition"]; 103 [label="Exit loop condition"];
} }
subgraph cluster_32 { subgraph cluster_32 {
color=blue color=blue
102 [label="Enter loop block"]; 104 [label="Enter loop block"];
subgraph cluster_33 { subgraph cluster_33 {
color=blue color=blue
103 [label="Enter block"]; 105 [label="Enter block"];
subgraph cluster_34 { subgraph cluster_34 {
color=blue color=blue
104 [label="Enter when"]; 106 [label="Enter when"];
subgraph cluster_35 { subgraph cluster_35 {
color=blue color=blue
105 [label="Enter when branch condition "]; 108 [label="Enter when branch condition "];
106 [label="Access variable R|<local>/b|"]; 109 [label="Access variable R|<local>/b|"];
107 [label="Exit when branch condition"]; 110 [label="Exit when branch condition"];
} }
108 [label="Synthetic else branch"]; 119 [label="Synthetic else branch"];
109 [label="Enter when branch result"]; 111 [label="Enter when branch result"];
subgraph cluster_36 { subgraph cluster_36 {
color=blue color=blue
110 [label="Enter block"]; 112 [label="Enter block"];
111 [label="Access variable R|<local>/x|"]; 113 [label="Access variable R|<local>/x|"];
112 [label="Type operator: (R|<local>/x| as R|A|)"]; 114 [label="Type operator: (R|<local>/x| as R|A|)"];
113 [label="Jump: break@@@[Boolean(true)] "]; 115 [label="Jump: break@@@[Boolean(true)] "];
114 [label="Stub" style="filled" fillcolor=gray]; 116 [label="Stub" style="filled" fillcolor=gray];
115 [label="Exit block" style="filled" fillcolor=gray]; 117 [label="Exit block" style="filled" fillcolor=gray];
} }
116 [label="Exit when branch result" style="filled" fillcolor=gray]; 118 [label="Exit when branch result" style="filled" fillcolor=gray];
117 [label="Exit when"]; 107 [label="Exit when"];
} }
118 [label="Jump: break@@@[Boolean(true)] "]; 120 [label="Jump: break@@@[Boolean(true)] "];
119 [label="Stub" style="filled" fillcolor=gray]; 121 [label="Stub" style="filled" fillcolor=gray];
120 [label="Exit block" style="filled" fillcolor=gray]; 122 [label="Exit block" style="filled" fillcolor=gray];
} }
121 [label="Exit loop block" style="filled" fillcolor=gray]; 123 [label="Exit loop block" style="filled" fillcolor=gray];
} }
122 [label="Exit whileloop"]; 100 [label="Exit whileloop"];
} }
123 [label="Access variable R|<local>/x|"]; 124 [label="Access variable R|<local>/x|"];
124 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"]; 125 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
125 [label="Exit function test_4" style="filled" fillcolor=red]; 98 [label="Exit function test_4" style="filled" fillcolor=red];
} }
97 -> {99};
97 -> {98}; 99 -> {101};
98 -> {99}; 100 -> {124};
99 -> {100};
100 -> {101};
101 -> {102}; 101 -> {102};
101 -> {122} [style=dotted];
102 -> {103}; 102 -> {103};
103 -> {104}; 103 -> {104};
103 -> {100} [style=dotted];
104 -> {105}; 104 -> {105};
105 -> {106}; 105 -> {106};
106 -> {107}; 106 -> {108};
107 -> {109 108}; 107 -> {120};
108 -> {117}; 108 -> {109};
109 -> {110}; 109 -> {110};
110 -> {111}; 110 -> {111 119};
111 -> {112}; 111 -> {112};
112 -> {113}; 112 -> {113};
113 -> {122}; 113 -> {114};
113 -> {114} [style=dotted]; 114 -> {115};
114 -> {115} [style=dotted]; 115 -> {100};
115 -> {116} [style=dotted]; 115 -> {116} [style=dotted];
116 -> {117} [style=dotted]; 116 -> {117} [style=dotted];
117 -> {118}; 117 -> {118} [style=dotted];
118 -> {122}; 118 -> {107} [style=dotted];
118 -> {119} [style=dotted]; 119 -> {107};
119 -> {120} [style=dotted]; 120 -> {100};
120 -> {121} [style=dotted]; 120 -> {121} [style=dotted];
121 -> {99} [style=dotted]; 121 -> {122} [style=dotted];
122 -> {123}; 122 -> {123} [style=dotted];
123 -> {124}; 123 -> {101} [style=dotted];
124 -> {125}; 124 -> {125};
125 -> {98};
subgraph cluster_37 { subgraph cluster_37 {
color=red color=red
126 [label="Enter function test_5" style="filled" fillcolor=red]; 126 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_38 { subgraph cluster_38 {
color=blue color=blue
127 [label="Enter do-while loop"]; 128 [label="Enter do-while loop"];
subgraph cluster_39 { subgraph cluster_39 {
color=blue color=blue
128 [label="Enter loop block"]; 130 [label="Enter loop block"];
subgraph cluster_40 { subgraph cluster_40 {
color=blue color=blue
129 [label="Enter block"]; 131 [label="Enter block"];
subgraph cluster_41 { subgraph cluster_41 {
color=blue color=blue
130 [label="Enter when"]; 132 [label="Enter when"];
subgraph cluster_42 { subgraph cluster_42 {
color=blue color=blue
131 [label="Enter when branch condition "]; 134 [label="Enter when branch condition "];
132 [label="Access variable R|<local>/b|"]; 135 [label="Access variable R|<local>/b|"];
133 [label="Exit when branch condition"]; 136 [label="Exit when branch condition"];
} }
134 [label="Synthetic else branch"]; 145 [label="Synthetic else branch"];
135 [label="Enter when branch result"]; 137 [label="Enter when branch result"];
subgraph cluster_43 { subgraph cluster_43 {
color=blue color=blue
136 [label="Enter block"]; 138 [label="Enter block"];
137 [label="Access variable R|<local>/x|"]; 139 [label="Access variable R|<local>/x|"];
138 [label="Type operator: (R|<local>/x| as R|A|)"]; 140 [label="Type operator: (R|<local>/x| as R|A|)"];
139 [label="Jump: break@@@[Boolean(true)] "]; 141 [label="Jump: break@@@[Boolean(true)] "];
140 [label="Stub" style="filled" fillcolor=gray]; 142 [label="Stub" style="filled" fillcolor=gray];
141 [label="Exit block" style="filled" fillcolor=gray]; 143 [label="Exit block" style="filled" fillcolor=gray];
} }
142 [label="Exit when branch result" style="filled" fillcolor=gray]; 144 [label="Exit when branch result" style="filled" fillcolor=gray];
143 [label="Exit when"]; 133 [label="Exit when"];
} }
144 [label="Exit block"]; 146 [label="Exit block"];
} }
145 [label="Exit loop block"]; 147 [label="Exit loop block"];
} }
subgraph cluster_44 { subgraph cluster_44 {
color=blue color=blue
146 [label="Enter loop condition"]; 148 [label="Enter loop condition"];
147 [label="Const: Boolean(true)"]; 149 [label="Const: Boolean(true)"];
148 [label="Exit loop condition"]; 150 [label="Exit loop condition"];
} }
149 [label="Exit do-whileloop"]; 129 [label="Exit do-whileloop"];
} }
150 [label="Access variable R|<local>/x|"]; 151 [label="Access variable R|<local>/x|"];
151 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 152 [label="Function call: R|<local>/x|.R|/A.foo|()"];
152 [label="Exit function test_5" style="filled" fillcolor=red]; 127 [label="Exit function test_5" style="filled" fillcolor=red];
} }
126 -> {128};
126 -> {127}; 128 -> {130};
127 -> {128}; 129 -> {151};
128 -> {129};
129 -> {130};
130 -> {131}; 130 -> {131};
131 -> {132}; 131 -> {132};
132 -> {133}; 132 -> {134};
133 -> {135 134}; 133 -> {146};
134 -> {143}; 134 -> {135};
135 -> {136}; 135 -> {136};
136 -> {137}; 136 -> {137 145};
137 -> {138}; 137 -> {138};
138 -> {139}; 138 -> {139};
139 -> {149}; 139 -> {140};
139 -> {140} [style=dotted]; 140 -> {141};
140 -> {141} [style=dotted]; 141 -> {129};
141 -> {142} [style=dotted]; 141 -> {142} [style=dotted];
142 -> {143} [style=dotted]; 142 -> {143} [style=dotted];
143 -> {144}; 143 -> {144} [style=dotted];
144 -> {145}; 144 -> {133} [style=dotted];
145 -> {146}; 145 -> {133};
146 -> {147}; 146 -> {147};
147 -> {148}; 147 -> {148};
148 -> {128}; 148 -> {149};
148 -> {149} [style=dotted];
149 -> {150}; 149 -> {150};
150 -> {151}; 150 -> {130};
150 -> {129} [style=dotted];
151 -> {152}; 151 -> {152};
152 -> {127};
subgraph cluster_45 { subgraph cluster_45 {
color=red color=red
153 [label="Enter function test_6" style="filled" fillcolor=red]; 153 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_46 { subgraph cluster_46 {
color=blue color=blue
154 [label="Enter do-while loop"]; 155 [label="Enter do-while loop"];
subgraph cluster_47 { subgraph cluster_47 {
color=blue color=blue
155 [label="Enter loop block"]; 157 [label="Enter loop block"];
subgraph cluster_48 { subgraph cluster_48 {
color=blue color=blue
156 [label="Enter block"]; 158 [label="Enter block"];
157 [label="Access variable R|<local>/x|"]; 159 [label="Access variable R|<local>/x|"];
158 [label="Type operator: (R|<local>/x| as R|A|)"]; 160 [label="Type operator: (R|<local>/x| as R|A|)"];
subgraph cluster_49 { subgraph cluster_49 {
color=blue color=blue
159 [label="Enter when"]; 161 [label="Enter when"];
subgraph cluster_50 { subgraph cluster_50 {
color=blue color=blue
160 [label="Enter when branch condition "]; 163 [label="Enter when branch condition "];
161 [label="Access variable R|<local>/b|"]; 164 [label="Access variable R|<local>/b|"];
162 [label="Exit when branch condition"]; 165 [label="Exit when branch condition"];
} }
163 [label="Synthetic else branch"]; 172 [label="Synthetic else branch"];
164 [label="Enter when branch result"]; 166 [label="Enter when branch result"];
subgraph cluster_51 { subgraph cluster_51 {
color=blue color=blue
165 [label="Enter block"]; 167 [label="Enter block"];
166 [label="Jump: break@@@[Boolean(true)] "]; 168 [label="Jump: break@@@[Boolean(true)] "];
167 [label="Stub" style="filled" fillcolor=gray]; 169 [label="Stub" style="filled" fillcolor=gray];
168 [label="Exit block" style="filled" fillcolor=gray]; 170 [label="Exit block" style="filled" fillcolor=gray];
} }
169 [label="Exit when branch result" style="filled" fillcolor=gray]; 171 [label="Exit when branch result" style="filled" fillcolor=gray];
170 [label="Exit when"]; 162 [label="Exit when"];
} }
171 [label="Exit block"]; 173 [label="Exit block"];
} }
172 [label="Exit loop block"]; 174 [label="Exit loop block"];
} }
subgraph cluster_52 { subgraph cluster_52 {
color=blue color=blue
173 [label="Enter loop condition"]; 175 [label="Enter loop condition"];
174 [label="Const: Boolean(true)"]; 176 [label="Const: Boolean(true)"];
175 [label="Exit loop condition"]; 177 [label="Exit loop condition"];
} }
176 [label="Exit do-whileloop"]; 156 [label="Exit do-whileloop"];
} }
177 [label="Access variable R|<local>/x|"]; 178 [label="Access variable R|<local>/x|"];
178 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 179 [label="Function call: R|<local>/x|.R|/A.foo|()"];
179 [label="Exit function test_6" style="filled" fillcolor=red]; 154 [label="Exit function test_6" style="filled" fillcolor=red];
} }
153 -> {155};
153 -> {154}; 155 -> {157};
154 -> {155}; 156 -> {178};
155 -> {156};
156 -> {157};
157 -> {158}; 157 -> {158};
158 -> {159}; 158 -> {159};
159 -> {160}; 159 -> {160};
160 -> {161}; 160 -> {161};
161 -> {162}; 161 -> {163};
162 -> {164 163}; 162 -> {173};
163 -> {170}; 163 -> {164};
164 -> {165}; 164 -> {165};
165 -> {166}; 165 -> {166 172};
166 -> {176}; 166 -> {167};
166 -> {167} [style=dotted]; 167 -> {168};
167 -> {168} [style=dotted]; 168 -> {156};
168 -> {169} [style=dotted]; 168 -> {169} [style=dotted];
169 -> {170} [style=dotted]; 169 -> {170} [style=dotted];
170 -> {171}; 170 -> {171} [style=dotted];
171 -> {172}; 171 -> {162} [style=dotted];
172 -> {173}; 172 -> {162};
173 -> {174}; 173 -> {174};
174 -> {175}; 174 -> {175};
175 -> {155}; 175 -> {176};
175 -> {176} [style=dotted];
176 -> {177}; 176 -> {177};
177 -> {178}; 177 -> {157};
177 -> {156} [style=dotted];
178 -> {179}; 178 -> {179};
179 -> {154};
subgraph cluster_53 { subgraph cluster_53 {
color=red color=red
180 [label="Enter function test_7" style="filled" fillcolor=red]; 180 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_54 { subgraph cluster_54 {
color=blue color=blue
181 [label="Enter do-while loop"]; 182 [label="Enter do-while loop"];
subgraph cluster_55 { subgraph cluster_55 {
color=blue color=blue
182 [label="Enter loop block"]; 184 [label="Enter loop block"];
subgraph cluster_56 { subgraph cluster_56 {
color=blue color=blue
183 [label="Enter block"]; 185 [label="Enter block"];
184 [label="Access variable R|<local>/x|"]; 186 [label="Access variable R|<local>/x|"];
185 [label="Type operator: (R|<local>/x| as R|A|)"]; 187 [label="Type operator: (R|<local>/x| as R|A|)"];
186 [label="Exit block"]; 188 [label="Exit block"];
} }
187 [label="Exit loop block"]; 189 [label="Exit loop block"];
} }
subgraph cluster_57 { subgraph cluster_57 {
color=blue color=blue
188 [label="Enter loop condition"]; 190 [label="Enter loop condition"];
189 [label="Const: Boolean(true)"]; 191 [label="Const: Boolean(true)"];
190 [label="Exit loop condition"]; 192 [label="Exit loop condition"];
} }
191 [label="Exit do-whileloop" style="filled" fillcolor=gray]; 183 [label="Exit do-whileloop" style="filled" fillcolor=gray];
} }
192 [label="Access variable R|<local>/x|" style="filled" fillcolor=gray]; 193 [label="Access variable R|<local>/x|" style="filled" fillcolor=gray];
193 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=gray]; 194 [label="Function call: R|<local>/x|.R|/A.foo|()" style="filled" fillcolor=gray];
194 [label="Exit function test_7" style="filled" fillcolor=red style="filled" fillcolor=gray]; 181 [label="Exit function test_7" style="filled" fillcolor=red style="filled" fillcolor=gray];
} }
180 -> {182};
180 -> {181}; 182 -> {184};
181 -> {182}; 183 -> {193} [style=dotted];
182 -> {183};
183 -> {184};
184 -> {185}; 184 -> {185};
185 -> {186}; 185 -> {186};
186 -> {187}; 186 -> {187};
187 -> {188}; 187 -> {188};
188 -> {189}; 188 -> {189};
189 -> {190}; 189 -> {190};
190 -> {182}; 190 -> {191};
190 -> {191} [style=dotted]; 191 -> {192};
191 -> {192} [style=dotted]; 192 -> {184};
192 -> {193} [style=dotted]; 192 -> {183} [style=dotted];
193 -> {194} [style=dotted]; 193 -> {194} [style=dotted];
194 -> {181} [style=dotted];
} }
@@ -8,7 +8,6 @@ digraph multipleCasts_kt {
0 [label="Enter function foo" style="filled" fillcolor=red]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {1}; 0 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph multipleCasts_kt {
2 [label="Enter class A" style="filled" fillcolor=red]; 2 [label="Enter class A" style="filled" fillcolor=red];
3 [label="Exit class A" style="filled" fillcolor=red]; 3 [label="Exit class A" style="filled" fillcolor=red];
} }
2 -> {3} [color=green]; 2 -> {3} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
@@ -24,7 +22,6 @@ digraph multipleCasts_kt {
4 [label="Enter function foo" style="filled" fillcolor=red]; 4 [label="Enter function foo" style="filled" fillcolor=red];
5 [label="Exit function foo" style="filled" fillcolor=red]; 5 [label="Exit function foo" style="filled" fillcolor=red];
} }
4 -> {5}; 4 -> {5};
subgraph cluster_3 { subgraph cluster_3 {
@@ -32,44 +29,40 @@ digraph multipleCasts_kt {
6 [label="Enter class B" style="filled" fillcolor=red]; 6 [label="Enter class B" style="filled" fillcolor=red];
7 [label="Exit class B" style="filled" fillcolor=red]; 7 [label="Exit class B" style="filled" fillcolor=red];
} }
6 -> {7} [color=green]; 6 -> {7} [color=green];
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
8 [label="Enter function getAny" style="filled" fillcolor=red]; 8 [label="Enter function getAny" style="filled" fillcolor=red];
9 [label="Const: Null(null)"]; 10 [label="Const: Null(null)"];
10 [label="Jump: ^getAny Null(null)"]; 11 [label="Jump: ^getAny Null(null)"];
11 [label="Stub" style="filled" fillcolor=gray]; 12 [label="Stub" style="filled" fillcolor=gray];
12 [label="Exit function getAny" style="filled" fillcolor=red]; 9 [label="Exit function getAny" style="filled" fillcolor=red];
} }
8 -> {10};
8 -> {9}; 10 -> {11};
9 -> {10}; 11 -> {9};
10 -> {12};
10 -> {11} [style=dotted];
11 -> {12} [style=dotted]; 11 -> {12} [style=dotted];
12 -> {9} [style=dotted];
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
13 [label="Enter function test_0" style="filled" fillcolor=red]; 13 [label="Enter function test_0" style="filled" fillcolor=red];
14 [label="Function call: R|/getAny|()"]; 15 [label="Function call: R|/getAny|()"];
15 [label="Variable declaration: lval a: R|kotlin/Any?|"]; 16 [label="Variable declaration: lval a: R|kotlin/Any?|"];
16 [label="Function call: R|/getAny|()"]; 17 [label="Function call: R|/getAny|()"];
17 [label="Variable declaration: lval b: R|kotlin/Any?|"]; 18 [label="Variable declaration: lval b: R|kotlin/Any?|"];
18 [label="Access variable R|<local>/a|"]; 19 [label="Access variable R|<local>/a|"];
19 [label="Type operator: (R|<local>/a| as R|A|)"]; 20 [label="Type operator: (R|<local>/a| as R|A|)"];
20 [label="Access variable R|<local>/a|"]; 21 [label="Access variable R|<local>/a|"];
21 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 22 [label="Function call: R|<local>/a|.R|/A.foo|()"];
22 [label="Access variable R|<local>/b|"]; 23 [label="Access variable R|<local>/b|"];
23 [label="Type operator: (R|<local>/b| as R|B|)"]; 24 [label="Type operator: (R|<local>/b| as R|B|)"];
24 [label="Access variable R|<local>/b|"]; 25 [label="Access variable R|<local>/b|"];
25 [label="Function call: R|<local>/b|.R|/B.foo|()"]; 26 [label="Function call: R|<local>/b|.R|/B.foo|()"];
26 [label="Exit function test_0" style="filled" fillcolor=red]; 14 [label="Exit function test_0" style="filled" fillcolor=red];
} }
13 -> {15};
13 -> {14};
14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18};
@@ -81,68 +74,67 @@ digraph multipleCasts_kt {
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {14};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
27 [label="Enter function test_1" style="filled" fillcolor=red]; 27 [label="Enter function test_1" style="filled" fillcolor=red];
28 [label="Function call: R|/getAny|()"]; 29 [label="Function call: R|/getAny|()"];
29 [label="Variable declaration: lval a: R|kotlin/Any?|"]; 30 [label="Variable declaration: lval a: R|kotlin/Any?|"];
30 [label="Function call: R|/getAny|()"]; 31 [label="Function call: R|/getAny|()"];
31 [label="Variable declaration: lval b: R|kotlin/Any?|"]; 32 [label="Variable declaration: lval b: R|kotlin/Any?|"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
32 [label="Enter when"]; 33 [label="Enter when"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
33 [label="Enter when branch condition "]; 35 [label="Enter when branch condition "];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
34 [label="Enter &&"]; 37 [label="Enter &&"];
35 [label="Access variable R|<local>/a|"]; 38 [label="Access variable R|<local>/a|"];
36 [label="Type operator: (R|<local>/a| is R|A|)"]; 39 [label="Type operator: (R|<local>/a| is R|A|)"];
37 [label="Exit left part of &&"]; 40 [label="Exit left part of &&"];
38 [label="Enter right part of &&"]; 41 [label="Enter right part of &&"];
39 [label="Access variable R|<local>/b|"]; 42 [label="Access variable R|<local>/b|"];
40 [label="Type operator: (R|<local>/b| is R|B|)"]; 43 [label="Type operator: (R|<local>/b| is R|B|)"];
41 [label="Exit &&"]; 36 [label="Exit &&"];
} }
42 [label="Exit when branch condition"]; 44 [label="Exit when branch condition"];
} }
43 [label="Synthetic else branch"]; 53 [label="Synthetic else branch"];
44 [label="Enter when branch result"]; 45 [label="Enter when branch result"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
45 [label="Enter block"]; 46 [label="Enter block"];
46 [label="Access variable R|<local>/a|"]; 47 [label="Access variable R|<local>/a|"];
47 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 48 [label="Function call: R|<local>/a|.R|/A.foo|()"];
48 [label="Access variable R|<local>/b|"]; 49 [label="Access variable R|<local>/b|"];
49 [label="Function call: R|<local>/b|.R|/B.foo|()"]; 50 [label="Function call: R|<local>/b|.R|/B.foo|()"];
50 [label="Exit block"]; 51 [label="Exit block"];
} }
51 [label="Exit when branch result"]; 52 [label="Exit when branch result"];
52 [label="Exit when"]; 34 [label="Exit when"];
} }
53 [label="Exit function test_1" style="filled" fillcolor=red]; 28 [label="Exit function test_1" style="filled" fillcolor=red];
} }
27 -> {29};
27 -> {28};
28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34}; 33 -> {35};
34 -> {35}; 34 -> {28};
35 -> {36}; 35 -> {37};
36 -> {37}; 36 -> {44};
37 -> {41 38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {36 41};
41 -> {42}; 41 -> {42};
42 -> {44 43}; 42 -> {43};
43 -> {52}; 43 -> {36};
44 -> {45}; 44 -> {45 53};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {48};
@@ -150,6 +142,7 @@ digraph multipleCasts_kt {
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {34};
53 -> {34};
} }
File diff suppressed because it is too large Load Diff
@@ -8,53 +8,53 @@ digraph implicitReceiverAsWhenSubject_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red]; 0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
1 [label="Enter when"]; 2 [label="Enter when"];
2 [label="Access variable this@R|/test_1|"]; 4 [label="Access variable this@R|/test_1|"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
3 [label="Enter when branch condition "]; 5 [label="Enter when branch condition "];
4 [label="Type operator: ($subj$ is R|kotlin/collections/List<*>|)"]; 6 [label="Type operator: ($subj$ is R|kotlin/collections/List<*>|)"];
5 [label="Exit when branch condition"]; 7 [label="Exit when branch condition"];
} }
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
6 [label="Enter when branch condition "]; 14 [label="Enter when branch condition "];
7 [label="Type operator: ($subj$ is R|kotlin/String|)"]; 15 [label="Type operator: ($subj$ is R|kotlin/String|)"];
8 [label="Exit when branch condition"]; 16 [label="Exit when branch condition"];
} }
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
9 [label="Enter when branch condition else"]; 22 [label="Enter when branch condition else"];
10 [label="Exit when branch condition"]; 23 [label="Exit when branch condition"];
} }
11 [label="Enter when branch result"]; 24 [label="Enter when branch result"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
12 [label="Enter block"]; 25 [label="Enter block"];
13 [label="Const: Int(0)"]; 26 [label="Const: Int(0)"];
14 [label="Exit block"]; 27 [label="Exit block"];
} }
15 [label="Exit when branch result"]; 28 [label="Exit when branch result"];
16 [label="Enter when branch result"]; 17 [label="Enter when branch result"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
17 [label="Enter block"]; 18 [label="Enter block"];
18 [label="Access variable R|kotlin/String.length|"]; 19 [label="Access variable R|kotlin/String.length|"];
19 [label="Exit block"]; 20 [label="Exit block"];
} }
20 [label="Exit when branch result"]; 21 [label="Exit when branch result"];
21 [label="Enter when branch result"]; 8 [label="Enter when branch result"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
22 [label="Enter block"]; 9 [label="Enter block"];
23 [label="Access variable this@R|/test_1|"]; 10 [label="Access variable this@R|/test_1|"];
24 [label="Access variable R|kotlin/collections/List.size|"]; 11 [label="Access variable R|kotlin/collections/List.size|"];
25 [label="Exit block"]; 12 [label="Exit block"];
} }
26 [label="Exit when branch result"]; 13 [label="Exit when branch result"];
27 [label="Exit when"]; 3 [label="Exit when"];
} }
28 [label="Jump: ^test_1 when (this@R|/test_1|) { 29 [label="Jump: ^test_1 when (this@R|/test_1|) {
($subj$ is R|kotlin/collections/List<*>|) -> { ($subj$ is R|kotlin/collections/List<*>|) -> {
this@R|/test_1|.R|kotlin/collections/List.size| this@R|/test_1|.R|kotlin/collections/List.size|
} }
@@ -66,99 +66,98 @@ digraph implicitReceiverAsWhenSubject_kt {
} }
} }
"]; "];
29 [label="Stub" style="filled" fillcolor=gray]; 30 [label="Stub" style="filled" fillcolor=gray];
30 [label="Exit function test_1" style="filled" fillcolor=red]; 1 [label="Exit function test_1" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {4};
1 -> {2}; 3 -> {29};
2 -> {3};
3 -> {4};
4 -> {5}; 4 -> {5};
5 -> {21 6}; 5 -> {6};
6 -> {7}; 6 -> {7};
7 -> {8}; 7 -> {8 14};
8 -> {16 9}; 8 -> {9};
9 -> {10}; 9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {3};
14 -> {15}; 14 -> {15};
15 -> {27}; 15 -> {16};
16 -> {17}; 16 -> {17 22};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {27}; 20 -> {21};
21 -> {22}; 21 -> {3};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {30}; 28 -> {3};
28 -> {29} [style=dotted]; 29 -> {1};
29 -> {30} [style=dotted]; 29 -> {30} [style=dotted];
30 -> {1} [style=dotted];
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
31 [label="Enter function test_2" style="filled" fillcolor=red]; 31 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
32 [label="Enter when"]; 33 [label="Enter when"];
33 [label="Access variable this@R|/test_2|"]; 35 [label="Access variable this@R|/test_2|"];
34 [label="Variable declaration: lval x: R|kotlin/Any|"]; 36 [label="Variable declaration: lval x: R|kotlin/Any|"];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
35 [label="Enter when branch condition "]; 37 [label="Enter when branch condition "];
36 [label="Type operator: ($subj$ is R|kotlin/collections/List<*>|)"]; 38 [label="Type operator: ($subj$ is R|kotlin/collections/List<*>|)"];
37 [label="Exit when branch condition"]; 39 [label="Exit when branch condition"];
} }
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
38 [label="Enter when branch condition "]; 48 [label="Enter when branch condition "];
39 [label="Type operator: ($subj$ is R|kotlin/String|)"]; 49 [label="Type operator: ($subj$ is R|kotlin/String|)"];
40 [label="Exit when branch condition"]; 50 [label="Exit when branch condition"];
} }
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
41 [label="Enter when branch condition else"]; 58 [label="Enter when branch condition else"];
42 [label="Exit when branch condition"]; 59 [label="Exit when branch condition"];
} }
43 [label="Enter when branch result"]; 60 [label="Enter when branch result"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
44 [label="Enter block"]; 61 [label="Enter block"];
45 [label="Const: Int(0)"]; 62 [label="Const: Int(0)"];
63 [label="Exit block"];
}
64 [label="Exit when branch result"];
51 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/x|"];
54 [label="Access variable R|kotlin/String.length|"];
55 [label="Access variable R|kotlin/String.length|"];
56 [label="Exit block"];
}
57 [label="Exit when branch result"];
40 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
41 [label="Enter block"];
42 [label="Access variable R|<local>/x|"];
43 [label="Access variable R|kotlin/collections/List.size|"];
44 [label="Access variable this@R|/test_2|"];
45 [label="Access variable R|kotlin/collections/List.size|"];
46 [label="Exit block"]; 46 [label="Exit block"];
} }
47 [label="Exit when branch result"]; 47 [label="Exit when branch result"];
48 [label="Enter when branch result"]; 34 [label="Exit when"];
subgraph cluster_14 {
color=blue
49 [label="Enter block"];
50 [label="Access variable R|<local>/x|"];
51 [label="Access variable R|kotlin/String.length|"];
52 [label="Access variable R|kotlin/String.length|"];
53 [label="Exit block"];
}
54 [label="Exit when branch result"];
55 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
56 [label="Enter block"];
57 [label="Access variable R|<local>/x|"];
58 [label="Access variable R|kotlin/collections/List.size|"];
59 [label="Access variable this@R|/test_2|"];
60 [label="Access variable R|kotlin/collections/List.size|"];
61 [label="Exit block"];
}
62 [label="Exit when branch result"];
63 [label="Exit when"];
} }
64 [label="Jump: ^test_2 when (lval x: R|kotlin/Any| = this@R|/test_2|) { 65 [label="Jump: ^test_2 when (lval x: R|kotlin/Any| = this@R|/test_2|) {
($subj$ is R|kotlin/collections/List<*>|) -> { ($subj$ is R|kotlin/collections/List<*>|) -> {
R|<local>/x|.R|kotlin/collections/List.size| R|<local>/x|.R|kotlin/collections/List.size|
this@R|/test_2|.R|kotlin/collections/List.size| this@R|/test_2|.R|kotlin/collections/List.size|
@@ -172,45 +171,44 @@ digraph implicitReceiverAsWhenSubject_kt {
} }
} }
"]; "];
65 [label="Stub" style="filled" fillcolor=gray]; 66 [label="Stub" style="filled" fillcolor=gray];
66 [label="Exit function test_2" style="filled" fillcolor=red]; 32 [label="Exit function test_2" style="filled" fillcolor=red];
} }
31 -> {33};
31 -> {32}; 33 -> {35};
32 -> {33}; 34 -> {65};
33 -> {34};
34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37};
37 -> {55 38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40 48};
40 -> {48 41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {63}; 47 -> {34};
48 -> {49}; 48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51 58};
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {53};
53 -> {54}; 53 -> {54};
54 -> {63}; 54 -> {55};
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {57};
57 -> {58}; 57 -> {34};
58 -> {59}; 58 -> {59};
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {62};
62 -> {63}; 62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {66}; 64 -> {34};
64 -> {65} [style=dotted]; 65 -> {32};
65 -> {66} [style=dotted]; 65 -> {66} [style=dotted];
66 -> {32} [style=dotted];
} }
@@ -6,19 +6,17 @@ digraph implicitReceivers_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function <init>" style="filled" fillcolor=red]; 0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 2 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 1 [label="Exit function <init>" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {1};
1 -> {2};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
3 [label="Enter function foo" style="filled" fillcolor=red]; 3 [label="Enter function foo" style="filled" fillcolor=red];
4 [label="Exit function foo" style="filled" fillcolor=red]; 4 [label="Exit function foo" style="filled" fillcolor=red];
} }
3 -> {4}; 3 -> {4};
subgraph cluster_2 { subgraph cluster_2 {
@@ -26,25 +24,22 @@ digraph implicitReceivers_kt {
5 [label="Enter class A" style="filled" fillcolor=red]; 5 [label="Enter class A" style="filled" fillcolor=red];
6 [label="Exit class A" style="filled" fillcolor=red]; 6 [label="Exit class A" style="filled" fillcolor=red];
} }
5 -> {6} [color=green]; 5 -> {6} [color=green];
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
7 [label="Enter function <init>" style="filled" fillcolor=red]; 7 [label="Enter function <init>" style="filled" fillcolor=red];
8 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 9 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
9 [label="Exit function <init>" style="filled" fillcolor=red]; 8 [label="Exit function <init>" style="filled" fillcolor=red];
} }
7 -> {9};
7 -> {8}; 9 -> {8};
8 -> {9};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
10 [label="Enter function bar" style="filled" fillcolor=red]; 10 [label="Enter function bar" style="filled" fillcolor=red];
11 [label="Exit function bar" style="filled" fillcolor=red]; 11 [label="Exit function bar" style="filled" fillcolor=red];
} }
10 -> {11}; 10 -> {11};
subgraph cluster_5 { subgraph cluster_5 {
@@ -52,7 +47,6 @@ digraph implicitReceivers_kt {
12 [label="Enter class B" style="filled" fillcolor=red]; 12 [label="Enter class B" style="filled" fillcolor=red];
13 [label="Exit class B" style="filled" fillcolor=red]; 13 [label="Exit class B" style="filled" fillcolor=red];
} }
12 -> {13} [color=green]; 12 -> {13} [color=green];
subgraph cluster_6 { subgraph cluster_6 {
@@ -60,7 +54,6 @@ digraph implicitReceivers_kt {
14 [label="Enter function with" style="filled" fillcolor=red]; 14 [label="Enter function with" style="filled" fillcolor=red];
15 [label="Exit function with" style="filled" fillcolor=red]; 15 [label="Exit function with" style="filled" fillcolor=red];
} }
14 -> {15}; 14 -> {15};
subgraph cluster_7 { subgraph cluster_7 {
@@ -68,62 +61,60 @@ digraph implicitReceivers_kt {
16 [label="Enter function test_1" style="filled" fillcolor=red]; 16 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
17 [label="Enter when"]; 18 [label="Enter when"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
18 [label="Enter when branch condition "]; 20 [label="Enter when branch condition "];
19 [label="Access variable this@R|/test_1|"]; 21 [label="Access variable this@R|/test_1|"];
20 [label="Type operator: (this@R|/test_1| is R|A|)"]; 22 [label="Type operator: (this@R|/test_1| is R|A|)"];
21 [label="Exit when branch condition"]; 23 [label="Exit when branch condition"];
} }
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
22 [label="Enter when branch condition else"]; 31 [label="Enter when branch condition else"];
23 [label="Exit when branch condition"]; 32 [label="Exit when branch condition"];
} }
24 [label="Enter when branch result"]; 33 [label="Enter when branch result"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue
34 [label="Enter block"];
35 [label="Access variable this@R|/test_1|"];
36 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
37 [label="Function call: <Unresolved name: foo>#()"];
38 [label="Exit block"];
}
39 [label="Exit when branch result"];
24 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue color=blue
25 [label="Enter block"]; 25 [label="Enter block"];
26 [label="Access variable this@R|/test_1|"]; 26 [label="Access variable this@R|/test_1|"];
27 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"]; 27 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
28 [label="Function call: <Unresolved name: foo>#()"]; 28 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
29 [label="Exit block"]; 29 [label="Exit block"];
} }
30 [label="Exit when branch result"]; 30 [label="Exit when branch result"];
31 [label="Enter when branch result"]; 19 [label="Exit when"];
subgraph cluster_12 {
color=blue
32 [label="Enter block"];
33 [label="Access variable this@R|/test_1|"];
34 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
35 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
36 [label="Exit block"];
}
37 [label="Exit when branch result"];
38 [label="Exit when"];
} }
39 [label="Access variable this@R|/test_1|"]; 40 [label="Access variable this@R|/test_1|"];
40 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"]; 41 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
41 [label="Function call: <Unresolved name: foo>#()"]; 42 [label="Function call: <Unresolved name: foo>#()"];
42 [label="Exit function test_1" style="filled" fillcolor=red]; 17 [label="Exit function test_1" style="filled" fillcolor=red];
} }
16 -> {18};
16 -> {17}; 18 -> {20};
17 -> {18}; 19 -> {40};
18 -> {19};
19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {31 22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24 31};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {38}; 30 -> {19};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34}; 33 -> {34};
@@ -132,71 +123,70 @@ digraph implicitReceivers_kt {
36 -> {37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {19};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {17};
subgraph cluster_13 { subgraph cluster_13 {
color=red color=red
43 [label="Enter function test_2" style="filled" fillcolor=red]; 43 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
44 [label="Enter when"]; 45 [label="Enter when"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
45 [label="Enter when branch condition "]; 47 [label="Enter when branch condition "];
46 [label="Access variable this@R|/test_2|"]; 48 [label="Access variable this@R|/test_2|"];
47 [label="Type operator: (this@R|/test_2| !is R|A|)"]; 49 [label="Type operator: (this@R|/test_2| !is R|A|)"];
48 [label="Exit when branch condition"]; 50 [label="Exit when branch condition"];
} }
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
49 [label="Enter when branch condition else"]; 58 [label="Enter when branch condition else"];
50 [label="Exit when branch condition"]; 59 [label="Exit when branch condition"];
} }
51 [label="Enter when branch result"]; 60 [label="Enter when branch result"];
subgraph cluster_17 { subgraph cluster_17 {
color=blue
61 [label="Enter block"];
62 [label="Access variable this@R|/test_2|"];
63 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
64 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
65 [label="Exit block"];
}
66 [label="Exit when branch result"];
51 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue color=blue
52 [label="Enter block"]; 52 [label="Enter block"];
53 [label="Access variable this@R|/test_2|"]; 53 [label="Access variable this@R|/test_2|"];
54 [label="Function call: this@R|/test_2|.R|/A.foo|()"]; 54 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
55 [label="Function call: this@R|/test_2|.R|/A.foo|()"]; 55 [label="Function call: <Unresolved name: foo>#()"];
56 [label="Exit block"]; 56 [label="Exit block"];
} }
57 [label="Exit when branch result"]; 57 [label="Exit when branch result"];
58 [label="Enter when branch result"]; 46 [label="Exit when"];
subgraph cluster_18 {
color=blue
59 [label="Enter block"];
60 [label="Access variable this@R|/test_2|"];
61 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
62 [label="Function call: <Unresolved name: foo>#()"];
63 [label="Exit block"];
}
64 [label="Exit when branch result"];
65 [label="Exit when"];
} }
66 [label="Access variable this@R|/test_2|"]; 67 [label="Access variable this@R|/test_2|"];
67 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"]; 68 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
68 [label="Function call: <Unresolved name: foo>#()"]; 69 [label="Function call: <Unresolved name: foo>#()"];
69 [label="Exit function test_2" style="filled" fillcolor=red]; 44 [label="Exit function test_2" style="filled" fillcolor=red];
} }
43 -> {45};
43 -> {44}; 45 -> {47};
44 -> {45}; 46 -> {67};
45 -> {46};
46 -> {47};
47 -> {48}; 47 -> {48};
48 -> {58 49}; 48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51 58};
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {53};
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {57};
57 -> {65}; 57 -> {46};
58 -> {59}; 58 -> {59};
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {61};
@@ -205,209 +195,207 @@ digraph implicitReceivers_kt {
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {46};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {44};
subgraph cluster_19 { subgraph cluster_19 {
color=red color=red
70 [label="Enter function test_3" style="filled" fillcolor=red]; 70 [label="Enter function test_3" style="filled" fillcolor=red];
71 [label="Access variable R|<local>/a|"]; 72 [label="Access variable R|<local>/a|"];
72 [label="Postponed enter to lambda"]; 73 [label="Postponed enter to lambda"];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
73 [label="Enter function anonymousFunction"]; 75 [label="Enter function anonymousFunction"];
74 [label="Access variable R|<local>/b|"]; 77 [label="Access variable R|<local>/b|"];
75 [label="Postponed enter to lambda"]; 78 [label="Postponed enter to lambda"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
76 [label="Enter function anonymousFunction"]; 80 [label="Enter function anonymousFunction"];
77 [label="Access variable R|<local>/c|"]; 82 [label="Access variable R|<local>/c|"];
78 [label="Postponed enter to lambda"]; 83 [label="Postponed enter to lambda"];
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
79 [label="Enter function anonymousFunction"]; 85 [label="Enter function anonymousFunction"];
80 [label="Access variable this@R|special/anonymous|"]; 87 [label="Access variable this@R|special/anonymous|"];
81 [label="Type operator: (this@R|special/anonymous| as R|A|)"]; 88 [label="Type operator: (this@R|special/anonymous| as R|A|)"];
82 [label="Access variable this@R|special/anonymous|"]; 89 [label="Access variable this@R|special/anonymous|"];
83 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"]; 90 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
84 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"]; 91 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
85 [label="Exit function anonymousFunction"]; 86 [label="Exit function anonymousFunction"];
} }
86 [label="Call arguments union" style="filled" fillcolor=yellow]; 93 [label="Call arguments union" style="filled" fillcolor=yellow];
87 [label="Postponed exit from lambda"]; 84 [label="Postponed exit from lambda"];
88 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"]; 92 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
89 [label="Access variable this@R|special/anonymous|"]; 94 [label="Access variable this@R|special/anonymous|"];
90 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"]; 95 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
91 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"]; 96 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
92 [label="Exit function anonymousFunction"]; 81 [label="Exit function anonymousFunction"];
} }
93 [label="Postponed exit from lambda"]; 79 [label="Postponed exit from lambda"];
94 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"]; 97 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
95 [label="Exit function anonymousFunction"]; 76 [label="Exit function anonymousFunction"];
} }
96 [label="Call arguments union" style="filled" fillcolor=yellow]; 99 [label="Call arguments union" style="filled" fillcolor=yellow];
97 [label="Postponed exit from lambda"]; 74 [label="Postponed exit from lambda"];
98 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"]; 98 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
99 [label="Exit function test_3" style="filled" fillcolor=red]; 71 [label="Exit function test_3" style="filled" fillcolor=red];
} }
70 -> {72};
70 -> {71};
71 -> {72};
72 -> {73}; 72 -> {73};
72 -> {97} [color=red]; 73 -> {75};
73 -> {74}; 73 -> {74} [color=red];
74 -> {75}; 74 -> {98} [color=green];
75 -> {76}; 75 -> {77};
75 -> {93} [color=red]; 76 -> {74} [color=green];
76 -> {77}; 76 -> {99} [color=red];
77 -> {78}; 77 -> {78};
78 -> {79}; 78 -> {80};
78 -> {87} [color=red]; 78 -> {79} [color=red];
79 -> {80}; 79 -> {97};
80 -> {81}; 80 -> {82};
81 -> {82}; 81 -> {79} [color=green];
81 -> {99} [color=red];
82 -> {83}; 82 -> {83};
83 -> {84}; 83 -> {85};
84 -> {85}; 83 -> {84} [color=red];
85 -> {87} [color=green]; 84 -> {92} [color=green];
85 -> {86} [color=red]; 85 -> {87};
86 -> {88} [color=red]; 86 -> {84} [color=green];
87 -> {88} [color=green]; 86 -> {93} [color=red];
87 -> {88};
88 -> {89}; 88 -> {89};
89 -> {90}; 89 -> {90};
90 -> {91}; 90 -> {91};
91 -> {92}; 91 -> {86};
92 -> {93} [color=green]; 92 -> {94};
92 -> {96} [color=red]; 93 -> {92} [color=red];
93 -> {94};
94 -> {95}; 94 -> {95};
95 -> {97} [color=green]; 95 -> {96};
95 -> {96} [color=red]; 96 -> {81};
96 -> {98} [color=red]; 97 -> {76};
97 -> {98} [color=green]; 98 -> {71};
98 -> {99}; 99 -> {98} [color=red];
subgraph cluster_23 { subgraph cluster_23 {
color=red color=red
100 [label="Enter function test_4" style="filled" fillcolor=red]; 100 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_24 { subgraph cluster_24 {
color=blue color=blue
101 [label="Enter when"]; 102 [label="Enter when"];
subgraph cluster_25 { subgraph cluster_25 {
color=blue color=blue
102 [label="Enter when branch condition "]; 104 [label="Enter when branch condition "];
103 [label="Access variable this@R|/test_4|"]; 105 [label="Access variable this@R|/test_4|"];
104 [label="Type operator: (this@R|/test_4| !is R|A|)"]; 106 [label="Type operator: (this@R|/test_4| !is R|A|)"];
105 [label="Exit when branch condition"]; 107 [label="Exit when branch condition"];
} }
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
106 [label="Enter when branch condition else"]; 118 [label="Enter when branch condition else"];
107 [label="Exit when branch condition"]; 119 [label="Exit when branch condition"];
} }
108 [label="Enter when branch result"]; 120 [label="Enter when branch result"];
subgraph cluster_27 { subgraph cluster_27 {
color=blue color=blue
109 [label="Enter block"]; 121 [label="Enter block"];
subgraph cluster_28 { subgraph cluster_28 {
color=blue color=blue
110 [label="Enter when"]; 122 [label="Enter when"];
subgraph cluster_29 { subgraph cluster_29 {
color=blue color=blue
111 [label="Enter when branch condition "]; 124 [label="Enter when branch condition "];
112 [label="Access variable this@R|/test_4|"]; 125 [label="Access variable this@R|/test_4|"];
113 [label="Type operator: (this@R|/test_4| !is R|B|)"]; 126 [label="Type operator: (this@R|/test_4| !is R|B|)"];
114 [label="Exit when branch condition"]; 127 [label="Exit when branch condition"];
} }
subgraph cluster_30 { subgraph cluster_30 {
color=blue color=blue
115 [label="Enter when branch condition else"]; 138 [label="Enter when branch condition else"];
116 [label="Exit when branch condition"]; 139 [label="Exit when branch condition"];
} }
117 [label="Enter when branch result"]; 140 [label="Enter when branch result"];
subgraph cluster_31 { subgraph cluster_31 {
color=blue color=blue
118 [label="Enter block"]; 141 [label="Enter block"];
119 [label="Access variable this@R|/test_4|"]; 142 [label="Access variable this@R|/test_4|"];
120 [label="Function call: this@R|/test_4|.R|/A.foo|()"]; 143 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
121 [label="Function call: this@R|/test_4|.R|/A.foo|()"]; 144 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
122 [label="Access variable this@R|/test_4|"]; 145 [label="Access variable this@R|/test_4|"];
123 [label="Function call: this@R|/test_4|.R|/B.bar|()"]; 146 [label="Function call: this@R|/test_4|.R|/B.bar|()"];
124 [label="Function call: this@R|/test_4|.R|/B.bar|()"]; 147 [label="Function call: this@R|/test_4|.R|/B.bar|()"];
125 [label="Exit block"]; 148 [label="Exit block"];
} }
126 [label="Exit when branch result"]; 149 [label="Exit when branch result"];
127 [label="Enter when branch result"]; 128 [label="Enter when branch result"];
subgraph cluster_32 { subgraph cluster_32 {
color=blue color=blue
128 [label="Enter block"]; 129 [label="Enter block"];
129 [label="Access variable this@R|/test_4|"]; 130 [label="Access variable this@R|/test_4|"];
130 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"]; 131 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
131 [label="Function call: <Unresolved name: bar>#()"]; 132 [label="Function call: <Unresolved name: bar>#()"];
132 [label="Access variable this@R|/test_4|"]; 133 [label="Access variable this@R|/test_4|"];
133 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
134 [label="Function call: this@R|/test_4|.R|/A.foo|()"]; 134 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
135 [label="Exit block"]; 135 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
136 [label="Exit block"];
} }
136 [label="Exit when branch result"]; 137 [label="Exit when branch result"];
137 [label="Exit when"]; 123 [label="Exit when"];
} }
138 [label="Exit block"]; 150 [label="Exit block"];
} }
139 [label="Exit when branch result"]; 151 [label="Exit when branch result"];
140 [label="Enter when branch result"]; 108 [label="Enter when branch result"];
subgraph cluster_33 { subgraph cluster_33 {
color=blue color=blue
141 [label="Enter block"]; 109 [label="Enter block"];
142 [label="Access variable this@R|/test_4|"]; 110 [label="Access variable this@R|/test_4|"];
143 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"]; 111 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"];
144 [label="Function call: <Unresolved name: foo>#()"]; 112 [label="Function call: <Unresolved name: foo>#()"];
145 [label="Access variable this@R|/test_4|"]; 113 [label="Access variable this@R|/test_4|"];
146 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"]; 114 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
147 [label="Function call: <Unresolved name: bar>#()"]; 115 [label="Function call: <Unresolved name: bar>#()"];
148 [label="Exit block"]; 116 [label="Exit block"];
} }
149 [label="Exit when branch result"]; 117 [label="Exit when branch result"];
150 [label="Exit when"]; 103 [label="Exit when"];
} }
151 [label="Access variable this@R|/test_4|"]; 152 [label="Access variable this@R|/test_4|"];
152 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"]; 153 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"];
153 [label="Function call: <Unresolved name: foo>#()"]; 154 [label="Function call: <Unresolved name: foo>#()"];
154 [label="Access variable this@R|/test_4|"]; 155 [label="Access variable this@R|/test_4|"];
155 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"]; 156 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
156 [label="Function call: <Unresolved name: bar>#()"]; 157 [label="Function call: <Unresolved name: bar>#()"];
157 [label="Exit function test_4" style="filled" fillcolor=red]; 101 [label="Exit function test_4" style="filled" fillcolor=red];
} }
100 -> {102};
100 -> {101}; 102 -> {104};
101 -> {102}; 103 -> {152};
102 -> {103};
103 -> {104};
104 -> {105}; 104 -> {105};
105 -> {140 106}; 105 -> {106};
106 -> {107}; 106 -> {107};
107 -> {108}; 107 -> {108 118};
108 -> {109}; 108 -> {109};
109 -> {110}; 109 -> {110};
110 -> {111}; 110 -> {111};
111 -> {112}; 111 -> {112};
112 -> {113}; 112 -> {113};
113 -> {114}; 113 -> {114};
114 -> {127 115}; 114 -> {115};
115 -> {116}; 115 -> {116};
116 -> {117}; 116 -> {117};
117 -> {118}; 117 -> {103};
118 -> {119}; 118 -> {119};
119 -> {120}; 119 -> {120};
120 -> {121}; 120 -> {121};
121 -> {122}; 121 -> {122};
122 -> {123}; 122 -> {124};
123 -> {124}; 123 -> {150};
124 -> {125}; 124 -> {125};
125 -> {126}; 125 -> {126};
126 -> {137}; 126 -> {127};
127 -> {128}; 127 -> {128 138};
128 -> {129}; 128 -> {129};
129 -> {130}; 129 -> {130};
130 -> {131}; 130 -> {131};
@@ -417,9 +405,9 @@ digraph implicitReceivers_kt {
134 -> {135}; 134 -> {135};
135 -> {136}; 135 -> {136};
136 -> {137}; 136 -> {137};
137 -> {138}; 137 -> {123};
138 -> {139}; 138 -> {139};
139 -> {150}; 139 -> {140};
140 -> {141}; 140 -> {141};
141 -> {142}; 141 -> {142};
142 -> {143}; 142 -> {143};
@@ -429,48 +417,49 @@ digraph implicitReceivers_kt {
146 -> {147}; 146 -> {147};
147 -> {148}; 147 -> {148};
148 -> {149}; 148 -> {149};
149 -> {150}; 149 -> {123};
150 -> {151}; 150 -> {151};
151 -> {152}; 151 -> {103};
152 -> {153}; 152 -> {153};
153 -> {154}; 153 -> {154};
154 -> {155}; 154 -> {155};
155 -> {156}; 155 -> {156};
156 -> {157}; 156 -> {157};
157 -> {101};
subgraph cluster_34 { subgraph cluster_34 {
color=red color=red
158 [label="Enter function test_5" style="filled" fillcolor=red]; 158 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_35 { subgraph cluster_35 {
color=blue color=blue
159 [label="Enter when"]; 160 [label="Enter when"];
subgraph cluster_36 { subgraph cluster_36 {
color=blue color=blue
160 [label="Enter when branch condition "]; 162 [label="Enter when branch condition "];
161 [label="Access variable this@R|/test_5|"]; 163 [label="Access variable this@R|/test_5|"];
162 [label="Type operator: (this@R|/test_5| is R|kotlin/collections/List<*>|)"]; 164 [label="Type operator: (this@R|/test_5| is R|kotlin/collections/List<*>|)"];
163 [label="Exit when branch condition"]; 165 [label="Exit when branch condition"];
} }
subgraph cluster_37 { subgraph cluster_37 {
color=blue color=blue
164 [label="Enter when branch condition "]; 171 [label="Enter when branch condition "];
165 [label="Access variable this@R|/test_5|"]; 172 [label="Access variable this@R|/test_5|"];
166 [label="Type operator: (this@R|/test_5| is R|kotlin/String|)"]; 173 [label="Type operator: (this@R|/test_5| is R|kotlin/String|)"];
167 [label="Exit when branch condition"]; 174 [label="Exit when branch condition"];
} }
subgraph cluster_38 { subgraph cluster_38 {
color=blue color=blue
168 [label="Enter when branch condition else"]; 180 [label="Enter when branch condition else"];
169 [label="Exit when branch condition"]; 181 [label="Exit when branch condition"];
} }
170 [label="Enter when branch result"]; 182 [label="Enter when branch result"];
subgraph cluster_39 { subgraph cluster_39 {
color=blue color=blue
171 [label="Enter block"]; 183 [label="Enter block"];
172 [label="Const: Int(0)"]; 184 [label="Const: Int(0)"];
173 [label="Exit block"]; 185 [label="Exit block"];
} }
174 [label="Exit when branch result"]; 186 [label="Exit when branch result"];
175 [label="Enter when branch result"]; 175 [label="Enter when branch result"];
subgraph cluster_40 { subgraph cluster_40 {
color=blue color=blue
@@ -479,17 +468,17 @@ digraph implicitReceivers_kt {
178 [label="Exit block"]; 178 [label="Exit block"];
} }
179 [label="Exit when branch result"]; 179 [label="Exit when branch result"];
180 [label="Enter when branch result"]; 166 [label="Enter when branch result"];
subgraph cluster_41 { subgraph cluster_41 {
color=blue color=blue
181 [label="Enter block"]; 167 [label="Enter block"];
182 [label="Access variable R|kotlin/collections/List.size|"]; 168 [label="Access variable R|kotlin/collections/List.size|"];
183 [label="Exit block"]; 169 [label="Exit block"];
} }
184 [label="Exit when branch result"]; 170 [label="Exit when branch result"];
185 [label="Exit when"]; 161 [label="Exit when"];
} }
186 [label="Jump: ^test_5 when () { 187 [label="Jump: ^test_5 when () {
(this@R|/test_5| is R|kotlin/collections/List<*>|) -> { (this@R|/test_5| is R|kotlin/collections/List<*>|) -> {
this@R|/test_5|.R|kotlin/collections/List.size| this@R|/test_5|.R|kotlin/collections/List.size|
} }
@@ -501,60 +490,58 @@ digraph implicitReceivers_kt {
} }
} }
"]; "];
187 [label="Stub" style="filled" fillcolor=gray]; 188 [label="Stub" style="filled" fillcolor=gray];
188 [label="Exit function test_5" style="filled" fillcolor=red]; 159 [label="Exit function test_5" style="filled" fillcolor=red];
} }
158 -> {160};
158 -> {159}; 160 -> {162};
159 -> {160}; 161 -> {187};
160 -> {161};
161 -> {162};
162 -> {163}; 162 -> {163};
163 -> {180 164}; 163 -> {164};
164 -> {165}; 164 -> {165};
165 -> {166}; 165 -> {166 171};
166 -> {167}; 166 -> {167};
167 -> {175 168}; 167 -> {168};
168 -> {169}; 168 -> {169};
169 -> {170}; 169 -> {170};
170 -> {171}; 170 -> {161};
171 -> {172}; 171 -> {172};
172 -> {173}; 172 -> {173};
173 -> {174}; 173 -> {174};
174 -> {185}; 174 -> {175 180};
175 -> {176}; 175 -> {176};
176 -> {177}; 176 -> {177};
177 -> {178}; 177 -> {178};
178 -> {179}; 178 -> {179};
179 -> {185}; 179 -> {161};
180 -> {181}; 180 -> {181};
181 -> {182}; 181 -> {182};
182 -> {183}; 182 -> {183};
183 -> {184}; 183 -> {184};
184 -> {185}; 184 -> {185};
185 -> {186}; 185 -> {186};
186 -> {188}; 186 -> {161};
186 -> {187} [style=dotted]; 187 -> {159};
187 -> {188} [style=dotted]; 187 -> {188} [style=dotted];
188 -> {159} [style=dotted];
subgraph cluster_42 { subgraph cluster_42 {
color=red color=red
189 [label="Enter function test_6" style="filled" fillcolor=red]; 189 [label="Enter function test_6" style="filled" fillcolor=red];
190 [label="Access variable this@R|/test_6|"]; 191 [label="Access variable this@R|/test_6|"];
191 [label="Type operator: (this@R|/test_6| as R|kotlin/collections/List<*>|)"]; 192 [label="Type operator: (this@R|/test_6| as R|kotlin/collections/List<*>|)"];
192 [label="Access variable R|kotlin/collections/List.size|"]; 193 [label="Access variable R|kotlin/collections/List.size|"];
193 [label="Access variable this@R|/test_6|"]; 194 [label="Access variable this@R|/test_6|"];
194 [label="Type operator: (this@R|/test_6| as R|kotlin/String|)"]; 195 [label="Type operator: (this@R|/test_6| as R|kotlin/String|)"];
195 [label="Access variable R|kotlin/String.length|"]; 196 [label="Access variable R|kotlin/String.length|"];
196 [label="Exit function test_6" style="filled" fillcolor=red]; 190 [label="Exit function test_6" style="filled" fillcolor=red];
} }
189 -> {191};
189 -> {190};
190 -> {191};
191 -> {192}; 191 -> {192};
192 -> {193}; 192 -> {193};
193 -> {194}; 193 -> {194};
194 -> {195}; 194 -> {195};
195 -> {196}; 195 -> {196};
196 -> {190};
} }
@@ -8,7 +8,6 @@ digraph thisOfExtensionProperty_kt {
0 [label="Enter class A" style="filled" fillcolor=red]; 0 [label="Enter class A" style="filled" fillcolor=red];
1 [label="Exit class A" style="filled" fillcolor=red]; 1 [label="Exit class A" style="filled" fillcolor=red];
} }
0 -> {1} [color=green]; 0 -> {1} [color=green];
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,60 +15,56 @@ digraph thisOfExtensionProperty_kt {
2 [label="Enter function getter" style="filled" fillcolor=red]; 2 [label="Enter function getter" style="filled" fillcolor=red];
3 [label="Exit function getter" style="filled" fillcolor=red]; 3 [label="Exit function getter" style="filled" fillcolor=red];
} }
2 -> {3}; 2 -> {3};
subgraph cluster_2 { 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 color=red
6 [label="Enter class B" style="filled" fillcolor=red]; 6 [label="Enter class B" 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 B" style="filled" fillcolor=red]; 7 [label="Exit class B" style="filled" fillcolor=red];
} }
6 -> {4} [color=green];
4 -> {5};
5 -> {7} [color=green];
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
8 [label="Enter function getter" style="filled" fillcolor=red]; 8 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
9 [label="Enter &&"]; 11 [label="Enter &&"];
10 [label="Access variable this@R|/check_1|"]; 12 [label="Access variable this@R|/check_1|"];
11 [label="Type operator: (this@R|/check_1| is R|B|)"]; 13 [label="Type operator: (this@R|/check_1| is R|B|)"];
12 [label="Exit left part of &&"]; 14 [label="Exit left part of &&"];
13 [label="Enter right part of &&"]; 15 [label="Enter right part of &&"];
14 [label="Access variable R|/B.b|"]; 16 [label="Access variable R|/B.b|"];
15 [label="Exit &&"]; 10 [label="Exit &&"];
} }
16 [label="Jump: ^ (this@R|/check_1| is R|B|) && this@R|/check_1|.R|/B.b|"]; 17 [label="Jump: ^ (this@R|/check_1| is R|B|) && this@R|/check_1|.R|/B.b|"];
17 [label="Stub" style="filled" fillcolor=gray]; 18 [label="Stub" style="filled" fillcolor=gray];
18 [label="Exit function getter" style="filled" fillcolor=red]; 9 [label="Exit function getter" style="filled" fillcolor=red];
} }
8 -> {11};
8 -> {9}; 10 -> {17};
9 -> {10};
10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {15 13}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {10 15};
15 -> {16}; 15 -> {16};
16 -> {18}; 16 -> {10};
16 -> {17} [style=dotted]; 17 -> {9};
17 -> {18} [style=dotted]; 17 -> {18} [style=dotted];
18 -> {9} [style=dotted];
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
19 [label="Enter property" style="filled" fillcolor=red]; 19 [label="Enter property" style="filled" fillcolor=red];
20 [label="Exit property" style="filled" fillcolor=red]; 20 [label="Exit property" style="filled" fillcolor=red];
} }
19 -> {20}; 19 -> {20};
subgraph cluster_7 { subgraph cluster_7 {
@@ -77,39 +72,37 @@ digraph thisOfExtensionProperty_kt {
21 [label="Enter function getter" style="filled" fillcolor=red]; 21 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
22 [label="Enter &&"]; 24 [label="Enter &&"];
23 [label="Access variable this@R|/check_2|"]; 25 [label="Access variable this@R|/check_2|"];
24 [label="Type operator: (this@R|/check_2| is R|B|)"]; 26 [label="Type operator: (this@R|/check_2| is R|B|)"];
25 [label="Exit left part of &&"]; 27 [label="Exit left part of &&"];
26 [label="Enter right part of &&"]; 28 [label="Enter right part of &&"];
27 [label="Access variable this@R|/check_2|"]; 29 [label="Access variable this@R|/check_2|"];
28 [label="Access variable R|/B.b|"]; 30 [label="Access variable R|/B.b|"];
29 [label="Exit &&"]; 23 [label="Exit &&"];
} }
30 [label="Jump: ^ (this@R|/check_2| is R|B|) && this@R|/check_2|.R|/B.b|"]; 31 [label="Jump: ^ (this@R|/check_2| is R|B|) && this@R|/check_2|.R|/B.b|"];
31 [label="Stub" style="filled" fillcolor=gray]; 32 [label="Stub" style="filled" fillcolor=gray];
32 [label="Exit function getter" style="filled" fillcolor=red]; 22 [label="Exit function getter" style="filled" fillcolor=red];
} }
21 -> {24};
21 -> {22}; 23 -> {31};
22 -> {23};
23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {29 26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {23 28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {32}; 30 -> {23};
30 -> {31} [style=dotted]; 31 -> {22};
31 -> {32} [style=dotted]; 31 -> {32} [style=dotted];
32 -> {22} [style=dotted];
subgraph cluster_9 { subgraph cluster_9 {
color=red color=red
33 [label="Enter property" style="filled" fillcolor=red]; 33 [label="Enter property" style="filled" fillcolor=red];
34 [label="Exit property" style="filled" fillcolor=red]; 34 [label="Exit property" style="filled" fillcolor=red];
} }
33 -> {34}; 33 -> {34};
} }
@@ -6,255 +6,246 @@ digraph assignSafeCall_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function <init>" style="filled" fillcolor=red]; 0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 2 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 1 [label="Exit function <init>" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {1};
1 -> {2};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
3 [label="Enter function foo" style="filled" fillcolor=red]; 3 [label="Enter function foo" style="filled" fillcolor=red];
4 [label="Const: Int(1)"]; 5 [label="Const: Int(1)"];
5 [label="Jump: ^foo Int(1)"]; 6 [label="Jump: ^foo Int(1)"];
6 [label="Stub" style="filled" fillcolor=gray]; 7 [label="Stub" style="filled" fillcolor=gray];
7 [label="Exit function foo" style="filled" fillcolor=red]; 4 [label="Exit function foo" style="filled" fillcolor=red];
} }
3 -> {5};
3 -> {4}; 5 -> {6};
4 -> {5}; 6 -> {4};
5 -> {7};
5 -> {6} [style=dotted];
6 -> {7} [style=dotted]; 6 -> {7} [style=dotted];
7 -> {4} [style=dotted];
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
8 [label="Enter function getter" style="filled" fillcolor=red]; 8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red]; 9 [label="Exit function getter" style="filled" fillcolor=red];
} }
8 -> {9}; 8 -> {9};
subgraph cluster_3 { subgraph cluster_3 {
color=red
10 [label="Enter property" style="filled" fillcolor=red];
11 [label="Const: Int(1)"];
12 [label="Exit property" style="filled" fillcolor=red];
}
10 -> {11};
11 -> {12};
subgraph cluster_4 {
color=red color=red
13 [label="Enter function bar" style="filled" fillcolor=red]; 13 [label="Enter function bar" style="filled" fillcolor=red];
14 [label="Exit function bar" style="filled" fillcolor=red]; 14 [label="Exit function bar" style="filled" fillcolor=red];
} }
13 -> {14}; 13 -> {14};
subgraph cluster_5 { subgraph cluster_4 {
color=red color=red
15 [label="Enter class A" style="filled" fillcolor=red]; 15 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
10 [label="Enter property" style="filled" fillcolor=red];
12 [label="Const: Int(1)"];
11 [label="Exit property" style="filled" fillcolor=red];
}
16 [label="Exit class A" style="filled" fillcolor=red]; 16 [label="Exit class A" style="filled" fillcolor=red];
} }
15 -> {10} [color=green];
10 -> {12};
11 -> {16} [color=green];
12 -> {11};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
17 [label="Enter function test_1" style="filled" fillcolor=red]; 17 [label="Enter function test_1" style="filled" fillcolor=red];
18 [label="Access variable R|<local>/a|"]; 19 [label="Access variable R|<local>/a|"];
19 [label="Enter safe call"]; 20 [label="Enter safe call"];
20 [label="Access variable R|/A.x|"]; 22 [label="Access variable R|/A.x|"];
21 [label="Exit safe call"]; 21 [label="Exit safe call"];
22 [label="Variable declaration: lval x: R|kotlin/Int?|"]; 23 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
23 [label="Enter when"]; 24 [label="Enter when"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
24 [label="Enter when branch condition "]; 26 [label="Enter when branch condition "];
25 [label="Access variable R|<local>/x|"]; 27 [label="Access variable R|<local>/x|"];
26 [label="Const: Null(null)"]; 28 [label="Const: Null(null)"];
27 [label="Operator !="]; 29 [label="Operator !="];
28 [label="Exit when branch condition"]; 30 [label="Exit when branch condition"];
} }
29 [label="Synthetic else branch"]; 37 [label="Synthetic else branch"];
30 [label="Enter when branch result"]; 31 [label="Enter when branch result"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
31 [label="Enter block"]; 32 [label="Enter block"];
32 [label="Access variable R|<local>/a|"]; 33 [label="Access variable R|<local>/a|"];
33 [label="Function call: R|<local>/a|.R|/A.bar|()"]; 34 [label="Function call: R|<local>/a|.R|/A.bar|()"];
34 [label="Exit block"]; 35 [label="Exit block"];
} }
35 [label="Exit when branch result"]; 36 [label="Exit when branch result"];
36 [label="Exit when"]; 25 [label="Exit when"];
} }
37 [label="Exit function test_1" style="filled" fillcolor=red]; 18 [label="Exit function test_1" style="filled" fillcolor=red];
} }
17 -> {19};
17 -> {18}; 19 -> {20 21};
18 -> {19 21}; 20 -> {22};
19 -> {20}; 21 -> {23};
20 -> {21}; 22 -> {21};
21 -> {22};
22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {26};
25 -> {26}; 25 -> {18};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {28};
28 -> {30 29}; 28 -> {29};
29 -> {36}; 29 -> {30};
30 -> {31}; 30 -> {31 37};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34}; 33 -> {34};
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {25};
37 -> {25};
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
38 [label="Enter function test_2" style="filled" fillcolor=red]; 38 [label="Enter function test_2" style="filled" fillcolor=red];
39 [label="Access variable R|<local>/a|"]; 40 [label="Access variable R|<local>/a|"];
40 [label="Enter safe call"]; 41 [label="Enter safe call"];
41 [label="Function call: R|<local>/a|?.R|/A.foo|()"]; 43 [label="Function call: R|<local>/a|?.R|/A.foo|()"];
42 [label="Exit safe call"]; 42 [label="Exit safe call"];
43 [label="Variable declaration: lval x: R|kotlin/Int?|"]; 44 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
44 [label="Enter when"]; 45 [label="Enter when"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
45 [label="Enter when branch condition "]; 47 [label="Enter when branch condition "];
46 [label="Access variable R|<local>/x|"]; 48 [label="Access variable R|<local>/x|"];
47 [label="Const: Null(null)"]; 49 [label="Const: Null(null)"];
48 [label="Operator !="]; 50 [label="Operator !="];
49 [label="Exit when branch condition"]; 51 [label="Exit when branch condition"];
} }
50 [label="Synthetic else branch"]; 58 [label="Synthetic else branch"];
51 [label="Enter when branch result"]; 52 [label="Enter when branch result"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
52 [label="Enter block"]; 53 [label="Enter block"];
53 [label="Access variable R|<local>/a|"]; 54 [label="Access variable R|<local>/a|"];
54 [label="Function call: R|<local>/a|.R|/A.bar|()"]; 55 [label="Function call: R|<local>/a|.R|/A.bar|()"];
55 [label="Exit block"]; 56 [label="Exit block"];
} }
56 [label="Exit when branch result"]; 57 [label="Exit when branch result"];
57 [label="Exit when"]; 46 [label="Exit when"];
} }
58 [label="Exit function test_2" style="filled" fillcolor=red]; 39 [label="Exit function test_2" style="filled" fillcolor=red];
} }
38 -> {40};
38 -> {39}; 40 -> {41 42};
39 -> {40 42}; 41 -> {43};
40 -> {41}; 42 -> {44};
41 -> {42}; 43 -> {42};
42 -> {43};
43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {47};
46 -> {47}; 46 -> {39};
47 -> {48}; 47 -> {48};
48 -> {49}; 48 -> {49};
49 -> {51 50}; 49 -> {50};
50 -> {57}; 50 -> {51};
51 -> {52}; 51 -> {52 58};
52 -> {53}; 52 -> {53};
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {57};
57 -> {58}; 57 -> {46};
58 -> {46};
subgraph cluster_14 { subgraph cluster_14 {
color=red color=red
59 [label="Enter function test_3" style="filled" fillcolor=red]; 59 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
60 [label="Enter when"]; 61 [label="Enter when"];
61 [label="Access variable R|<local>/x|"]; 63 [label="Access variable R|<local>/x|"];
62 [label="Type operator: (R|<local>/x| as? R|A|)"]; 64 [label="Type operator: (R|<local>/x| as? R|A|)"];
63 [label="Variable declaration: lval <elvis>: R|A?|"]; 65 [label="Variable declaration: lval <elvis>: R|A?|"];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
64 [label="Enter when branch condition "]; 66 [label="Enter when branch condition "];
65 [label="Const: Null(null)"]; 67 [label="Const: Null(null)"];
66 [label="Operator =="]; 68 [label="Operator =="];
67 [label="Exit when branch condition"]; 69 [label="Exit when branch condition"];
} }
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
68 [label="Enter when branch condition else"]; 76 [label="Enter when branch condition else"];
69 [label="Exit when branch condition"]; 77 [label="Exit when branch condition"];
} }
70 [label="Enter when branch result"]; 78 [label="Enter when branch result"];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
71 [label="Enter block"]; 79 [label="Enter block"];
72 [label="Access variable R|<local>/<elvis>|"]; 80 [label="Access variable R|<local>/<elvis>|"];
73 [label="Exit block"]; 81 [label="Exit block"];
} }
74 [label="Exit when branch result"]; 82 [label="Exit when branch result"];
75 [label="Enter when branch result"]; 70 [label="Enter when branch result"];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
76 [label="Enter block"]; 71 [label="Enter block"];
77 [label="Jump: ^test_3 Unit"]; 72 [label="Jump: ^test_3 Unit"];
78 [label="Stub" style="filled" fillcolor=gray]; 73 [label="Stub" style="filled" fillcolor=gray];
79 [label="Exit block" style="filled" fillcolor=gray]; 74 [label="Exit block" style="filled" fillcolor=gray];
} }
80 [label="Exit when branch result" style="filled" fillcolor=gray]; 75 [label="Exit when branch result" style="filled" fillcolor=gray];
81 [label="Exit when"]; 62 [label="Exit when"];
} }
82 [label="Variable declaration: lval a: R|A|"]; 83 [label="Variable declaration: lval a: R|A|"];
83 [label="Access variable R|<local>/a|"]; 84 [label="Access variable R|<local>/a|"];
84 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 85 [label="Function call: R|<local>/a|.R|/A.foo|()"];
85 [label="Access variable R|<local>/x|"]; 86 [label="Access variable R|<local>/x|"];
86 [label="Function call: R|<local>/x|.R|/A.foo|()"]; 87 [label="Function call: R|<local>/x|.R|/A.foo|()"];
87 [label="Exit function test_3" style="filled" fillcolor=red]; 60 [label="Exit function test_3" style="filled" fillcolor=red];
} }
59 -> {61};
59 -> {60}; 61 -> {63};
60 -> {61}; 62 -> {83};
61 -> {62};
62 -> {63};
63 -> {64}; 63 -> {64};
64 -> {65}; 64 -> {65};
65 -> {66}; 65 -> {66};
66 -> {67}; 66 -> {67};
67 -> {75 68}; 67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {70}; 69 -> {70 76};
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {72};
72 -> {73}; 72 -> {60};
73 -> {74}; 72 -> {73} [style=dotted];
74 -> {81}; 73 -> {74} [style=dotted];
75 -> {76}; 74 -> {75} [style=dotted];
75 -> {62} [style=dotted];
76 -> {77}; 76 -> {77};
77 -> {87}; 77 -> {78};
77 -> {78} [style=dotted]; 78 -> {79};
78 -> {79} [style=dotted]; 79 -> {80};
79 -> {80} [style=dotted]; 80 -> {81};
80 -> {81} [style=dotted];
81 -> {82}; 81 -> {82};
82 -> {83}; 82 -> {62};
83 -> {84}; 83 -> {84};
84 -> {85}; 84 -> {85};
85 -> {86}; 85 -> {86};
86 -> {87}; 86 -> {87};
87 -> {60};
subgraph cluster_20 { subgraph cluster_20 {
color=red color=red
88 [label="Enter function foo" style="filled" fillcolor=red]; 88 [label="Enter function foo" style="filled" fillcolor=red];
89 [label="Exit function foo" style="filled" fillcolor=red]; 89 [label="Exit function foo" style="filled" fillcolor=red];
} }
88 -> {89}; 88 -> {89};
subgraph cluster_21 { subgraph cluster_21 {
@@ -262,218 +253,212 @@ digraph assignSafeCall_kt {
90 [label="Enter function getter" style="filled" fillcolor=red]; 90 [label="Enter function getter" style="filled" fillcolor=red];
91 [label="Exit function getter" style="filled" fillcolor=red]; 91 [label="Exit function getter" style="filled" fillcolor=red];
} }
90 -> {91}; 90 -> {91};
subgraph cluster_22 { subgraph cluster_22 {
color=red
92 [label="Enter property" style="filled" fillcolor=red];
93 [label="Exit property" style="filled" fillcolor=red];
}
92 -> {93};
subgraph cluster_23 {
color=red color=red
94 [label="Enter function bar" style="filled" fillcolor=red]; 94 [label="Enter function bar" style="filled" fillcolor=red];
95 [label="Exit function bar" style="filled" fillcolor=red]; 95 [label="Exit function bar" style="filled" fillcolor=red];
} }
94 -> {95}; 94 -> {95};
subgraph cluster_24 { subgraph cluster_23 {
color=red color=red
96 [label="Enter class B" style="filled" fillcolor=red]; 96 [label="Enter class B" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
92 [label="Enter property" style="filled" fillcolor=red];
93 [label="Exit property" style="filled" fillcolor=red];
}
97 [label="Exit class B" style="filled" fillcolor=red]; 97 [label="Exit class B" style="filled" fillcolor=red];
} }
96 -> {92} [color=green];
92 -> {93};
93 -> {97} [color=green];
subgraph cluster_25 { subgraph cluster_25 {
color=red color=red
98 [label="Enter function test_1" style="filled" fillcolor=red]; 98 [label="Enter function test_1" style="filled" fillcolor=red];
99 [label="Access variable R|<local>/a|"]; 100 [label="Access variable R|<local>/a|"];
100 [label="Enter safe call"]; 101 [label="Enter safe call"];
101 [label="Access variable R|/B.x|"]; 103 [label="Access variable R|/B.x|"];
102 [label="Exit safe call"]; 102 [label="Exit safe call"];
103 [label="Variable declaration: lval x: R|kotlin/Int?|"]; 104 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_26 { subgraph cluster_26 {
color=blue color=blue
104 [label="Enter when"]; 105 [label="Enter when"];
subgraph cluster_27 { subgraph cluster_27 {
color=blue color=blue
105 [label="Enter when branch condition "]; 107 [label="Enter when branch condition "];
106 [label="Access variable R|<local>/x|"]; 108 [label="Access variable R|<local>/x|"];
107 [label="Const: Null(null)"]; 109 [label="Const: Null(null)"];
108 [label="Operator !="]; 110 [label="Operator !="];
109 [label="Exit when branch condition"]; 111 [label="Exit when branch condition"];
} }
110 [label="Synthetic else branch"]; 118 [label="Synthetic else branch"];
111 [label="Enter when branch result"]; 112 [label="Enter when branch result"];
subgraph cluster_28 { subgraph cluster_28 {
color=blue color=blue
112 [label="Enter block"]; 113 [label="Enter block"];
113 [label="Access variable R|<local>/a|"]; 114 [label="Access variable R|<local>/a|"];
114 [label="Function call: R|<local>/a|.R|/B.bar|()"]; 115 [label="Function call: R|<local>/a|.R|/B.bar|()"];
115 [label="Exit block"]; 116 [label="Exit block"];
} }
116 [label="Exit when branch result"]; 117 [label="Exit when branch result"];
117 [label="Exit when"]; 106 [label="Exit when"];
} }
118 [label="Exit function test_1" style="filled" fillcolor=red]; 99 [label="Exit function test_1" style="filled" fillcolor=red];
} }
98 -> {100};
98 -> {99}; 100 -> {101 102};
99 -> {100 102}; 101 -> {103};
100 -> {101}; 102 -> {104};
101 -> {102}; 103 -> {102};
102 -> {103};
103 -> {104};
104 -> {105}; 104 -> {105};
105 -> {106}; 105 -> {107};
106 -> {107}; 106 -> {99};
107 -> {108}; 107 -> {108};
108 -> {109}; 108 -> {109};
109 -> {111 110}; 109 -> {110};
110 -> {117}; 110 -> {111};
111 -> {112}; 111 -> {112 118};
112 -> {113}; 112 -> {113};
113 -> {114}; 113 -> {114};
114 -> {115}; 114 -> {115};
115 -> {116}; 115 -> {116};
116 -> {117}; 116 -> {117};
117 -> {118}; 117 -> {106};
118 -> {106};
subgraph cluster_29 { subgraph cluster_29 {
color=red color=red
119 [label="Enter function test_2" style="filled" fillcolor=red]; 119 [label="Enter function test_2" style="filled" fillcolor=red];
120 [label="Access variable R|<local>/a|"]; 121 [label="Access variable R|<local>/a|"];
121 [label="Enter safe call"]; 122 [label="Enter safe call"];
122 [label="Function call: R|<local>/a|?.R|/B.foo|()"]; 124 [label="Function call: R|<local>/a|?.R|/B.foo|()"];
123 [label="Exit safe call"]; 123 [label="Exit safe call"];
124 [label="Variable declaration: lval x: R|kotlin/Int?|"]; 125 [label="Variable declaration: lval x: R|kotlin/Int?|"];
subgraph cluster_30 { subgraph cluster_30 {
color=blue color=blue
125 [label="Enter when"]; 126 [label="Enter when"];
subgraph cluster_31 { subgraph cluster_31 {
color=blue color=blue
126 [label="Enter when branch condition "]; 128 [label="Enter when branch condition "];
127 [label="Access variable R|<local>/x|"]; 129 [label="Access variable R|<local>/x|"];
128 [label="Const: Null(null)"]; 130 [label="Const: Null(null)"];
129 [label="Operator !="]; 131 [label="Operator !="];
130 [label="Exit when branch condition"]; 132 [label="Exit when branch condition"];
} }
131 [label="Synthetic else branch"]; 139 [label="Synthetic else branch"];
132 [label="Enter when branch result"]; 133 [label="Enter when branch result"];
subgraph cluster_32 { subgraph cluster_32 {
color=blue color=blue
133 [label="Enter block"]; 134 [label="Enter block"];
134 [label="Access variable R|<local>/a|"]; 135 [label="Access variable R|<local>/a|"];
135 [label="Function call: R|<local>/a|.R|/B.bar|()"]; 136 [label="Function call: R|<local>/a|.R|/B.bar|()"];
136 [label="Exit block"]; 137 [label="Exit block"];
} }
137 [label="Exit when branch result"]; 138 [label="Exit when branch result"];
138 [label="Exit when"]; 127 [label="Exit when"];
} }
139 [label="Exit function test_2" style="filled" fillcolor=red]; 120 [label="Exit function test_2" style="filled" fillcolor=red];
} }
119 -> {121};
119 -> {120}; 121 -> {122 123};
120 -> {121 123}; 122 -> {124};
121 -> {122}; 123 -> {125};
122 -> {123}; 124 -> {123};
123 -> {124};
124 -> {125};
125 -> {126}; 125 -> {126};
126 -> {127}; 126 -> {128};
127 -> {128}; 127 -> {120};
128 -> {129}; 128 -> {129};
129 -> {130}; 129 -> {130};
130 -> {132 131}; 130 -> {131};
131 -> {138}; 131 -> {132};
132 -> {133}; 132 -> {133 139};
133 -> {134}; 133 -> {134};
134 -> {135}; 134 -> {135};
135 -> {136}; 135 -> {136};
136 -> {137}; 136 -> {137};
137 -> {138}; 137 -> {138};
138 -> {139}; 138 -> {127};
139 -> {127};
subgraph cluster_33 { subgraph cluster_33 {
color=red color=red
140 [label="Enter function test_3" style="filled" fillcolor=red]; 140 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_34 { subgraph cluster_34 {
color=blue color=blue
141 [label="Enter when"]; 142 [label="Enter when"];
142 [label="Access variable R|<local>/x|"]; 144 [label="Access variable R|<local>/x|"];
143 [label="Type operator: (R|<local>/x| as? R|B|)"]; 145 [label="Type operator: (R|<local>/x| as? R|B|)"];
144 [label="Variable declaration: lval <elvis>: R|B?|"]; 146 [label="Variable declaration: lval <elvis>: R|B?|"];
subgraph cluster_35 { subgraph cluster_35 {
color=blue color=blue
145 [label="Enter when branch condition "]; 147 [label="Enter when branch condition "];
146 [label="Const: Null(null)"]; 148 [label="Const: Null(null)"];
147 [label="Operator =="]; 149 [label="Operator =="];
148 [label="Exit when branch condition"]; 150 [label="Exit when branch condition"];
} }
subgraph cluster_36 { subgraph cluster_36 {
color=blue color=blue
149 [label="Enter when branch condition else"]; 157 [label="Enter when branch condition else"];
150 [label="Exit when branch condition"]; 158 [label="Exit when branch condition"];
} }
151 [label="Enter when branch result"]; 159 [label="Enter when branch result"];
subgraph cluster_37 { subgraph cluster_37 {
color=blue color=blue
152 [label="Enter block"]; 160 [label="Enter block"];
153 [label="Access variable R|<local>/<elvis>|"]; 161 [label="Access variable R|<local>/<elvis>|"];
154 [label="Exit block"]; 162 [label="Exit block"];
} }
155 [label="Exit when branch result"]; 163 [label="Exit when branch result"];
156 [label="Enter when branch result"]; 151 [label="Enter when branch result"];
subgraph cluster_38 { subgraph cluster_38 {
color=blue color=blue
157 [label="Enter block"]; 152 [label="Enter block"];
158 [label="Jump: ^test_3 Unit"]; 153 [label="Jump: ^test_3 Unit"];
159 [label="Stub" style="filled" fillcolor=gray]; 154 [label="Stub" style="filled" fillcolor=gray];
160 [label="Exit block" style="filled" fillcolor=gray]; 155 [label="Exit block" style="filled" fillcolor=gray];
} }
161 [label="Exit when branch result" style="filled" fillcolor=gray]; 156 [label="Exit when branch result" style="filled" fillcolor=gray];
162 [label="Exit when"]; 143 [label="Exit when"];
} }
163 [label="Variable declaration: lval a: R|B|"]; 164 [label="Variable declaration: lval a: R|B|"];
164 [label="Access variable R|<local>/a|"]; 165 [label="Access variable R|<local>/a|"];
165 [label="Function call: R|<local>/a|.R|/B.foo|()"]; 166 [label="Function call: R|<local>/a|.R|/B.foo|()"];
166 [label="Access variable R|<local>/x|"]; 167 [label="Access variable R|<local>/x|"];
167 [label="Function call: R|<local>/x|.R|/B.foo|()"]; 168 [label="Function call: R|<local>/x|.R|/B.foo|()"];
168 [label="Exit function test_3" style="filled" fillcolor=red]; 141 [label="Exit function test_3" style="filled" fillcolor=red];
} }
140 -> {142};
140 -> {141}; 142 -> {144};
141 -> {142}; 143 -> {164};
142 -> {143};
143 -> {144};
144 -> {145}; 144 -> {145};
145 -> {146}; 145 -> {146};
146 -> {147}; 146 -> {147};
147 -> {148}; 147 -> {148};
148 -> {156 149}; 148 -> {149};
149 -> {150}; 149 -> {150};
150 -> {151}; 150 -> {151 157};
151 -> {152}; 151 -> {152};
152 -> {153}; 152 -> {153};
153 -> {154}; 153 -> {141};
154 -> {155}; 153 -> {154} [style=dotted];
155 -> {162}; 154 -> {155} [style=dotted];
156 -> {157}; 155 -> {156} [style=dotted];
156 -> {143} [style=dotted];
157 -> {158}; 157 -> {158};
158 -> {168}; 158 -> {159};
158 -> {159} [style=dotted]; 159 -> {160};
159 -> {160} [style=dotted]; 160 -> {161};
160 -> {161} [style=dotted]; 161 -> {162};
161 -> {162} [style=dotted];
162 -> {163}; 162 -> {163};
163 -> {164}; 163 -> {143};
164 -> {165}; 164 -> {165};
165 -> {166}; 165 -> {166};
166 -> {167}; 166 -> {167};
167 -> {168}; 167 -> {168};
168 -> {141};
} }
@@ -6,81 +6,78 @@ digraph safeCallAndEqualityToBool_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function check" style="filled" fillcolor=red]; 0 [label="Enter function check" style="filled" fillcolor=red];
1 [label="Const: Boolean(true)"]; 2 [label="Const: Boolean(true)"];
2 [label="Jump: ^check Boolean(true)"]; 3 [label="Jump: ^check Boolean(true)"];
3 [label="Stub" style="filled" fillcolor=gray]; 4 [label="Stub" style="filled" fillcolor=gray];
4 [label="Exit function check" style="filled" fillcolor=red]; 1 [label="Exit function check" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {3};
1 -> {2}; 3 -> {1};
2 -> {4};
2 -> {3} [style=dotted];
3 -> {4} [style=dotted]; 3 -> {4} [style=dotted];
4 -> {1} [style=dotted];
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
5 [label="Enter function test_1" style="filled" fillcolor=red]; 5 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
6 [label="Enter when"]; 7 [label="Enter when"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
7 [label="Enter when branch condition "]; 9 [label="Enter when branch condition "];
8 [label="Access variable R|<local>/s|"]; 10 [label="Access variable R|<local>/s|"];
9 [label="Enter safe call"]; 11 [label="Enter safe call"];
10 [label="Function call: R|<local>/s|?.R|/check|()"]; 13 [label="Function call: R|<local>/s|?.R|/check|()"];
11 [label="Exit safe call"]; 12 [label="Exit safe call"];
12 [label="Const: Boolean(true)"]; 14 [label="Const: Boolean(true)"];
13 [label="Operator =="]; 15 [label="Operator =="];
14 [label="Exit when branch condition"]; 16 [label="Exit when branch condition"];
} }
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
15 [label="Enter when branch condition else"]; 23 [label="Enter when branch condition else"];
16 [label="Exit when branch condition"]; 24 [label="Exit when branch condition"];
} }
17 [label="Enter when branch result"]; 25 [label="Enter when branch result"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue
26 [label="Enter block"];
27 [label="Access variable R|<local>/s|"];
28 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
29 [label="Exit block"];
}
30 [label="Exit when branch result"];
17 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue color=blue
18 [label="Enter block"]; 18 [label="Enter block"];
19 [label="Access variable R|<local>/s|"]; 19 [label="Access variable R|<local>/s|"];
20 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"]; 20 [label="Access variable R|kotlin/String.length|"];
21 [label="Exit block"]; 21 [label="Exit block"];
} }
22 [label="Exit when branch result"]; 22 [label="Exit when branch result"];
23 [label="Enter when branch result"]; 8 [label="Exit when"];
subgraph cluster_6 {
color=blue
24 [label="Enter block"];
25 [label="Access variable R|<local>/s|"];
26 [label="Access variable R|kotlin/String.length|"];
27 [label="Exit block"];
}
28 [label="Exit when branch result"];
29 [label="Exit when"];
} }
30 [label="Exit function test_1" style="filled" fillcolor=red]; 6 [label="Exit function test_1" style="filled" fillcolor=red];
} }
5 -> {7};
5 -> {6}; 7 -> {9};
6 -> {7}; 8 -> {6};
7 -> {8};
8 -> {9 11};
9 -> {10}; 9 -> {10};
10 -> {11}; 10 -> {11 12};
11 -> {12}; 11 -> {13};
12 -> {13}; 12 -> {14};
13 -> {14}; 13 -> {12};
14 -> {23 15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17 23};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {29}; 22 -> {8};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
@@ -88,70 +85,69 @@ digraph safeCallAndEqualityToBool_kt {
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {8};
subgraph cluster_7 { subgraph cluster_7 {
color=red color=red
31 [label="Enter function test_2" style="filled" fillcolor=red]; 31 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
32 [label="Enter when"]; 33 [label="Enter when"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
33 [label="Enter when branch condition "]; 35 [label="Enter when branch condition "];
34 [label="Access variable R|<local>/s|"]; 36 [label="Access variable R|<local>/s|"];
35 [label="Enter safe call"]; 37 [label="Enter safe call"];
36 [label="Function call: R|<local>/s|?.R|/check|()"]; 39 [label="Function call: R|<local>/s|?.R|/check|()"];
37 [label="Exit safe call"]; 38 [label="Exit safe call"];
38 [label="Const: Boolean(false)"]; 40 [label="Const: Boolean(false)"];
39 [label="Operator =="]; 41 [label="Operator =="];
40 [label="Exit when branch condition"]; 42 [label="Exit when branch condition"];
} }
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
41 [label="Enter when branch condition else"]; 49 [label="Enter when branch condition else"];
42 [label="Exit when branch condition"]; 50 [label="Exit when branch condition"];
} }
43 [label="Enter when branch result"]; 51 [label="Enter when branch result"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/s|"];
54 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
55 [label="Exit block"];
}
56 [label="Exit when branch result"];
43 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue color=blue
44 [label="Enter block"]; 44 [label="Enter block"];
45 [label="Access variable R|<local>/s|"]; 45 [label="Access variable R|<local>/s|"];
46 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"]; 46 [label="Access variable R|kotlin/String.length|"];
47 [label="Exit block"]; 47 [label="Exit block"];
} }
48 [label="Exit when branch result"]; 48 [label="Exit when branch result"];
49 [label="Enter when branch result"]; 34 [label="Exit when"];
subgraph cluster_12 {
color=blue
50 [label="Enter block"];
51 [label="Access variable R|<local>/s|"];
52 [label="Access variable R|kotlin/String.length|"];
53 [label="Exit block"];
}
54 [label="Exit when branch result"];
55 [label="Exit when"];
} }
56 [label="Exit function test_2" style="filled" fillcolor=red]; 32 [label="Exit function test_2" style="filled" fillcolor=red];
} }
31 -> {33};
31 -> {32}; 33 -> {35};
32 -> {33}; 34 -> {32};
33 -> {34};
34 -> {35 37};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37 38};
37 -> {38}; 37 -> {39};
38 -> {39}; 38 -> {40};
39 -> {40}; 39 -> {38};
40 -> {49 41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43 49};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {48};
48 -> {55}; 48 -> {34};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
@@ -159,70 +155,69 @@ digraph safeCallAndEqualityToBool_kt {
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {56}; 55 -> {56};
56 -> {34};
subgraph cluster_13 { subgraph cluster_13 {
color=red color=red
57 [label="Enter function test_3" style="filled" fillcolor=red]; 57 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
58 [label="Enter when"]; 59 [label="Enter when"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
59 [label="Enter when branch condition "]; 61 [label="Enter when branch condition "];
60 [label="Access variable R|<local>/s|"]; 62 [label="Access variable R|<local>/s|"];
61 [label="Enter safe call"]; 63 [label="Enter safe call"];
62 [label="Function call: R|<local>/s|?.R|/check|()"]; 65 [label="Function call: R|<local>/s|?.R|/check|()"];
63 [label="Exit safe call"]; 64 [label="Exit safe call"];
64 [label="Const: Boolean(true)"]; 66 [label="Const: Boolean(true)"];
65 [label="Operator !="]; 67 [label="Operator !="];
66 [label="Exit when branch condition"]; 68 [label="Exit when branch condition"];
} }
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
67 [label="Enter when branch condition else"]; 75 [label="Enter when branch condition else"];
68 [label="Exit when branch condition"]; 76 [label="Exit when branch condition"];
} }
69 [label="Enter when branch result"]; 77 [label="Enter when branch result"];
subgraph cluster_17 { subgraph cluster_17 {
color=blue
78 [label="Enter block"];
79 [label="Access variable R|<local>/s|"];
80 [label="Access variable R|kotlin/String.length|"];
81 [label="Exit block"];
}
82 [label="Exit when branch result"];
69 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue color=blue
70 [label="Enter block"]; 70 [label="Enter block"];
71 [label="Access variable R|<local>/s|"]; 71 [label="Access variable R|<local>/s|"];
72 [label="Access variable R|kotlin/String.length|"]; 72 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
73 [label="Exit block"]; 73 [label="Exit block"];
} }
74 [label="Exit when branch result"]; 74 [label="Exit when branch result"];
75 [label="Enter when branch result"]; 60 [label="Exit when"];
subgraph cluster_18 {
color=blue
76 [label="Enter block"];
77 [label="Access variable R|<local>/s|"];
78 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
79 [label="Exit block"];
}
80 [label="Exit when branch result"];
81 [label="Exit when"];
} }
82 [label="Exit function test_3" style="filled" fillcolor=red]; 58 [label="Exit function test_3" style="filled" fillcolor=red];
} }
57 -> {59};
57 -> {58}; 59 -> {61};
58 -> {59}; 60 -> {58};
59 -> {60};
60 -> {61 63};
61 -> {62}; 61 -> {62};
62 -> {63}; 62 -> {63 64};
63 -> {64}; 63 -> {65};
64 -> {65}; 64 -> {66};
65 -> {66}; 65 -> {64};
66 -> {75 67}; 66 -> {67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69 75};
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {72};
72 -> {73}; 72 -> {73};
73 -> {74}; 73 -> {74};
74 -> {81}; 74 -> {60};
75 -> {76}; 75 -> {76};
76 -> {77}; 76 -> {77};
77 -> {78}; 77 -> {78};
@@ -230,70 +225,69 @@ digraph safeCallAndEqualityToBool_kt {
79 -> {80}; 79 -> {80};
80 -> {81}; 80 -> {81};
81 -> {82}; 81 -> {82};
82 -> {60};
subgraph cluster_19 { subgraph cluster_19 {
color=red color=red
83 [label="Enter function test_4" style="filled" fillcolor=red]; 83 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
84 [label="Enter when"]; 85 [label="Enter when"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
85 [label="Enter when branch condition "]; 87 [label="Enter when branch condition "];
86 [label="Access variable R|<local>/s|"]; 88 [label="Access variable R|<local>/s|"];
87 [label="Enter safe call"]; 89 [label="Enter safe call"];
88 [label="Function call: R|<local>/s|?.R|/check|()"]; 91 [label="Function call: R|<local>/s|?.R|/check|()"];
89 [label="Exit safe call"]; 90 [label="Exit safe call"];
90 [label="Const: Boolean(false)"]; 92 [label="Const: Boolean(false)"];
91 [label="Operator !="]; 93 [label="Operator !="];
92 [label="Exit when branch condition"]; 94 [label="Exit when branch condition"];
} }
subgraph cluster_22 { subgraph cluster_22 {
color=blue color=blue
93 [label="Enter when branch condition else"]; 101 [label="Enter when branch condition else"];
94 [label="Exit when branch condition"]; 102 [label="Exit when branch condition"];
} }
95 [label="Enter when branch result"]; 103 [label="Enter when branch result"];
subgraph cluster_23 { subgraph cluster_23 {
color=blue
104 [label="Enter block"];
105 [label="Access variable R|<local>/s|"];
106 [label="Access variable R|kotlin/String.length|"];
107 [label="Exit block"];
}
108 [label="Exit when branch result"];
95 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue color=blue
96 [label="Enter block"]; 96 [label="Enter block"];
97 [label="Access variable R|<local>/s|"]; 97 [label="Access variable R|<local>/s|"];
98 [label="Access variable R|kotlin/String.length|"]; 98 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
99 [label="Exit block"]; 99 [label="Exit block"];
} }
100 [label="Exit when branch result"]; 100 [label="Exit when branch result"];
101 [label="Enter when branch result"]; 86 [label="Exit when"];
subgraph cluster_24 {
color=blue
102 [label="Enter block"];
103 [label="Access variable R|<local>/s|"];
104 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
105 [label="Exit block"];
}
106 [label="Exit when branch result"];
107 [label="Exit when"];
} }
108 [label="Exit function test_4" style="filled" fillcolor=red]; 84 [label="Exit function test_4" style="filled" fillcolor=red];
} }
83 -> {85};
83 -> {84}; 85 -> {87};
84 -> {85}; 86 -> {84};
85 -> {86};
86 -> {87 89};
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {89 90};
89 -> {90}; 89 -> {91};
90 -> {91}; 90 -> {92};
91 -> {92}; 91 -> {90};
92 -> {101 93}; 92 -> {93};
93 -> {94}; 93 -> {94};
94 -> {95}; 94 -> {95 101};
95 -> {96}; 95 -> {96};
96 -> {97}; 96 -> {97};
97 -> {98}; 97 -> {98};
98 -> {99}; 98 -> {99};
99 -> {100}; 99 -> {100};
100 -> {107}; 100 -> {86};
101 -> {102}; 101 -> {102};
102 -> {103}; 102 -> {103};
103 -> {104}; 103 -> {104};
@@ -301,5 +295,6 @@ digraph safeCallAndEqualityToBool_kt {
105 -> {106}; 105 -> {106};
106 -> {107}; 106 -> {107};
107 -> {108}; 107 -> {108};
108 -> {86};
} }
@@ -6,60 +6,56 @@ digraph safeCalls_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function foo" style="filled" fillcolor=red]; 0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Const: String()"]; 2 [label="Const: String()"];
2 [label="Jump: ^foo String()"]; 3 [label="Jump: ^foo String()"];
3 [label="Stub" style="filled" fillcolor=gray]; 4 [label="Stub" style="filled" fillcolor=gray];
4 [label="Exit function foo" style="filled" fillcolor=red]; 1 [label="Exit function foo" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {3};
1 -> {2}; 3 -> {1};
2 -> {4};
2 -> {3} [style=dotted];
3 -> {4} [style=dotted]; 3 -> {4} [style=dotted];
4 -> {1} [style=dotted];
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
5 [label="Enter function let" style="filled" fillcolor=red]; 5 [label="Enter function let" style="filled" fillcolor=red];
6 [label="Exit function let" style="filled" fillcolor=red]; 6 [label="Exit function let" style="filled" fillcolor=red];
} }
5 -> {6}; 5 -> {6};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
7 [label="Enter function test" style="filled" fillcolor=red]; 7 [label="Enter function test" style="filled" fillcolor=red];
8 [label="Access variable R|<local>/x|"]; 9 [label="Access variable R|<local>/x|"];
9 [label="Enter safe call"]; 10 [label="Enter safe call"];
10 [label="Access variable R|<local>/x|"]; 12 [label="Access variable R|<local>/x|"];
11 [label="Access variable R|kotlin/String.length|"]; 13 [label="Access variable R|kotlin/String.length|"];
12 [label="Const: Int(1)"]; 14 [label="Const: Int(1)"];
13 [label="Operator =="]; 15 [label="Operator =="];
14 [label="Function call: R|<local>/x|?.R|/foo|(...)"]; 16 [label="Function call: R|<local>/x|?.R|/foo|(...)"];
15 [label="Exit safe call"]; 11 [label="Exit safe call"];
16 [label="Access variable R|<local>/x|"]; 17 [label="Access variable R|<local>/x|"];
17 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"]; 18 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
18 [label="Exit function test" style="filled" fillcolor=red]; 8 [label="Exit function test" style="filled" fillcolor=red];
} }
7 -> {9};
7 -> {8}; 9 -> {10 11};
8 -> {9 15}; 10 -> {12};
9 -> {10}; 11 -> {17};
10 -> {11};
11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {11};
17 -> {18}; 17 -> {18};
18 -> {8};
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
19 [label="Enter function bar" style="filled" fillcolor=red]; 19 [label="Enter function bar" style="filled" fillcolor=red];
20 [label="Exit function bar" style="filled" fillcolor=red]; 20 [label="Exit function bar" style="filled" fillcolor=red];
} }
19 -> {20}; 19 -> {20};
subgraph cluster_4 { subgraph cluster_4 {
@@ -67,7 +63,6 @@ digraph safeCalls_kt {
21 [label="Enter function bool" style="filled" fillcolor=red]; 21 [label="Enter function bool" style="filled" fillcolor=red];
22 [label="Exit function bool" style="filled" fillcolor=red]; 22 [label="Exit function bool" style="filled" fillcolor=red];
} }
21 -> {22}; 21 -> {22};
subgraph cluster_5 { subgraph cluster_5 {
@@ -75,7 +70,6 @@ digraph safeCalls_kt {
23 [label="Enter function id" style="filled" fillcolor=red]; 23 [label="Enter function id" style="filled" fillcolor=red];
24 [label="Exit function id" style="filled" fillcolor=red]; 24 [label="Exit function id" style="filled" fillcolor=red];
} }
23 -> {24}; 23 -> {24};
subgraph cluster_6 { subgraph cluster_6 {
@@ -83,167 +77,160 @@ digraph safeCalls_kt {
25 [label="Enter class A" style="filled" fillcolor=red]; 25 [label="Enter class A" style="filled" fillcolor=red];
26 [label="Exit class A" style="filled" fillcolor=red]; 26 [label="Exit class A" style="filled" fillcolor=red];
} }
25 -> {26} [color=green]; 25 -> {26} [color=green];
subgraph cluster_7 { subgraph cluster_7 {
color=red color=red
27 [label="Enter function test_2" style="filled" fillcolor=red]; 27 [label="Enter function test_2" style="filled" fillcolor=red];
28 [label="Access variable R|<local>/x|"]; 29 [label="Access variable R|<local>/x|"];
29 [label="Type operator: (R|<local>/x| as? R|A|)"]; 30 [label="Type operator: (R|<local>/x| as? R|A|)"];
30 [label="Enter safe call"]; 31 [label="Enter safe call"];
31 [label="Access variable R|<local>/x|"]; 33 [label="Access variable R|<local>/x|"];
32 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(...)"]; 34 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(...)"];
33 [label="Exit safe call"]; 32 [label="Exit safe call"];
34 [label="Exit function test_2" style="filled" fillcolor=red]; 28 [label="Exit function test_2" style="filled" fillcolor=red];
} }
27 -> {29};
27 -> {28}; 29 -> {30};
28 -> {29}; 30 -> {31 32};
29 -> {30 33}; 31 -> {33};
30 -> {31}; 32 -> {28};
31 -> {32};
32 -> {33};
33 -> {34}; 33 -> {34};
34 -> {32};
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
35 [label="Enter function test_3" style="filled" fillcolor=red]; 35 [label="Enter function test_3" style="filled" fillcolor=red];
36 [label="Access variable R|<local>/x|"]; 37 [label="Access variable R|<local>/x|"];
37 [label="Type operator: (R|<local>/x| as? R|A|)"]; 38 [label="Type operator: (R|<local>/x| as? R|A|)"];
38 [label="Enter safe call"]; 39 [label="Enter safe call"];
39 [label="Access variable R|<local>/x|"]; 41 [label="Access variable R|<local>/x|"];
40 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(...)"]; 42 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(...)"];
41 [label="Exit safe call"]; 40 [label="Exit safe call"];
42 [label="Enter safe call"]; 43 [label="Enter safe call"];
43 [label="Access variable R|<local>/x|"]; 45 [label="Access variable R|<local>/x|"];
44 [label="Function call: R|<local>/x|.R|/A.bool|()"]; 46 [label="Function call: R|<local>/x|.R|/A.bool|()"];
45 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(...)?.R|/foo|(...)"]; 47 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(...)?.R|/foo|(...)"];
46 [label="Exit safe call"]; 44 [label="Exit safe call"];
47 [label="Enter safe call"]; 48 [label="Enter safe call"];
48 [label="Postponed enter to lambda"]; 50 [label="Postponed enter to lambda"];
49 [label="Postponed exit from lambda"]; subgraph cluster_9 {
50 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(...)?.R|/foo|(...)?.R|/let|(...)"]; color=blue
51 [label="Exit safe call"]; 55 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
52 [label="Access variable R|<local>/x|"]; 57 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()"]; 58 [label="Function call: R|<local>/x|.R|/A.bool|()"];
54 [label="Exit function test_3" style="filled" fillcolor=red]; 56 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
51 [label="Postponed exit from lambda"];
52 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(...)?.R|/foo|(...)?.R|/let|(...)"];
49 [label="Exit safe call"];
53 [label="Access variable R|<local>/x|"];
54 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()"];
36 [label="Exit function test_3" style="filled" fillcolor=red];
} }
35 -> {37};
35 -> {36}; 37 -> {38};
36 -> {37}; 38 -> {39 40};
37 -> {38 41}; 39 -> {41};
38 -> {39}; 40 -> {43 44};
39 -> {40}; 41 -> {42};
40 -> {41}; 42 -> {40};
41 -> {42 46}; 43 -> {45};
42 -> {43}; 44 -> {48 49};
43 -> {44};
44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {47 51}; 46 -> {47};
47 -> {48}; 47 -> {44};
48 -> {49 49} [color=green]; 48 -> {50};
49 -> {50}; 49 -> {53};
50 -> {51}; 50 -> {51 51} [color=green];
50 -> {55} [color=red];
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {49};
53 -> {54}; 53 -> {54};
54 -> {36};
subgraph cluster_9 { 55 -> {57};
color=red
55 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
56 [label="Access variable R|<local>/x|"];
57 [label="Function call: R|<local>/x|.R|/A.bool|()"];
58 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
55 -> {56};
56 -> {57};
57 -> {58}; 57 -> {58};
58 -> {56};
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
59 [label="Enter function test_4" style="filled" fillcolor=red]; 59 [label="Enter function test_4" style="filled" fillcolor=red];
60 [label="Access variable R|<local>/x|"]; 61 [label="Access variable R|<local>/x|"];
61 [label="Enter safe call"]; 62 [label="Enter safe call"];
62 [label="Function call: R|<local>/x|?.R|/A.id|()"]; 64 [label="Function call: R|<local>/x|?.R|/A.id|()"];
63 [label="Exit safe call"]; 63 [label="Exit safe call"];
64 [label="Enter safe call"]; 65 [label="Enter safe call"];
65 [label="Function call: R|<local>/x|?.R|/A.id|()?.R|/A.bool|()"]; 67 [label="Function call: R|<local>/x|?.R|/A.id|()?.R|/A.bool|()"];
66 [label="Exit safe call"]; 66 [label="Exit safe call"];
67 [label="Access variable R|<local>/x|"]; 68 [label="Access variable R|<local>/x|"];
68 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"]; 69 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
69 [label="Exit function test_4" style="filled" fillcolor=red]; 60 [label="Exit function test_4" style="filled" fillcolor=red];
} }
59 -> {61};
59 -> {60}; 61 -> {62 63};
60 -> {61 63}; 62 -> {64};
61 -> {62}; 63 -> {65 66};
62 -> {63}; 64 -> {63};
63 -> {64 66}; 65 -> {67};
64 -> {65}; 66 -> {68};
65 -> {66}; 67 -> {66};
66 -> {67};
67 -> {68};
68 -> {69}; 68 -> {69};
69 -> {60};
subgraph cluster_11 { subgraph cluster_11 {
color=red color=red
70 [label="Enter function boo" style="filled" fillcolor=red]; 70 [label="Enter function boo" style="filled" fillcolor=red];
71 [label="Exit function boo" style="filled" fillcolor=red]; 71 [label="Exit function boo" style="filled" fillcolor=red];
} }
70 -> {71}; 70 -> {71};
subgraph cluster_12 { subgraph cluster_12 {
color=red color=red
72 [label="Enter function test_5" style="filled" fillcolor=red]; 72 [label="Enter function test_5" style="filled" fillcolor=red];
73 [label="Access variable R|<local>/x|"]; 74 [label="Access variable R|<local>/x|"];
74 [label="Enter safe call"]; 75 [label="Enter safe call"];
75 [label="Postponed enter to lambda"]; 77 [label="Postponed enter to lambda"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
76 [label="Enter function anonymousFunction"]; 79 [label="Enter function anonymousFunction"];
77 [label="Jump: ^test_5 Unit"]; 81 [label="Jump: ^test_5 Unit"];
78 [label="Stub" style="filled" fillcolor=gray]; 82 [label="Stub" style="filled" fillcolor=gray];
79 [label="Exit function anonymousFunction" style="filled" fillcolor=gray]; 80 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
} }
80 [label="Call arguments union" style="filled" fillcolor=gray]; 84 [label="Call arguments union" style="filled" fillcolor=gray];
81 [label="Postponed exit from lambda"]; 78 [label="Postponed exit from lambda"];
82 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray]; 83 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
83 [label="Exit safe call"]; 76 [label="Exit safe call"];
84 [label="Enter safe call"]; 85 [label="Enter safe call"];
85 [label="Access variable R|<local>/x|"]; 87 [label="Access variable R|<local>/x|"];
86 [label="Function call: R|<local>/x|.R|/A.bool|()"]; 88 [label="Function call: R|<local>/x|.R|/A.bool|()"];
87 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)?.R|/boo|(...)"]; 89 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(...)?.R|/boo|(...)"];
88 [label="Exit safe call"]; 86 [label="Exit safe call"];
89 [label="Access variable R|<local>/x|"]; 90 [label="Access variable R|<local>/x|"];
90 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"]; 91 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
91 [label="Exit function test_5" style="filled" fillcolor=red]; 73 [label="Exit function test_5" style="filled" fillcolor=red];
} }
72 -> {74};
72 -> {73}; 74 -> {75 76};
73 -> {74 83}; 75 -> {77};
74 -> {75}; 76 -> {85 86};
75 -> {76}; 77 -> {79};
75 -> {81} [color=red]; 77 -> {78} [color=red];
76 -> {77}; 78 -> {83} [color=green];
77 -> {91}; 79 -> {81};
77 -> {78} [style=dotted]; 80 -> {84} [style=dotted];
78 -> {79} [style=dotted]; 80 -> {78} [color=green];
79 -> {80} [style=dotted]; 81 -> {73};
79 -> {81} [color=green]; 81 -> {82} [style=dotted];
80 -> {82} [style=dotted]; 82 -> {80} [style=dotted];
81 -> {82} [color=green]; 83 -> {76} [style=dotted];
82 -> {83} [style=dotted]; 84 -> {83} [style=dotted];
83 -> {84 88}; 85 -> {87};
84 -> {85}; 86 -> {90};
85 -> {86};
86 -> {87};
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {89};
89 -> {90}; 89 -> {86};
90 -> {91}; 90 -> {91};
91 -> {73};
} }
@@ -8,7 +8,6 @@ digraph smartCastInInit_kt {
0 [label="Enter class I" style="filled" fillcolor=red]; 0 [label="Enter class I" style="filled" fillcolor=red];
1 [label="Exit class I" style="filled" fillcolor=red]; 1 [label="Exit class I" style="filled" fillcolor=red];
} }
0 -> {1} [color=green]; 0 -> {1} [color=green];
subgraph cluster_1 { subgraph cluster_1 {
@@ -16,7 +15,6 @@ digraph smartCastInInit_kt {
2 [label="Enter function foo" style="filled" fillcolor=red]; 2 [label="Enter function foo" style="filled" fillcolor=red];
3 [label="Exit function foo" style="filled" fillcolor=red]; 3 [label="Exit function foo" style="filled" fillcolor=red];
} }
2 -> {3}; 2 -> {3};
subgraph cluster_2 { subgraph cluster_2 {
@@ -24,80 +22,74 @@ digraph smartCastInInit_kt {
4 [label="Enter class S" style="filled" fillcolor=red]; 4 [label="Enter class S" style="filled" fillcolor=red];
5 [label="Exit class S" style="filled" fillcolor=red]; 5 [label="Exit class S" style="filled" fillcolor=red];
} }
4 -> {5} [color=green]; 4 -> {5} [color=green];
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
6 [label="Enter function s" style="filled" fillcolor=red]; 6 [label="Enter function s" style="filled" fillcolor=red];
7 [label="Function call: R|kotlin/TODO|()"]; 8 [label="Function call: R|kotlin/TODO|()"];
8 [label="Stub" style="filled" fillcolor=gray]; 9 [label="Stub" style="filled" fillcolor=gray];
9 [label="Jump: ^s R|kotlin/TODO|()" style="filled" fillcolor=gray]; 10 [label="Jump: ^s R|kotlin/TODO|()" style="filled" fillcolor=gray];
10 [label="Stub" style="filled" fillcolor=gray]; 11 [label="Stub" style="filled" fillcolor=gray];
11 [label="Exit function s" style="filled" fillcolor=red]; 7 [label="Exit function s" style="filled" fillcolor=red];
} }
6 -> {8};
6 -> {7}; 8 -> {7};
7 -> {11};
7 -> {8} [style=dotted];
8 -> {9} [style=dotted]; 8 -> {9} [style=dotted];
9 -> {11 10} [style=dotted]; 9 -> {10} [style=dotted];
10 -> {11} [style=dotted]; 10 -> {7 11} [style=dotted];
11 -> {7} [style=dotted];
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
12 [label="Enter function <init>" style="filled" fillcolor=red]; 12 [label="Enter function <init>" style="filled" fillcolor=red];
13 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 14 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
14 [label="Exit function <init>" style="filled" fillcolor=red]; 13 [label="Exit function <init>" style="filled" fillcolor=red];
} }
12 -> {14};
12 -> {13}; 14 -> {13};
13 -> {14};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
15 [label="Enter function getter" style="filled" fillcolor=red]; 15 [label="Enter function getter" style="filled" fillcolor=red];
16 [label="Exit function getter" style="filled" fillcolor=red]; 16 [label="Exit function getter" style="filled" fillcolor=red];
} }
15 -> {16}; 15 -> {16};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
17 [label="Enter property" style="filled" fillcolor=red]; 27 [label="Enter class Main" style="filled" fillcolor=red];
18 [label="Exit property" style="filled" fillcolor=red]; subgraph cluster_7 {
} color=blue
17 [label="Enter property" style="filled" fillcolor=red];
17 -> {18}; 18 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=red
19 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
20 [label="Enter block"]; 19 [label="Enter init block" style="filled" fillcolor=red];
21 [label="Function call: R|/s|()"]; subgraph cluster_9 {
22 [label="Assignmenet: R|/Main.x|"]; color=blue
23 [label="Access variable R|/Main.x|"]; 21 [label="Enter block"];
24 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()"]; 22 [label="Function call: R|/s|()"];
25 [label="Exit block"]; 23 [label="Assignment: R|/Main.x|"];
24 [label="Access variable R|/Main.x|"];
25 [label="Function call: this@R|/Main|.R|/Main.x|.R|/S.foo|()"];
26 [label="Exit block"];
}
20 [label="Exit init block" style="filled" fillcolor=red];
} }
26 [label="Exit init block" style="filled" fillcolor=red]; 28 [label="Exit class Main" style="filled" fillcolor=red];
} }
27 -> {17} [color=green];
19 -> {20}; 17 -> {18};
20 -> {21}; 18 -> {19} [color=green];
19 -> {21};
20 -> {28} [color=green];
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {20};
subgraph cluster_9 {
color=red
27 [label="Enter class Main" style="filled" fillcolor=red];
28 [label="Exit class Main" style="filled" fillcolor=red];
}
} }
@@ -6,280 +6,267 @@ digraph smartcastToNothing_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function getNothing" style="filled" fillcolor=red]; 0 [label="Enter function getNothing" style="filled" fillcolor=red];
1 [label="Function call: R|java/lang/Exception.Exception|()"]; 2 [label="Function call: R|java/lang/Exception.Exception|()"];
2 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 3 [label="Throw: throw R|java/lang/Exception.Exception|()"];
3 [label="Stub" style="filled" fillcolor=gray]; 4 [label="Stub" style="filled" fillcolor=gray];
4 [label="Jump: ^getNothing throw R|java/lang/Exception.Exception|()" style="filled" fillcolor=gray]; 5 [label="Jump: ^getNothing throw R|java/lang/Exception.Exception|()" style="filled" fillcolor=gray];
5 [label="Stub" style="filled" fillcolor=gray]; 6 [label="Stub" style="filled" fillcolor=gray];
6 [label="Exit function getNothing" style="filled" fillcolor=red]; 1 [label="Exit function getNothing" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {3};
1 -> {2}; 3 -> {1};
2 -> {6};
2 -> {3} [style=dotted];
3 -> {4} [style=dotted]; 3 -> {4} [style=dotted];
4 -> {6 5} [style=dotted]; 4 -> {5} [style=dotted];
5 -> {6} [style=dotted]; 5 -> {1 6} [style=dotted];
6 -> {1} [style=dotted];
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
7 [label="Enter function getNullableNothing" style="filled" fillcolor=red]; 7 [label="Enter function getNullableNothing" style="filled" fillcolor=red];
8 [label="Const: Null(null)"]; 9 [label="Const: Null(null)"];
9 [label="Jump: ^getNullableNothing Null(null)"]; 10 [label="Jump: ^getNullableNothing Null(null)"];
10 [label="Stub" style="filled" fillcolor=gray]; 11 [label="Stub" style="filled" fillcolor=gray];
11 [label="Exit function getNullableNothing" style="filled" fillcolor=red]; 8 [label="Exit function getNullableNothing" style="filled" fillcolor=red];
} }
7 -> {9};
7 -> {8}; 9 -> {10};
8 -> {9}; 10 -> {8};
9 -> {11};
9 -> {10} [style=dotted];
10 -> {11} [style=dotted]; 10 -> {11} [style=dotted];
11 -> {8} [style=dotted];
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
12 [label="Enter function getter" style="filled" fillcolor=red]; 12 [label="Enter function getter" style="filled" fillcolor=red];
13 [label="Const: Int(1)"]; 14 [label="Const: Int(1)"];
14 [label="Jump: ^ Int(1)"]; 15 [label="Jump: ^ Int(1)"];
15 [label="Stub" style="filled" fillcolor=gray]; 16 [label="Stub" style="filled" fillcolor=gray];
16 [label="Exit function getter" style="filled" fillcolor=red]; 13 [label="Exit function getter" style="filled" fillcolor=red];
} }
12 -> {14};
12 -> {13}; 14 -> {15};
13 -> {14}; 15 -> {13};
14 -> {16};
14 -> {15} [style=dotted];
15 -> {16} [style=dotted]; 15 -> {16} [style=dotted];
16 -> {13} [style=dotted];
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
17 [label="Enter property" style="filled" fillcolor=red]; 17 [label="Enter property" style="filled" fillcolor=red];
18 [label="Exit property" style="filled" fillcolor=red]; 18 [label="Exit property" style="filled" fillcolor=red];
} }
17 -> {18}; 17 -> {18};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
19 [label="Enter function getter" style="filled" fillcolor=red]; 19 [label="Enter function getter" style="filled" fillcolor=red];
20 [label="Const: Int(2)"]; 21 [label="Const: Int(2)"];
21 [label="Jump: ^ Int(2)"]; 22 [label="Jump: ^ Int(2)"];
22 [label="Stub" style="filled" fillcolor=gray]; 23 [label="Stub" style="filled" fillcolor=gray];
23 [label="Exit function getter" style="filled" fillcolor=red]; 20 [label="Exit function getter" style="filled" fillcolor=red];
} }
19 -> {21};
19 -> {20}; 21 -> {22};
20 -> {21}; 22 -> {20};
21 -> {23};
21 -> {22} [style=dotted];
22 -> {23} [style=dotted]; 22 -> {23} [style=dotted];
23 -> {20} [style=dotted];
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
24 [label="Enter property" style="filled" fillcolor=red]; 24 [label="Enter property" style="filled" fillcolor=red];
25 [label="Exit property" style="filled" fillcolor=red]; 25 [label="Exit property" style="filled" fillcolor=red];
} }
24 -> {25}; 24 -> {25};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
26 [label="Enter function myListOf" style="filled" fillcolor=red]; 26 [label="Enter function myListOf" style="filled" fillcolor=red];
27 [label="Const: Null(null)"]; 28 [label="Const: Null(null)"];
28 [label="Check not null: Null(null)!!"]; 29 [label="Check not null: Null(null)!!"];
29 [label="Jump: ^myListOf Null(null)!!"]; 30 [label="Jump: ^myListOf Null(null)!!"];
30 [label="Stub" style="filled" fillcolor=gray]; 31 [label="Stub" style="filled" fillcolor=gray];
31 [label="Exit function myListOf" style="filled" fillcolor=red]; 27 [label="Exit function myListOf" style="filled" fillcolor=red];
} }
26 -> {28};
26 -> {27};
27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {31}; 29 -> {30};
29 -> {30} [style=dotted]; 30 -> {27};
30 -> {31} [style=dotted]; 30 -> {31} [style=dotted];
31 -> {27} [style=dotted];
subgraph cluster_7 { subgraph cluster_7 {
color=red color=red
32 [label="Enter function <init>" style="filled" fillcolor=red]; 32 [label="Enter function <init>" style="filled" fillcolor=red];
33 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 34 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
34 [label="Exit function <init>" style="filled" fillcolor=red]; 33 [label="Exit function <init>" style="filled" fillcolor=red];
} }
32 -> {34};
32 -> {33}; 34 -> {33};
33 -> {34};
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
35 [label="Enter function getter" style="filled" fillcolor=red]; 35 [label="Enter function getter" style="filled" fillcolor=red];
36 [label="Exit function getter" style="filled" fillcolor=red]; 36 [label="Exit function getter" style="filled" fillcolor=red];
} }
35 -> {36}; 35 -> {36};
subgraph cluster_9 { subgraph cluster_9 {
color=red
37 [label="Enter property" style="filled" fillcolor=red];
38 [label="Const: Int(1)"];
39 [label="Exit property" style="filled" fillcolor=red];
}
37 -> {38};
38 -> {39};
subgraph cluster_10 {
color=red color=red
40 [label="Enter function getter" style="filled" fillcolor=red]; 40 [label="Enter function getter" style="filled" fillcolor=red];
41 [label="Exit function getter" style="filled" fillcolor=red]; 41 [label="Exit function getter" style="filled" fillcolor=red];
} }
40 -> {41}; 40 -> {41};
subgraph cluster_11 { subgraph cluster_10 {
color=red
42 [label="Enter property" style="filled" fillcolor=red];
43 [label="Const: Boolean(true)"];
44 [label="Exit property" style="filled" fillcolor=red];
}
42 -> {43};
43 -> {44};
subgraph cluster_12 {
color=red color=red
45 [label="Enter class A" style="filled" fillcolor=red]; 45 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
37 [label="Enter property" style="filled" fillcolor=red];
39 [label="Const: Int(1)"];
38 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_12 {
color=blue
42 [label="Enter property" style="filled" fillcolor=red];
44 [label="Const: Boolean(true)"];
43 [label="Exit property" style="filled" fillcolor=red];
}
46 [label="Exit class A" style="filled" fillcolor=red]; 46 [label="Exit class A" style="filled" fillcolor=red];
} }
45 -> {37} [color=green];
37 -> {39};
38 -> {42} [color=green];
39 -> {38};
42 -> {44};
43 -> {46} [color=green];
44 -> {43};
subgraph cluster_13 { subgraph cluster_13 {
color=red color=red
47 [label="Enter function test_0" style="filled" fillcolor=red]; 47 [label="Enter function test_0" style="filled" fillcolor=red];
48 [label="Const: Null(null)"]; 49 [label="Const: Null(null)"];
49 [label="Variable declaration: lvar s: R|A?|"]; 50 [label="Variable declaration: lvar s: R|A?|"];
50 [label="Access variable R|<local>/results|"]; 51 [label="Access variable R|<local>/results|"];
51 [label="Function call: R|<local>/results|.R|FakeOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()"]; 52 [label="Function call: R|<local>/results|.R|FakeOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()"];
52 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"]; 53 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue color=blue
53 [label="Enter while loop"]; 54 [label="Enter while loop"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
54 [label="Enter loop condition"]; 56 [label="Enter loop condition"];
55 [label="Access variable R|<local>/<iterator>|"]; 57 [label="Access variable R|<local>/<iterator>|"];
56 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"]; 58 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
57 [label="Exit loop condition"]; 59 [label="Exit loop condition"];
} }
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
58 [label="Enter loop block"]; 60 [label="Enter loop block"];
subgraph cluster_17 { subgraph cluster_17 {
color=blue color=blue
59 [label="Enter block"]; 61 [label="Enter block"];
60 [label="Access variable R|<local>/<iterator>|"]; 62 [label="Access variable R|<local>/<iterator>|"];
61 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()"]; 63 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()"];
62 [label="Stub" style="filled" fillcolor=gray]; 64 [label="Stub" style="filled" fillcolor=gray];
63 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray]; 65 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
64 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray]; 66 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
65 [label="Stub" style="filled" fillcolor=gray]; 67 [label="Stub" style="filled" fillcolor=gray];
66 [label="Assignmenet: R|<local>/s|" style="filled" fillcolor=gray]; 68 [label="Assignment: R|<local>/s|" style="filled" fillcolor=gray];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
67 [label="Enter when" style="filled" fillcolor=gray]; 69 [label="Enter when" style="filled" fillcolor=gray];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
68 [label="Enter when branch condition " style="filled" fillcolor=gray]; 71 [label="Enter when branch condition " style="filled" fillcolor=gray];
69 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray]; 72 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
70 [label="Stub" style="filled" fillcolor=gray]; 73 [label="Stub" style="filled" fillcolor=gray];
71 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray]; 74 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray];
72 [label="Exit when branch condition" style="filled" fillcolor=gray]; 75 [label="Exit when branch condition" style="filled" fillcolor=gray];
} }
73 [label="Synthetic else branch" style="filled" fillcolor=gray]; 82 [label="Synthetic else branch" style="filled" fillcolor=gray];
74 [label="Enter when branch result" style="filled" fillcolor=gray]; 76 [label="Enter when branch result" style="filled" fillcolor=gray];
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
75 [label="Enter block" style="filled" fillcolor=gray]; 77 [label="Enter block" style="filled" fillcolor=gray];
76 [label="Jump: break@@@[R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()] " style="filled" fillcolor=gray]; 78 [label="Jump: break@@@[R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()] " style="filled" fillcolor=gray];
77 [label="Stub" style="filled" fillcolor=gray]; 79 [label="Stub" style="filled" fillcolor=gray];
78 [label="Exit block" style="filled" fillcolor=gray]; 80 [label="Exit block" style="filled" fillcolor=gray];
} }
79 [label="Exit when branch result" style="filled" fillcolor=gray]; 81 [label="Exit when branch result" style="filled" fillcolor=gray];
80 [label="Exit when" style="filled" fillcolor=gray]; 70 [label="Exit when" style="filled" fillcolor=gray];
} }
81 [label="Exit block" style="filled" fillcolor=gray]; 83 [label="Exit block" style="filled" fillcolor=gray];
} }
82 [label="Exit loop block" style="filled" fillcolor=gray]; 84 [label="Exit loop block" style="filled" fillcolor=gray];
} }
83 [label="Exit whileloop"]; 55 [label="Exit whileloop"];
} }
84 [label="Access variable R|<local>/s|"]; 85 [label="Access variable R|<local>/s|"];
85 [label="Enter safe call"]; 86 [label="Enter safe call"];
86 [label="Postponed enter to lambda"]; 88 [label="Postponed enter to lambda"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue color=blue
87 [label="Enter function anonymousFunction"]; 90 [label="Enter function anonymousFunction"];
88 [label="Access variable R|<local>/it|"]; 92 [label="Access variable R|<local>/it|"];
89 [label="Access variable R|/A.a|"]; 93 [label="Access variable R|/A.a|"];
90 [label="Exit function anonymousFunction"]; 91 [label="Exit function anonymousFunction"];
} }
91 [label="Call arguments union" style="filled" fillcolor=yellow]; 95 [label="Call arguments union" style="filled" fillcolor=yellow];
92 [label="Postponed exit from lambda"]; 89 [label="Postponed exit from lambda"];
93 [label="Function call: R|<local>/s|?.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)"]; 94 [label="Function call: R|<local>/s|?.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)"];
94 [label="Exit safe call"]; 87 [label="Exit safe call"];
95 [label="Exit function test_0" style="filled" fillcolor=red]; 48 [label="Exit function test_0" style="filled" fillcolor=red];
} }
47 -> {49};
47 -> {48};
48 -> {49};
49 -> {50}; 49 -> {50};
50 -> {51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {53};
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {56};
55 -> {56}; 55 -> {85};
56 -> {57}; 56 -> {57};
57 -> {83 58}; 57 -> {58};
58 -> {59}; 58 -> {59};
59 -> {60}; 59 -> {55 60};
60 -> {61}; 60 -> {61};
61 -> {95}; 61 -> {62};
61 -> {62} [style=dotted]; 62 -> {63};
62 -> {63} [style=dotted]; 63 -> {48};
63 -> {64} [style=dotted]; 63 -> {64} [style=dotted];
64 -> {95 65} [style=dotted]; 64 -> {65} [style=dotted];
65 -> {66} [style=dotted]; 65 -> {66} [style=dotted];
66 -> {67} [style=dotted]; 66 -> {48 67} [style=dotted];
67 -> {68} [style=dotted]; 67 -> {68} [style=dotted];
68 -> {69} [style=dotted]; 68 -> {69} [style=dotted];
69 -> {95 70} [style=dotted]; 69 -> {71} [style=dotted];
70 -> {71} [style=dotted]; 70 -> {83} [style=dotted];
71 -> {72} [style=dotted]; 71 -> {72} [style=dotted];
72 -> {74 73} [style=dotted]; 72 -> {48 73} [style=dotted];
73 -> {80} [style=dotted]; 73 -> {74} [style=dotted];
74 -> {75} [style=dotted]; 74 -> {75} [style=dotted];
75 -> {76} [style=dotted]; 75 -> {76 82} [style=dotted];
76 -> {83 77} [style=dotted]; 76 -> {77} [style=dotted];
77 -> {78} [style=dotted]; 77 -> {78} [style=dotted];
78 -> {79} [style=dotted]; 78 -> {55 79} [style=dotted];
79 -> {80} [style=dotted]; 79 -> {80} [style=dotted];
80 -> {81} [style=dotted]; 80 -> {81} [style=dotted];
81 -> {82} [style=dotted]; 81 -> {70} [style=dotted];
82 -> {54} [style=dotted]; 82 -> {70} [style=dotted];
83 -> {84}; 83 -> {84} [style=dotted];
84 -> {85 94}; 84 -> {56} [style=dotted];
85 -> {86}; 85 -> {86 87};
86 -> {87}; 86 -> {88};
86 -> {92} [color=red]; 87 -> {48} [style=dotted];
87 -> {88}; 88 -> {90};
88 -> {89}; 88 -> {89} [color=red];
89 -> {90}; 89 -> {94} [color=green];
90 -> {92} [color=green]; 90 -> {92};
90 -> {91} [color=red]; 91 -> {89} [color=green];
91 -> {93} [color=red]; 91 -> {95} [color=red];
92 -> {93} [color=green]; 92 -> {93};
93 -> {94}; 93 -> {91};
94 -> {95} [style=dotted]; 94 -> {87};
95 -> {94} [color=red];
} }
@@ -6,99 +6,93 @@ digraph overridenOpenVal_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function <init>" style="filled" fillcolor=red]; 0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 2 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 1 [label="Exit function <init>" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {1};
1 -> {2};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
3 [label="Enter function getter" style="filled" fillcolor=red]; 3 [label="Enter function getter" style="filled" fillcolor=red];
4 [label="Exit function getter" style="filled" fillcolor=red]; 4 [label="Exit function getter" style="filled" fillcolor=red];
} }
3 -> {4}; 3 -> {4};
subgraph cluster_2 { subgraph cluster_2 {
color=red
5 [label="Enter property" style="filled" fillcolor=red];
6 [label="Access variable R|<local>/x|"];
7 [label="Exit property" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
subgraph cluster_3 {
color=red color=red
8 [label="Enter class A" style="filled" fillcolor=red]; 8 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
5 [label="Enter property" style="filled" fillcolor=red];
7 [label="Access variable R|<local>/x|"];
6 [label="Exit property" style="filled" fillcolor=red];
}
9 [label="Exit class A" style="filled" fillcolor=red]; 9 [label="Exit class A" style="filled" fillcolor=red];
} }
8 -> {5} [color=green];
5 -> {7};
6 -> {9} [color=green];
7 -> {6};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
10 [label="Enter function <init>" style="filled" fillcolor=red]; 10 [label="Enter function <init>" style="filled" fillcolor=red];
11 [label="Access variable R|<local>/x|"]; 12 [label="Access variable R|<local>/x|"];
12 [label="Delegated constructor call: super<R|A|>(...)"]; 13 [label="Delegated constructor call: super<R|A|>(...)"];
13 [label="Exit function <init>" style="filled" fillcolor=red]; 11 [label="Exit function <init>" style="filled" fillcolor=red];
} }
10 -> {12};
10 -> {11};
11 -> {12};
12 -> {13}; 12 -> {13};
13 -> {11};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
14 [label="Enter function test_1" style="filled" fillcolor=red]; 14 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
15 [label="Enter when"]; 16 [label="Enter when"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
16 [label="Enter when branch condition "]; 18 [label="Enter when branch condition "];
17 [label="Access variable R|/A.x|"]; 19 [label="Access variable R|/A.x|"];
18 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"]; 20 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"];
19 [label="Exit when branch condition"]; 21 [label="Exit when branch condition"];
} }
20 [label="Synthetic else branch"]; 28 [label="Synthetic else branch"];
21 [label="Enter when branch result"]; 22 [label="Enter when branch result"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
22 [label="Enter block"]; 23 [label="Enter block"];
23 [label="Access variable R|/A.x|"]; 24 [label="Access variable R|/A.x|"];
24 [label="Access variable R|kotlin/String.length|"]; 25 [label="Access variable R|kotlin/String.length|"];
25 [label="Exit block"]; 26 [label="Exit block"];
} }
26 [label="Exit when branch result"]; 27 [label="Exit when branch result"];
27 [label="Exit when"]; 17 [label="Exit when"];
} }
28 [label="Exit function test_1" style="filled" fillcolor=red]; 15 [label="Exit function test_1" style="filled" fillcolor=red];
} }
14 -> {16};
14 -> {15}; 16 -> {18};
15 -> {16}; 17 -> {15};
16 -> {17};
17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {21 20}; 19 -> {20};
20 -> {27}; 20 -> {21};
21 -> {22}; 21 -> {22 28};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
27 -> {28}; 27 -> {17};
28 -> {17};
subgraph cluster_9 { subgraph cluster_9 {
color=red color=red
29 [label="Enter class B" style="filled" fillcolor=red]; 29 [label="Enter class B" style="filled" fillcolor=red];
30 [label="Exit class B" style="filled" fillcolor=red]; 30 [label="Exit class B" style="filled" fillcolor=red];
} }
29 -> {30} [color=green]; 29 -> {30} [color=green];
subgraph cluster_10 { subgraph cluster_10 {
@@ -106,46 +100,45 @@ digraph overridenOpenVal_kt {
31 [label="Enter function test_2" style="filled" fillcolor=red]; 31 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
32 [label="Enter when"]; 33 [label="Enter when"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
33 [label="Enter when branch condition "]; 35 [label="Enter when branch condition "];
34 [label="Access variable R|<local>/b|"]; 36 [label="Access variable R|<local>/b|"];
35 [label="Access variable R|/A.x|"]; 37 [label="Access variable R|/A.x|"];
36 [label="Type operator: (R|<local>/b|.R|/A.x| is R|kotlin/String|)"]; 38 [label="Type operator: (R|<local>/b|.R|/A.x| is R|kotlin/String|)"];
37 [label="Exit when branch condition"]; 39 [label="Exit when branch condition"];
} }
38 [label="Synthetic else branch"]; 47 [label="Synthetic else branch"];
39 [label="Enter when branch result"]; 40 [label="Enter when branch result"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
40 [label="Enter block"]; 41 [label="Enter block"];
41 [label="Access variable R|<local>/b|"]; 42 [label="Access variable R|<local>/b|"];
42 [label="Access variable R|/A.x|"]; 43 [label="Access variable R|/A.x|"];
43 [label="Access variable R|kotlin/String.length|"]; 44 [label="Access variable R|kotlin/String.length|"];
44 [label="Exit block"]; 45 [label="Exit block"];
} }
45 [label="Exit when branch result"]; 46 [label="Exit when branch result"];
46 [label="Exit when"]; 34 [label="Exit when"];
} }
47 [label="Exit function test_2" style="filled" fillcolor=red]; 32 [label="Exit function test_2" style="filled" fillcolor=red];
} }
31 -> {33};
31 -> {32}; 33 -> {35};
32 -> {33}; 34 -> {32};
33 -> {34};
34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37};
37 -> {39 38}; 37 -> {38};
38 -> {46}; 38 -> {39};
39 -> {40}; 39 -> {40 47};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {46};
46 -> {47}; 46 -> {34};
47 -> {34};
} }
@@ -6,19 +6,17 @@ digraph delayedAssignment_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function <init>" style="filled" fillcolor=red]; 0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 2 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 1 [label="Exit function <init>" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {1};
1 -> {2};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
3 [label="Enter function foo" style="filled" fillcolor=red]; 3 [label="Enter function foo" style="filled" fillcolor=red];
4 [label="Exit function foo" style="filled" fillcolor=red]; 4 [label="Exit function foo" style="filled" fillcolor=red];
} }
3 -> {4}; 3 -> {4};
subgraph cluster_2 { subgraph cluster_2 {
@@ -26,70 +24,67 @@ digraph delayedAssignment_kt {
5 [label="Enter class A" style="filled" fillcolor=red]; 5 [label="Enter class A" style="filled" fillcolor=red];
6 [label="Exit class A" style="filled" fillcolor=red]; 6 [label="Exit class A" style="filled" fillcolor=red];
} }
5 -> {6} [color=green]; 5 -> {6} [color=green];
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
7 [label="Enter function test" style="filled" fillcolor=red]; 7 [label="Enter function test" style="filled" fillcolor=red];
8 [label="Variable declaration: lval a: R|A?|"]; 9 [label="Variable declaration: lval a: R|A?|"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
9 [label="Enter when"]; 10 [label="Enter when"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
10 [label="Enter when branch condition "]; 12 [label="Enter when branch condition "];
11 [label="Access variable R|<local>/b|"]; 13 [label="Access variable R|<local>/b|"];
12 [label="Exit when branch condition"]; 14 [label="Exit when branch condition"];
} }
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
13 [label="Enter when branch condition else"]; 23 [label="Enter when branch condition else"];
14 [label="Exit when branch condition"]; 24 [label="Exit when branch condition"];
} }
15 [label="Enter when branch result"]; 25 [label="Enter when branch result"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
16 [label="Enter block"]; 26 [label="Enter block"];
17 [label="Const: Null(null)"]; 27 [label="Const: Null(null)"];
18 [label="Assignmenet: R|<local>/a|"]; 28 [label="Assignment: R|<local>/a|"];
19 [label="Exit block"]; 29 [label="Exit block"];
} }
20 [label="Exit when branch result"]; 30 [label="Exit when branch result"];
21 [label="Enter when branch result"]; 15 [label="Enter when branch result"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
22 [label="Enter block"]; 16 [label="Enter block"];
23 [label="Function call: R|/A.A|()"]; 17 [label="Function call: R|/A.A|()"];
24 [label="Assignmenet: R|<local>/a|"]; 18 [label="Assignment: R|<local>/a|"];
25 [label="Access variable R|<local>/a|"]; 19 [label="Access variable R|<local>/a|"];
26 [label="Function call: R|<local>/a|.R|/A.foo|()"]; 20 [label="Function call: R|<local>/a|.R|/A.foo|()"];
27 [label="Exit block"]; 21 [label="Exit block"];
} }
28 [label="Exit when branch result"]; 22 [label="Exit when branch result"];
29 [label="Exit when"]; 11 [label="Exit when"];
} }
30 [label="Access variable R|<local>/a|"]; 31 [label="Access variable R|<local>/a|"];
31 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"]; 32 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
32 [label="Exit function test" style="filled" fillcolor=red]; 8 [label="Exit function test" style="filled" fillcolor=red];
} }
7 -> {9};
7 -> {8};
8 -> {9};
9 -> {10}; 9 -> {10};
10 -> {11}; 10 -> {12};
11 -> {12}; 11 -> {31};
12 -> {21 13}; 12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15 23};
15 -> {16}; 15 -> {16};
16 -> {17}; 16 -> {17};
17 -> {18}; 17 -> {18};
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {29}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {11};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
@@ -97,7 +92,8 @@ digraph delayedAssignment_kt {
27 -> {28}; 27 -> {28};
28 -> {29}; 28 -> {29};
29 -> {30}; 29 -> {30};
30 -> {31}; 30 -> {11};
31 -> {32}; 31 -> {32};
32 -> {8};
} }
@@ -6,94 +6,90 @@ digraph smartcastAfterReassignment_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function test_1" style="filled" fillcolor=red]; 0 [label="Enter function test_1" style="filled" fillcolor=red];
1 [label="Const: Int(1)"]; 2 [label="Const: Int(1)"];
2 [label="Variable declaration: lvar x: R|kotlin/Any|"]; 3 [label="Variable declaration: lvar x: R|kotlin/Any|"];
3 [label="Const: String()"]; 4 [label="Const: String()"];
4 [label="Assignmenet: R|<local>/x|"]; 5 [label="Assignment: R|<local>/x|"];
5 [label="Access variable R|<local>/x|"]; 6 [label="Access variable R|<local>/x|"];
6 [label="Access variable R|kotlin/String.length|"]; 7 [label="Access variable R|kotlin/String.length|"];
7 [label="Exit function test_1" style="filled" fillcolor=red]; 1 [label="Exit function test_1" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1};
1 -> {2};
2 -> {3}; 2 -> {3};
3 -> {4}; 3 -> {4};
4 -> {5}; 4 -> {5};
5 -> {6}; 5 -> {6};
6 -> {7}; 6 -> {7};
7 -> {1};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
8 [label="Enter function test_2" style="filled" fillcolor=red]; 8 [label="Enter function test_2" style="filled" fillcolor=red];
9 [label="Const: Null(null)"]; 10 [label="Const: Null(null)"];
10 [label="Variable declaration: lvar x: R|kotlin/String?|"]; 11 [label="Variable declaration: lvar x: R|kotlin/String?|"];
subgraph cluster_2 { subgraph cluster_2 {
color=blue color=blue
11 [label="Enter when"]; 12 [label="Enter when"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
12 [label="Enter when branch condition "]; 14 [label="Enter when branch condition "];
13 [label="Access variable R|<local>/x|"]; 15 [label="Access variable R|<local>/x|"];
14 [label="Const: Null(null)"]; 16 [label="Const: Null(null)"];
15 [label="Operator =="]; 17 [label="Operator =="];
16 [label="Exit when branch condition"]; 18 [label="Exit when branch condition"];
} }
17 [label="Synthetic else branch"]; 25 [label="Synthetic else branch"];
18 [label="Enter when branch result"]; 19 [label="Enter when branch result"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
19 [label="Enter block"]; 20 [label="Enter block"];
20 [label="Const: String()"]; 21 [label="Const: String()"];
21 [label="Assignmenet: R|<local>/x|"]; 22 [label="Assignment: R|<local>/x|"];
22 [label="Exit block"]; 23 [label="Exit block"];
} }
23 [label="Exit when branch result"]; 24 [label="Exit when branch result"];
24 [label="Exit when"]; 13 [label="Exit when"];
} }
25 [label="Access variable R|<local>/x|"]; 26 [label="Access variable R|<local>/x|"];
26 [label="Access variable R|kotlin/String.length|"]; 27 [label="Access variable R|kotlin/String.length|"];
27 [label="Exit function test_2" style="filled" fillcolor=red]; 9 [label="Exit function test_2" style="filled" fillcolor=red];
} }
8 -> {10};
8 -> {9};
9 -> {10};
10 -> {11}; 10 -> {11};
11 -> {12}; 11 -> {12};
12 -> {13}; 12 -> {14};
13 -> {14}; 13 -> {26};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
16 -> {18 17}; 16 -> {17};
17 -> {24}; 17 -> {18};
18 -> {19}; 18 -> {19 25};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {23};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {13};
25 -> {26}; 25 -> {13};
26 -> {27}; 26 -> {27};
27 -> {9};
subgraph cluster_5 { subgraph cluster_5 {
color=red color=red
28 [label="Enter function test_3" style="filled" fillcolor=red]; 28 [label="Enter function test_3" style="filled" fillcolor=red];
29 [label="Const: Null(null)"]; 30 [label="Const: Null(null)"];
30 [label="Variable declaration: lvar x: R|kotlin/String?|"]; 31 [label="Variable declaration: lvar x: R|kotlin/String?|"];
31 [label="Const: String()"]; 32 [label="Const: String()"];
32 [label="Assignmenet: R|<local>/x|"]; 33 [label="Assignment: R|<local>/x|"];
33 [label="Access variable R|<local>/x|"]; 34 [label="Access variable R|<local>/x|"];
34 [label="Access variable R|kotlin/String.length|"]; 35 [label="Access variable R|kotlin/String.length|"];
35 [label="Const: Null(null)"]; 36 [label="Const: Null(null)"];
36 [label="Assignmenet: R|<local>/x|"]; 37 [label="Assignment: R|<local>/x|"];
37 [label="Access variable R|<local>/x|"]; 38 [label="Access variable R|<local>/x|"];
38 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"]; 39 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
39 [label="Exit function test_3" style="filled" fillcolor=red]; 29 [label="Exit function test_3" style="filled" fillcolor=red];
} }
28 -> {30};
28 -> {29};
29 -> {30};
30 -> {31}; 30 -> {31};
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
@@ -103,5 +99,6 @@ digraph smartcastAfterReassignment_kt {
36 -> {37}; 36 -> {37};
37 -> {38}; 37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {29};
} }
@@ -6,290 +6,279 @@ digraph callsInPlace_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function test" style="filled" fillcolor=red]; 0 [label="Enter function test" style="filled" fillcolor=red];
1 [label="Variable declaration: lval x: R|kotlin/Int|"]; 2 [label="Variable declaration: lval x: R|kotlin/Int|"];
2 [label="Postponed enter to lambda"]; 3 [label="Postponed enter to lambda"];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
3 [label="Enter function anonymousFunction"]; 5 [label="Enter function anonymousFunction"];
4 [label="Const: Int(1)"]; 7 [label="Const: Int(1)"];
5 [label="Assignmenet: R|<local>/x|"]; 8 [label="Assignment: R|<local>/x|"];
6 [label="Exit function anonymousFunction"]; 6 [label="Exit function anonymousFunction"];
} }
7 [label="Call arguments union" style="filled" fillcolor=yellow]; 10 [label="Call arguments union" style="filled" fillcolor=yellow];
8 [label="Postponed exit from lambda"]; 4 [label="Postponed exit from lambda"];
9 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)"]; 9 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)"];
10 [label="Access variable R|<local>/x|"]; 11 [label="Access variable R|<local>/x|"];
11 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"]; 12 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
12 [label="Exit function test" style="filled" fillcolor=red]; 1 [label="Exit function test" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1};
1 -> {2};
2 -> {3}; 2 -> {3};
2 -> {8} [color=red]; 3 -> {5};
3 -> {4}; 3 -> {4} [color=red];
4 -> {5}; 4 -> {9} [color=green];
5 -> {6}; 5 -> {7};
6 -> {8} [color=green]; 6 -> {4} [color=green];
6 -> {7} [color=red]; 6 -> {10} [color=red];
7 -> {9} [color=red]; 7 -> {8};
8 -> {9} [color=green]; 8 -> {6};
9 -> {10}; 9 -> {11};
10 -> {11}; 10 -> {9} [color=red];
11 -> {12}; 11 -> {12};
12 -> {1};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
13 [label="Enter function test_2" style="filled" fillcolor=red]; 13 [label="Enter function test_2" style="filled" fillcolor=red];
14 [label="Const: Int(10)"]; 15 [label="Const: Int(10)"];
15 [label="Postponed enter to lambda"]; 16 [label="Postponed enter to lambda"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
16 [label="Enter function anonymousFunction"]; 18 [label="Enter function anonymousFunction"];
17 [label="Const: String(test_2)"]; 20 [label="Const: String(test_2)"];
18 [label="Exit function anonymousFunction"]; 19 [label="Exit function anonymousFunction"];
} }
19 [label="Postponed exit from lambda"]; 17 [label="Postponed exit from lambda"];
20 [label="Function call: R|kotlin/repeat|(...)"]; 21 [label="Function call: R|kotlin/repeat|(...)"];
21 [label="Exit function test_2" style="filled" fillcolor=red]; 14 [label="Exit function test_2" style="filled" fillcolor=red];
} }
13 -> {15};
13 -> {14};
14 -> {15};
15 -> {16}; 15 -> {16};
15 -> {19} [color=red]; 16 -> {18};
16 -> {18 17}; 16 -> {17} [color=red];
17 -> {18}; 17 -> {21};
18 -> {16}; 18 -> {19 20};
18 -> {19} [color=green]; 19 -> {18};
19 -> {20}; 19 -> {17} [color=green];
20 -> {21}; 20 -> {19};
21 -> {14};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
22 [label="Enter function test_3" style="filled" fillcolor=red]; 22 [label="Enter function test_3" style="filled" fillcolor=red];
23 [label="Postponed enter to lambda"]; 24 [label="Postponed enter to lambda"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
24 [label="Enter function anonymousFunction"]; 27 [label="Enter function anonymousFunction"];
25 [label="Const: String(test_3)"]; 29 [label="Const: String(test_3)"];
26 [label="Exit function anonymousFunction"]; 28 [label="Exit function anonymousFunction"];
} }
27 [label="Postponed exit from lambda"]; 25 [label="Postponed exit from lambda"];
28 [label="Const: Int(10)"]; 26 [label="Const: Int(10)"];
29 [label="Function call: R|kotlin/repeat|(...)"]; 30 [label="Function call: R|kotlin/repeat|(...)"];
30 [label="Exit function test_3" style="filled" fillcolor=red]; 23 [label="Exit function test_3" style="filled" fillcolor=red];
} }
22 -> {24};
22 -> {23}; 24 -> {27};
23 -> {24}; 24 -> {25} [color=red];
23 -> {27} [color=red];
24 -> {26 25};
25 -> {26}; 25 -> {26};
26 -> {24}; 26 -> {30};
26 -> {27} [color=green]; 27 -> {28 29};
27 -> {28}; 28 -> {27};
28 -> {29}; 28 -> {25} [color=green];
29 -> {30}; 29 -> {28};
30 -> {23};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
31 [label="Enter function test_4" style="filled" fillcolor=red]; 31 [label="Enter function test_4" style="filled" fillcolor=red];
32 [label="Const: Int(1)"]; 33 [label="Const: Int(1)"];
33 [label="Postponed enter to lambda"]; 34 [label="Postponed enter to lambda"];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
34 [label="Enter function anonymousFunction"]; 36 [label="Enter function anonymousFunction"];
35 [label="Const: String(test_4)"]; 38 [label="Const: String(test_4)"];
36 [label="Access variable R|<local>/it|"]; 39 [label="Access variable R|<local>/it|"];
37 [label="Const: Int(0)"]; 40 [label="Const: Int(0)"];
38 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)"]; 41 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)"];
39 [label="Comparison >"]; 42 [label="Comparison >"];
40 [label="Exit function anonymousFunction"]; 37 [label="Exit function anonymousFunction"];
} }
41 [label="Call arguments union" style="filled" fillcolor=yellow]; 44 [label="Call arguments union" style="filled" fillcolor=yellow];
42 [label="Postponed exit from lambda"]; 35 [label="Postponed exit from lambda"];
43 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)"]; 43 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)"];
44 [label="Exit function test_4" style="filled" fillcolor=red]; 32 [label="Exit function test_4" style="filled" fillcolor=red];
} }
31 -> {33};
31 -> {32};
32 -> {33};
33 -> {34}; 33 -> {34};
33 -> {42} [color=red]; 34 -> {36};
34 -> {35}; 34 -> {35} [color=red];
35 -> {36}; 35 -> {43} [color=green];
36 -> {37}; 36 -> {38};
37 -> {38}; 37 -> {35} [color=green];
37 -> {44} [color=red];
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {42} [color=green]; 40 -> {41};
40 -> {41} [color=red]; 41 -> {42};
41 -> {43} [color=red]; 42 -> {37};
42 -> {43} [color=green]; 43 -> {32};
43 -> {44}; 44 -> {43} [color=red];
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
45 [label="Enter function test_5" style="filled" fillcolor=red]; 45 [label="Enter function test_5" style="filled" fillcolor=red];
46 [label="Const: Int(1)"]; 47 [label="Const: Int(1)"];
47 [label="Postponed enter to lambda"]; 48 [label="Postponed enter to lambda"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
48 [label="Enter function anonymousFunction"]; 50 [label="Enter function anonymousFunction"];
49 [label="Const: String(test_5)"]; 52 [label="Const: String(test_5)"];
50 [label="Access variable R|<local>/it|"]; 53 [label="Access variable R|<local>/it|"];
51 [label="Const: Int(0)"]; 54 [label="Const: Int(0)"];
52 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)"]; 55 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)"];
53 [label="Comparison >"]; 56 [label="Comparison >"];
54 [label="Exit function anonymousFunction"]; 51 [label="Exit function anonymousFunction"];
} }
55 [label="Call arguments union" style="filled" fillcolor=yellow]; 58 [label="Call arguments union" style="filled" fillcolor=yellow];
56 [label="Postponed exit from lambda"]; 49 [label="Postponed exit from lambda"];
57 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)"]; 57 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)"];
58 [label="Exit function test_5" style="filled" fillcolor=red]; 46 [label="Exit function test_5" style="filled" fillcolor=red];
} }
45 -> {47};
45 -> {46};
46 -> {47};
47 -> {48}; 47 -> {48};
47 -> {56} [color=red]; 48 -> {50};
48 -> {49}; 48 -> {49} [color=red];
49 -> {50}; 49 -> {57} [color=green];
50 -> {51}; 50 -> {52};
51 -> {52}; 51 -> {49} [color=green];
51 -> {58} [color=red];
52 -> {53}; 52 -> {53};
53 -> {54}; 53 -> {54};
54 -> {56} [color=green]; 54 -> {55};
54 -> {55} [color=red]; 55 -> {56};
55 -> {57} [color=red]; 56 -> {51};
56 -> {57} [color=green]; 57 -> {46};
57 -> {58}; 58 -> {57} [color=red];
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
59 [label="Enter function myRun" style="filled" fillcolor=red]; 59 [label="Enter function myRun" style="filled" fillcolor=red];
60 [label="Function call: R|<local>/block1|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"]; 61 [label="Function call: R|<local>/block1|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
61 [label="Function call: R|<local>/block2|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"]; 62 [label="Function call: R|<local>/block2|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
62 [label="Exit function myRun" style="filled" fillcolor=red]; 60 [label="Exit function myRun" style="filled" fillcolor=red];
} }
59 -> {61};
59 -> {60};
60 -> {61};
61 -> {62}; 61 -> {62};
62 -> {60};
subgraph cluster_11 { subgraph cluster_11 {
color=red color=red
63 [label="Enter function test_6" style="filled" fillcolor=red]; 63 [label="Enter function test_6" style="filled" fillcolor=red];
64 [label="Postponed enter to lambda"]; 65 [label="Postponed enter to lambda"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
65 [label="Enter function anonymousFunction"]; 69 [label="Enter function anonymousFunction"];
66 [label="Const: String(test_6_1)"]; 71 [label="Const: String(test_6_1)"];
67 [label="Exit function anonymousFunction"]; 70 [label="Exit function anonymousFunction"];
} }
68 [label="Postponed exit from lambda"]; 66 [label="Postponed exit from lambda"];
69 [label="Postponed enter to lambda"]; 67 [label="Postponed enter to lambda"];
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
70 [label="Enter function anonymousFunction"]; 72 [label="Enter function anonymousFunction"];
71 [label="Const: String(test_6_2)"]; 74 [label="Const: String(test_6_2)"];
72 [label="Exit function anonymousFunction"]; 73 [label="Exit function anonymousFunction"];
} }
73 [label="Postponed exit from lambda"]; 68 [label="Postponed exit from lambda"];
74 [label="Function call: R|/myRun|(...)"]; 75 [label="Function call: R|/myRun|(...)"];
75 [label="Exit function test_6" style="filled" fillcolor=red]; 64 [label="Exit function test_6" style="filled" fillcolor=red];
} }
63 -> {65};
63 -> {64}; 65 -> {69};
64 -> {65}; 65 -> {66} [color=red];
64 -> {68} [color=red];
65 -> {67 66};
66 -> {67}; 66 -> {67};
67 -> {65}; 67 -> {72};
67 -> {68} [color=green]; 67 -> {68} [color=red];
68 -> {69}; 68 -> {75};
69 -> {70}; 69 -> {70 71};
69 -> {73} [color=red]; 70 -> {69};
70 -> {72 71}; 70 -> {66} [color=green];
71 -> {72}; 71 -> {70};
72 -> {70}; 72 -> {73 74};
72 -> {73} [color=green]; 73 -> {72};
73 -> {74}; 73 -> {68} [color=green];
74 -> {75}; 74 -> {73};
75 -> {64};
subgraph cluster_14 { subgraph cluster_14 {
color=red color=red
76 [label="Enter function test_7" style="filled" fillcolor=red]; 76 [label="Enter function test_7" style="filled" fillcolor=red];
77 [label="Postponed enter to lambda"]; 78 [label="Postponed enter to lambda"];
subgraph cluster_15 { subgraph cluster_15 {
color=blue color=blue
78 [label="Enter function anonymousFunction"]; 82 [label="Enter function anonymousFunction"];
79 [label="Const: String(test_7_2)"]; 84 [label="Const: String(test_7_2)"];
80 [label="Exit function anonymousFunction"]; 83 [label="Exit function anonymousFunction"];
} }
81 [label="Postponed exit from lambda"]; 79 [label="Postponed exit from lambda"];
82 [label="Postponed enter to lambda"]; 80 [label="Postponed enter to lambda"];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
83 [label="Enter function anonymousFunction"]; 85 [label="Enter function anonymousFunction"];
84 [label="Const: String(test_7_1)"]; 87 [label="Const: String(test_7_1)"];
85 [label="Exit function anonymousFunction"]; 86 [label="Exit function anonymousFunction"];
} }
86 [label="Postponed exit from lambda"]; 81 [label="Postponed exit from lambda"];
87 [label="Function call: R|/myRun|(...)"]; 88 [label="Function call: R|/myRun|(...)"];
88 [label="Exit function test_7" style="filled" fillcolor=red]; 77 [label="Exit function test_7" style="filled" fillcolor=red];
} }
76 -> {78};
76 -> {77}; 78 -> {82};
77 -> {78}; 78 -> {79} [color=red];
77 -> {81} [color=red];
78 -> {80 79};
79 -> {80}; 79 -> {80};
80 -> {78}; 80 -> {85};
80 -> {81} [color=green]; 80 -> {81} [color=red];
81 -> {82}; 81 -> {88};
82 -> {83}; 82 -> {83 84};
82 -> {86} [color=red]; 83 -> {82};
83 -> {85 84}; 83 -> {79} [color=green];
84 -> {85}; 84 -> {83};
85 -> {83}; 85 -> {86 87};
85 -> {86} [color=green]; 86 -> {85};
86 -> {87}; 86 -> {81} [color=green];
87 -> {88}; 87 -> {86};
88 -> {77};
subgraph cluster_17 { subgraph cluster_17 {
color=red color=red
89 [label="Enter function myDummyRun" style="filled" fillcolor=red]; 89 [label="Enter function myDummyRun" style="filled" fillcolor=red];
90 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"]; 91 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
91 [label="Exit function myDummyRun" style="filled" fillcolor=red]; 90 [label="Exit function myDummyRun" style="filled" fillcolor=red];
} }
89 -> {91};
89 -> {90}; 91 -> {90};
90 -> {91};
subgraph cluster_18 { subgraph cluster_18 {
color=red color=red
92 [label="Enter function test_8" style="filled" fillcolor=red]; 92 [label="Enter function test_8" style="filled" fillcolor=red];
93 [label="Postponed enter to lambda"]; 94 [label="Postponed enter to lambda"];
94 [label="Postponed exit from lambda"]; subgraph cluster_19 {
95 [label="Function call: R|/myDummyRun|(...)"]; color=blue
96 [label="Exit function test_8" style="filled" fillcolor=red]; 97 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
99 [label="Const: String(test_8)"];
98 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
95 [label="Postponed exit from lambda"];
96 [label="Function call: R|/myDummyRun|(...)"];
93 [label="Exit function test_8" style="filled" fillcolor=red];
} }
92 -> {94};
92 -> {93}; 94 -> {95 95} [color=green];
93 -> {94 94} [color=green]; 94 -> {97} [color=red];
94 -> {95};
95 -> {96}; 95 -> {96};
96 -> {93};
subgraph cluster_19 { 97 -> {99};
color=red 99 -> {98};
97 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
98 [label="Const: String(test_8)"];
99 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
97 -> {98};
98 -> {99};
} }
@@ -6,23 +6,21 @@ digraph conditionalEffects_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function test_1" style="filled" fillcolor=red]; 0 [label="Enter function test_1" style="filled" fillcolor=red];
1 [label="Access variable R|<local>/x|"]; 2 [label="Access variable R|<local>/x|"];
2 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"]; 3 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
3 [label="Function call: R|kotlin/require|(...)"]; 4 [label="Function call: R|kotlin/require|(...)"];
subgraph cluster_1 { subgraph cluster_1 {
color=blue color=blue
4 [label="Enter contract"]; 5 [label="Enter contract"];
5 [label="Access variable R|<local>/x|"]; 6 [label="Access variable R|<local>/x|"];
6 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"]; 7 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
7 [label="Exit contract"]; 8 [label="Exit contract"];
} }
8 [label="Access variable R|<local>/x|"]; 9 [label="Access variable R|<local>/x|"];
9 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"]; 10 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
10 [label="Exit function test_1" style="filled" fillcolor=red]; 1 [label="Exit function test_1" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1};
1 -> {2};
2 -> {3}; 2 -> {3};
3 -> {4}; 3 -> {4};
4 -> {5}; 4 -> {5};
@@ -31,27 +29,26 @@ digraph conditionalEffects_kt {
7 -> {8}; 7 -> {8};
8 -> {9}; 8 -> {9};
9 -> {10}; 9 -> {10};
10 -> {1};
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
11 [label="Enter function test_2" style="filled" fillcolor=red]; 11 [label="Enter function test_2" style="filled" fillcolor=red];
12 [label="Access variable R|<local>/x|"]; 13 [label="Access variable R|<local>/x|"];
13 [label="Function call: R|kotlin/requireNotNull|<R|kotlin/String|>(...)"]; 14 [label="Function call: R|kotlin/requireNotNull|<R|kotlin/String|>(...)"];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
14 [label="Enter contract"]; 15 [label="Enter contract"];
15 [label="Access variable R|<local>/x|"]; 16 [label="Access variable R|<local>/x|"];
16 [label="Const: Null(null)"]; 17 [label="Const: Null(null)"];
17 [label="Operator !="]; 18 [label="Operator !="];
18 [label="Exit contract"]; 19 [label="Exit contract"];
} }
19 [label="Access variable R|<local>/x|"]; 20 [label="Access variable R|<local>/x|"];
20 [label="Access variable R|kotlin/String.length|"]; 21 [label="Access variable R|kotlin/String.length|"];
21 [label="Exit function test_2" style="filled" fillcolor=red]; 12 [label="Exit function test_2" style="filled" fillcolor=red];
} }
11 -> {13};
11 -> {12};
12 -> {13};
13 -> {14}; 13 -> {14};
14 -> {15}; 14 -> {15};
15 -> {16}; 15 -> {16};
@@ -60,29 +57,28 @@ digraph conditionalEffects_kt {
18 -> {19}; 18 -> {19};
19 -> {20}; 19 -> {20};
20 -> {21}; 20 -> {21};
21 -> {12};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
22 [label="Enter function test_3" style="filled" fillcolor=red]; 22 [label="Enter function test_3" style="filled" fillcolor=red];
23 [label="Access variable R|<local>/x|"]; 24 [label="Access variable R|<local>/x|"];
24 [label="Const: Null(null)"]; 25 [label="Const: Null(null)"];
25 [label="Operator !="]; 26 [label="Operator !="];
26 [label="Function call: R|kotlin/require|(...)"]; 27 [label="Function call: R|kotlin/require|(...)"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
27 [label="Enter contract"]; 28 [label="Enter contract"];
28 [label="Access variable R|<local>/x|"]; 29 [label="Access variable R|<local>/x|"];
29 [label="Const: Null(null)"]; 30 [label="Const: Null(null)"];
30 [label="Operator !="]; 31 [label="Operator !="];
31 [label="Exit contract"]; 32 [label="Exit contract"];
} }
32 [label="Access variable R|<local>/x|"]; 33 [label="Access variable R|<local>/x|"];
33 [label="Access variable R|kotlin/String.length|"]; 34 [label="Access variable R|kotlin/String.length|"];
34 [label="Exit function test_3" style="filled" fillcolor=red]; 23 [label="Exit function test_3" style="filled" fillcolor=red];
} }
22 -> {24};
22 -> {23};
23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {26}; 25 -> {26};
26 -> {27}; 26 -> {27};
@@ -93,146 +89,144 @@ digraph conditionalEffects_kt {
31 -> {32}; 31 -> {32};
32 -> {33}; 32 -> {33};
33 -> {34}; 33 -> {34};
34 -> {23};
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
35 [label="Enter function test_4" style="filled" fillcolor=red]; 35 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
36 [label="Enter &&"]; 38 [label="Enter &&"];
37 [label="Access variable R|<local>/x|"]; 39 [label="Access variable R|<local>/x|"];
38 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"]; 40 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
39 [label="Exit left part of &&"]; 41 [label="Exit left part of &&"];
40 [label="Enter right part of &&"]; 42 [label="Enter right part of &&"];
41 [label="Access variable R|<local>/y|"]; 43 [label="Access variable R|<local>/y|"];
42 [label="Const: Null(null)"]; 44 [label="Const: Null(null)"];
43 [label="Operator !="]; 45 [label="Operator !="];
44 [label="Exit &&"]; 37 [label="Exit &&"];
} }
45 [label="Function call: R|kotlin/require|(...)"]; 46 [label="Function call: R|kotlin/require|(...)"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
46 [label="Enter contract"]; 47 [label="Enter contract"];
subgraph cluster_9 { subgraph cluster_9 {
color=blue color=blue
47 [label="Enter &&"]; 49 [label="Enter &&"];
48 [label="Access variable R|<local>/x|"]; 50 [label="Access variable R|<local>/x|"];
49 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"]; 51 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
50 [label="Exit left part of &&"]; 52 [label="Exit left part of &&"];
51 [label="Enter right part of &&"]; 53 [label="Enter right part of &&"];
52 [label="Access variable R|<local>/y|"]; 54 [label="Access variable R|<local>/y|"];
53 [label="Const: Null(null)"]; 55 [label="Const: Null(null)"];
54 [label="Operator !="]; 56 [label="Operator !="];
55 [label="Exit &&"]; 48 [label="Exit &&"];
} }
56 [label="Exit contract"]; 57 [label="Exit contract"];
} }
57 [label="Access variable R|<local>/x|"]; 58 [label="Access variable R|<local>/x|"];
58 [label="Access variable R|kotlin/String.length|"]; 59 [label="Access variable R|kotlin/String.length|"];
59 [label="Access variable R|<local>/y|"]; 60 [label="Access variable R|<local>/y|"];
60 [label="Access variable R|kotlin/String.length|"]; 61 [label="Access variable R|kotlin/String.length|"];
61 [label="Exit function test_4" style="filled" fillcolor=red]; 36 [label="Exit function test_4" style="filled" fillcolor=red];
} }
35 -> {38};
35 -> {36}; 37 -> {46};
36 -> {37};
37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {44 40}; 39 -> {40};
40 -> {41}; 40 -> {41};
41 -> {42}; 41 -> {37 42};
42 -> {43}; 42 -> {43};
43 -> {44}; 43 -> {44};
44 -> {45}; 44 -> {45};
45 -> {46}; 45 -> {37};
46 -> {47}; 46 -> {47};
47 -> {48}; 47 -> {49};
48 -> {49}; 48 -> {57};
49 -> {50}; 49 -> {50};
50 -> {55 51}; 50 -> {51};
51 -> {52}; 51 -> {52};
52 -> {53}; 52 -> {48 53};
53 -> {54}; 53 -> {54};
54 -> {55}; 54 -> {55};
55 -> {56}; 55 -> {56};
56 -> {57}; 56 -> {48};
57 -> {58}; 57 -> {58};
58 -> {59}; 58 -> {59};
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {61};
61 -> {36};
subgraph cluster_10 { subgraph cluster_10 {
color=red color=red
62 [label="Enter function test_5" style="filled" fillcolor=red]; 62 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
63 [label="Enter when"]; 64 [label="Enter when"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
64 [label="Enter when branch condition "]; 66 [label="Enter when branch condition "];
65 [label="Access variable R|<local>/b|"]; 67 [label="Access variable R|<local>/b|"];
66 [label="Exit when branch condition"]; 68 [label="Exit when branch condition"];
} }
subgraph cluster_13 { subgraph cluster_13 {
color=blue color=blue
67 [label="Enter when branch condition else"]; 82 [label="Enter when branch condition else"];
68 [label="Exit when branch condition"]; 83 [label="Exit when branch condition"];
} }
69 [label="Enter when branch result"]; 84 [label="Enter when branch result"];
subgraph cluster_14 { subgraph cluster_14 {
color=blue
85 [label="Enter block"];
86 [label="Access variable R|<local>/x|"];
87 [label="Access variable <Unresolved name: length>#"];
88 [label="Exit block"];
}
89 [label="Exit when branch result"];
69 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue color=blue
70 [label="Enter block"]; 70 [label="Enter block"];
71 [label="Access variable R|<local>/x|"]; 71 [label="Access variable R|<local>/x|"];
72 [label="Access variable <Unresolved name: length>#"]; 72 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
73 [label="Exit block"]; 73 [label="Function call: R|kotlin/require|(...)"];
}
74 [label="Exit when branch result"];
75 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
76 [label="Enter block"];
77 [label="Access variable R|<local>/x|"];
78 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
79 [label="Function call: R|kotlin/require|(...)"];
subgraph cluster_16 { subgraph cluster_16 {
color=blue color=blue
80 [label="Enter contract"]; 74 [label="Enter contract"];
81 [label="Access variable R|<local>/x|"]; 75 [label="Access variable R|<local>/x|"];
82 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"]; 76 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
83 [label="Exit contract"]; 77 [label="Exit contract"];
} }
84 [label="Access variable R|<local>/x|"]; 78 [label="Access variable R|<local>/x|"];
85 [label="Access variable R|kotlin/String.length|"]; 79 [label="Access variable R|kotlin/String.length|"];
86 [label="Exit block"]; 80 [label="Exit block"];
} }
87 [label="Exit when branch result"]; 81 [label="Exit when branch result"];
88 [label="Exit when"]; 65 [label="Exit when"];
} }
89 [label="Access variable R|<local>/x|"]; 90 [label="Access variable R|<local>/x|"];
90 [label="Access variable <Unresolved name: length>#"]; 91 [label="Access variable <Unresolved name: length>#"];
91 [label="Exit function test_5" style="filled" fillcolor=red]; 63 [label="Exit function test_5" style="filled" fillcolor=red];
} }
62 -> {64};
62 -> {63}; 64 -> {66};
63 -> {64}; 65 -> {90};
64 -> {65}; 66 -> {67};
65 -> {66};
66 -> {75 67};
67 -> {68}; 67 -> {68};
68 -> {69}; 68 -> {69 82};
69 -> {70}; 69 -> {70};
70 -> {71}; 70 -> {71};
71 -> {72}; 71 -> {72};
72 -> {73}; 72 -> {73};
73 -> {74}; 73 -> {74};
74 -> {88}; 74 -> {75};
75 -> {76}; 75 -> {76};
76 -> {77}; 76 -> {77};
77 -> {78}; 77 -> {78};
78 -> {79}; 78 -> {79};
79 -> {80}; 79 -> {80};
80 -> {81}; 80 -> {81};
81 -> {82}; 81 -> {65};
82 -> {83}; 82 -> {83};
83 -> {84}; 83 -> {84};
84 -> {85}; 84 -> {85};
@@ -240,34 +234,54 @@ digraph conditionalEffects_kt {
86 -> {87}; 86 -> {87};
87 -> {88}; 87 -> {88};
88 -> {89}; 88 -> {89};
89 -> {90}; 89 -> {65};
90 -> {91}; 90 -> {91};
91 -> {63};
subgraph cluster_17 { subgraph cluster_17 {
color=red color=red
92 [label="Enter function test_6" style="filled" fillcolor=red]; 92 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_18 { subgraph cluster_18 {
color=blue color=blue
93 [label="Enter when"]; 94 [label="Enter when"];
subgraph cluster_19 { subgraph cluster_19 {
color=blue color=blue
94 [label="Enter when branch condition "]; 96 [label="Enter when branch condition "];
95 [label="Access variable R|<local>/b|"]; 97 [label="Access variable R|<local>/b|"];
96 [label="Exit when branch condition"]; 98 [label="Exit when branch condition"];
} }
subgraph cluster_20 { subgraph cluster_20 {
color=blue color=blue
97 [label="Enter when branch condition else"]; 112 [label="Enter when branch condition else"];
98 [label="Exit when branch condition"]; 113 [label="Exit when branch condition"];
} }
99 [label="Enter when branch result"]; 114 [label="Enter when branch result"];
subgraph cluster_21 { subgraph cluster_21 {
color=blue
115 [label="Enter block"];
116 [label="Access variable R|<local>/x|"];
117 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
118 [label="Function call: R|kotlin/require|(...)"];
subgraph cluster_22 {
color=blue
119 [label="Enter contract"];
120 [label="Access variable R|<local>/x|"];
121 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
122 [label="Exit contract"];
}
123 [label="Access variable R|<local>/x|"];
124 [label="Access variable R|kotlin/String.length|"];
125 [label="Exit block"];
}
126 [label="Exit when branch result"];
99 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue color=blue
100 [label="Enter block"]; 100 [label="Enter block"];
101 [label="Access variable R|<local>/x|"]; 101 [label="Access variable R|<local>/x|"];
102 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"]; 102 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
103 [label="Function call: R|kotlin/require|(...)"]; 103 [label="Function call: R|kotlin/require|(...)"];
subgraph cluster_22 { subgraph cluster_24 {
color=blue color=blue
104 [label="Enter contract"]; 104 [label="Enter contract"];
105 [label="Access variable R|<local>/x|"]; 105 [label="Access variable R|<local>/x|"];
@@ -279,39 +293,18 @@ digraph conditionalEffects_kt {
110 [label="Exit block"]; 110 [label="Exit block"];
} }
111 [label="Exit when branch result"]; 111 [label="Exit when branch result"];
112 [label="Enter when branch result"]; 95 [label="Exit when"];
subgraph cluster_23 {
color=blue
113 [label="Enter block"];
114 [label="Access variable R|<local>/x|"];
115 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
116 [label="Function call: R|kotlin/require|(...)"];
subgraph cluster_24 {
color=blue
117 [label="Enter contract"];
118 [label="Access variable R|<local>/x|"];
119 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
120 [label="Exit contract"];
}
121 [label="Access variable R|<local>/x|"];
122 [label="Access variable R|kotlin/String.length|"];
123 [label="Exit block"];
}
124 [label="Exit when branch result"];
125 [label="Exit when"];
} }
126 [label="Access variable R|<local>/x|"]; 127 [label="Access variable R|<local>/x|"];
127 [label="Access variable R|kotlin/String.length|"]; 128 [label="Access variable R|kotlin/String.length|"];
128 [label="Exit function test_6" style="filled" fillcolor=red]; 93 [label="Exit function test_6" style="filled" fillcolor=red];
} }
92 -> {94};
92 -> {93}; 94 -> {96};
93 -> {94}; 95 -> {127};
94 -> {95}; 96 -> {97};
95 -> {96};
96 -> {112 97};
97 -> {98}; 97 -> {98};
98 -> {99}; 98 -> {99 112};
99 -> {100}; 99 -> {100};
100 -> {101}; 100 -> {101};
101 -> {102}; 101 -> {102};
@@ -324,7 +317,7 @@ digraph conditionalEffects_kt {
108 -> {109}; 108 -> {109};
109 -> {110}; 109 -> {110};
110 -> {111}; 110 -> {111};
111 -> {125}; 111 -> {95};
112 -> {113}; 112 -> {113};
113 -> {114}; 113 -> {114};
114 -> {115}; 114 -> {115};
@@ -339,7 +332,8 @@ digraph conditionalEffects_kt {
123 -> {124}; 123 -> {124};
124 -> {125}; 124 -> {125};
125 -> {126}; 125 -> {126};
126 -> {127}; 126 -> {95};
127 -> {128}; 127 -> {128};
128 -> {93};
} }
@@ -6,54 +6,49 @@ digraph delegateWithAnonymousObject_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function <init>" style="filled" fillcolor=red]; 0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 2 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
2 [label="Exit function <init>" style="filled" fillcolor=red]; 1 [label="Exit function <init>" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {1};
1 -> {2};
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
3 [label="Enter class DelegateProvider" style="filled" fillcolor=red]; 3 [label="Enter class DelegateProvider" style="filled" fillcolor=red];
4 [label="Exit class DelegateProvider" style="filled" fillcolor=red]; 4 [label="Exit class DelegateProvider" style="filled" fillcolor=red];
} }
3 -> {4} [color=green]; 3 -> {4} [color=green];
subgraph cluster_2 { subgraph cluster_2 {
color=red color=red
5 [label="Enter function delegate" style="filled" fillcolor=red]; 5 [label="Enter function delegate" style="filled" fillcolor=red];
6 [label="Const: Null(null)"]; 7 [label="Const: Null(null)"];
7 [label="Check not null: Null(null)!!"]; 8 [label="Check not null: Null(null)!!"];
8 [label="Jump: ^delegate Null(null)!!"]; 9 [label="Jump: ^delegate Null(null)!!"];
9 [label="Stub" style="filled" fillcolor=gray]; 10 [label="Stub" style="filled" fillcolor=gray];
10 [label="Exit function delegate" style="filled" fillcolor=red]; 6 [label="Exit function delegate" style="filled" fillcolor=red];
} }
5 -> {7};
5 -> {6};
6 -> {7};
7 -> {8}; 7 -> {8};
8 -> {10}; 8 -> {9};
8 -> {9} [style=dotted]; 9 -> {6};
9 -> {10} [style=dotted]; 9 -> {10} [style=dotted];
10 -> {6} [style=dotted];
subgraph cluster_3 { subgraph cluster_3 {
color=red color=red
11 [label="Enter function <init>" style="filled" fillcolor=red]; 11 [label="Enter function <init>" style="filled" fillcolor=red];
12 [label="Delegated constructor call: super<R|DelegateProvider<IssueListView>|>()"]; 13 [label="Delegated constructor call: super<R|DelegateProvider<IssueListView>|>()"];
13 [label="Exit function <init>" style="filled" fillcolor=red]; 12 [label="Exit function <init>" style="filled" fillcolor=red];
} }
11 -> {13};
11 -> {12}; 13 -> {12};
12 -> {13};
subgraph cluster_4 { subgraph cluster_4 {
color=red color=red
14 [label="Enter function updateFrom" style="filled" fillcolor=red]; 14 [label="Enter function updateFrom" style="filled" fillcolor=red];
15 [label="Exit function updateFrom" style="filled" fillcolor=red]; 15 [label="Exit function updateFrom" style="filled" fillcolor=red];
} }
14 -> {15}; 14 -> {15};
subgraph cluster_5 { subgraph cluster_5 {
@@ -61,149 +56,139 @@ digraph delegateWithAnonymousObject_kt {
16 [label="Enter class IssueListView" style="filled" fillcolor=red]; 16 [label="Enter class IssueListView" style="filled" fillcolor=red];
17 [label="Exit class IssueListView" style="filled" fillcolor=red]; 17 [label="Exit class IssueListView" style="filled" fillcolor=red];
} }
16 -> {17} [color=green]; 16 -> {17} [color=green];
subgraph cluster_6 { subgraph cluster_6 {
color=red color=red
18 [label="Enter function <init>" style="filled" fillcolor=red]; 18 [label="Enter function <init>" style="filled" fillcolor=red];
19 [label="Delegated constructor call: super<R|DelegateProvider<IssuesListUserProfile>|>()"]; 20 [label="Delegated constructor call: super<R|DelegateProvider<IssuesListUserProfile>|>()"];
20 [label="Exit function <init>" style="filled" fillcolor=red]; 19 [label="Exit function <init>" style="filled" fillcolor=red];
} }
18 -> {20};
18 -> {19}; 20 -> {19};
19 -> {20};
subgraph cluster_7 { subgraph cluster_7 {
color=red color=red
21 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 24 [label="Enter function <init>" style="filled" fillcolor=red];
22 [label="Exit anonymous object"]; 26 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; 25 [label="Exit function <init>" style="filled" fillcolor=red];
} }
24 -> {26};
21 -> {22}; 26 -> {25};
22 -> {23};
subgraph cluster_8 { subgraph cluster_8 {
color=red color=red
24 [label="Enter function <init>" style="filled" fillcolor=red]; 27 [label="Enter function getValue" style="filled" fillcolor=red];
25 [label="Delegated constructor call: super<R|kotlin/Any|>()"]; 29 [label="Function call: R|/IssueListView.IssueListView|()"];
26 [label="Exit function <init>" style="filled" fillcolor=red]; 30 [label="Jump: ^getValue R|/IssueListView.IssueListView|()"];
31 [label="Stub" style="filled" fillcolor=gray];
28 [label="Exit function getValue" style="filled" fillcolor=red];
} }
27 -> {29};
24 -> {25}; 29 -> {30};
25 -> {26}; 30 -> {28};
30 -> {31} [style=dotted];
31 -> {28} [style=dotted];
subgraph cluster_9 { subgraph cluster_9 {
color=red
27 [label="Enter function getValue" style="filled" fillcolor=red];
28 [label="Function call: R|/IssueListView.IssueListView|()"];
29 [label="Jump: ^getValue R|/IssueListView.IssueListView|()"];
30 [label="Stub" style="filled" fillcolor=gray];
31 [label="Exit function getValue" style="filled" fillcolor=red];
}
27 -> {28};
28 -> {29};
29 -> {31};
29 -> {30} [style=dotted];
30 -> {31} [style=dotted];
subgraph cluster_10 {
color=red color=red
32 [label="Enter function setValue" style="filled" fillcolor=red]; 32 [label="Enter function setValue" style="filled" fillcolor=red];
33 [label="Function call: R|/IssueListView.IssueListView|()"]; 34 [label="Function call: R|/IssueListView.IssueListView|()"];
34 [label="Access variable R|<local>/value|"]; 35 [label="Access variable R|<local>/value|"];
35 [label="Function call: R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(...)"]; 36 [label="Function call: R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(...)"];
36 [label="Jump: ^setValue R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(R|<local>/value|)"]; 37 [label="Jump: ^setValue R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(R|<local>/value|)"];
37 [label="Stub" style="filled" fillcolor=gray]; 38 [label="Stub" style="filled" fillcolor=gray];
38 [label="Exit function setValue" style="filled" fillcolor=red]; 33 [label="Exit function setValue" style="filled" fillcolor=red];
} }
32 -> {34};
32 -> {33};
33 -> {34};
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {38}; 36 -> {37};
36 -> {37} [style=dotted]; 37 -> {33};
37 -> {38} [style=dotted]; 37 -> {38} [style=dotted];
38 -> {33} [style=dotted];
subgraph cluster_11 { subgraph cluster_10 {
color=red color=red
39 [label="Enter class <anonymous>" style="filled" fillcolor=red]; 39 [label="Enter class <anonymous>" style="filled" fillcolor=red];
40 [label="Exit class <anonymous>" style="filled" fillcolor=red]; 40 [label="Exit class <anonymous>" style="filled" fillcolor=red];
} }
39 -> {40} [color=green]; 39 -> {40} [color=green];
subgraph cluster_12 { subgraph cluster_11 {
color=red color=red
41 [label="Enter function getter" style="filled" fillcolor=red]; 66 [label="Enter class IssuesListUserProfile" style="filled" fillcolor=red];
42 [label="Access variable D|/IssuesListUserProfile.issueListView|"]; subgraph cluster_12 {
43 [label="Access variable this@R|/IssuesListUserProfile|"]; color=blue
44 [label="Function call: D|/IssuesListUserProfile.issueListView|.R|FakeOverride<kotlin/properties/ReadWriteProperty.getValue: R|IssueListView|>|(...)"]; 54 [label="Enter property" style="filled" fillcolor=red];
45 [label="Jump: ^ D|/IssuesListUserProfile.issueListView|.R|FakeOverride<kotlin/properties/ReadWriteProperty.getValue: R|IssueListView|>|(this@R|/IssuesListUserProfile|, ::R|/IssuesListUserProfile.issueListView|)"]; 56 [label="Postponed enter to lambda"];
46 [label="Stub" style="filled" fillcolor=gray]; 57 [label="Postponed exit from lambda"];
47 [label="Exit function getter" style="filled" fillcolor=red]; 58 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)"];
59 [label="Access variable this@R|/IssuesListUserProfile|"];
60 [label="Access variable this@R|/IssuesListUserProfile|"];
61 [label="Access variable this@R|/IssuesListUserProfile|"];
62 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...).<Unresolved name: provideDelegate>#(...)"];
63 [label="Postponed enter to lambda"];
subgraph cluster_13 {
color=blue
21 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
23 [label="Exit anonymous object"];
22 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
64 [label="Postponed exit from lambda"];
65 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)"];
55 [label="Exit property" style="filled" fillcolor=red];
}
subgraph cluster_14 {
color=blue
48 [label="Enter function setter" style="filled" fillcolor=red];
50 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
51 [label="Access variable this@R|/IssuesListUserProfile|"];
52 [label="Access variable R|<local>/issueListView|"];
53 [label="Function call: D|/IssuesListUserProfile.issueListView|.R|FakeOverride<kotlin/properties/ReadWriteProperty.setValue: R|kotlin/Unit|>|(...)"];
49 [label="Exit function setter" style="filled" fillcolor=red];
}
subgraph cluster_15 {
color=blue
41 [label="Enter function getter" style="filled" fillcolor=red];
43 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
44 [label="Access variable this@R|/IssuesListUserProfile|"];
45 [label="Function call: D|/IssuesListUserProfile.issueListView|.R|FakeOverride<kotlin/properties/ReadWriteProperty.getValue: R|IssueListView|>|(...)"];
46 [label="Jump: ^ D|/IssuesListUserProfile.issueListView|.R|FakeOverride<kotlin/properties/ReadWriteProperty.getValue: R|IssueListView|>|(this@R|/IssuesListUserProfile|, ::R|/IssuesListUserProfile.issueListView|)"];
47 [label="Stub" style="filled" fillcolor=gray];
42 [label="Exit function getter" style="filled" fillcolor=red];
}
67 [label="Exit class IssuesListUserProfile" style="filled" fillcolor=red];
} }
66 -> {54} [color=green];
41 -> {42}; 54 -> {56};
42 -> {43}; 55 -> {67} [color=green];
43 -> {44}; 56 -> {57 57} [color=green];
44 -> {45};
45 -> {47};
45 -> {46} [style=dotted];
46 -> {47} [style=dotted];
subgraph cluster_13 {
color=red
48 [label="Enter function setter" style="filled" fillcolor=red];
49 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
50 [label="Access variable this@R|/IssuesListUserProfile|"];
51 [label="Access variable R|<local>/issueListView|"];
52 [label="Function call: D|/IssuesListUserProfile.issueListView|.R|FakeOverride<kotlin/properties/ReadWriteProperty.setValue: R|kotlin/Unit|>|(...)"];
53 [label="Exit function setter" style="filled" fillcolor=red];
}
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
subgraph cluster_14 {
color=red
54 [label="Enter property" style="filled" fillcolor=red];
55 [label="Postponed enter to lambda"];
56 [label="Postponed exit from lambda"];
57 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)"];
58 [label="Access variable this@R|/IssuesListUserProfile|"];
59 [label="Access variable this@R|/IssuesListUserProfile|"];
60 [label="Access variable this@R|/IssuesListUserProfile|"];
61 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...).<Unresolved name: provideDelegate>#(...)"];
62 [label="Postponed enter to lambda"];
63 [label="Postponed exit from lambda"];
64 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)"];
65 [label="Exit property" style="filled" fillcolor=red];
}
54 -> {55};
55 -> {56 56} [color=green];
56 -> {57};
57 -> {58}; 57 -> {58};
58 -> {59}; 58 -> {59};
59 -> {60}; 59 -> {60};
60 -> {61}; 60 -> {61};
61 -> {62}; 61 -> {62};
62 -> {63 63} [color=green]; 62 -> {63};
63 -> {64}; 63 -> {64 64} [color=green];
63 -> {21} [color=red];
64 -> {65}; 64 -> {65};
65 -> {55};
subgraph cluster_15 { 65 -> {41 48} [color=red];
color=red 21 -> {23};
66 [label="Enter class IssuesListUserProfile" style="filled" fillcolor=red]; 21 -> {24 27 32} [color=red];
67 [label="Exit class IssuesListUserProfile" style="filled" fillcolor=red]; 23 -> {22};
} 41 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {42};
46 -> {47} [style=dotted];
47 -> {42} [style=dotted];
48 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {49};
} }
@@ -6,24 +6,22 @@ digraph tryWithLambdaInside_kt {
subgraph cluster_0 { subgraph cluster_0 {
color=red color=red
0 [label="Enter function notInPlaceFilter" style="filled" fillcolor=red]; 0 [label="Enter function notInPlaceFilter" style="filled" fillcolor=red];
1 [label="Access variable this@R|/notInPlaceFilter|"]; 2 [label="Access variable this@R|/notInPlaceFilter|"];
2 [label="Jump: ^notInPlaceFilter this@R|/notInPlaceFilter|"]; 3 [label="Jump: ^notInPlaceFilter this@R|/notInPlaceFilter|"];
3 [label="Stub" style="filled" fillcolor=gray]; 4 [label="Stub" style="filled" fillcolor=gray];
4 [label="Exit function notInPlaceFilter" style="filled" fillcolor=red]; 1 [label="Exit function notInPlaceFilter" style="filled" fillcolor=red];
} }
0 -> {2};
0 -> {1}; 2 -> {3};
1 -> {2}; 3 -> {1};
2 -> {4};
2 -> {3} [style=dotted];
3 -> {4} [style=dotted]; 3 -> {4} [style=dotted];
4 -> {1} [style=dotted];
subgraph cluster_1 { subgraph cluster_1 {
color=red color=red
5 [label="Enter function foo" style="filled" fillcolor=red]; 5 [label="Enter function foo" style="filled" fillcolor=red];
6 [label="Exit function foo" style="filled" fillcolor=red]; 6 [label="Exit function foo" style="filled" fillcolor=red];
} }
5 -> {6}; 5 -> {6};
subgraph cluster_2 { subgraph cluster_2 {
@@ -31,40 +29,40 @@ digraph tryWithLambdaInside_kt {
7 [label="Enter function testInPlace" style="filled" fillcolor=red]; 7 [label="Enter function testInPlace" style="filled" fillcolor=red];
subgraph cluster_3 { subgraph cluster_3 {
color=blue color=blue
8 [label="Try expression enter"]; 9 [label="Try expression enter"];
subgraph cluster_4 { subgraph cluster_4 {
color=blue color=blue
9 [label="Try main block enter"]; 11 [label="Try main block enter"];
subgraph cluster_5 { subgraph cluster_5 {
color=blue color=blue
10 [label="Enter block"]; 13 [label="Enter block"];
11 [label="Access variable R|<local>/list|"]; 14 [label="Access variable R|<local>/list|"];
12 [label="Postponed enter to lambda"]; 15 [label="Postponed enter to lambda"];
subgraph cluster_6 { subgraph cluster_6 {
color=blue color=blue
13 [label="Enter function anonymousFunction"]; 17 [label="Enter function anonymousFunction"];
14 [label="Access variable R|<local>/it|"]; 19 [label="Access variable R|<local>/it|"];
15 [label="Exit function anonymousFunction"]; 18 [label="Exit function anonymousFunction"];
} }
16 [label="Postponed exit from lambda"]; 16 [label="Postponed exit from lambda"];
17 [label="Function call: R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(...)"]; 20 [label="Function call: R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(...)"];
18 [label="Exit block"]; 21 [label="Exit block"];
} }
19 [label="Try main block exit"]; 22 [label="Try main block exit"];
} }
subgraph cluster_7 { subgraph cluster_7 {
color=blue color=blue
20 [label="Enter finally"]; 12 [label="Enter finally"];
subgraph cluster_8 { subgraph cluster_8 {
color=blue color=blue
21 [label="Enter block"]; 23 [label="Enter block"];
22 [label="Exit block"]; 24 [label="Exit block"];
} }
23 [label="Exit finally"]; 25 [label="Exit finally"];
} }
24 [label="Try expression exit"]; 10 [label="Try expression exit"];
} }
25 [label="Jump: ^testInPlace try { 26 [label="Jump: ^testInPlace try {
R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(<L> = filter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| <kind=UNKNOWN> { R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(<L> = filter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| <kind=UNKNOWN> {
^ R|<local>/it| ^ R|<local>/it|
} }
@@ -73,67 +71,72 @@ digraph tryWithLambdaInside_kt {
finally { finally {
} }
"]; "];
26 [label="Stub" style="filled" fillcolor=gray]; 27 [label="Stub" style="filled" fillcolor=gray];
27 [label="Exit function testInPlace" style="filled" fillcolor=red]; 8 [label="Exit function testInPlace" style="filled" fillcolor=red];
} }
7 -> {9};
7 -> {8}; 9 -> {11};
8 -> {9}; 10 -> {26};
9 -> {27 20 10}; 11 -> {8 12 13};
10 -> {11}; 12 -> {23};
11 -> {12}; 13 -> {14};
12 -> {13};
12 -> {16} [color=red];
13 -> {15 14};
14 -> {15}; 14 -> {15};
15 -> {13}; 15 -> {17};
15 -> {16} [color=green]; 15 -> {16} [color=red];
16 -> {17}; 16 -> {20};
17 -> {18}; 17 -> {18 19};
18 -> {19}; 18 -> {17};
19 -> {24}; 18 -> {16} [color=green];
19 -> {18};
20 -> {21}; 20 -> {21};
21 -> {22}; 21 -> {22};
22 -> {23}; 22 -> {10};
23 -> {24}; 23 -> {24};
24 -> {25}; 24 -> {25};
25 -> {27}; 25 -> {10};
25 -> {26} [style=dotted]; 26 -> {8};
26 -> {27} [style=dotted]; 26 -> {27} [style=dotted];
27 -> {8} [style=dotted];
subgraph cluster_9 { subgraph cluster_9 {
color=red color=red
28 [label="Enter function testNotInPlace" style="filled" fillcolor=red]; 28 [label="Enter function testNotInPlace" style="filled" fillcolor=red];
subgraph cluster_10 { subgraph cluster_10 {
color=blue color=blue
29 [label="Try expression enter"]; 30 [label="Try expression enter"];
subgraph cluster_11 { subgraph cluster_11 {
color=blue color=blue
30 [label="Try main block enter"]; 32 [label="Try main block enter"];
subgraph cluster_12 { subgraph cluster_12 {
color=blue color=blue
31 [label="Enter block"]; 34 [label="Enter block"];
32 [label="Access variable R|<local>/list|"]; 35 [label="Access variable R|<local>/list|"];
33 [label="Postponed enter to lambda"]; 36 [label="Postponed enter to lambda"];
34 [label="Postponed exit from lambda"]; subgraph cluster_13 {
35 [label="Function call: R|<local>/list|.R|/notInPlaceFilter|<R|kotlin/Boolean|>(...)"]; color=blue
36 [label="Exit block"]; 46 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
48 [label="Access variable R|<local>/it|"];
47 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
37 [label="Postponed exit from lambda"];
38 [label="Function call: R|<local>/list|.R|/notInPlaceFilter|<R|kotlin/Boolean|>(...)"];
39 [label="Exit block"];
} }
37 [label="Try main block exit"]; 40 [label="Try main block exit"];
} }
subgraph cluster_13 { subgraph cluster_14 {
color=blue color=blue
38 [label="Enter finally"]; 33 [label="Enter finally"];
subgraph cluster_14 { subgraph cluster_15 {
color=blue color=blue
39 [label="Enter block"]; 41 [label="Enter block"];
40 [label="Exit block"]; 42 [label="Exit block"];
} }
41 [label="Exit finally"]; 43 [label="Exit finally"];
} }
42 [label="Try expression exit"]; 31 [label="Try expression exit"];
} }
43 [label="Jump: ^testNotInPlace try { 44 [label="Jump: ^testNotInPlace try {
R|<local>/list|.R|/notInPlaceFilter|<R|kotlin/Boolean|>(<L> = notInPlaceFilter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| { R|<local>/list|.R|/notInPlaceFilter|<R|kotlin/Boolean|>(<L> = notInPlaceFilter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| {
^ R|<local>/it| ^ R|<local>/it|
} }
@@ -142,37 +145,29 @@ finally {
finally { finally {
} }
"]; "];
44 [label="Stub" style="filled" fillcolor=gray]; 45 [label="Stub" style="filled" fillcolor=gray];
45 [label="Exit function testNotInPlace" style="filled" fillcolor=red]; 29 [label="Exit function testNotInPlace" style="filled" fillcolor=red];
} }
28 -> {30};
28 -> {29}; 30 -> {32};
29 -> {30}; 31 -> {44};
30 -> {45 38 31}; 32 -> {29 33 34};
31 -> {32}; 33 -> {41};
32 -> {33};
33 -> {34 34} [color=green];
34 -> {35}; 34 -> {35};
35 -> {36}; 35 -> {36};
36 -> {37}; 36 -> {37 37} [color=green];
37 -> {42}; 36 -> {46} [color=red];
37 -> {38};
38 -> {39}; 38 -> {39};
39 -> {40}; 39 -> {40};
40 -> {41}; 40 -> {31};
41 -> {42}; 41 -> {42};
42 -> {43}; 42 -> {43};
43 -> {45}; 43 -> {31};
43 -> {44} [style=dotted]; 44 -> {29};
44 -> {45} [style=dotted]; 44 -> {45} [style=dotted];
45 -> {29} [style=dotted];
subgraph cluster_15 { 46 -> {48};
color=red 48 -> {47};
46 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
47 [label="Access variable R|<local>/it|"];
48 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
} }