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