dead code

This commit is contained in:
Dmitry Jemerov
2011-04-07 16:21:32 +02:00
parent 3250b8cfa9
commit 6cbd5ab457
@@ -333,20 +333,6 @@ public class ExpressionCodegen extends JetVisitor {
return containingClass.getQualifiedName().replace(".", "/");
}
private void boxIfNeeded(PsiType type) {
if (type instanceof PsiPrimitiveType && type != PsiType.VOID) {
if (type == PsiType.LONG) {
v.invokestatic("java/lang/Long", "valueOf", "(J)Ljava/lang/Long;");
}
else if (type == PsiType.INT) {
v.invokestatic("java/lang/Integer", "valueOf", "(I)Ljava/lang/Integer;");
}
else {
throw new UnsupportedOperationException("Don't know how to box type " + type);
}
}
}
private void unbox(PsiType type) {
if (type instanceof PsiPrimitiveType) {
if (type == PsiType.INT) {