[FIR] Rewind DFA after call arguments for correct receiver smartcasting
^KT-63709 Fixed
This commit is contained in:
+133
-91
@@ -21,10 +21,15 @@ digraph atLeastOnce_kt {
|
||||
4 [label="Enter block"];
|
||||
5 [label="Exit block"];
|
||||
}
|
||||
6 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
7 [label="Exit block"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
6 [label="Function call arguments enter"];
|
||||
7 [label="Function call arguments exit"];
|
||||
}
|
||||
8 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
9 [label="Exit block"];
|
||||
}
|
||||
8 [label="Exit function inlineRun" style="filled" fillcolor=red];
|
||||
10 [label="Exit function inlineRun" style="filled" fillcolor=red];
|
||||
}
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
@@ -32,122 +37,159 @@ digraph atLeastOnce_kt {
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
9 [label="Enter function myRun" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
10 [label="Enter block"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
11 [label="Enter block"];
|
||||
12 [label="Exit block"];
|
||||
}
|
||||
13 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
15 [label="Exit function myRun" style="filled" fillcolor=red];
|
||||
}
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
11 [label="Enter function myRun" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
13 [label="Enter block"];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
15 [label="Function call arguments enter"];
|
||||
16 [label="Function call arguments exit"];
|
||||
}
|
||||
17 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
18 [label="Exit block"];
|
||||
}
|
||||
19 [label="Exit function myRun" style="filled" fillcolor=red];
|
||||
}
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
16 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
17 [label="Enter block"];
|
||||
18 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
19 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
20 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Const: Int(1)"];
|
||||
23 [label="Assignment: R|<local>/x|"];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
26 [label="Postponed exit from lambda"];
|
||||
27 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
|
||||
28 [label="Access variable R|<local>/x|"];
|
||||
29 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
30 [label="Exit block"];
|
||||
}
|
||||
31 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20 27};
|
||||
19 -> {26} [style=dotted];
|
||||
19 -> {20} [style=dashed];
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
20 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
23 [label="Function call arguments enter"];
|
||||
24 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
25 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
26 [label="Enter block"];
|
||||
27 [label="Const: Int(1)"];
|
||||
28 [label="Assignment: R|<local>/x|"];
|
||||
29 [label="Exit block"];
|
||||
}
|
||||
30 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
31 [label="Function call arguments exit"];
|
||||
}
|
||||
32 [label="Postponed exit from lambda"];
|
||||
33 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
34 [label="Function call arguments enter"];
|
||||
35 [label="Access variable R|<local>/x|"];
|
||||
36 [label="Function call arguments exit"];
|
||||
}
|
||||
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
38 [label="Exit block"];
|
||||
}
|
||||
39 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
24 -> {25 31};
|
||||
24 -> {32} [style=dotted];
|
||||
24 -> {25} [style=dashed];
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
26 -> {19} [color=green style=dashed];
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
32 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
33 [label="Enter block"];
|
||||
34 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
35 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
36 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
37 [label="Enter block"];
|
||||
38 [label="Const: Int(1)"];
|
||||
39 [label="Assignment: R|<local>/x|"];
|
||||
40 [label="Exit block"];
|
||||
}
|
||||
41 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
42 [label="Postponed exit from lambda"];
|
||||
43 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
|
||||
44 [label="Access variable R|<local>/x|"];
|
||||
45 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
46 [label="Exit block"];
|
||||
}
|
||||
47 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
30 -> {32};
|
||||
31 -> {33};
|
||||
32 -> {33};
|
||||
32 -> {24} [color=green style=dashed];
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36 43};
|
||||
35 -> {42} [style=dotted];
|
||||
35 -> {36} [style=dashed];
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
|
||||
subgraph cluster_15 {
|
||||
color=red
|
||||
40 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
41 [label="Enter block"];
|
||||
42 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
43 [label="Function call arguments enter"];
|
||||
44 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
45 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
46 [label="Enter block"];
|
||||
47 [label="Const: Int(1)"];
|
||||
48 [label="Assignment: R|<local>/x|"];
|
||||
49 [label="Exit block"];
|
||||
}
|
||||
50 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
51 [label="Function call arguments exit"];
|
||||
}
|
||||
52 [label="Postponed exit from lambda"];
|
||||
53 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
54 [label="Function call arguments enter"];
|
||||
55 [label="Access variable R|<local>/x|"];
|
||||
56 [label="Function call arguments exit"];
|
||||
}
|
||||
57 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
58 [label="Exit block"];
|
||||
}
|
||||
59 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
42 -> {35} [color=green style=dashed];
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
44 -> {45 51};
|
||||
44 -> {52} [style=dotted];
|
||||
44 -> {45} [style=dashed];
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {52};
|
||||
51 -> {53};
|
||||
52 -> {53};
|
||||
52 -> {44} [color=green style=dashed];
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
|
||||
}
|
||||
|
||||
+129
-87
@@ -21,10 +21,15 @@ digraph atMostOnce_kt {
|
||||
4 [label="Enter block"];
|
||||
5 [label="Exit block"];
|
||||
}
|
||||
6 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
7 [label="Exit block"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
6 [label="Function call arguments enter"];
|
||||
7 [label="Function call arguments exit"];
|
||||
}
|
||||
8 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
9 [label="Exit block"];
|
||||
}
|
||||
8 [label="Exit function inlineRun" style="filled" fillcolor=red];
|
||||
10 [label="Exit function inlineRun" style="filled" fillcolor=red];
|
||||
}
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
@@ -32,118 +37,155 @@ digraph atMostOnce_kt {
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
9 [label="Enter function myRun" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
10 [label="Enter block"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
11 [label="Enter block"];
|
||||
12 [label="Exit block"];
|
||||
}
|
||||
13 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
15 [label="Exit function myRun" style="filled" fillcolor=red];
|
||||
}
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
11 [label="Enter function myRun" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
13 [label="Enter block"];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
15 [label="Function call arguments enter"];
|
||||
16 [label="Function call arguments exit"];
|
||||
}
|
||||
17 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
18 [label="Exit block"];
|
||||
}
|
||||
19 [label="Exit function myRun" style="filled" fillcolor=red];
|
||||
}
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
16 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
17 [label="Enter block"];
|
||||
18 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
19 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
20 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Const: Int(1)"];
|
||||
23 [label="Assignment: R|<local>/x|"];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
26 [label="Postponed exit from lambda"];
|
||||
27 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
|
||||
28 [label="Access variable R|<local>/x|"];
|
||||
29 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
30 [label="Exit block"];
|
||||
}
|
||||
31 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20 26 27};
|
||||
19 -> {20} [style=dashed];
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
20 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
23 [label="Function call arguments enter"];
|
||||
24 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
25 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
26 [label="Enter block"];
|
||||
27 [label="Const: Int(1)"];
|
||||
28 [label="Assignment: R|<local>/x|"];
|
||||
29 [label="Exit block"];
|
||||
}
|
||||
30 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
31 [label="Function call arguments exit"];
|
||||
}
|
||||
32 [label="Postponed exit from lambda"];
|
||||
33 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
34 [label="Function call arguments enter"];
|
||||
35 [label="Access variable R|<local>/x|"];
|
||||
36 [label="Function call arguments exit"];
|
||||
}
|
||||
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
38 [label="Exit block"];
|
||||
}
|
||||
39 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
24 -> {25 31 32};
|
||||
24 -> {25} [style=dashed];
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
32 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
33 [label="Enter block"];
|
||||
34 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
35 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
36 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
37 [label="Enter block"];
|
||||
38 [label="Const: Int(1)"];
|
||||
39 [label="Assignment: R|<local>/x|"];
|
||||
40 [label="Exit block"];
|
||||
}
|
||||
41 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
42 [label="Postponed exit from lambda"];
|
||||
43 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
|
||||
44 [label="Access variable R|<local>/x|"];
|
||||
45 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
46 [label="Exit block"];
|
||||
}
|
||||
47 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
30 -> {32};
|
||||
31 -> {33};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36 42 43};
|
||||
35 -> {36} [style=dashed];
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
|
||||
subgraph cluster_15 {
|
||||
color=red
|
||||
40 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
41 [label="Enter block"];
|
||||
42 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
43 [label="Function call arguments enter"];
|
||||
44 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
45 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
46 [label="Enter block"];
|
||||
47 [label="Const: Int(1)"];
|
||||
48 [label="Assignment: R|<local>/x|"];
|
||||
49 [label="Exit block"];
|
||||
}
|
||||
50 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
51 [label="Function call arguments exit"];
|
||||
}
|
||||
52 [label="Postponed exit from lambda"];
|
||||
53 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
54 [label="Function call arguments enter"];
|
||||
55 [label="Access variable R|<local>/x|"];
|
||||
56 [label="Function call arguments exit"];
|
||||
}
|
||||
57 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
58 [label="Exit block"];
|
||||
}
|
||||
59 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
44 -> {45 51 52};
|
||||
44 -> {45} [style=dashed];
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {52};
|
||||
51 -> {53};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
|
||||
}
|
||||
|
||||
+124
-89
@@ -21,11 +21,16 @@ digraph contractsUsage_kt {
|
||||
4 [label="Enter block"];
|
||||
5 [label="Exit block"];
|
||||
}
|
||||
6 [label="Access variable R|<local>/x|"];
|
||||
7 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
8 [label="Exit block"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
6 [label="Function call arguments enter"];
|
||||
7 [label="Access variable R|<local>/x|"];
|
||||
8 [label="Function call arguments exit"];
|
||||
}
|
||||
9 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
10 [label="Exit block"];
|
||||
}
|
||||
9 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
11 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
@@ -34,126 +39,156 @@ digraph contractsUsage_kt {
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
|
||||
subgraph cluster_4 {
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
10 [label="Enter function baz" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
12 [label="Enter function baz" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
11 [label="Enter block"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Exit block"];
|
||||
}
|
||||
13 [label="Enter block"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
14 [label="Enter when"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
15 [label="Enter when branch condition "];
|
||||
16 [label="Const: Boolean(true)"];
|
||||
17 [label="Exit when branch condition"];
|
||||
}
|
||||
18 [label="Synthetic else branch"];
|
||||
19 [label="Enter when branch result"];
|
||||
14 [label="Enter block"];
|
||||
15 [label="Exit block"];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
16 [label="Enter when"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
20 [label="Enter block"];
|
||||
21 [label="Access variable this@R|/baz|"];
|
||||
22 [label="Function call: this@R|/baz|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
23 [label="Exit block"];
|
||||
17 [label="Enter when branch condition "];
|
||||
18 [label="Const: Boolean(true)"];
|
||||
19 [label="Exit when branch condition"];
|
||||
}
|
||||
24 [label="Exit when branch result"];
|
||||
25 [label="Exit when"];
|
||||
20 [label="Synthetic else branch"];
|
||||
21 [label="Enter when branch result"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
22 [label="Enter block"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
23 [label="Function call arguments enter"];
|
||||
24 [label="Access variable this@R|/baz|"];
|
||||
25 [label="Function call arguments exit"];
|
||||
}
|
||||
26 [label="Function call: this@R|/baz|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
27 [label="Exit block"];
|
||||
}
|
||||
28 [label="Exit when branch result"];
|
||||
29 [label="Exit when"];
|
||||
}
|
||||
26 [label="Exit block"];
|
||||
30 [label="Exit block"];
|
||||
}
|
||||
27 [label="Exit function baz" style="filled" fillcolor=red];
|
||||
31 [label="Exit function baz" style="filled" fillcolor=red];
|
||||
}
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18 19};
|
||||
18 -> {25};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20 21};
|
||||
20 -> {29};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
|
||||
subgraph cluster_10 {
|
||||
color=red
|
||||
28 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
29 [label="Enter block"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
30 [label="Enter block"];
|
||||
31 [label="Exit block"];
|
||||
}
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
32 [label="Enter when"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
33 [label="Enter when branch condition "];
|
||||
34 [label="Const: Boolean(true)"];
|
||||
35 [label="Exit when branch condition"];
|
||||
}
|
||||
36 [label="Synthetic else branch"];
|
||||
37 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
38 [label="Enter block"];
|
||||
39 [label="Access variable R|<local>/x|"];
|
||||
40 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
41 [label="Access variable R|<local>/y|"];
|
||||
42 [label="Function call: R|<local>/y|.R|/baz|()" style="filled" fillcolor=yellow];
|
||||
43 [label="Jump: ^foo Unit"];
|
||||
44 [label="Stub" style="filled" fillcolor=gray];
|
||||
45 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
46 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
47 [label="Exit when"];
|
||||
}
|
||||
48 [label="Access variable R|<local>/x|"];
|
||||
49 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
|
||||
50 [label="Exit block"];
|
||||
}
|
||||
51 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
|
||||
subgraph cluster_12 {
|
||||
color=red
|
||||
32 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
33 [label="Enter block"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
34 [label="Enter block"];
|
||||
35 [label="Exit block"];
|
||||
}
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
36 [label="Enter when"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
37 [label="Enter when branch condition "];
|
||||
38 [label="Const: Boolean(true)"];
|
||||
39 [label="Exit when branch condition"];
|
||||
}
|
||||
40 [label="Synthetic else branch"];
|
||||
41 [label="Enter when branch result"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
42 [label="Enter block"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
43 [label="Function call arguments enter"];
|
||||
44 [label="Access variable R|<local>/x|"];
|
||||
45 [label="Function call arguments exit"];
|
||||
}
|
||||
46 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
47 [label="Function call arguments enter"];
|
||||
48 [label="Access variable R|<local>/y|"];
|
||||
49 [label="Function call arguments exit"];
|
||||
}
|
||||
50 [label="Function call: R|<local>/y|.R|/baz|()" style="filled" fillcolor=yellow];
|
||||
51 [label="Jump: ^foo Unit"];
|
||||
52 [label="Stub" style="filled" fillcolor=gray];
|
||||
53 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
54 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
55 [label="Exit when"];
|
||||
}
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
56 [label="Function call arguments enter"];
|
||||
57 [label="Access variable R|<local>/x|"];
|
||||
58 [label="Function call arguments exit"];
|
||||
}
|
||||
59 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
|
||||
60 [label="Exit block"];
|
||||
}
|
||||
61 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36 37};
|
||||
36 -> {47};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
39 -> {40 41};
|
||||
40 -> {55};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {51};
|
||||
43 -> {44} [style=dotted];
|
||||
44 -> {45} [style=dotted];
|
||||
45 -> {46} [style=dotted];
|
||||
46 -> {47} [style=dotted];
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {61};
|
||||
51 -> {52} [style=dotted];
|
||||
52 -> {53} [style=dotted];
|
||||
53 -> {54} [style=dotted];
|
||||
54 -> {55} [style=dotted];
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {61};
|
||||
|
||||
}
|
||||
|
||||
+131
-89
@@ -21,10 +21,15 @@ digraph exactlyOnce_kt {
|
||||
4 [label="Enter block"];
|
||||
5 [label="Exit block"];
|
||||
}
|
||||
6 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
7 [label="Exit block"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
6 [label="Function call arguments enter"];
|
||||
7 [label="Function call arguments exit"];
|
||||
}
|
||||
8 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
9 [label="Exit block"];
|
||||
}
|
||||
8 [label="Exit function inlineRun" style="filled" fillcolor=red];
|
||||
10 [label="Exit function inlineRun" style="filled" fillcolor=red];
|
||||
}
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
@@ -32,120 +37,157 @@ digraph exactlyOnce_kt {
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
9 [label="Enter function myRun" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
10 [label="Enter block"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
11 [label="Enter block"];
|
||||
12 [label="Exit block"];
|
||||
}
|
||||
13 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
15 [label="Exit function myRun" style="filled" fillcolor=red];
|
||||
}
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
11 [label="Enter function myRun" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
13 [label="Enter block"];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
15 [label="Function call arguments enter"];
|
||||
16 [label="Function call arguments exit"];
|
||||
}
|
||||
17 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
18 [label="Exit block"];
|
||||
}
|
||||
19 [label="Exit function myRun" style="filled" fillcolor=red];
|
||||
}
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
16 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
17 [label="Enter block"];
|
||||
18 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
19 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
20 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Const: Int(1)"];
|
||||
23 [label="Assignment: R|<local>/x|"];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
26 [label="Postponed exit from lambda"];
|
||||
27 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
|
||||
28 [label="Access variable R|<local>/x|"];
|
||||
29 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
30 [label="Exit block"];
|
||||
}
|
||||
31 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20 27};
|
||||
19 -> {26} [style=dotted];
|
||||
19 -> {20} [style=dashed];
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
20 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
23 [label="Function call arguments enter"];
|
||||
24 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
25 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
26 [label="Enter block"];
|
||||
27 [label="Const: Int(1)"];
|
||||
28 [label="Assignment: R|<local>/x|"];
|
||||
29 [label="Exit block"];
|
||||
}
|
||||
30 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
31 [label="Function call arguments exit"];
|
||||
}
|
||||
32 [label="Postponed exit from lambda"];
|
||||
33 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
34 [label="Function call arguments enter"];
|
||||
35 [label="Access variable R|<local>/x|"];
|
||||
36 [label="Function call arguments exit"];
|
||||
}
|
||||
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
38 [label="Exit block"];
|
||||
}
|
||||
39 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
24 -> {25 31};
|
||||
24 -> {32} [style=dotted];
|
||||
24 -> {25} [style=dashed];
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
32 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
33 [label="Enter block"];
|
||||
34 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
35 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
36 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
37 [label="Enter block"];
|
||||
38 [label="Const: Int(1)"];
|
||||
39 [label="Assignment: R|<local>/x|"];
|
||||
40 [label="Exit block"];
|
||||
}
|
||||
41 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
42 [label="Postponed exit from lambda"];
|
||||
43 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
|
||||
44 [label="Access variable R|<local>/x|"];
|
||||
45 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
46 [label="Exit block"];
|
||||
}
|
||||
47 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
30 -> {32};
|
||||
31 -> {33};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36 43};
|
||||
35 -> {42} [style=dotted];
|
||||
35 -> {36} [style=dashed];
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
|
||||
subgraph cluster_15 {
|
||||
color=red
|
||||
40 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
41 [label="Enter block"];
|
||||
42 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
43 [label="Function call arguments enter"];
|
||||
44 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
45 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
46 [label="Enter block"];
|
||||
47 [label="Const: Int(1)"];
|
||||
48 [label="Assignment: R|<local>/x|"];
|
||||
49 [label="Exit block"];
|
||||
}
|
||||
50 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
51 [label="Function call arguments exit"];
|
||||
}
|
||||
52 [label="Postponed exit from lambda"];
|
||||
53 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
54 [label="Function call arguments enter"];
|
||||
55 [label="Access variable R|<local>/x|"];
|
||||
56 [label="Function call arguments exit"];
|
||||
}
|
||||
57 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
58 [label="Exit block"];
|
||||
}
|
||||
59 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
44 -> {45 51};
|
||||
44 -> {52} [style=dotted];
|
||||
44 -> {45} [style=dashed];
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {52};
|
||||
51 -> {53};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
|
||||
}
|
||||
|
||||
+275
-191
@@ -35,20 +35,30 @@ digraph flow_kt {
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Access variable R|<local>/x|"];
|
||||
14 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
15 [label="Jump: ^bar Unit"];
|
||||
16 [label="Stub" style="filled" fillcolor=gray];
|
||||
17 [label="Exit block" style="filled" fillcolor=gray];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
13 [label="Function call arguments enter"];
|
||||
14 [label="Access variable R|<local>/x|"];
|
||||
15 [label="Function call arguments exit"];
|
||||
}
|
||||
16 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
17 [label="Jump: ^bar Unit"];
|
||||
18 [label="Stub" style="filled" fillcolor=gray];
|
||||
19 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
18 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
19 [label="Exit when"];
|
||||
20 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
21 [label="Exit when"];
|
||||
}
|
||||
20 [label="Access variable R|<local>/x|"];
|
||||
21 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
|
||||
22 [label="Exit block"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
22 [label="Function call arguments enter"];
|
||||
23 [label="Access variable R|<local>/x|"];
|
||||
24 [label="Function call arguments exit"];
|
||||
}
|
||||
25 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
|
||||
26 [label="Exit block"];
|
||||
}
|
||||
23 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
27 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
@@ -58,209 +68,259 @@ digraph flow_kt {
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10 11};
|
||||
10 -> {19};
|
||||
10 -> {21};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
15 -> {23};
|
||||
15 -> {16} [style=dotted];
|
||||
16 -> {17} [style=dotted];
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {27};
|
||||
17 -> {18} [style=dotted];
|
||||
18 -> {19} [style=dotted];
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
19 -> {20} [style=dotted];
|
||||
20 -> {21} [style=dotted];
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
24 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
25 [label="Enter block"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
26 [label="Enter block"];
|
||||
27 [label="Exit block"];
|
||||
}
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
28 [label="Enter when"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
29 [label="Enter when branch condition "];
|
||||
30 [label="Const: Boolean(true)"];
|
||||
31 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
32 [label="Enter when branch condition else"];
|
||||
33 [label="Exit when branch condition"];
|
||||
}
|
||||
34 [label="Enter when branch result"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
35 [label="Enter block"];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
36 [label="Enter when"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
37 [label="Enter when branch condition "];
|
||||
38 [label="Const: Boolean(false)"];
|
||||
39 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
40 [label="Enter when branch condition else"];
|
||||
41 [label="Exit when branch condition"];
|
||||
}
|
||||
42 [label="Enter when branch result"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
43 [label="Enter block"];
|
||||
44 [label="Access variable R|<local>/y|"];
|
||||
45 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
46 [label="Access variable R|<local>/z|"];
|
||||
47 [label="Function call: R|<local>/z|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
48 [label="Jump: ^foo Unit"];
|
||||
49 [label="Stub" style="filled" fillcolor=gray];
|
||||
50 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
51 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
52 [label="Enter when branch result"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
53 [label="Enter block"];
|
||||
54 [label="Access variable R|<local>/y|"];
|
||||
55 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
56 [label="Exit block"];
|
||||
}
|
||||
57 [label="Exit when branch result"];
|
||||
58 [label="Exit when"];
|
||||
}
|
||||
59 [label="Exit block"];
|
||||
}
|
||||
60 [label="Exit when branch result"];
|
||||
61 [label="Enter when branch result"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
62 [label="Enter block"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
63 [label="Enter block"];
|
||||
64 [label="Const: Int(0)"];
|
||||
65 [label="Const: Int(0)"];
|
||||
66 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...)" style="filled" fillcolor=yellow];
|
||||
67 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...).R|kotlin/ranges/IntProgression.iterator|()" style="filled" fillcolor=yellow];
|
||||
68 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
69 [label="Enter while loop"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
70 [label="Enter loop condition"];
|
||||
71 [label="Access variable R|<local>/<iterator>|"];
|
||||
72 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/IntIterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
|
||||
73 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
74 [label="Enter loop block"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
75 [label="Enter block"];
|
||||
76 [label="Access variable R|<local>/<iterator>|"];
|
||||
77 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()" style="filled" fillcolor=yellow];
|
||||
78 [label="Variable declaration: lval i: R|kotlin/Int|"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
79 [label="Enter block"];
|
||||
80 [label="Access variable R|<local>/x|"];
|
||||
81 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
82 [label="Exit block"];
|
||||
}
|
||||
83 [label="Exit block"];
|
||||
}
|
||||
84 [label="Exit loop block"];
|
||||
}
|
||||
85 [label="Exit while loop"];
|
||||
}
|
||||
86 [label="Exit block"];
|
||||
}
|
||||
87 [label="Access variable R|<local>/y|"];
|
||||
88 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
89 [label="Exit block"];
|
||||
}
|
||||
90 [label="Exit when branch result"];
|
||||
91 [label="Exit when"];
|
||||
}
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
92 [label="Enter do-while loop"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
93 [label="Enter loop block"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
94 [label="Enter block"];
|
||||
95 [label="Access variable R|<local>/z|"];
|
||||
96 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
|
||||
97 [label="Exit block"];
|
||||
}
|
||||
98 [label="Exit loop block"];
|
||||
}
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
99 [label="Enter loop condition"];
|
||||
100 [label="Const: Boolean(true)"];
|
||||
101 [label="Exit loop condition"];
|
||||
}
|
||||
102 [label="Exit do-while loop" style="filled" fillcolor=gray];
|
||||
}
|
||||
103 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
104 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
28 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
29 [label="Enter block"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
30 [label="Enter block"];
|
||||
31 [label="Exit block"];
|
||||
}
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
32 [label="Enter when"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
33 [label="Enter when branch condition "];
|
||||
34 [label="Const: Boolean(true)"];
|
||||
35 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
36 [label="Enter when branch condition else"];
|
||||
37 [label="Exit when branch condition"];
|
||||
}
|
||||
38 [label="Enter when branch result"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
39 [label="Enter block"];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
40 [label="Enter when"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
41 [label="Enter when branch condition "];
|
||||
42 [label="Const: Boolean(false)"];
|
||||
43 [label="Exit when branch condition"];
|
||||
}
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
44 [label="Enter when branch condition else"];
|
||||
45 [label="Exit when branch condition"];
|
||||
}
|
||||
46 [label="Enter when branch result"];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
47 [label="Enter block"];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
48 [label="Function call arguments enter"];
|
||||
49 [label="Access variable R|<local>/y|"];
|
||||
50 [label="Function call arguments exit"];
|
||||
}
|
||||
51 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_21 {
|
||||
color=blue
|
||||
52 [label="Function call arguments enter"];
|
||||
53 [label="Access variable R|<local>/z|"];
|
||||
54 [label="Function call arguments exit"];
|
||||
}
|
||||
55 [label="Function call: R|<local>/z|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
56 [label="Jump: ^foo Unit"];
|
||||
57 [label="Stub" style="filled" fillcolor=gray];
|
||||
58 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
59 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
60 [label="Enter when branch result"];
|
||||
subgraph cluster_22 {
|
||||
color=blue
|
||||
61 [label="Enter block"];
|
||||
subgraph cluster_23 {
|
||||
color=blue
|
||||
62 [label="Function call arguments enter"];
|
||||
63 [label="Access variable R|<local>/y|"];
|
||||
64 [label="Function call arguments exit"];
|
||||
}
|
||||
65 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
66 [label="Exit block"];
|
||||
}
|
||||
67 [label="Exit when branch result"];
|
||||
68 [label="Exit when"];
|
||||
}
|
||||
69 [label="Exit block"];
|
||||
}
|
||||
70 [label="Exit when branch result"];
|
||||
71 [label="Enter when branch result"];
|
||||
subgraph cluster_24 {
|
||||
color=blue
|
||||
72 [label="Enter block"];
|
||||
subgraph cluster_25 {
|
||||
color=blue
|
||||
73 [label="Enter block"];
|
||||
subgraph cluster_26 {
|
||||
color=blue
|
||||
74 [label="Function call arguments enter"];
|
||||
subgraph cluster_27 {
|
||||
color=blue
|
||||
75 [label="Function call arguments enter"];
|
||||
76 [label="Const: Int(0)"];
|
||||
77 [label="Const: Int(0)"];
|
||||
78 [label="Function call arguments exit"];
|
||||
}
|
||||
79 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...)" style="filled" fillcolor=yellow];
|
||||
80 [label="Function call arguments exit"];
|
||||
}
|
||||
81 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...).R|kotlin/ranges/IntProgression.iterator|()" style="filled" fillcolor=yellow];
|
||||
82 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"];
|
||||
subgraph cluster_28 {
|
||||
color=blue
|
||||
83 [label="Enter while loop"];
|
||||
subgraph cluster_29 {
|
||||
color=blue
|
||||
84 [label="Enter loop condition"];
|
||||
subgraph cluster_30 {
|
||||
color=blue
|
||||
85 [label="Function call arguments enter"];
|
||||
86 [label="Access variable R|<local>/<iterator>|"];
|
||||
87 [label="Function call arguments exit"];
|
||||
}
|
||||
88 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/IntIterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
|
||||
89 [label="Exit loop condition"];
|
||||
}
|
||||
subgraph cluster_31 {
|
||||
color=blue
|
||||
90 [label="Enter loop block"];
|
||||
subgraph cluster_32 {
|
||||
color=blue
|
||||
91 [label="Enter block"];
|
||||
subgraph cluster_33 {
|
||||
color=blue
|
||||
92 [label="Function call arguments enter"];
|
||||
93 [label="Access variable R|<local>/<iterator>|"];
|
||||
94 [label="Function call arguments exit"];
|
||||
}
|
||||
95 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()" style="filled" fillcolor=yellow];
|
||||
96 [label="Variable declaration: lval i: R|kotlin/Int|"];
|
||||
subgraph cluster_34 {
|
||||
color=blue
|
||||
97 [label="Enter block"];
|
||||
subgraph cluster_35 {
|
||||
color=blue
|
||||
98 [label="Function call arguments enter"];
|
||||
99 [label="Access variable R|<local>/x|"];
|
||||
100 [label="Function call arguments exit"];
|
||||
}
|
||||
101 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
102 [label="Exit block"];
|
||||
}
|
||||
103 [label="Exit block"];
|
||||
}
|
||||
104 [label="Exit loop block"];
|
||||
}
|
||||
105 [label="Exit while loop"];
|
||||
}
|
||||
106 [label="Exit block"];
|
||||
}
|
||||
subgraph cluster_36 {
|
||||
color=blue
|
||||
107 [label="Function call arguments enter"];
|
||||
108 [label="Access variable R|<local>/y|"];
|
||||
109 [label="Function call arguments exit"];
|
||||
}
|
||||
110 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
111 [label="Exit block"];
|
||||
}
|
||||
112 [label="Exit when branch result"];
|
||||
113 [label="Exit when"];
|
||||
}
|
||||
subgraph cluster_37 {
|
||||
color=blue
|
||||
114 [label="Enter do-while loop"];
|
||||
subgraph cluster_38 {
|
||||
color=blue
|
||||
115 [label="Enter loop block"];
|
||||
subgraph cluster_39 {
|
||||
color=blue
|
||||
116 [label="Enter block"];
|
||||
subgraph cluster_40 {
|
||||
color=blue
|
||||
117 [label="Function call arguments enter"];
|
||||
118 [label="Access variable R|<local>/z|"];
|
||||
119 [label="Function call arguments exit"];
|
||||
}
|
||||
120 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
|
||||
121 [label="Exit block"];
|
||||
}
|
||||
122 [label="Exit loop block"];
|
||||
}
|
||||
subgraph cluster_41 {
|
||||
color=blue
|
||||
123 [label="Enter loop condition"];
|
||||
124 [label="Const: Boolean(true)"];
|
||||
125 [label="Exit loop condition"];
|
||||
}
|
||||
126 [label="Exit do-while loop" style="filled" fillcolor=gray];
|
||||
}
|
||||
127 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
128 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32 61};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
35 -> {36 71};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40 52};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
43 -> {44};
|
||||
43 -> {44 60};
|
||||
44 -> {45};
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {104};
|
||||
48 -> {49} [style=dotted];
|
||||
49 -> {50} [style=dotted];
|
||||
50 -> {51} [style=dotted];
|
||||
51 -> {58} [style=dotted];
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {51};
|
||||
51 -> {52};
|
||||
52 -> {53};
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
59 -> {60};
|
||||
60 -> {91};
|
||||
56 -> {128};
|
||||
56 -> {57} [style=dotted];
|
||||
57 -> {58} [style=dotted];
|
||||
58 -> {59} [style=dotted];
|
||||
59 -> {68} [style=dotted];
|
||||
60 -> {61};
|
||||
61 -> {62};
|
||||
62 -> {63};
|
||||
63 -> {64};
|
||||
@@ -270,10 +330,10 @@ digraph flow_kt {
|
||||
67 -> {68};
|
||||
68 -> {69};
|
||||
69 -> {70};
|
||||
70 -> {71};
|
||||
70 -> {113};
|
||||
71 -> {72};
|
||||
72 -> {73};
|
||||
73 -> {74 85};
|
||||
73 -> {74};
|
||||
74 -> {75};
|
||||
75 -> {76};
|
||||
76 -> {77};
|
||||
@@ -284,12 +344,12 @@ digraph flow_kt {
|
||||
81 -> {82};
|
||||
82 -> {83};
|
||||
83 -> {84};
|
||||
84 -> {70} [color=green style=dashed];
|
||||
84 -> {85};
|
||||
85 -> {86};
|
||||
86 -> {87};
|
||||
87 -> {88};
|
||||
88 -> {89};
|
||||
89 -> {90};
|
||||
89 -> {90 105};
|
||||
90 -> {91};
|
||||
91 -> {92};
|
||||
92 -> {93};
|
||||
@@ -301,9 +361,33 @@ digraph flow_kt {
|
||||
98 -> {99};
|
||||
99 -> {100};
|
||||
100 -> {101};
|
||||
101 -> {93} [color=green style=dashed];
|
||||
101 -> {102} [style=dotted];
|
||||
102 -> {103} [style=dotted];
|
||||
103 -> {104} [style=dotted];
|
||||
101 -> {102};
|
||||
102 -> {103};
|
||||
103 -> {104};
|
||||
104 -> {84} [color=green style=dashed];
|
||||
105 -> {106};
|
||||
106 -> {107};
|
||||
107 -> {108};
|
||||
108 -> {109};
|
||||
109 -> {110};
|
||||
110 -> {111};
|
||||
111 -> {112};
|
||||
112 -> {113};
|
||||
113 -> {114};
|
||||
114 -> {115};
|
||||
115 -> {116};
|
||||
116 -> {117};
|
||||
117 -> {118};
|
||||
118 -> {119};
|
||||
119 -> {120};
|
||||
120 -> {121};
|
||||
121 -> {122};
|
||||
122 -> {123};
|
||||
123 -> {124};
|
||||
124 -> {125};
|
||||
125 -> {115} [color=green style=dashed];
|
||||
125 -> {126} [style=dotted];
|
||||
126 -> {127} [style=dotted];
|
||||
127 -> {128} [style=dotted];
|
||||
|
||||
}
|
||||
|
||||
+63
-35
@@ -35,15 +35,20 @@ digraph inPlaceLambda_kt {
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
14 [label="Exit block"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
13 [label="Function call arguments enter"];
|
||||
14 [label="Function call arguments exit"];
|
||||
}
|
||||
15 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
16 [label="Exit block"];
|
||||
}
|
||||
15 [label="Exit when branch result"];
|
||||
16 [label="Exit when"];
|
||||
17 [label="Exit when branch result"];
|
||||
18 [label="Exit when"];
|
||||
}
|
||||
17 [label="Exit block"];
|
||||
19 [label="Exit block"];
|
||||
}
|
||||
18 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
20 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
@@ -53,7 +58,7 @@ digraph inPlaceLambda_kt {
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10 11};
|
||||
10 -> {16};
|
||||
10 -> {18};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
@@ -61,51 +66,74 @@ digraph inPlaceLambda_kt {
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20};
|
||||
|
||||
subgraph cluster_7 {
|
||||
subgraph cluster_8 {
|
||||
color=red
|
||||
19 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_8 {
|
||||
21 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
20 [label="Enter block"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Exit block"];
|
||||
}
|
||||
23 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
24 [label="Postponed enter to lambda"];
|
||||
22 [label="Enter block"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
25 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
26 [label="Enter block"];
|
||||
27 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
28 [label="Exit block"];
|
||||
}
|
||||
29 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
23 [label="Enter block"];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
30 [label="Postponed exit from lambda"];
|
||||
31 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
|
||||
32 [label="Exit block"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
25 [label="Function call arguments enter"];
|
||||
26 [label="Function call arguments exit"];
|
||||
}
|
||||
27 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
28 [label="Function call arguments enter"];
|
||||
29 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
30 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
31 [label="Enter block"];
|
||||
subgraph cluster_15 {
|
||||
color=blue
|
||||
32 [label="Function call arguments enter"];
|
||||
33 [label="Function call arguments exit"];
|
||||
}
|
||||
34 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
35 [label="Exit block"];
|
||||
}
|
||||
36 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
37 [label="Function call arguments exit"];
|
||||
}
|
||||
38 [label="Postponed exit from lambda"];
|
||||
39 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
|
||||
40 [label="Exit block"];
|
||||
}
|
||||
33 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
41 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25 30 31};
|
||||
24 -> {25} [style=dashed];
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
29 -> {30 37 38};
|
||||
29 -> {30} [style=dashed];
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {38};
|
||||
37 -> {39};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
40 -> {41};
|
||||
|
||||
}
|
||||
|
||||
+70
-42
@@ -21,11 +21,16 @@ digraph simple_kt {
|
||||
4 [label="Enter block"];
|
||||
5 [label="Exit block"];
|
||||
}
|
||||
6 [label="Access variable R|<local>/x|"];
|
||||
7 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
8 [label="Exit block"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
6 [label="Function call arguments enter"];
|
||||
7 [label="Access variable R|<local>/x|"];
|
||||
8 [label="Function call arguments exit"];
|
||||
}
|
||||
9 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
10 [label="Exit block"];
|
||||
}
|
||||
9 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
11 [label="Exit function bar" style="filled" fillcolor=red];
|
||||
}
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
@@ -34,48 +39,63 @@ digraph simple_kt {
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
|
||||
subgraph cluster_4 {
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
10 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
12 [label="Enter function foo" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
11 [label="Enter block"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Exit block"];
|
||||
}
|
||||
14 [label="Access variable R|<local>/x|"];
|
||||
15 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
13 [label="Enter block"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
16 [label="Enter when"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
17 [label="Enter when branch condition "];
|
||||
18 [label="Const: Boolean(true)"];
|
||||
19 [label="Exit when branch condition"];
|
||||
}
|
||||
20 [label="Synthetic else branch"];
|
||||
21 [label="Enter when branch result"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
22 [label="Enter block"];
|
||||
23 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit when branch result"];
|
||||
26 [label="Exit when"];
|
||||
14 [label="Enter block"];
|
||||
15 [label="Exit block"];
|
||||
}
|
||||
27 [label="Access variable R|<local>/z|"];
|
||||
28 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
|
||||
29 [label="Exit block"];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
16 [label="Function call arguments enter"];
|
||||
17 [label="Access variable R|<local>/x|"];
|
||||
18 [label="Function call arguments exit"];
|
||||
}
|
||||
19 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
20 [label="Enter when"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
21 [label="Enter when branch condition "];
|
||||
22 [label="Const: Boolean(true)"];
|
||||
23 [label="Exit when branch condition"];
|
||||
}
|
||||
24 [label="Synthetic else branch"];
|
||||
25 [label="Enter when branch result"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
26 [label="Enter block"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
27 [label="Function call arguments enter"];
|
||||
28 [label="Function call arguments exit"];
|
||||
}
|
||||
29 [label="Function call: R|<local>/y|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
30 [label="Exit block"];
|
||||
}
|
||||
31 [label="Exit when branch result"];
|
||||
32 [label="Exit when"];
|
||||
}
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
33 [label="Function call arguments enter"];
|
||||
34 [label="Access variable R|<local>/z|"];
|
||||
35 [label="Function call arguments exit"];
|
||||
}
|
||||
36 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
|
||||
37 [label="Exit block"];
|
||||
}
|
||||
30 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
38 [label="Exit function foo" style="filled" fillcolor=red];
|
||||
}
|
||||
10 -> {11};
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
@@ -83,16 +103,24 @@ digraph simple_kt {
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20 21};
|
||||
20 -> {26};
|
||||
19 -> {20};
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
23 -> {24 25};
|
||||
24 -> {32};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
31 -> {32};
|
||||
32 -> {33};
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
|
||||
}
|
||||
|
||||
+131
-89
@@ -21,10 +21,15 @@ digraph unknown_kt {
|
||||
4 [label="Enter block"];
|
||||
5 [label="Exit block"];
|
||||
}
|
||||
6 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
7 [label="Exit block"];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
6 [label="Function call arguments enter"];
|
||||
7 [label="Function call arguments exit"];
|
||||
}
|
||||
8 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
9 [label="Exit block"];
|
||||
}
|
||||
8 [label="Exit function inlineRun" style="filled" fillcolor=red];
|
||||
10 [label="Exit function inlineRun" style="filled" fillcolor=red];
|
||||
}
|
||||
2 -> {3};
|
||||
3 -> {4};
|
||||
@@ -32,120 +37,157 @@ digraph unknown_kt {
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
|
||||
subgraph cluster_4 {
|
||||
color=red
|
||||
9 [label="Enter function myRun" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
10 [label="Enter block"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
11 [label="Enter block"];
|
||||
12 [label="Exit block"];
|
||||
}
|
||||
13 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
15 [label="Exit function myRun" style="filled" fillcolor=red];
|
||||
}
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11};
|
||||
|
||||
subgraph cluster_5 {
|
||||
color=red
|
||||
11 [label="Enter function myRun" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
13 [label="Enter block"];
|
||||
14 [label="Exit block"];
|
||||
}
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
15 [label="Function call arguments enter"];
|
||||
16 [label="Function call arguments exit"];
|
||||
}
|
||||
17 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
|
||||
18 [label="Exit block"];
|
||||
}
|
||||
19 [label="Exit function myRun" style="filled" fillcolor=red];
|
||||
}
|
||||
11 -> {12};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
14 -> {15};
|
||||
|
||||
subgraph cluster_7 {
|
||||
color=red
|
||||
16 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_8 {
|
||||
color=blue
|
||||
17 [label="Enter block"];
|
||||
18 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
19 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_9 {
|
||||
color=blue
|
||||
20 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Const: Int(1)"];
|
||||
23 [label="Assignment: R|<local>/x|"];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
26 [label="Postponed exit from lambda"];
|
||||
27 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
|
||||
28 [label="Access variable R|<local>/x|"];
|
||||
29 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
30 [label="Exit block"];
|
||||
}
|
||||
31 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
17 -> {18};
|
||||
18 -> {19};
|
||||
19 -> {20 26 27};
|
||||
19 -> {20} [style=dashed];
|
||||
|
||||
subgraph cluster_9 {
|
||||
color=red
|
||||
20 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
subgraph cluster_11 {
|
||||
color=blue
|
||||
23 [label="Function call arguments enter"];
|
||||
24 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
25 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
26 [label="Enter block"];
|
||||
27 [label="Const: Int(1)"];
|
||||
28 [label="Assignment: R|<local>/x|"];
|
||||
29 [label="Exit block"];
|
||||
}
|
||||
30 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
31 [label="Function call arguments exit"];
|
||||
}
|
||||
32 [label="Postponed exit from lambda"];
|
||||
33 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
34 [label="Function call arguments enter"];
|
||||
35 [label="Access variable R|<local>/x|"];
|
||||
36 [label="Function call arguments exit"];
|
||||
}
|
||||
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
38 [label="Exit block"];
|
||||
}
|
||||
39 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
}
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
24 -> {25 31 32};
|
||||
24 -> {25} [style=dashed];
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
26 -> {19} [color=green style=dashed];
|
||||
27 -> {28};
|
||||
28 -> {29};
|
||||
29 -> {30};
|
||||
30 -> {31};
|
||||
|
||||
subgraph cluster_11 {
|
||||
color=red
|
||||
32 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_12 {
|
||||
color=blue
|
||||
33 [label="Enter block"];
|
||||
34 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
35 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_13 {
|
||||
color=blue
|
||||
36 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_14 {
|
||||
color=blue
|
||||
37 [label="Enter block"];
|
||||
38 [label="Const: Int(1)"];
|
||||
39 [label="Assignment: R|<local>/x|"];
|
||||
40 [label="Exit block"];
|
||||
}
|
||||
41 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
42 [label="Postponed exit from lambda"];
|
||||
43 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
|
||||
44 [label="Access variable R|<local>/x|"];
|
||||
45 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
46 [label="Exit block"];
|
||||
}
|
||||
47 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
30 -> {32};
|
||||
31 -> {33};
|
||||
32 -> {33};
|
||||
32 -> {24} [color=green style=dashed];
|
||||
33 -> {34};
|
||||
34 -> {35};
|
||||
35 -> {36 42 43};
|
||||
35 -> {36} [style=dashed];
|
||||
35 -> {36};
|
||||
36 -> {37};
|
||||
37 -> {38};
|
||||
38 -> {39};
|
||||
39 -> {40};
|
||||
|
||||
subgraph cluster_15 {
|
||||
color=red
|
||||
40 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||
subgraph cluster_16 {
|
||||
color=blue
|
||||
41 [label="Enter block"];
|
||||
42 [label="Variable declaration: lval x: R|kotlin/Int|"];
|
||||
subgraph cluster_17 {
|
||||
color=blue
|
||||
43 [label="Function call arguments enter"];
|
||||
44 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_18 {
|
||||
color=blue
|
||||
45 [label="Enter function <anonymous>" style="filled" fillcolor=red];
|
||||
subgraph cluster_19 {
|
||||
color=blue
|
||||
46 [label="Enter block"];
|
||||
47 [label="Const: Int(1)"];
|
||||
48 [label="Assignment: R|<local>/x|"];
|
||||
49 [label="Exit block"];
|
||||
}
|
||||
50 [label="Exit function <anonymous>" style="filled" fillcolor=red];
|
||||
}
|
||||
51 [label="Function call arguments exit"];
|
||||
}
|
||||
52 [label="Postponed exit from lambda"];
|
||||
53 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_20 {
|
||||
color=blue
|
||||
54 [label="Function call arguments enter"];
|
||||
55 [label="Access variable R|<local>/x|"];
|
||||
56 [label="Function call arguments exit"];
|
||||
}
|
||||
57 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
58 [label="Exit block"];
|
||||
}
|
||||
59 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
}
|
||||
40 -> {41};
|
||||
41 -> {42};
|
||||
42 -> {43};
|
||||
42 -> {35} [color=green style=dashed];
|
||||
43 -> {44};
|
||||
44 -> {45};
|
||||
44 -> {45 51 52};
|
||||
44 -> {45} [style=dashed];
|
||||
45 -> {46};
|
||||
46 -> {47};
|
||||
47 -> {48};
|
||||
48 -> {49};
|
||||
49 -> {50};
|
||||
50 -> {52};
|
||||
51 -> {53};
|
||||
52 -> {53};
|
||||
52 -> {44} [color=green style=dashed];
|
||||
53 -> {54};
|
||||
54 -> {55};
|
||||
55 -> {56};
|
||||
56 -> {57};
|
||||
57 -> {58};
|
||||
58 -> {59};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user