Add intrinsic for ULong/UInt.toString on Java 8+
Unfortunately this cannot currently be done for the extension overload which accepts a radix due to behavior difference with regard to invalid radix values.
This commit is contained in:
committed by
max-kammerer
parent
b7917978b8
commit
4386518c4d
+10
@@ -25205,6 +25205,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntToString.kt")
|
||||
public void testUnsignedIntToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntToString.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLiteralsForMaxLongValue.kt")
|
||||
public void testUnsignedLiteralsForMaxLongValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsForMaxLongValue.kt");
|
||||
@@ -25230,6 +25235,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongToString.kt")
|
||||
public void testUnsignedLongToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongToString.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedRangeIterator.kt")
|
||||
public void testUnsignedRangeIterator() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedRangeIterator.kt");
|
||||
|
||||
@@ -3643,6 +3643,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntRemainder_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntToString_jvm18.kt")
|
||||
public void testUnsignedIntToString_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntToString_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm18.kt")
|
||||
public void testUnsignedLongCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongCompare_jvm18.kt");
|
||||
@@ -3658,6 +3663,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongRemainder_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongToString_jvm18.kt")
|
||||
public void testUnsignedLongToString_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongToString_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("whenByUnsigned.kt")
|
||||
public void testWhenByUnsigned() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/whenByUnsigned.kt");
|
||||
|
||||
+10
@@ -25205,6 +25205,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntToString.kt")
|
||||
public void testUnsignedIntToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntToString.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLiteralsForMaxLongValue.kt")
|
||||
public void testUnsignedLiteralsForMaxLongValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsForMaxLongValue.kt");
|
||||
@@ -25230,6 +25235,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongToString.kt")
|
||||
public void testUnsignedLongToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongToString.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedRangeIterator.kt")
|
||||
public void testUnsignedRangeIterator() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedRangeIterator.kt");
|
||||
|
||||
+10
@@ -24110,6 +24110,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntToString.kt")
|
||||
public void testUnsignedIntToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntToString.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLiteralsForMaxLongValue.kt")
|
||||
public void testUnsignedLiteralsForMaxLongValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsForMaxLongValue.kt");
|
||||
@@ -24135,6 +24140,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongToString.kt")
|
||||
public void testUnsignedLongToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongToString.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedRangeIterator.kt")
|
||||
public void testUnsignedRangeIterator() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/unsignedTypes/unsignedRangeIterator.kt");
|
||||
|
||||
+10
@@ -3598,6 +3598,11 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntRemainder_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntToString_jvm18.kt")
|
||||
public void testUnsignedIntToString_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntToString_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm18.kt")
|
||||
public void testUnsignedLongCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongCompare_jvm18.kt");
|
||||
@@ -3613,6 +3618,11 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongRemainder_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongToString_jvm18.kt")
|
||||
public void testUnsignedLongToString_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongToString_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("whenByUnsigned.kt")
|
||||
public void testWhenByUnsigned() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/whenByUnsigned.kt");
|
||||
|
||||
Reference in New Issue
Block a user