try..catch break detection fix

This commit is contained in:
Jindra Petřík
2021-02-07 13:47:46 +01:00
parent 8637d16022
commit e24f3b6d40
11 changed files with 100 additions and 12 deletions

View File

@@ -1328,9 +1328,9 @@ public class Graph {
}
List<Loop> loops2 = new ArrayList<>(loops);
/*for (Loop l : loops2) {
for (Loop l : loops2) {
l.breakCandidatesLocked++;
}*/
}
for (ThrowState ts : throwStates) {
if (ts.throwingParts.contains(part) && (currentThrowStates.contains(ts) || ts.state != 1)) {
GraphPart t = ts.targetPart;
@@ -1339,9 +1339,9 @@ public class Graph {
}
}
}
/*for (Loop l : loops2) {
for (Loop l : loops2) {
l.breakCandidatesLocked--;
}*/
}
if (isLoop && currentLoop != null) {
GraphPart found;