Files
kotlin/compiler/testData/codegen/bytecodeText/prefixIntVarIncrement.kt
Mads Ager 5570a5fe74 [JVM_IR] Use iinc for incrementing Int variables.
Fix line number generation for assignments where the right-hand
side of the assignment is not on the same line.

Fix line number generation for intrinsics functions where the
function is not on the same line as the last argument.

Be careful to not break stepping behavior with the iinc
optimizations.
2020-03-27 18:17:53 +03:00

7 lines
80 B
Kotlin
Vendored

fun main(args: Array<String>) {
var i = 10
++i
++(l@ i)
}
// 2 IINC