FIR CFG: remove ordering from control flow through in-place lambdas

Old graph:

  arg -> lambda enter -> ... -> lambda exit -> lambda enter -> ... ->
   -> lambda exit -> call

New graph:

  arg -+-> lambda enter -> ... -> lambda exit -+-> call
       \-> lambda enter -> ... -> lambda exit -/
This commit is contained in:
pyos
2022-11-23 10:10:16 +01:00
committed by teamcity
parent 5dce772f0b
commit c4c05f5248
41 changed files with 515 additions and 555 deletions
@@ -71,8 +71,8 @@ digraph defaultArguments_kt {
14 -> {15};
16 -> {17};
16 -> {16} [style=dashed];
17 -> {21};
17 -> {18} [color=red];
17 -> {21 19};
17 -> {18} [style=dotted];
17 -> {21} [style=dashed];
18 -> {19};
19 -> {20};
@@ -80,7 +80,6 @@ digraph defaultArguments_kt {
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {19} [color=red];
25 -> {18} [color=green];
25 -> {18};
}