JVM prune exception edges in DFA in some cases
This commit is contained in:
+23
-5
@@ -6698,11 +6698,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/controlStructures/quicksort.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("slowHtmlLikeDsl.kt")
|
||||
public void testSlowHtmlLikeDsl() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/controlStructures/slowHtmlLikeDsl.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("tcbInEliminatedCondition.kt")
|
||||
public void testTcbInEliminatedCondition() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/controlStructures/tcbInEliminatedCondition.kt");
|
||||
@@ -7284,6 +7279,29 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/controlStructures/slowDsl")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SlowDsl extends AbstractLightAnalysisModeTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSlowDsl() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/slowDsl"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("slowHtmlLikeDsl.kt")
|
||||
public void testSlowHtmlLikeDsl() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/controlStructures/slowDsl/slowHtmlLikeDsl.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("slowHtmlLikeDslNoInline.kt")
|
||||
public void testSlowHtmlLikeDslNoInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/controlStructures/slowDsl/slowHtmlLikeDslNoInline.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
Reference in New Issue
Block a user