JVM_IR Spill stack on array constructor call
KT-42932
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun test(): Int = "123".indexOfAny(CharArray(1000) { '1' })
|
||||
|
||||
// JVM_TEMPLATES:
|
||||
// 5 ALOAD
|
||||
// 5 ASTORE
|
||||
// 7 ILOAD
|
||||
// 6 ISTORE
|
||||
|
||||
// JVM_IR_TEMPLATES:
|
||||
// 3 ALOAD
|
||||
// 3 ASTORE
|
||||
// 4 ILOAD
|
||||
// 3 ISTORE
|
||||
Reference in New Issue
Block a user