Control flow graph for safe calls corrected #KT-10913 Fixed

Also #KT-10186 Fixed
Also #KT-5198 Fixed
This commit is contained in:
Mikhail Glukhikh
2016-02-02 16:17:02 +03:00
committed by Mikhail Glukhikh
parent 5ae394fec0
commit a08b8f43b2
15 changed files with 660 additions and 2 deletions
@@ -10,10 +10,12 @@ L0:
w(s|<v0>)
2 mark({ s?.first })
mark(s?.first)
jf(L2) NEXT:[<END>, r(s) -> <v1>]
r(s) -> <v1>
r(first|<v1>) -> <v2>
L1:
1 <END> NEXT:[<SINK>]
L2 [result of call]:
1 <END> NEXT:[<SINK>] PREV:[jf(L2), r(first|<v1>) -> <v2>]
error:
<ERROR> PREV:[]
sink: