Always do stack spilling during inline cause of dex problem

Dex issue: https://issuetracker.google.com/issues/68796377

  #KT-20844 Fixed
This commit is contained in:
Mikhael Bogdanov
2017-11-13 13:35:58 +01:00
parent 519e5c33d8
commit dff6e943bb
12 changed files with 163 additions and 2 deletions
@@ -2241,6 +2241,21 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
}
}
@TestMetadata("compiler/testData/codegen/boxInline/optimizations")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Optimizations extends AbstractBlackBoxInlineCodegenTest {
public void testAllFilesPresentInOptimizations() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/optimizations"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("kt20844.kt")
public void testKt20844() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/optimizations/kt20844.kt");
doTest(fileName);
}
}
@TestMetadata("compiler/testData/codegen/boxInline/private")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)