Don't generate unnecessary checkcast to java.lang.Number
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
fun test() {
|
||||
val z : Int? = 1
|
||||
val r = z!! + 1
|
||||
stubPreventBoxingOptimization(z)
|
||||
}
|
||||
|
||||
fun stubPreventBoxingOptimization(s: Int?) {
|
||||
s
|
||||
}
|
||||
|
||||
//0 CHECKCAST java/lang/Number
|
||||
Reference in New Issue
Block a user