Cleanup spilled variables

#KT-16222
This commit is contained in:
Ilmir Usmanov
2020-07-31 17:33:32 +02:00
parent 999b41068b
commit bbd4c21595
2 changed files with 58 additions and 4 deletions

View File

@@ -5,5 +5,6 @@ suspend fun topLevel(a: String, b: String) {
blackhole(b) // no spills
}
// 1 PUTFIELD .*L\$0 : Ljava/lang/Object;
// a and a's cleanup
// 2 PUTFIELD .*L\$0 : Ljava/lang/Object;
// 0 PUTFIELD .*L\$1 : Ljava/lang/Object;