[K/N] Introduce intrinsics that atomically update array elements
Supported atomic update of elements for IntArray, LongArray and Array<T> See KT-58360 Merge-request: KT-MR-11020 Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com>
This commit is contained in:
+6
@@ -40127,6 +40127,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/volatile"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("atomicArrayIntrinsics.kt")
|
||||
public void testAtomicArrayIntrinsics() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/volatile/atomicArrayIntrinsics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossModuleIntrinsic.kt")
|
||||
public void testCrossModuleIntrinsic() throws Exception {
|
||||
|
||||
+6
@@ -41161,6 +41161,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/volatile"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("atomicArrayIntrinsics.kt")
|
||||
public void testAtomicArrayIntrinsics() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/volatile/atomicArrayIntrinsics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossModuleIntrinsic.kt")
|
||||
public void testCrossModuleIntrinsic() throws Exception {
|
||||
|
||||
+6
@@ -39611,6 +39611,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/volatile"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("atomicArrayIntrinsics.kt")
|
||||
public void testAtomicArrayIntrinsics() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/volatile/atomicArrayIntrinsics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossModuleIntrinsic.kt")
|
||||
public void testCrossModuleIntrinsic() throws Exception {
|
||||
|
||||
+6
@@ -40128,6 +40128,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/volatile"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("atomicArrayIntrinsics.kt")
|
||||
public void testAtomicArrayIntrinsics() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/volatile/atomicArrayIntrinsics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossModuleIntrinsic.kt")
|
||||
public void testCrossModuleIntrinsic() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user