JVM_IR: Fix null-constant comparison with primitive types.
This commit is contained in:
committed by
max-kammerer
parent
e21da3a61a
commit
e7d0909979
+5
@@ -17830,6 +17830,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/boxedLongEqualsLong.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intEqualsNull.kt")
|
||||
public void testIntEqualsNull() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/intEqualsNull.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intEqualsNullableInt.kt")
|
||||
public void testIntEqualsNullableInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/intEqualsNullableInt.kt");
|
||||
|
||||
@@ -1034,6 +1034,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nonZeroCompareInWhile.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullCompareConst.kt")
|
||||
public void testNullCompareConst() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nullCompareConst.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullCompareInDoWhile.kt")
|
||||
public void testNullCompareInDoWhile() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nullCompareInDoWhile.kt");
|
||||
|
||||
+5
@@ -17830,6 +17830,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/boxedLongEqualsLong.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intEqualsNull.kt")
|
||||
public void testIntEqualsNull() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/intEqualsNull.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intEqualsNullableInt.kt")
|
||||
public void testIntEqualsNullableInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/intEqualsNullableInt.kt");
|
||||
|
||||
+5
@@ -16715,6 +16715,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/boxedLongEqualsLong.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intEqualsNull.kt")
|
||||
public void testIntEqualsNull() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/intEqualsNull.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intEqualsNullableInt.kt")
|
||||
public void testIntEqualsNullableInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/intEqualsNullableInt.kt");
|
||||
|
||||
+5
@@ -1034,6 +1034,11 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nonZeroCompareInWhile.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullCompareConst.kt")
|
||||
public void testNullCompareConst() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nullCompareConst.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullCompareInDoWhile.kt")
|
||||
public void testNullCompareInDoWhile() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/conditions/nullCompareInDoWhile.kt");
|
||||
|
||||
Reference in New Issue
Block a user