replace AS3 pcode from commanline

This commit is contained in:
2014-09-06 20:14:19 +02:00
parent 71a5a2a1d7
commit 0544aa0989
6 changed files with 41 additions and 26 deletions
@@ -202,6 +202,11 @@ public class MethodBody implements Cloneable, Serializable {
if (convertException == null) {
HashMap<Integer, String> localRegNames = getLocalRegNames(abc);
writer.startMethod(this.method_info);
if (Configuration.showMethodBodyId.get()) {
writer.appendNoHilight("// method body id:");
writer.appendNoHilight(abc.findBodyIndex(this.method_info));
writer.newLine();
}
Graph.graphToString(convertedItems, writer, LocalData.create(constants, localRegNames, fullyQualifiedNames));
writer.endMethod();
} else if (convertException instanceof TimeoutException) {