Convert const values in ranges without explicit cast
This commit is contained in:
+2
-2
@@ -69,8 +69,8 @@ fun testULongDownTo(a: ULong): Int {
|
||||
// 0 INVOKE\w+ kotlin/U(Int|Long).(un)?box-impl
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 31 ILOAD
|
||||
// 21 ISTORE
|
||||
// 26 ILOAD
|
||||
// 18 ISTORE
|
||||
// 6 IADD
|
||||
// 0 ISUB
|
||||
// 3 IINC
|
||||
|
||||
+2
-2
@@ -31,8 +31,8 @@ fun f(a: UInt): Int {
|
||||
// 0 INVOKE\w+ kotlin/UInt.(un)?box-impl
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 7 ILOAD
|
||||
// 4 ISTORE
|
||||
// 5 ILOAD
|
||||
// 3 ISTORE
|
||||
// 0 IADD
|
||||
// 0 ISUB
|
||||
// 2 IINC
|
||||
+2
-2
@@ -39,8 +39,8 @@ fun f(a: UInt): Int {
|
||||
// 1 IF
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 5 ILOAD
|
||||
// 4 ISTORE
|
||||
// 4 ILOAD
|
||||
// 3 ISTORE
|
||||
// 0 IADD
|
||||
// 0 ISUB
|
||||
// 2 IINC
|
||||
+2
-2
@@ -38,8 +38,8 @@ fun f(a: UInt): Int {
|
||||
// 1 IF
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 5 ILOAD
|
||||
// 4 ISTORE
|
||||
// 4 ILOAD
|
||||
// 3 ISTORE
|
||||
// 0 IADD
|
||||
// 0 ISUB
|
||||
// 2 IINC
|
||||
|
||||
Reference in New Issue
Block a user