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