Add ForLoopsLowering to JVM phases.

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.
This commit is contained in:
Mark Punzalan
2019-03-19 13:34:59 -07:00
committed by max-kammerer
parent 7276b7e66a
commit 409d99a52a
8 changed files with 4 additions and 108 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
const val N = 42L
fun test(): Long {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun Int.digitsUpto(end: Int): Int {
var sum = 0
for (i in rangeTo(end)) {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun f() {
for (i in 1..2) {
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun f(a: Int, b: Int) {
for (i in a..b) {
}