Test: FIR CFA: index nodes in rendering order

This commit is contained in:
pyos
2022-12-11 01:22:45 +01:00
committed by Dmitriy Novozhilov
parent a9397b7b23
commit 54f32a6fba
71 changed files with 6272 additions and 6323 deletions
@@ -17,93 +17,93 @@ digraph inAnonymousObject_kt {
4 [label="Enter anonymous object"];
subgraph cluster_3 {
color=blue
13 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
14 [label="Part of class initialization"];
5 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
6 [label="Part of class initialization"];
subgraph cluster_4 {
color=blue
17 [label="Enter property" style="filled" fillcolor=red];
18 [label="Access variable R|<local>/a|"];
19 [label="Exit property" style="filled" fillcolor=red];
7 [label="Enter property" style="filled" fillcolor=red];
8 [label="Access variable R|<local>/a|"];
9 [label="Exit property" style="filled" fillcolor=red];
}
15 [label="Part of class initialization"];
10 [label="Part of class initialization"];
subgraph cluster_5 {
color=blue
20 [label="Enter init block" style="filled" fillcolor=red];
11 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
21 [label="Enter block"];
22 [label="Access variable R|<local>/b|"];
23 [label="Assignment: R|/<anonymous>.leaked|"];
24 [label="Exit block"];
12 [label="Enter block"];
13 [label="Access variable R|<local>/b|"];
14 [label="Assignment: R|/<anonymous>.leaked|"];
15 [label="Exit block"];
}
25 [label="Exit init block" style="filled" fillcolor=red];
16 [label="Exit init block" style="filled" fillcolor=red];
}
16 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
17 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
}
5 [label="Exit anonymous object"];
6 [label="Exit anonymous object expression"];
7 [label="Variable declaration: lval obj: R|<anonymous>|"];
8 [label="Access variable R|<local>/obj|"];
9 [label="Function call: R|<local>/obj|.R|/<anonymous>.run|()" style="filled" fillcolor=yellow];
10 [label="Function call: R|<local>/d|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
11 [label="Exit block"];
18 [label="Exit anonymous object"];
19 [label="Exit anonymous object expression"];
20 [label="Variable declaration: lval obj: R|<anonymous>|"];
21 [label="Access variable R|<local>/obj|"];
22 [label="Function call: R|<local>/obj|.R|/<anonymous>.run|()" style="filled" fillcolor=yellow];
23 [label="Function call: R|<local>/d|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
24 [label="Exit block"];
}
12 [label="Exit function foo" style="filled" fillcolor=red];
25 [label="Exit function foo" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
29 [label="Enter function run" style="filled" fillcolor=red];
26 [label="Enter function run" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
30 [label="Enter block"];
31 [label="Function call: R|<local>/c|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
32 [label="Exit block"];
27 [label="Enter block"];
28 [label="Function call: R|<local>/c|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
29 [label="Exit block"];
}
33 [label="Exit function run" style="filled" fillcolor=red];
30 [label="Exit function run" style="filled" fillcolor=red];
}
subgraph cluster_9 {
color=blue
26 [label="Enter function <init>" style="filled" fillcolor=red];
27 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
28 [label="Exit function <init>" style="filled" fillcolor=red];
31 [label="Enter function <init>" style="filled" fillcolor=red];
32 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
33 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {4};
4 -> {13};
4 -> {5} [color=red];
4 -> {13} [style=dashed];
5 -> {6};
6 -> {7};
4 -> {5};
4 -> {18} [color=red];
4 -> {5} [style=dashed];
5 -> {6} [color=green];
5 -> {7 11 26 31} [color=red];
6 -> {7} [color=green];
6 -> {10} [style=dotted];
6 -> {7} [style=dashed];
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
9 -> {10} [color=green];
10 -> {11} [color=green];
10 -> {17} [style=dotted];
10 -> {11} [style=dashed];
11 -> {12};
13 -> {14} [color=green];
13 -> {17 20 26 29} [color=red];
14 -> {17} [color=green];
14 -> {15} [style=dotted];
14 -> {17} [style=dashed];
15 -> {20} [color=green];
15 -> {16} [style=dotted];
15 -> {20} [style=dashed];
16 -> {5 26 29} [color=green];
16 -> {26 29} [style=dashed];
17 -> {18};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17} [color=green];
17 -> {18 26 31} [color=green];
17 -> {26 31} [style=dashed];
18 -> {19};
19 -> {15} [color=green];
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {16} [color=green];
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
@@ -28,47 +28,47 @@ digraph inLocalClass_kt {
11 [label="Part of class initialization"];
subgraph cluster_4 {
color=blue
14 [label="Enter property" style="filled" fillcolor=red];
15 [label="Access variable R|<local>/a|"];
16 [label="Exit property" style="filled" fillcolor=red];
12 [label="Enter property" style="filled" fillcolor=red];
13 [label="Access variable R|<local>/a|"];
14 [label="Exit property" style="filled" fillcolor=red];
}
12 [label="Part of class initialization"];
15 [label="Part of class initialization"];
subgraph cluster_5 {
color=blue
17 [label="Enter init block" style="filled" fillcolor=red];
16 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
18 [label="Enter block"];
19 [label="Access variable R|<local>/c|"];
20 [label="Assignment: R|<local>/leaked|"];
21 [label="Exit block"];
17 [label="Enter block"];
18 [label="Access variable R|<local>/c|"];
19 [label="Assignment: R|<local>/leaked|"];
20 [label="Exit block"];
}
22 [label="Exit init block" style="filled" fillcolor=red];
21 [label="Exit init block" style="filled" fillcolor=red];
}
13 [label="Exit class LocalClass" style="filled" fillcolor=red];
22 [label="Exit class LocalClass" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
29 [label="Enter function run" style="filled" fillcolor=red];
23 [label="Enter function run" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
30 [label="Enter block"];
31 [label="Function call: R|<local>/d|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
32 [label="Exit block"];
24 [label="Enter block"];
25 [label="Function call: R|<local>/d|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
26 [label="Exit block"];
}
33 [label="Exit function run" style="filled" fillcolor=red];
27 [label="Exit function run" style="filled" fillcolor=red];
}
subgraph cluster_9 {
color=blue
23 [label="Enter function <init>" style="filled" fillcolor=red];
24 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
28 [label="Enter function <init>" style="filled" fillcolor=red];
29 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
subgraph cluster_10 {
color=blue
25 [label="Enter block"];
26 [label="Function call: R|<local>/b|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
27 [label="Exit block"];
30 [label="Enter block"];
31 [label="Function call: R|<local>/b|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
32 [label="Exit block"];
}
28 [label="Exit function <init>" style="filled" fillcolor=red];
33 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
@@ -81,29 +81,29 @@ digraph inLocalClass_kt {
7 -> {8};
8 -> {9};
10 -> {11} [color=green];
10 -> {14 17 23 29} [color=red];
11 -> {14} [color=green];
11 -> {12} [style=dotted];
11 -> {14} [style=dashed];
12 -> {17} [color=green];
12 -> {13} [style=dotted];
12 -> {17} [style=dashed];
13 -> {23 29} [color=green];
13 -> {23 29} [style=dashed];
14 -> {15};
15 -> {16};
16 -> {12} [color=green];
10 -> {12 16 23 28} [color=red];
11 -> {12} [color=green];
11 -> {15} [style=dotted];
11 -> {12} [style=dashed];
12 -> {13};
13 -> {14};
14 -> {15} [color=green];
15 -> {16} [color=green];
15 -> {22} [style=dotted];
15 -> {16} [style=dashed];
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {13} [color=green];
21 -> {22} [color=green];
22 -> {23 28} [color=green];
22 -> {23 28} [style=dashed];
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
@@ -28,119 +28,119 @@ digraph atLeastOnce_kt {
subgraph cluster_3 {
color=red
15 [label="Enter function myRun" style="filled" fillcolor=red];
7 [label="Enter function myRun" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
16 [label="Enter block"];
8 [label="Enter block"];
subgraph cluster_5 {
color=blue
17 [label="Enter block"];
18 [label="Exit block"];
9 [label="Enter block"];
10 [label="Exit block"];
}
19 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
20 [label="Exit block"];
11 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
12 [label="Exit block"];
}
21 [label="Exit function myRun" style="filled" fillcolor=red];
13 [label="Exit function myRun" style="filled" fillcolor=red];
}
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
subgraph cluster_6 {
color=red
30 [label="Enter function test_1" style="filled" fillcolor=red];
14 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
15 [label="Enter block"];
16 [label="Variable declaration: lval x: R|kotlin/Int|"];
17 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
19 [label="Enter block"];
20 [label="Const: Int(1)"];
21 [label="Assignment: R|<local>/x|"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
24 [label="Postponed exit from lambda"];
25 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
26 [label="Access variable R|<local>/x|"];
27 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
29 [label="Exit function test_1" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18 25};
17 -> {24} [style=dotted];
17 -> {18} [style=dashed];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
24 -> {17} [color=green style=dashed];
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
subgraph cluster_10 {
color=red
30 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
31 [label="Enter block"];
32 [label="Variable declaration: lval x: R|kotlin/Int|"];
33 [label="Postponed enter to lambda"];
subgraph cluster_8 {
subgraph cluster_12 {
color=blue
40 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 {
34 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
41 [label="Enter block"];
42 [label="Const: Int(1)"];
43 [label="Assignment: R|<local>/x|"];
44 [label="Exit block"];
35 [label="Enter block"];
36 [label="Const: Int(1)"];
37 [label="Assignment: R|<local>/x|"];
38 [label="Exit block"];
}
45 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
34 [label="Postponed exit from lambda"];
35 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
36 [label="Access variable R|<local>/x|"];
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
38 [label="Exit block"];
40 [label="Postponed exit from lambda"];
41 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
42 [label="Access variable R|<local>/x|"];
43 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
44 [label="Exit block"];
}
39 [label="Exit function test_1" style="filled" fillcolor=red];
45 [label="Exit function test_2" style="filled" fillcolor=red];
}
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {35 40};
33 -> {34} [style=dotted];
33 -> {40} [style=dashed];
33 -> {34 41};
33 -> {40} [style=dotted];
33 -> {34} [style=dashed];
34 -> {35};
34 -> {33} [color=green style=dashed];
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
40 -> {33} [color=green style=dashed];
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {34};
subgraph cluster_10 {
color=red
46 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
47 [label="Enter block"];
48 [label="Variable declaration: lval x: R|kotlin/Int|"];
49 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
56 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
57 [label="Enter block"];
58 [label="Const: Int(1)"];
59 [label="Assignment: R|<local>/x|"];
60 [label="Exit block"];
}
61 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
50 [label="Postponed exit from lambda"];
51 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
52 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
54 [label="Exit block"];
}
55 [label="Exit function test_2" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {51 56};
49 -> {50} [style=dotted];
49 -> {56} [style=dashed];
50 -> {51};
50 -> {49} [color=green style=dashed];
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {50};
}
@@ -28,115 +28,115 @@ digraph atMostOnce_kt {
subgraph cluster_3 {
color=red
15 [label="Enter function myRun" style="filled" fillcolor=red];
7 [label="Enter function myRun" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
16 [label="Enter block"];
8 [label="Enter block"];
subgraph cluster_5 {
color=blue
17 [label="Enter block"];
18 [label="Exit block"];
9 [label="Enter block"];
10 [label="Exit block"];
}
19 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
20 [label="Exit block"];
11 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
12 [label="Exit block"];
}
21 [label="Exit function myRun" style="filled" fillcolor=red];
13 [label="Exit function myRun" style="filled" fillcolor=red];
}
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
subgraph cluster_6 {
color=red
30 [label="Enter function test_1" style="filled" fillcolor=red];
14 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
15 [label="Enter block"];
16 [label="Variable declaration: lval x: R|kotlin/Int|"];
17 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
19 [label="Enter block"];
20 [label="Const: Int(1)"];
21 [label="Assignment: R|<local>/x|"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
24 [label="Postponed exit from lambda"];
25 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
26 [label="Access variable R|<local>/x|"];
27 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
29 [label="Exit function test_1" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18 24 25};
17 -> {18} [style=dashed];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
subgraph cluster_10 {
color=red
30 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
31 [label="Enter block"];
32 [label="Variable declaration: lval x: R|kotlin/Int|"];
33 [label="Postponed enter to lambda"];
subgraph cluster_8 {
subgraph cluster_12 {
color=blue
40 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 {
34 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
41 [label="Enter block"];
42 [label="Const: Int(1)"];
43 [label="Assignment: R|<local>/x|"];
44 [label="Exit block"];
35 [label="Enter block"];
36 [label="Const: Int(1)"];
37 [label="Assignment: R|<local>/x|"];
38 [label="Exit block"];
}
45 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
34 [label="Postponed exit from lambda"];
35 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
36 [label="Access variable R|<local>/x|"];
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
38 [label="Exit block"];
40 [label="Postponed exit from lambda"];
41 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
42 [label="Access variable R|<local>/x|"];
43 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
44 [label="Exit block"];
}
39 [label="Exit function test_1" style="filled" fillcolor=red];
45 [label="Exit function test_2" style="filled" fillcolor=red];
}
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34 35 40};
33 -> {40} [style=dashed];
33 -> {34 40 41};
33 -> {34} [style=dashed];
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {34};
subgraph cluster_10 {
color=red
46 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
47 [label="Enter block"];
48 [label="Variable declaration: lval x: R|kotlin/Int|"];
49 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
56 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
57 [label="Enter block"];
58 [label="Const: Int(1)"];
59 [label="Assignment: R|<local>/x|"];
60 [label="Exit block"];
}
61 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
50 [label="Postponed exit from lambda"];
51 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
52 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
54 [label="Exit block"];
}
55 [label="Exit function test_2" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50 51 56};
49 -> {56} [style=dashed];
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {50};
}
@@ -30,50 +30,100 @@ digraph contractsUsage_kt {
subgraph cluster_3 {
color=red
16 [label="Enter function baz" style="filled" fillcolor=red];
8 [label="Enter function baz" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
17 [label="Enter block"];
9 [label="Enter block"];
subgraph cluster_5 {
color=blue
18 [label="Enter block"];
19 [label="Exit block"];
10 [label="Enter block"];
11 [label="Exit block"];
}
subgraph cluster_6 {
color=blue
20 [label="Enter when"];
12 [label="Enter when"];
subgraph cluster_7 {
color=blue
21 [label="Enter when branch condition "];
22 [label="Const: Boolean(true)"];
23 [label="Exit when branch condition"];
13 [label="Enter when branch condition "];
14 [label="Const: Boolean(true)"];
15 [label="Exit when branch condition"];
}
24 [label="Synthetic else branch"];
25 [label="Enter when branch result"];
16 [label="Synthetic else branch"];
17 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
26 [label="Enter block"];
27 [label="Access variable this@R|/baz|"];
28 [label="Function call: this@R|/baz|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
29 [label="Exit block"];
18 [label="Enter block"];
19 [label="Access variable this@R|/baz|"];
20 [label="Function call: this@R|/baz|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
21 [label="Exit block"];
}
30 [label="Exit when branch result"];
31 [label="Exit when"];
22 [label="Exit when branch result"];
23 [label="Exit when"];
}
32 [label="Exit block"];
24 [label="Exit block"];
}
33 [label="Exit function baz" style="filled" fillcolor=red];
25 [label="Exit function baz" style="filled" fillcolor=red];
}
16 -> {17};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16 17};
16 -> {23};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24 25};
24 -> {31};
25 -> {26};
23 -> {24};
24 -> {25};
subgraph cluster_9 {
color=red
26 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
27 [label="Enter block"];
subgraph cluster_11 {
color=blue
28 [label="Enter block"];
29 [label="Exit block"];
}
subgraph cluster_12 {
color=blue
30 [label="Enter when"];
subgraph cluster_13 {
color=blue
31 [label="Enter when branch condition "];
32 [label="Const: Boolean(true)"];
33 [label="Exit when branch condition"];
}
34 [label="Synthetic else branch"];
35 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
36 [label="Enter block"];
37 [label="Access variable R|<local>/x|"];
38 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
39 [label="Access variable R|<local>/y|"];
40 [label="Function call: R|<local>/y|.R|/baz|()" style="filled" fillcolor=yellow];
41 [label="Jump: ^foo Unit"];
42 [label="Stub" style="filled" fillcolor=gray];
43 [label="Exit block" style="filled" fillcolor=gray];
}
44 [label="Exit when branch result" style="filled" fillcolor=gray];
45 [label="Exit when"];
}
46 [label="Access variable R|<local>/x|"];
47 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
48 [label="Exit block"];
}
49 [label="Exit function foo" style="filled" fillcolor=red];
}
26 -> {27};
27 -> {28};
28 -> {29};
@@ -81,72 +131,22 @@ digraph contractsUsage_kt {
30 -> {31};
31 -> {32};
32 -> {33};
subgraph cluster_9 {
color=red
42 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
43 [label="Enter block"];
subgraph cluster_11 {
color=blue
44 [label="Enter block"];
45 [label="Exit block"];
}
subgraph cluster_12 {
color=blue
46 [label="Enter when"];
subgraph cluster_13 {
color=blue
47 [label="Enter when branch condition "];
48 [label="Const: Boolean(true)"];
49 [label="Exit when branch condition"];
}
50 [label="Synthetic else branch"];
51 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/x|"];
54 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
55 [label="Access variable R|<local>/y|"];
56 [label="Function call: R|<local>/y|.R|/baz|()" style="filled" fillcolor=yellow];
57 [label="Jump: ^foo Unit"];
58 [label="Stub" style="filled" fillcolor=gray];
59 [label="Exit block" style="filled" fillcolor=gray];
}
60 [label="Exit when branch result" style="filled" fillcolor=gray];
61 [label="Exit when"];
}
62 [label="Access variable R|<local>/x|"];
63 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
64 [label="Exit block"];
}
65 [label="Exit function foo" style="filled" fillcolor=red];
}
42 -> {43};
43 -> {44};
44 -> {45};
33 -> {34 35};
34 -> {45};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {49};
41 -> {42} [style=dotted];
42 -> {43} [style=dotted];
43 -> {44} [style=dotted];
44 -> {45} [style=dotted];
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50 51};
50 -> {61};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {65};
57 -> {58} [style=dotted];
58 -> {59} [style=dotted];
59 -> {60} [style=dotted];
60 -> {61} [style=dotted];
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
}
@@ -28,117 +28,117 @@ digraph exactlyOnce_kt {
subgraph cluster_3 {
color=red
15 [label="Enter function myRun" style="filled" fillcolor=red];
7 [label="Enter function myRun" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
16 [label="Enter block"];
8 [label="Enter block"];
subgraph cluster_5 {
color=blue
17 [label="Enter block"];
18 [label="Exit block"];
9 [label="Enter block"];
10 [label="Exit block"];
}
19 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
20 [label="Exit block"];
11 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
12 [label="Exit block"];
}
21 [label="Exit function myRun" style="filled" fillcolor=red];
13 [label="Exit function myRun" style="filled" fillcolor=red];
}
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
subgraph cluster_6 {
color=red
30 [label="Enter function test_1" style="filled" fillcolor=red];
14 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
15 [label="Enter block"];
16 [label="Variable declaration: lval x: R|kotlin/Int|"];
17 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
19 [label="Enter block"];
20 [label="Const: Int(1)"];
21 [label="Assignment: R|<local>/x|"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
24 [label="Postponed exit from lambda"];
25 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
26 [label="Access variable R|<local>/x|"];
27 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
29 [label="Exit function test_1" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18 25};
17 -> {24} [style=dotted];
17 -> {18} [style=dashed];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
subgraph cluster_10 {
color=red
30 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
31 [label="Enter block"];
32 [label="Variable declaration: lval x: R|kotlin/Int|"];
33 [label="Postponed enter to lambda"];
subgraph cluster_8 {
subgraph cluster_12 {
color=blue
40 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 {
34 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
41 [label="Enter block"];
42 [label="Const: Int(1)"];
43 [label="Assignment: R|<local>/x|"];
44 [label="Exit block"];
35 [label="Enter block"];
36 [label="Const: Int(1)"];
37 [label="Assignment: R|<local>/x|"];
38 [label="Exit block"];
}
45 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
34 [label="Postponed exit from lambda"];
35 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
36 [label="Access variable R|<local>/x|"];
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
38 [label="Exit block"];
40 [label="Postponed exit from lambda"];
41 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
42 [label="Access variable R|<local>/x|"];
43 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
44 [label="Exit block"];
}
39 [label="Exit function test_1" style="filled" fillcolor=red];
45 [label="Exit function test_2" style="filled" fillcolor=red];
}
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {35 40};
33 -> {34} [style=dotted];
33 -> {40} [style=dashed];
33 -> {34 41};
33 -> {40} [style=dotted];
33 -> {34} [style=dashed];
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {34};
subgraph cluster_10 {
color=red
46 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
47 [label="Enter block"];
48 [label="Variable declaration: lval x: R|kotlin/Int|"];
49 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
56 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
57 [label="Enter block"];
58 [label="Const: Int(1)"];
59 [label="Assignment: R|<local>/x|"];
60 [label="Exit block"];
}
61 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
50 [label="Postponed exit from lambda"];
51 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
52 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
54 [label="Exit block"];
}
55 [label="Exit function test_2" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {51 56};
49 -> {50} [style=dotted];
49 -> {56} [style=dashed];
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {50};
}
@@ -68,149 +68,157 @@ digraph flow_kt {
subgraph cluster_6 {
color=red
30 [label="Enter function foo" style="filled" fillcolor=red];
22 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
31 [label="Enter block"];
23 [label="Enter block"];
subgraph cluster_8 {
color=blue
32 [label="Enter block"];
33 [label="Exit block"];
24 [label="Enter block"];
25 [label="Exit block"];
}
subgraph cluster_9 {
color=blue
34 [label="Enter when"];
26 [label="Enter when"];
subgraph cluster_10 {
color=blue
35 [label="Enter when branch condition "];
36 [label="Const: Boolean(true)"];
37 [label="Exit when branch condition"];
27 [label="Enter when branch condition "];
28 [label="Const: Boolean(true)"];
29 [label="Exit when branch condition"];
}
subgraph cluster_11 {
color=blue
38 [label="Enter when branch condition else"];
39 [label="Exit when branch condition"];
30 [label="Enter when branch condition else"];
31 [label="Exit when branch condition"];
}
40 [label="Enter when branch result"];
32 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
41 [label="Enter block"];
33 [label="Enter block"];
subgraph cluster_13 {
color=blue
42 [label="Enter when"];
34 [label="Enter when"];
subgraph cluster_14 {
color=blue
43 [label="Enter when branch condition "];
44 [label="Const: Boolean(false)"];
45 [label="Exit when branch condition"];
35 [label="Enter when branch condition "];
36 [label="Const: Boolean(false)"];
37 [label="Exit when branch condition"];
}
subgraph cluster_15 {
color=blue
46 [label="Enter when branch condition else"];
47 [label="Exit when branch condition"];
38 [label="Enter when branch condition else"];
39 [label="Exit when branch condition"];
}
48 [label="Enter when branch result"];
40 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
49 [label="Enter block"];
50 [label="Access variable R|<local>/y|"];
51 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
52 [label="Access variable R|<local>/z|"];
53 [label="Function call: R|<local>/z|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
54 [label="Jump: ^foo Unit"];
55 [label="Stub" style="filled" fillcolor=gray];
56 [label="Exit block" style="filled" fillcolor=gray];
41 [label="Enter block"];
42 [label="Access variable R|<local>/y|"];
43 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
44 [label="Access variable R|<local>/z|"];
45 [label="Function call: R|<local>/z|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
46 [label="Jump: ^foo Unit"];
47 [label="Stub" style="filled" fillcolor=gray];
48 [label="Exit block" style="filled" fillcolor=gray];
}
57 [label="Exit when branch result" style="filled" fillcolor=gray];
58 [label="Enter when branch result"];
49 [label="Exit when branch result" style="filled" fillcolor=gray];
50 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
59 [label="Enter block"];
60 [label="Access variable R|<local>/y|"];
61 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
62 [label="Exit block"];
51 [label="Enter block"];
52 [label="Access variable R|<local>/y|"];
53 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
54 [label="Exit block"];
}
63 [label="Exit when branch result"];
64 [label="Exit when"];
55 [label="Exit when branch result"];
56 [label="Exit when"];
}
65 [label="Exit block"];
57 [label="Exit block"];
}
66 [label="Exit when branch result"];
67 [label="Enter when branch result"];
58 [label="Exit when branch result"];
59 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
68 [label="Enter block"];
60 [label="Enter block"];
subgraph cluster_19 {
color=blue
69 [label="Enter block"];
70 [label="Const: Int(0)"];
71 [label="Const: Int(0)"];
72 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...)" style="filled" fillcolor=yellow];
73 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...).R|kotlin/ranges/IntProgression.iterator|()" style="filled" fillcolor=yellow];
74 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"];
61 [label="Enter block"];
62 [label="Const: Int(0)"];
63 [label="Const: Int(0)"];
64 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...)" style="filled" fillcolor=yellow];
65 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...).R|kotlin/ranges/IntProgression.iterator|()" style="filled" fillcolor=yellow];
66 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"];
subgraph cluster_20 {
color=blue
75 [label="Enter while loop"];
67 [label="Enter while loop"];
subgraph cluster_21 {
color=blue
76 [label="Enter loop condition"];
77 [label="Access variable R|<local>/<iterator>|"];
78 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/IntIterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
79 [label="Exit loop condition"];
68 [label="Enter loop condition"];
69 [label="Access variable R|<local>/<iterator>|"];
70 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/IntIterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
71 [label="Exit loop condition"];
}
subgraph cluster_22 {
color=blue
80 [label="Enter loop block"];
72 [label="Enter loop block"];
subgraph cluster_23 {
color=blue
81 [label="Enter block"];
82 [label="Access variable R|<local>/<iterator>|"];
83 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()" style="filled" fillcolor=yellow];
84 [label="Variable declaration: lval i: R|kotlin/Int|"];
85 [label="Access variable R|<local>/x|"];
86 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
87 [label="Exit block"];
73 [label="Enter block"];
74 [label="Access variable R|<local>/<iterator>|"];
75 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()" style="filled" fillcolor=yellow];
76 [label="Variable declaration: lval i: R|kotlin/Int|"];
77 [label="Access variable R|<local>/x|"];
78 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
79 [label="Exit block"];
}
88 [label="Exit loop block"];
80 [label="Exit loop block"];
}
89 [label="Exit whileloop"];
81 [label="Exit whileloop"];
}
90 [label="Exit block"];
82 [label="Exit block"];
}
91 [label="Access variable R|<local>/y|"];
92 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
93 [label="Exit block"];
83 [label="Access variable R|<local>/y|"];
84 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
85 [label="Exit block"];
}
94 [label="Exit when branch result"];
95 [label="Exit when"];
86 [label="Exit when branch result"];
87 [label="Exit when"];
}
subgraph cluster_24 {
color=blue
96 [label="Enter do-while loop"];
88 [label="Enter do-while loop"];
subgraph cluster_25 {
color=blue
97 [label="Enter loop block"];
89 [label="Enter loop block"];
subgraph cluster_26 {
color=blue
98 [label="Enter block"];
99 [label="Access variable R|<local>/z|"];
100 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
101 [label="Exit block"];
90 [label="Enter block"];
91 [label="Access variable R|<local>/z|"];
92 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
93 [label="Exit block"];
}
102 [label="Exit loop block"];
94 [label="Exit loop block"];
}
subgraph cluster_27 {
color=blue
103 [label="Enter loop condition"];
104 [label="Const: Boolean(true)"];
105 [label="Exit loop condition"];
95 [label="Enter loop condition"];
96 [label="Const: Boolean(true)"];
97 [label="Exit loop condition"];
}
106 [label="Exit do-whileloop" style="filled" fillcolor=gray];
98 [label="Exit do-whileloop" style="filled" fillcolor=gray];
}
107 [label="Exit block" style="filled" fillcolor=gray];
99 [label="Exit block" style="filled" fillcolor=gray];
}
108 [label="Exit function foo" style="filled" fillcolor=red];
100 [label="Exit function foo" style="filled" fillcolor=red];
}
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30 59};
30 -> {31};
31 -> {32};
32 -> {33};
@@ -218,7 +226,7 @@ digraph flow_kt {
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38 67};
37 -> {38 50};
38 -> {39};
39 -> {40};
40 -> {41};
@@ -226,21 +234,21 @@ digraph flow_kt {
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46 58};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
45 -> {46};
46 -> {100};
46 -> {47} [style=dotted];
47 -> {48} [style=dotted];
48 -> {49} [style=dotted];
49 -> {56} [style=dotted];
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {108};
54 -> {55} [style=dotted];
55 -> {56} [style=dotted];
56 -> {57} [style=dotted];
57 -> {64} [style=dotted];
58 -> {59};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {87};
59 -> {60};
60 -> {61};
61 -> {62};
@@ -248,12 +256,12 @@ digraph flow_kt {
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {95};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
71 -> {72 81};
72 -> {73};
73 -> {74};
74 -> {75};
@@ -261,8 +269,8 @@ digraph flow_kt {
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80 89};
80 -> {81};
79 -> {80};
80 -> {68} [color=green style=dashed];
81 -> {82};
82 -> {83};
83 -> {84};
@@ -270,7 +278,7 @@ digraph flow_kt {
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {76} [color=green style=dashed];
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
@@ -279,17 +287,9 @@ digraph flow_kt {
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {97} [color=green style=dashed];
105 -> {106} [style=dotted];
106 -> {107} [style=dotted];
107 -> {108} [style=dotted];
97 -> {89} [color=green style=dashed];
97 -> {98} [style=dotted];
98 -> {99} [style=dotted];
99 -> {100} [style=dotted];
}
@@ -57,48 +57,48 @@ digraph inPlaceLambda_kt {
subgraph cluster_6 {
color=red
25 [label="Enter function foo" style="filled" fillcolor=red];
17 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
26 [label="Enter block"];
18 [label="Enter block"];
subgraph cluster_8 {
color=blue
27 [label="Enter block"];
28 [label="Exit block"];
19 [label="Enter block"];
20 [label="Exit block"];
}
29 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
30 [label="Postponed enter to lambda"];
21 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
22 [label="Postponed enter to lambda"];
subgraph cluster_9 {
color=blue
35 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
23 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
36 [label="Enter block"];
37 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
38 [label="Exit block"];
24 [label="Enter block"];
25 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
26 [label="Exit block"];
}
39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
27 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
31 [label="Postponed exit from lambda"];
32 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
33 [label="Exit block"];
28 [label="Postponed exit from lambda"];
29 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
30 [label="Exit block"];
}
34 [label="Exit function foo" style="filled" fillcolor=red];
31 [label="Exit function foo" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23 28 29};
22 -> {23} [style=dashed];
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31 32 35};
30 -> {35} [style=dashed];
31 -> {32};
32 -> {33};
33 -> {34};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {31};
30 -> {31};
}
@@ -30,62 +30,62 @@ digraph simple_kt {
subgraph cluster_3 {
color=red
16 [label="Enter function foo" style="filled" fillcolor=red];
8 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
17 [label="Enter block"];
9 [label="Enter block"];
subgraph cluster_5 {
color=blue
18 [label="Enter block"];
19 [label="Exit block"];
10 [label="Enter block"];
11 [label="Exit block"];
}
20 [label="Access variable R|<local>/x|"];
21 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
12 [label="Access variable R|<local>/x|"];
13 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
subgraph cluster_6 {
color=blue
22 [label="Enter when"];
14 [label="Enter when"];
subgraph cluster_7 {
color=blue
23 [label="Enter when branch condition "];
24 [label="Const: Boolean(true)"];
25 [label="Exit when branch condition"];
15 [label="Enter when branch condition "];
16 [label="Const: Boolean(true)"];
17 [label="Exit when branch condition"];
}
26 [label="Synthetic else branch"];
27 [label="Enter when branch result"];
18 [label="Synthetic else branch"];
19 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
28 [label="Enter block"];
29 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
30 [label="Exit block"];
20 [label="Enter block"];
21 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
22 [label="Exit block"];
}
31 [label="Exit when branch result"];
32 [label="Exit when"];
23 [label="Exit when branch result"];
24 [label="Exit when"];
}
33 [label="Access variable R|<local>/z|"];
34 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
35 [label="Exit block"];
25 [label="Access variable R|<local>/z|"];
26 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
27 [label="Exit block"];
}
36 [label="Exit function foo" style="filled" fillcolor=red];
28 [label="Exit function foo" style="filled" fillcolor=red];
}
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
17 -> {18 19};
18 -> {24};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26 27};
26 -> {32};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
}
@@ -28,117 +28,117 @@ digraph unknown_kt {
subgraph cluster_3 {
color=red
15 [label="Enter function myRun" style="filled" fillcolor=red];
7 [label="Enter function myRun" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
16 [label="Enter block"];
8 [label="Enter block"];
subgraph cluster_5 {
color=blue
17 [label="Enter block"];
18 [label="Exit block"];
9 [label="Enter block"];
10 [label="Exit block"];
}
19 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
20 [label="Exit block"];
11 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
12 [label="Exit block"];
}
21 [label="Exit function myRun" style="filled" fillcolor=red];
13 [label="Exit function myRun" style="filled" fillcolor=red];
}
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
subgraph cluster_6 {
color=red
30 [label="Enter function test_1" style="filled" fillcolor=red];
14 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
15 [label="Enter block"];
16 [label="Variable declaration: lval x: R|kotlin/Int|"];
17 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
19 [label="Enter block"];
20 [label="Const: Int(1)"];
21 [label="Assignment: R|<local>/x|"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
24 [label="Postponed exit from lambda"];
25 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
26 [label="Access variable R|<local>/x|"];
27 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
29 [label="Exit function test_1" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18 24 25};
17 -> {18} [style=dashed];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
24 -> {17} [color=green style=dashed];
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
subgraph cluster_10 {
color=red
30 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
31 [label="Enter block"];
32 [label="Variable declaration: lval x: R|kotlin/Int|"];
33 [label="Postponed enter to lambda"];
subgraph cluster_8 {
subgraph cluster_12 {
color=blue
40 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 {
34 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
41 [label="Enter block"];
42 [label="Const: Int(1)"];
43 [label="Assignment: R|<local>/x|"];
44 [label="Exit block"];
35 [label="Enter block"];
36 [label="Const: Int(1)"];
37 [label="Assignment: R|<local>/x|"];
38 [label="Exit block"];
}
45 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
34 [label="Postponed exit from lambda"];
35 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
36 [label="Access variable R|<local>/x|"];
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
38 [label="Exit block"];
40 [label="Postponed exit from lambda"];
41 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
42 [label="Access variable R|<local>/x|"];
43 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
44 [label="Exit block"];
}
39 [label="Exit function test_1" style="filled" fillcolor=red];
45 [label="Exit function test_2" style="filled" fillcolor=red];
}
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34 35 40};
33 -> {40} [style=dashed];
33 -> {34 40 41};
33 -> {34} [style=dashed];
34 -> {35};
34 -> {33} [color=green style=dashed];
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
40 -> {33} [color=green style=dashed];
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {34};
subgraph cluster_10 {
color=red
46 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
47 [label="Enter block"];
48 [label="Variable declaration: lval x: R|kotlin/Int|"];
49 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
56 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
57 [label="Enter block"];
58 [label="Const: Int(1)"];
59 [label="Assignment: R|<local>/x|"];
60 [label="Exit block"];
}
61 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
50 [label="Postponed exit from lambda"];
51 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
52 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
54 [label="Exit block"];
}
55 [label="Exit function test_2" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50 51 56};
49 -> {56} [style=dashed];
50 -> {51};
50 -> {49} [color=green style=dashed];
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {50};
}