From f1a9bf6a3b76a3dd3a9562f3cc953e4476e4f1e8 Mon Sep 17 00:00:00 2001 From: Honfika Date: Thu, 26 Dec 2013 15:41:17 +0100 Subject: [PATCH] Issue #442 Decompilation regression since nightly ffdec_1.7.4_db2388c37836: earlier modification reverted --- trunk/src/com/jpexs/decompiler/graph/Graph.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trunk/src/com/jpexs/decompiler/graph/Graph.java b/trunk/src/com/jpexs/decompiler/graph/Graph.java index 63ddd12df..14698f4ab 100644 --- a/trunk/src/com/jpexs/decompiler/graph/Graph.java +++ b/trunk/src/com/jpexs/decompiler/graph/Graph.java @@ -1787,6 +1787,7 @@ public class Graph { currentRet.add(new IfItem(null, expr, onTrue, onFalse)); } if (next != null) { + /* todo: honfika if (trueStack.size() != trueStackSizeBefore || falseStack.size() != falseStackSizeBefore) { // it's a hack, because duplicates all instructions in the next part, but better than EmptyStackException onTrue = printGraph(visited, localData, trueStack, allParts, part, next, stopPart, loops, null, staticOperation, path, recursionLevel + 1); @@ -1798,7 +1799,8 @@ public class Graph { } } else { printGraph(visited, localData, stack, allParts, part, next, stopPart, loops, currentRet, staticOperation, path, recursionLevel + 1); - } + }*/ + printGraph(visited, localData, stack, allParts, part, next, stopPart, loops, currentRet, staticOperation, path, recursionLevel + 1); //currentRet.addAll(); } }