Optimization fix

This commit is contained in:
Michael Bogdanov
2015-04-08 12:30:28 +03:00
parent 99496f8f52
commit ce13b3a44a
@@ -169,9 +169,8 @@ public class RedundantBoxingMethodTransformer extends MethodTransformer {
if ((insn.getOpcode() == Opcodes.ASTORE || insn.getOpcode() == Opcodes.ALOAD) &&
((VarInsnNode) insn).var == localVariableNode.index) {
// frames[i] can be null in case of exception handlers
if (frames[i] == null) {
values.add(null);
//unreachable code
continue;
}