JVM IR: Avoid boxing in generic floating point equality (KT-48635)
This commit is contained in:
committed by
Alexander Udalov
parent
36a154507e
commit
dbb6144ab0
+12
@@ -9767,6 +9767,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/dataClasses/doubleParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalityChecksPrimitiveUnboxed.kt")
|
||||
public void testEqualityChecksPrimitiveUnboxed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/dataClasses/equalityChecksPrimitiveUnboxed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("floatParam.kt")
|
||||
public void testFloatParam() throws Exception {
|
||||
@@ -15907,6 +15913,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksPrimitiveGeneric.kt", TransformersFunctions.getRemoveOptionalJvmInlineAnnotation());
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalityChecksPrimitiveUnboxed.kt")
|
||||
public void testEqualityChecksPrimitiveUnboxed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksPrimitiveUnboxed.kt", TransformersFunctions.getRemoveOptionalJvmInlineAnnotation());
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalityForBoxesOfNullableValuesOfInlineClass.kt")
|
||||
public void testEqualityForBoxesOfNullableValuesOfInlineClass() throws Exception {
|
||||
|
||||
+12
@@ -9809,6 +9809,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/dataClasses/doubleParam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalityChecksPrimitiveUnboxed.kt")
|
||||
public void testEqualityChecksPrimitiveUnboxed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/dataClasses/equalityChecksPrimitiveUnboxed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("floatParam.kt")
|
||||
public void testFloatParam() throws Exception {
|
||||
@@ -15871,6 +15877,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksPrimitiveGeneric.kt", TransformersFunctions.getRemoveOptionalJvmInlineAnnotation());
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalityChecksPrimitiveUnboxed.kt")
|
||||
public void testEqualityChecksPrimitiveUnboxed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksPrimitiveUnboxed.kt", TransformersFunctions.getRemoveOptionalJvmInlineAnnotation());
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalityForBoxesOfNullableValuesOfInlineClass.kt")
|
||||
public void testEqualityForBoxesOfNullableValuesOfInlineClass() throws Exception {
|
||||
|
||||
+10
@@ -8677,6 +8677,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/dataClasses/doubleParam.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("equalityChecksPrimitiveUnboxed.kt")
|
||||
public void testEqualityChecksPrimitiveUnboxed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/dataClasses/equalityChecksPrimitiveUnboxed.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("floatParam.kt")
|
||||
public void testFloatParam() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/dataClasses/floatParam.kt");
|
||||
@@ -14096,6 +14101,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksPrimitiveGeneric.kt", TransformersFunctions.getRemoveOptionalJvmInlineAnnotation());
|
||||
}
|
||||
|
||||
@TestMetadata("equalityChecksPrimitiveUnboxed.kt")
|
||||
public void testEqualityChecksPrimitiveUnboxed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksPrimitiveUnboxed.kt", TransformersFunctions.getRemoveOptionalJvmInlineAnnotation());
|
||||
}
|
||||
|
||||
@TestMetadata("equalityForBoxesOfNullableValuesOfInlineClass.kt")
|
||||
public void testEqualityForBoxesOfNullableValuesOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/equalityForBoxesOfNullableValuesOfInlineClass.kt", TransformersFunctions.getRemoveOptionalJvmInlineAnnotation());
|
||||
|
||||
Reference in New Issue
Block a user