Replace ALOAD 0 with fake continuation if suspension point is default

method

 #KT-25922 Fixed
 #KT-26608 Fixed
 #KT-26658 Fixed
This commit is contained in:
Ilmir Usmanov
2018-09-14 21:53:38 +03:00
parent 85bdb8b787
commit 7b1c564b87
6 changed files with 276 additions and 14 deletions
@@ -3354,6 +3354,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfSuspend.kt", "kotlin.coroutines");
}
@TestMetadata("kt26658.kt")
public void testKt26658() throws Exception {
runTest("compiler/testData/codegen/boxInline/suspend/kt26658.kt");
}
@TestMetadata("multipleLocals.kt")
public void testMultipleLocals_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/multipleLocals.kt", "kotlin.coroutines.experimental");