digraph jumps_kt { graph [nodesep=3] node [shape=box penwidth=2] edge [penwidth=2] subgraph cluster_0 { color=red 0 [label="Enter function test_1" style="filled" fillcolor=red]; subgraph cluster_1 { color=blue 2 [label="Enter when"]; subgraph cluster_2 { color=blue 4 [label="Enter when branch condition "]; 5 [label="Access variable R|/x|"]; 6 [label="Const: Null(null)"]; 7 [label="Operator =="]; 8 [label="Exit when branch condition"]; } subgraph cluster_3 { color=blue 16 [label="Enter when branch condition else"]; 17 [label="Exit when branch condition"]; } 18 [label="Enter when branch result"]; subgraph cluster_4 { color=blue 19 [label="Enter block"]; 20 [label="Access variable R|/x|"]; 21 [label="Exit block"]; } 22 [label="Exit when branch result"]; 9 [label="Enter when branch result"]; subgraph cluster_5 { color=blue 10 [label="Enter block"]; 11 [label="Function call: R|java/lang/Exception.Exception|()"]; 12 [label="Throw: throw R|java/lang/Exception.Exception|()"]; 13 [label="Stub" style="filled" fillcolor=gray]; 14 [label="Exit block" style="filled" fillcolor=gray]; } 15 [label="Exit when branch result" style="filled" fillcolor=gray]; 3 [label="Exit when"]; } 23 [label="Variable declaration: lval y: R|kotlin/Int|"]; 24 [label="Access variable R|/y|"]; 25 [label="Function call: R|/y|.R|kotlin/Int.inc|()"]; 26 [label="Access variable R|/x|"]; 27 [label="Function call: R|/x|.R|kotlin/Int.inc|()"]; 1 [label="Exit function test_1" style="filled" fillcolor=red]; } 0 -> {2}; 2 -> {4}; 3 -> {23}; 4 -> {5}; 5 -> {6}; 6 -> {7}; 7 -> {8}; 8 -> {9 16}; 9 -> {10}; 10 -> {11}; 11 -> {12}; 12 -> {1}; 12 -> {13} [style=dotted]; 13 -> {14} [style=dotted]; 14 -> {15} [style=dotted]; 15 -> {3} [style=dotted]; 16 -> {17}; 17 -> {18}; 18 -> {19}; 19 -> {20}; 20 -> {21}; 21 -> {22}; 22 -> {3}; 23 -> {24}; 24 -> {25}; 25 -> {26}; 26 -> {27}; 27 -> {1}; subgraph cluster_6 { color=red 28 [label="Enter function test_2" style="filled" fillcolor=red]; subgraph cluster_7 { color=blue 30 [label="Enter when"]; subgraph cluster_8 { color=blue 32 [label="Enter when branch condition "]; 33 [label="Access variable R|/x|"]; 34 [label="Const: Null(null)"]; 35 [label="Operator =="]; 36 [label="Exit when branch condition"]; } subgraph cluster_9 { color=blue 42 [label="Enter when branch condition else"]; 43 [label="Exit when branch condition"]; } 44 [label="Enter when branch result"]; subgraph cluster_10 { color=blue 45 [label="Enter block"]; 46 [label="Access variable R|/x|"]; 47 [label="Exit block"]; } 48 [label="Exit when branch result"]; 37 [label="Enter when branch result"]; subgraph cluster_11 { color=blue 38 [label="Enter block"]; 39 [label="Access variable R|/x|"]; 40 [label="Exit block"]; } 41 [label="Exit when branch result"]; 31 [label="Exit when"]; } 49 [label="Variable declaration: lval y: R|kotlin/Int?|"]; 50 [label="Access variable R|/y|"]; 51 [label="Function call: R|/y|.#()"]; 29 [label="Exit function test_2" style="filled" fillcolor=red]; } 28 -> {30}; 30 -> {32}; 31 -> {49}; 32 -> {33}; 33 -> {34}; 34 -> {35}; 35 -> {36}; 36 -> {37 42}; 37 -> {38}; 38 -> {39}; 39 -> {40}; 40 -> {41}; 41 -> {31}; 42 -> {43}; 43 -> {44}; 44 -> {45}; 45 -> {46}; 46 -> {47}; 47 -> {48}; 48 -> {31}; 49 -> {50}; 50 -> {51}; 51 -> {29}; subgraph cluster_12 { color=red 52 [label="Enter function test_3" style="filled" fillcolor=red]; subgraph cluster_13 { color=blue 54 [label="Enter while loop"]; subgraph cluster_14 { color=blue 56 [label="Enter loop condition"]; 57 [label="Const: Boolean(true)"]; 58 [label="Exit loop condition"]; } subgraph cluster_15 { color=blue 59 [label="Enter loop block"]; subgraph cluster_16 { color=blue 60 [label="Enter block"]; 61 [label="Access variable R|/x|"]; 62 [label="Type operator: (R|/x| as R|kotlin/Int|)"]; 63 [label="Jump: break@@@[Boolean(true)] "]; 64 [label="Stub" style="filled" fillcolor=gray]; 65 [label="Exit block" style="filled" fillcolor=gray]; } 66 [label="Exit loop block" style="filled" fillcolor=gray]; } 55 [label="Exit whileloop"]; } 67 [label="Access variable R|/x|"]; 68 [label="Function call: R|/x|.R|kotlin/Int.inc|()"]; 53 [label="Exit function test_3" style="filled" fillcolor=red]; } 52 -> {54}; 54 -> {56}; 55 -> {67}; 56 -> {57}; 57 -> {58}; 58 -> {59}; 58 -> {55} [style=dotted]; 59 -> {60}; 60 -> {61}; 61 -> {62}; 62 -> {63}; 63 -> {55}; 63 -> {64} [style=dotted]; 64 -> {65} [style=dotted]; 65 -> {66} [style=dotted]; 66 -> {56} [style=dotted]; 67 -> {68}; 68 -> {53}; subgraph cluster_17 { color=red 69 [label="Enter function test_4" style="filled" fillcolor=red]; subgraph cluster_18 { color=blue 71 [label="Enter do-while loop"]; subgraph cluster_19 { color=blue 73 [label="Enter loop block"]; subgraph cluster_20 { color=blue 74 [label="Enter block"]; 75 [label="Access variable R|/x|"]; 76 [label="Type operator: (R|/x| as R|kotlin/Int|)"]; 77 [label="Jump: break@@@[Boolean(true)] "]; 78 [label="Stub" style="filled" fillcolor=gray]; 79 [label="Exit block" style="filled" fillcolor=gray]; } 80 [label="Exit loop block" style="filled" fillcolor=gray]; } subgraph cluster_21 { color=blue 81 [label="Enter loop condition" style="filled" fillcolor=gray]; 82 [label="Const: Boolean(true)" style="filled" fillcolor=gray]; 83 [label="Exit loop condition" style="filled" fillcolor=gray]; } 72 [label="Exit do-whileloop"]; } 84 [label="Access variable R|/x|"]; 85 [label="Function call: R|/x|.R|kotlin/Int.inc|()"]; 70 [label="Exit function test_4" style="filled" fillcolor=red]; } 69 -> {71}; 71 -> {73}; 72 -> {84}; 73 -> {74}; 74 -> {75}; 75 -> {76}; 76 -> {77}; 77 -> {72}; 77 -> {78} [style=dotted]; 78 -> {79} [style=dotted]; 79 -> {80} [style=dotted]; 80 -> {81} [style=dotted]; 81 -> {82} [style=dotted]; 82 -> {83} [style=dotted]; 83 -> {73 72} [style=dotted]; 84 -> {85}; 85 -> {70}; subgraph cluster_22 { color=red 86 [label="Enter function test_5" style="filled" fillcolor=red]; subgraph cluster_23 { color=blue 88 [label="Enter while loop"]; subgraph cluster_24 { color=blue 90 [label="Enter loop condition"]; 91 [label="Access variable R|/b|"]; 92 [label="Exit loop condition"]; } subgraph cluster_25 { color=blue 93 [label="Enter loop block"]; subgraph cluster_26 { color=blue 94 [label="Enter block"]; subgraph cluster_27 { color=blue 95 [label="Enter when"]; subgraph cluster_28 { color=blue 97 [label="Enter when branch condition "]; 98 [label="Access variable R|/b|"]; 99 [label="Exit when branch condition"]; } 106 [label="Synthetic else branch"]; 100 [label="Enter when branch result"]; subgraph cluster_29 { color=blue 101 [label="Enter block"]; 102 [label="Jump: continue@@@[R|/b|] "]; 103 [label="Stub" style="filled" fillcolor=gray]; 104 [label="Exit block" style="filled" fillcolor=gray]; } 105 [label="Exit when branch result" style="filled" fillcolor=gray]; 96 [label="Exit when"]; } 107 [label="Exit block"]; } 108 [label="Exit loop block"]; } 89 [label="Exit whileloop"]; } 87 [label="Exit function test_5" style="filled" fillcolor=red]; } 86 -> {88}; 88 -> {90}; 89 -> {87}; 90 -> {91}; 91 -> {92}; 92 -> {89 93}; 93 -> {94}; 94 -> {95}; 95 -> {97}; 96 -> {107}; 97 -> {98}; 98 -> {99}; 99 -> {100 106}; 100 -> {101}; 101 -> {102}; 102 -> {88}; 102 -> {103} [style=dotted]; 103 -> {104} [style=dotted]; 104 -> {105} [style=dotted]; 105 -> {96} [style=dotted]; 106 -> {96}; 107 -> {108}; 108 -> {90}; subgraph cluster_30 { color=red 109 [label="Enter function run" style="filled" fillcolor=red]; 111 [label="Function call: R|/block|.R|FakeOverride|()"]; 110 [label="Exit function run" style="filled" fillcolor=red]; } 109 -> {111}; 111 -> {110}; subgraph cluster_31 { color=red 112 [label="Enter function test_6" style="filled" fillcolor=red]; 114 [label="Postponed enter to lambda"]; subgraph cluster_32 { color=blue 117 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; 119 [label="Jump: ^@run Unit"]; 120 [label="Stub" style="filled" fillcolor=gray]; 118 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; } 115 [label="Postponed exit from lambda"]; 116 [label="Function call: R|/run|(...)"]; 113 [label="Exit function test_6" style="filled" fillcolor=red]; } 112 -> {114}; 114 -> {117}; 114 -> {115} [color=red]; 115 -> {116}; 116 -> {113}; 117 -> {118 119}; 118 -> {117}; 118 -> {115} [color=green]; 119 -> {118}; 119 -> {120} [style=dotted]; 120 -> {118} [style=dotted]; }