Wrap result method node with max stack calculator in inliner

#KT-31347 Fixed
This commit is contained in:
Ilmir Usmanov
2019-05-21 18:54:36 +03:00
parent 3f6492ab2a
commit 5631306165
7 changed files with 81 additions and 1 deletions
@@ -3545,6 +3545,16 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/suspend/kt26658.kt");
}
@TestMetadata("maxStackWithCrossinline.kt")
public void testMaxStackWithCrossinline_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/maxStackWithCrossinline.kt", "kotlin.coroutines.experimental");
}
@TestMetadata("maxStackWithCrossinline.kt")
public void testMaxStackWithCrossinline_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/maxStackWithCrossinline.kt", "kotlin.coroutines");
}
@TestMetadata("multipleLocals.kt")
public void testMultipleLocals_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/multipleLocals.kt", "kotlin.coroutines.experimental");