Fixed #1894 Switches vs loops decompilation (now with two passes)

This commit is contained in:
Jindra Petřík
2022-11-30 19:05:36 +01:00
parent ad97886306
commit a41926a662
23 changed files with 365 additions and 48 deletions

View File

@@ -16,8 +16,11 @@
*/
package com.jpexs.decompiler.flash;
import com.jpexs.decompiler.graph.GraphPart;
import com.jpexs.decompiler.graph.GraphSourceItem;
import com.jpexs.decompiler.graph.SecondPassData;
import java.util.HashSet;
import java.util.Set;
/**
*
@@ -26,6 +29,8 @@ import com.jpexs.decompiler.graph.SecondPassData;
public abstract class BaseLocalData {
public GraphSourceItem lineStartInstruction;
public Set<GraphPart> allSwitchParts = new HashSet<>();
public SecondPassData secondPassData = null;
}