[FIR] Support PreliminaryLoopVisitor in FIR DFA

This commit is contained in:
Dmitriy Novozhilov
2021-02-11 17:42:30 +03:00
parent 0e46a961a3
commit 5711a8d610
34 changed files with 294 additions and 106 deletions
@@ -13,7 +13,7 @@ fun foo(): Bar {
y = Bar()
while (x != null) {
// Here call is unsafe because of inner loop
y.next()
y<!UNSAFE_CALL!>.<!>next()
while (y != null) {
if (x == y)
// x is not null because of outer while
@@ -25,4 +25,4 @@ fun foo(): Bar {
x = x.next()
}
return Bar()
}
}