Generate unboxing operation on boxed class not Number.class when possible

This commit is contained in:
Mikhael Bogdanov
2017-03-09 13:08:48 +01:00
parent 5e80d80797
commit f2fea9a04a
4 changed files with 61 additions and 32 deletions
@@ -31,6 +31,8 @@ public class AsmTypes {
public static final Type JAVA_CLASS_TYPE = getType(Class.class);
public static final Type ENUM_TYPE = getType(Enum.class);
public static final Type NUMBER_TYPE = getType(Number.class);
public static final Type BOOLEAN_WRAPPER_TYPE = getType(Boolean.class);
public static final Type CHARACTER_WRAPPER_TYPE = getType(Character.class);
public static final Type UNIT_TYPE = Type.getObjectType("kotlin/Unit");