mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 08:31:29 +00:00
Also deleted StepHandler. Since the HeaderInfo.needLastCalculation is only set to true for handling step progressions, deleted that property and all associated logic around it.
13 lines
150 B
Kotlin
Vendored
13 lines
150 B
Kotlin
Vendored
const val N = 42L
|
|
|
|
fun test(): Long {
|
|
var sum = 0L
|
|
for (i in 1L .. N) {
|
|
sum += i
|
|
}
|
|
return sum
|
|
}
|
|
|
|
// 1 LCMP
|
|
// 0 IFEQ
|
|
// 1 IFGT |