AS1/2: DefineFunction push registers cleanup - remove insideDefineFunction1 parameter,

execute the cleanup for whole script as decompiler adapter,
fixing bugs in the cleanup and refactoring.
This commit is contained in:
Jindra Petřík
2018-01-31 07:24:45 +01:00
parent a7f457ad9d
commit 2f9c44db30
109 changed files with 293 additions and 214 deletions

View File

@@ -941,7 +941,7 @@ public class ActionPanel extends JPanel implements SearchListener<ActionSearchRe
if (lastCode != null) {
try {
boolean insideDoInitAction = (this.src instanceof DoInitActionTag);
GraphDialog gf = new GraphDialog(mainPanel.getMainFrame().getWindow(), new ActionGraph(this.src.getScriptName(), insideDoInitAction, false, lastCode, new HashMap<>(), new HashMap<>(), new HashMap<>(), SWF.DEFAULT_VERSION), "");
GraphDialog gf = new GraphDialog(mainPanel.getMainFrame().getWindow(), new ActionGraph(this.src.getScriptName(), insideDoInitAction, lastCode, new HashMap<>(), new HashMap<>(), new HashMap<>(), SWF.DEFAULT_VERSION), "");
gf.setVisible(true);
} catch (InterruptedException ex) {
logger.log(Level.SEVERE, null, ex);