Do not pop stack in try

This commit is contained in:
Jindra Petřík
2021-02-08 20:15:19 +01:00
parent 0e813bd896
commit b8fbac7505
@@ -874,10 +874,6 @@ public class AVM2Graph extends Graph {
GraphPart exAfterPart = afterPart;
if (part.nextParts.size() > 1 && !stack.isEmpty()) { //If the original code (before check()) had "if" in it, there would be something on stack
stack.pop();
}
if (finallyException == null) {
List<GraphPart> stopPart2 = new ArrayList<>(stopPart);
stopPart2.add(afterPart);