Skip to content

Commit e0fd2d5

Browse files
committed
Update comments to reflect changes in the original (atomic) version
1 parent 69768ad commit e0fd2d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/swift/Runtime/HeapObject.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -530,12 +530,12 @@ SWIFT_RT_ENTRY_VISIBILITY
530530
void swift_unownedRelease_n(HeapObject *value, int n)
531531
SWIFT_CC(RegisterPreservingCC);
532532

533-
/// Increment the weak/unowned retain count by n.
533+
/// Increment the unowned retain count by n.
534534
SWIFT_RT_ENTRY_VISIBILITY
535535
void swift_nonatomic_unownedRetain_n(HeapObject *value, int n)
536536
SWIFT_CC(RegisterPreservingCC);
537537

538-
/// Decrement the weak/unowned retain count by n.
538+
/// Decrement the unowned retain count by n.
539539
SWIFT_RT_ENTRY_VISIBILITY
540540
void swift_nonatomic_unownedRelease_n(HeapObject *value, int n)
541541
SWIFT_CC(RegisterPreservingCC);
@@ -561,7 +561,7 @@ void swift_unownedRetainStrongAndRelease(HeapObject *value)
561561

562562
/// Increment the strong retain count of an object which may have been
563563
/// deallocated, aborting if it has been deallocated, and decrement its
564-
/// weak/unowned reference count.
564+
/// unowned reference count.
565565
SWIFT_RT_ENTRY_VISIBILITY
566566
void swift_nonatomic_unownedRetainStrongAndRelease(HeapObject *value)
567567
SWIFT_CC(RegisterPreservingCC);

0 commit comments

Comments
 (0)