Files
kotlin-fork/compiler/testData/codegen/box
Mark Punzalan de1e27c584 Make all progression headers inclusive, and decrement last for
last-exclusive progressions (i.e., "until" progressions and loop over
array indices).

This change makes it possible to correctly implement the handling of
"step" progressions. Computing the last element of a stepped progression
requires that the last is inclusive.

Also invert the while loop (into if + do-while) that is used when
lowering for-loops over progressions that cannot overflow. This keeps
the performance characteristics closer to the ForLoopsLowering in
kotlin-native, since the goal is to converge to this shared version.

Also used IrType instead of KotlinType, where possible.

 https://github.com/JetBrains/kotlin/pull/2390
 https://github.com/JetBrains/kotlin/pull/2305
2019-07-16 14:08:21 +02:00
..
2018-10-15 00:03:45 +03:00
2018-07-10 13:34:19 +03:00
2019-06-10 17:37:52 +03:00
2019-04-08 13:10:22 +02:00
2018-07-10 13:34:19 +03:00
2019-05-06 19:34:25 +03:00
2019-02-15 16:25:16 +03:00
2018-08-09 14:22:50 +03:00
2019-06-07 15:01:44 +02:00
2019-04-08 13:10:22 +02:00
2019-01-24 23:05:56 +03:00
2018-06-14 19:54:30 +03:00
2018-10-22 16:32:55 +02:00
2018-10-10 17:27:37 +03:00
2019-02-19 16:37:47 +01:00