debug things removed

This commit is contained in:
honfika@gmail.com
2015-07-17 09:23:16 +02:00
parent a6dc717225
commit b1a84a3940
2 changed files with 1 additions and 14 deletions

View File

@@ -962,17 +962,7 @@ public abstract class Action implements GraphSourceItem {
}
List<GraphTargetItem> out;
try {
try {
out = ActionGraph.translateViaGraph(cnt.getRegNames(), variables2, functions, actions.subList(adr2ip(actions, endAddr), adr2ip(actions, endAddr + size)), version, staticOperation, path + (cntName == null ? "" : "/" + cntName));
} catch (InterruptedException ex) {
throw ex;
} catch (Exception ex) {
boolean inter = Thread.currentThread().isInterrupted();
ActionList a = new ActionList(actions);
String b = a.toString();
String c = b;
throw ex;
}
out = ActionGraph.translateViaGraph(cnt.getRegNames(), variables2, functions, actions.subList(adr2ip(actions, endAddr), adr2ip(actions, endAddr + size)), version, staticOperation, path + (cntName == null ? "" : "/" + cntName));
} catch (OutOfMemoryError | TranslateException | StackOverflowError ex2) {
logger.log(Level.SEVERE, "Decompilation error in: " + path, ex2);
if (ex2 instanceof OutOfMemoryError) {

View File

@@ -52,7 +52,6 @@ import com.jpexs.decompiler.flash.tags.base.ASMSource;
import com.jpexs.decompiler.graph.CompilationException;
import com.jpexs.helpers.CancellableWorker;
import com.jpexs.helpers.Helper;
import com.jpexs.helpers.Stopwatch;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
@@ -424,9 +423,7 @@ public class ActionPanel extends JPanel implements SearchListener<ActionSearchRe
}
DisassemblyListener listener = getDisassemblyListener();
asm.addDisassemblyListener(listener);
Stopwatch sw = Stopwatch.startNew();
ActionList actions = asm.getActions();
System.out.println("t:" + sw.getElapsedMilliseconds());
lastCode = actions;
asm.removeDisassemblyListener(listener);
srcWithHex = null;