mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-02 10:34:18 +00:00
AS3: loops fix
This commit is contained in:
@@ -978,7 +978,7 @@ public class AVM2Code {
|
||||
}
|
||||
|
||||
private ConvertOutput toSource(boolean isStatic, int classIndex, java.util.HashMap<Integer, TreeItem> localRegs, Stack<TreeItem> stack, Stack<TreeItem> scopeStack, ABC abc, ConstantPool constants, MethodInfo method_info[], MethodBody body, int start, int end, HashMap<Integer, String> localRegNames, List<String> fullyQualifiedNames) throws ConvertException {
|
||||
boolean debugMode = false;
|
||||
boolean debugMode = DEBUG_MODE;
|
||||
if (debugMode) {
|
||||
System.out.println("OPEN SubSource:" + start + "-" + end + " " + code.get(start).toString() + " to " + code.get(end).toString());
|
||||
}
|
||||
@@ -1602,6 +1602,10 @@ public class AVM2Code {
|
||||
hasElse = false;
|
||||
break;
|
||||
}
|
||||
if (l.loopContinue == jumpPos) {
|
||||
hasElse = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (jumpPos > ip && jumpPos < targetIns - 1) {
|
||||
|
||||
Reference in New Issue
Block a user