JVM KT-47851 fix redundant checkcast elimination

This commit is contained in:
Dmitry Petrov
2021-11-18 20:12:38 +03:00
committed by teamcityserver
parent 8b066fd345
commit e525e25518
12 changed files with 187 additions and 4 deletions
@@ -4133,6 +4133,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
public void testKt19246() throws Exception {
runTest("compiler/testData/codegen/box/checkcastOptimization/kt19246.kt");
}
@TestMetadata("kt47851.kt")
public void testKt47851() throws Exception {
runTest("compiler/testData/codegen/box/checkcastOptimization/kt47851.kt");
}
@TestMetadata("kt47851a.kt")
public void testKt47851a() throws Exception {
runTest("compiler/testData/codegen/box/checkcastOptimization/kt47851a.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/classLiteral")