mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 20:50:55 +00:00
not using exception end as alternate entry, fix tests
This commit is contained in:
@@ -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);
|
||||
|
||||
-6
@@ -61,12 +61,6 @@ public class GraphPrecontinueDetector {
|
||||
for (GraphPart part : allParts) {
|
||||
Node node = partToNode.get(part);
|
||||
for (GraphPart prev : part.refs) {
|
||||
/*if (prev.start < 0 && !partToNode.containsKey(prev)) {
|
||||
Node minusNode = new Node();
|
||||
minusNode.graphPart = prev;
|
||||
partToNode.put(prev, node);
|
||||
continue;
|
||||
}*/
|
||||
if (prev.start < 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user