not using exception end as alternate entry, fix tests

This commit is contained in:
Jindra Petřík
2021-02-07 13:12:26 +01:00
parent 86df7c4798
commit 45436d7232
4 changed files with 110 additions and 45 deletions

View File

@@ -2388,7 +2388,7 @@ public class Graph {
List<Integer> alternateEntries = new ArrayList<>();
for (GraphException ex : exceptions) {
alternateEntries.add(ex.start);
alternateEntries.add(ex.end);
//alternateEntries.add(ex.end);
alternateEntries.add(ex.target);
}
HashMap<Integer, List<Integer>> refs = code.visitCode(alternateEntries);