Add ULong.compareTo and UInt.div/rem/compareTo intrinsics for Java 8

This commit is contained in:
Jake Wharton
2019-04-18 22:56:53 -04:00
committed by max-kammerer
parent e6362661d1
commit 373424f430
25 changed files with 587 additions and 9 deletions
@@ -3520,6 +3520,46 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/bytecodeText/unsignedTypes"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
}
@TestMetadata("unsignedIntCompare_jvm16.kt")
public void testUnsignedIntCompare_jvm16() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntCompare_jvm16.kt");
}
@TestMetadata("unsignedIntCompare_jvm18.kt")
public void testUnsignedIntCompare_jvm18() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntCompare_jvm18.kt");
}
@TestMetadata("unsignedIntDivide_jvm16.kt")
public void testUnsignedIntDivide_jvm16() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntDivide_jvm16.kt");
}
@TestMetadata("unsignedIntDivide_jvm18.kt")
public void testUnsignedIntDivide_jvm18() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntDivide_jvm18.kt");
}
@TestMetadata("unsignedIntRemainder_jvm16.kt")
public void testUnsignedIntRemainder_jvm16() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntRemainder_jvm16.kt");
}
@TestMetadata("unsignedIntRemainder_jvm18.kt")
public void testUnsignedIntRemainder_jvm18() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntRemainder_jvm18.kt");
}
@TestMetadata("unsignedLongCompare_jvm16.kt")
public void testUnsignedLongCompare_jvm16() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongCompare_jvm16.kt");
}
@TestMetadata("unsignedLongCompare_jvm18.kt")
public void testUnsignedLongCompare_jvm18() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongCompare_jvm18.kt");
}
@TestMetadata("unsignedLongDivide_jvm16.kt")
public void testUnsignedLongDivide_jvm16() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongDivide_jvm16.kt");