From 3b071a04643ec97087590755bea77c154db2205a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Mon, 11 Mar 2013 19:05:11 +0100 Subject: [PATCH] Issue #39, AS1/2 NewMethod..Pop fix --- .../src/com/jpexs/decompiler/flash/action/swf4/ActionPop.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/src/com/jpexs/decompiler/flash/action/swf4/ActionPop.java b/trunk/src/com/jpexs/decompiler/flash/action/swf4/ActionPop.java index 696b4b084..e699f0f5b 100644 --- a/trunk/src/com/jpexs/decompiler/flash/action/swf4/ActionPop.java +++ b/trunk/src/com/jpexs/decompiler/flash/action/swf4/ActionPop.java @@ -19,6 +19,7 @@ package com.jpexs.decompiler.flash.action.swf4; import com.jpexs.decompiler.flash.action.Action; import com.jpexs.decompiler.flash.action.treemodel.CallFunctionTreeItem; import com.jpexs.decompiler.flash.action.treemodel.CallMethodTreeItem; +import com.jpexs.decompiler.flash.action.treemodel.NewMethodTreeItem; import com.jpexs.decompiler.flash.graph.GraphTargetItem; import java.util.HashMap; import java.util.List; @@ -41,7 +42,7 @@ public class ActionPop extends Action { return; } GraphTargetItem val = stack.pop(); - if ((val instanceof CallFunctionTreeItem) || (val instanceof CallMethodTreeItem)) { + if ((val instanceof CallFunctionTreeItem) || (val instanceof CallMethodTreeItem) || (val instanceof NewMethodTreeItem)) { output.add(val); } /*if (!(val instanceof DirectValueTreeItem)) {