JVM_IR optimize temporary vals initialized with other vals
This commit is contained in:
committed by
TeamCityServer
parent
939f25333e
commit
568958492a
+9
@@ -0,0 +1,9 @@
|
||||
fun test(xs: IntArray, dx: Int) {
|
||||
for (i in xs.indices) {
|
||||
xs[i] += dx
|
||||
}
|
||||
}
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 5 ALOAD
|
||||
// 6 ILOAD
|
||||
Reference in New Issue
Block a user