KT-36813 Generate optimizable null checks in JVM_IR

This commit is contained in:
Dmitry Petrov
2020-03-03 16:54:57 +03:00
parent a52ef71d48
commit f678db2f89
9 changed files with 90 additions and 11 deletions
@@ -17548,6 +17548,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
public void testTrivialInstanceOf() throws Exception {
runTest("compiler/testData/codegen/box/nullCheckOptimization/trivialInstanceOf.kt");
}
@TestMetadata("varModifiedAfterCheck.kt")
public void testVarModifiedAfterCheck() throws Exception {
runTest("compiler/testData/codegen/box/nullCheckOptimization/varModifiedAfterCheck.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/objectIntrinsics")