diff --git a/jode/jode/obfuscator/MethodIdentifier.java b/jode/jode/obfuscator/MethodIdentifier.java index 547843f..752113b 100644 --- a/jode/jode/obfuscator/MethodIdentifier.java +++ b/jode/jode/obfuscator/MethodIdentifier.java @@ -185,13 +185,19 @@ public class MethodIdentifier extends Identifier implements Opcodes { LocalOptimizer localOpt = new LocalOptimizer(strippedBytecode, info); localOpt.calcLocalInfo(); + if ((GlobalOptions.debuggingFlags + & GlobalOptions.DEBUG_LOCALS) != 0) { + GlobalOptions.err.println("Before Local Optimization: "); + localOpt.dumpLocals(); + } localOpt.stripLocals(); localOpt.distributeLocals(); - -// if (GlobalOptions.verboseLevel > 4) -// localOpt.dumpLocals(); -// strippedBytecode.dumpCode(GlobalOptions.err); + if ((GlobalOptions.debuggingFlags + & GlobalOptions.DEBUG_LOCALS) != 0) { + GlobalOptions.err.println("After Local Optimization: "); + localOpt.dumpLocals(); + } RemovePopAnalyzer remPop = new RemovePopAnalyzer(strippedBytecode, this);