JVM IR: reduce usages of IrTypeMapper.kotlinTypeMapper

This commit is contained in:
Alexander Udalov
2019-08-06 06:11:58 +02:00
parent 0c6ab69b52
commit f64afbf152
9 changed files with 39 additions and 45 deletions
@@ -236,7 +236,7 @@ public class AsmUtil {
}
@Nullable
private static Type boxPrimitiveType(@NotNull Type type) {
public static Type boxPrimitiveType(@NotNull Type type) {
JvmPrimitiveType jvmPrimitiveType = primitiveTypeByAsmSort.get(type.getSort());
return jvmPrimitiveType != null ? asmTypeByFqNameWithoutInnerClasses(jvmPrimitiveType.getWrapperFqName()) : null;
}