FIR DFA: take all statements from ?. if result is non-null.

I.e. a?.f(b as T) != null => b is T.

This also allows to remove the copyAllInformationFrom hack by moving the
edge directly in the control flow graph.
This commit is contained in:
pyos
2022-11-19 19:13:27 +01:00
committed by teamcity
parent 3392e066df
commit 16b8811697
14 changed files with 278 additions and 245 deletions
@@ -62,9 +62,7 @@ digraph elvis_kt {
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
8 -> {11} [color=red];
8 -> {13} [color=green];
8 -> {9 13};
9 -> {10};
10 -> {11};
11 -> {12};
@@ -490,9 +490,7 @@ digraph returns_kt {
161 -> {162};
162 -> {163};
163 -> {164};
164 -> {165};
164 -> {167} [color=red];
164 -> {169} [color=green];
164 -> {165 169};
165 -> {166};
166 -> {167};
167 -> {168};