JVM_IR: Fix null-constant comparison with primitive types.

This commit is contained in:
Kristoffer Andersen
2019-09-05 11:25:17 +02:00
committed by max-kammerer
parent e21da3a61a
commit e7d0909979
10 changed files with 122 additions and 44 deletions
@@ -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");