Do not remove dead variables' LVT records

Also, extend liveness of alive variable to nearest suspension points
 #KT-44714
This commit is contained in:
Ilmir Usmanov
2021-03-01 22:30:20 +01:00
parent ee11202db5
commit e17b7f01b6
10 changed files with 89 additions and 14 deletions
@@ -15,7 +15,7 @@ fun main(args: Array<String>) {
suspend fun SequenceScope<Int>.awaitSeq(): Int = 42
// 1 LOCALVARIABLE a I L[0-9]+ L18
// 1 LOCALVARIABLE a I L[0-9]+ L4
/* TODO: JVM_IR does not generate LINENUMBER at the end of the lambda */
// JVM_TEMPLATES