Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
49b2ac1b100c5042a0e98582713938062efa6a31
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
mergedProgression.kt
blob: fbfd9e4bceaf518c82ed14824cdf791c5e5c6546 [
file
] [
log
] [
blame
]
// TARGET_BACKEND: JVM_IR
fun test
(
a
:
Int
,
b
:
Int
,
flag
:
Boolean
)
=
(
if
(
flag
)
a
..
b
else
a downTo b
).
map
{
it
+
1
}
// 0 java/util/Iterator.next \(\)Ljava/lang/Object;
// 1 kotlin/collections/IntIterator.nextInt \(\)I