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
@@ -62,26 +62,26 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
24 [label="Postponed enter to lambda"];
subgraph cluster_9 {
color=blue
33 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
25 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
34 [label="Enter block"];
35 [label="Function call: R|/materialize|<R|kotlin/String|>()" style="filled" fillcolor=yellow];
36 [label="Exit block"];
26 [label="Enter block"];
27 [label="Function call: R|/materialize|<R|kotlin/String|>()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
37 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
29 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
25 [label="Postponed exit from lambda"];
26 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
27 [label="Exit block"];
30 [label="Postponed exit from lambda"];
31 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
32 [label="Exit block"];
}
28 [label="Exit when branch result"];
29 [label="Exit when"];
33 [label="Exit when branch result"];
34 [label="Exit when"];
}
30 [label="Variable declaration: lval x: R|kotlin/String|"];
31 [label="Exit block"];
35 [label="Variable declaration: lval x: R|kotlin/String|"];
36 [label="Exit block"];
}
32 [label="Exit function test_1" style="filled" fillcolor=red];
37 [label="Exit function test_1" style="filled" fillcolor=red];
}
9 -> {10};
10 -> {11};
@@ -95,25 +95,25 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {29};
21 -> {34};
22 -> {23};
23 -> {24};
24 -> {26 33};
24 -> {25} [style=dotted];
24 -> {33} [style=dashed];
25 -> {26} [color=green];
25 -> {29} [color=red];
24 -> {25 31};
24 -> {30} [style=dotted];
24 -> {25} [style=dashed];
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
30 -> {31} [color=green];
30 -> {34} [color=red];
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {25};
subgraph cluster_11 {
color=red
@@ -133,67 +133,67 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
43 [label="Postponed enter to lambda"];
subgraph cluster_16 {
color=blue
58 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
44 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
59 [label="Enter block"];
60 [label="Function call: R|/materialize|<R|kotlin/String|>()" style="filled" fillcolor=yellow];
61 [label="Exit block"];
45 [label="Enter block"];
46 [label="Function call: R|/materialize|<R|kotlin/String|>()" style="filled" fillcolor=yellow];
47 [label="Exit block"];
}
62 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
48 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
44 [label="Postponed exit from lambda"];
45 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
46 [label="Exit block"];
49 [label="Postponed exit from lambda"];
50 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
51 [label="Exit block"];
}
47 [label="Try main block exit"];
52 [label="Try main block exit"];
}
subgraph cluster_18 {
color=blue
48 [label="Catch enter"];
49 [label="Variable declaration: e: R|kotlin/Exception|"];
53 [label="Catch enter"];
54 [label="Variable declaration: e: R|kotlin/Exception|"];
subgraph cluster_19 {
color=blue
50 [label="Enter block"];
51 [label="Const: String()"];
52 [label="Exit block"];
55 [label="Enter block"];
56 [label="Const: String()"];
57 [label="Exit block"];
}
53 [label="Catch exit"];
58 [label="Catch exit"];
}
54 [label="Try expression exit"];
59 [label="Try expression exit"];
}
55 [label="Variable declaration: lval x: R|kotlin/String|"];
56 [label="Exit block"];
60 [label="Variable declaration: lval x: R|kotlin/String|"];
61 [label="Exit block"];
}
57 [label="Exit function test_2" style="filled" fillcolor=red];
62 [label="Exit function test_2" style="filled" fillcolor=red];
}
38 -> {39};
39 -> {40};
40 -> {41 48};
40 -> {41 53};
41 -> {42};
42 -> {43};
43 -> {45 58};
43 -> {44} [style=dotted];
43 -> {58} [style=dashed];
44 -> {45} [color=green];
44 -> {54} [color=red];
43 -> {44 50};
43 -> {49} [style=dotted];
43 -> {44} [style=dashed];
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48 54};
47 -> {48};
48 -> {49};
49 -> {50};
49 -> {50} [color=green];
49 -> {59} [color=red];
50 -> {51};
51 -> {52};
52 -> {53};
52 -> {53 59};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {44};
subgraph cluster_20 {
color=red
@@ -204,38 +204,38 @@ digraph inplaceLambdaInControlFlowExpressions_kt {
65 [label="Postponed enter to lambda"];
subgraph cluster_22 {
color=blue
72 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
66 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
73 [label="Enter block"];
74 [label="Function call: R|/materialize|<R|kotlin/String?|>()" style="filled" fillcolor=yellow];
75 [label="Exit block"];
67 [label="Enter block"];
68 [label="Function call: R|/materialize|<R|kotlin/String?|>()" style="filled" fillcolor=yellow];
69 [label="Exit block"];
}
76 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
70 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
66 [label="Postponed exit from lambda"];
67 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)" style="filled" fillcolor=yellow];
68 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!" style="filled" fillcolor=yellow];
69 [label="Variable declaration: lval x: R|kotlin/String|"];
70 [label="Exit block"];
71 [label="Postponed exit from lambda"];
72 [label="Function call: R|kotlin/run|<R|kotlin/String?|>(...)" style="filled" fillcolor=yellow];
73 [label="Check not null: R|kotlin/run|<R|kotlin/String?|>(...)!!" style="filled" fillcolor=yellow];
74 [label="Variable declaration: lval x: R|kotlin/String|"];
75 [label="Exit block"];
}
71 [label="Exit function test_3" style="filled" fillcolor=red];
76 [label="Exit function test_3" style="filled" fillcolor=red];
}
63 -> {64};
64 -> {65};
65 -> {67 72};
65 -> {66} [style=dotted];
65 -> {72} [style=dashed];
66 -> {67} [color=green];
66 -> {68} [color=red];
65 -> {66 72};
65 -> {71} [style=dotted];
65 -> {66} [style=dashed];
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72} [color=green];
71 -> {73} [color=red];
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {66};
}