Issue #442 Decompilation regression since nightly ffdec_1.7.4_db2388c37836: earlier modification reverted

This commit is contained in:
Honfika
2013-12-26 15:41:17 +01:00
parent e0d7e84f7b
commit f1a9bf6a3b

View File

@@ -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();
}
}