87b628a3f7
(cherry picked from commit 462bdb2) #KT-6477 Fixed
14 lines
245 B
Kotlin
Vendored
14 lines
245 B
Kotlin
Vendored
fun box() {
|
|
lookAtMe {
|
|
12
|
|
}
|
|
}
|
|
|
|
inline fun lookAtMe(f: () -> Int): Int {
|
|
val a = 42
|
|
a + f() // Even this line already has meaningful instraction nop is still generated
|
|
return 13
|
|
}
|
|
|
|
// TODO: Less NOPs is better
|
|
// 2 NOP |