Fix of getCorrespondingLoop for complex loop / try-finally trees #KT-8246 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-03-25 19:32:50 +03:00
parent f385c85672
commit b7e8f71367
19 changed files with 561 additions and 16 deletions
+4 -5
View File
@@ -31,7 +31,7 @@ L7 [after local declaration]:
3 jmp(L2) NEXT:[jmp?(L3)]
L3 [loop exit point]:
L5 [body exit point]:
read (Unit) PREV:[jmp?(L3), jmp(L3)]
read (Unit) PREV:[jmp?(L3)]
L1:
1 <END> NEXT:[<SINK>]
error:
@@ -47,12 +47,11 @@ sink:
L8:
5 <START>
6 mark(break)
jmp(L3) NEXT:[read (Unit)]
- 5 ret(*|!<v0>) L9 PREV:[]
5 ret(*|!<v0>) L9
L9:
<END> NEXT:[<SINK>] PREV:[]
<END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================
=====================