[Wasm] Boolean boxed instances are the same

Fixed #KT-65411
This commit is contained in:
Igor Yakovlev
2024-02-09 17:01:12 +01:00
committed by Space Team
parent a171f774be
commit a5ef668e3c
28 changed files with 190 additions and 7 deletions
@@ -1723,6 +1723,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("boxedBooleanIdentity.kt")
public void testBoxedBooleanIdentity() {
runTest("compiler/testData/codegen/box/boxingOptimization/boxedBooleanIdentity.kt");
}
@Test
@TestMetadata("boxedIntegersCmp.kt")
public void testBoxedIntegersCmp() {
@@ -1771,6 +1771,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("boxedBooleanIdentity.kt")
public void testBoxedBooleanIdentity() {
runTest("compiler/testData/codegen/box/boxingOptimization/boxedBooleanIdentity.kt");
}
@Test
@TestMetadata("boxedIntegersCmp.kt")
public void testBoxedIntegersCmp() {
@@ -1675,6 +1675,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("boxedBooleanIdentity.kt")
public void testBoxedBooleanIdentity() {
runTest("compiler/testData/codegen/box/boxingOptimization/boxedBooleanIdentity.kt");
}
@Test
@TestMetadata("boxedIntegersCmp.kt")
public void testBoxedIntegersCmp() {
@@ -1724,6 +1724,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("boxedBooleanIdentity.kt")
public void testBoxedBooleanIdentity() {
runTest("compiler/testData/codegen/box/boxingOptimization/boxedBooleanIdentity.kt");
}
@Test
@TestMetadata("boxedIntegersCmp.kt")
public void testBoxedIntegersCmp() {