mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 00:21:26 +00:00
Fix debugger-related tests after dead code elimination improvements
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
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
|
||||
Reference in New Issue
Block a user