Generate LVT entry for continuation

#KT-25688: Fixed
This commit is contained in:
Ilmir Usmanov
2018-07-24 17:09:43 +03:00
parent dec307799a
commit 82f64b9b14
3 changed files with 49 additions and 3 deletions
@@ -0,0 +1,15 @@
// LANGUAGE_VERSION: 1.3
suspend fun dummy() {}
suspend fun tailCall() {
dummy()
}
suspend fun stateMachine() {
dummy()
dummy()
}
// for tail-calls there is no need to add continuation to LVT
// 1 LOCALVARIABLE \$continuation Lkotlin/coroutines/Continuation; L.* 2