提交 1d1b8d32 编写于 作者: D Dmitriy Novozhilov

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

上级 6faf364a
...@@ -6,19 +6,17 @@ digraph annotatedLocalClass_kt { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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,7 +8,6 @@ digraph complex_kt { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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};
} }
...@@ -6,84 +6,80 @@ digraph initBlock_kt { ...@@ -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 { ...@@ -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 { ...@@ -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]; 30 [label="Exit class C" style="filled" fillcolor=red];
} }
29 -> {11} [color=green];
11 -> {12}; 11 -> {13};
12 -> {13}; 12 -> {30} [color=green];
13 -> {14}; 13 -> {14};
14 -> {15 25}; 14 -> {15};
15 -> {16}; 15 -> {16 17};
16 -> {17}; 16 -> {18};
16 -> {23} [color=red]; 17 -> {27};
17 -> {18}; 18 -> {20};
18 -> {19}; 18 -> {19} [color=red];
19 -> {20}; 19 -> {25} [color=green];
20 -> {21}; 20 -> {22};
21 -> {23} [color=green]; 21 -> {19} [color=green];
21 -> {22} [color=red]; 21 -> {26} [color=red];
22 -> {24} [color=red]; 22 -> {23};
23 -> {24} [color=green]; 23 -> {24};
24 -> {25}; 24 -> {21};
25 -> {26}; 25 -> {17};
26 -> {27}; 26 -> {25} [color=red];
27 -> {28}; 27 -> {28};
28 -> {12};
subgraph cluster_8 {
color=red
29 [label="Enter class C" style="filled" fillcolor=red];
30 [label="Exit class C" style="filled" fillcolor=red];
}
} }
...@@ -6,191 +6,187 @@ digraph inplaceLambdaInControlFlowExpressions_kt { ...@@ -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};
} }
...@@ -4,76 +4,77 @@ digraph lambdaAsReturnOfLambda_kt { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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};
} }
...@@ -6,215 +6,208 @@ digraph lambdas_kt { ...@@ -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"];
}
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];
} }
36 [label="Exit function test_2" 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,97 +6,90 @@ digraph postponedLambdaInConstructor_kt { ...@@ -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
22 [label="Enter property" style="filled" fillcolor=red];
23 [label="Access variable R|<local>/s|"];
24 [label="Exit property" style="filled" fillcolor=red];
}
22 -> {23};
23 -> {24};
subgraph cluster_7 {
color=red color=red
25 [label="Enter function foo" style="filled" fillcolor=red]; 25 [label="Enter function foo" style="filled" fillcolor=red];
26 [label="Function call: this@R|/B|.R|/B.foo|()"]; 27 [label="Function call: this@R|/B|.R|/B.foo|()"];
27 [label="Exit function foo" style="filled" fillcolor=red]; 26 [label="Exit function foo" style="filled" fillcolor=red];
} }
25 -> {27};
27 -> {26};
25 -> {26}; subgraph cluster_7 {
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 { ...@@ -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};
} }
...@@ -8,7 +8,6 @@ digraph safeCalls_kt { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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};
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册