Skip to content

Commit ce13b3a

Browse files
author
Michael Bogdanov
committed
Optimization fix
1 parent 99496f8 commit ce13b3a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/boxing/RedundantBoxingMethodTransformer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,8 @@ private static List<BasicValue> getValuesStoredOrLoadedToVariable(
169169
if ((insn.getOpcode() == Opcodes.ASTORE || insn.getOpcode() == Opcodes.ALOAD) &&
170170
((VarInsnNode) insn).var == localVariableNode.index) {
171171

172-
// frames[i] can be null in case of exception handlers
173172
if (frames[i] == null) {
174-
values.add(null);
173+
//unreachable code
175174
continue;
176175
}
177176

0 commit comments

Comments
 (0)