mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Completely replace swift_retain_noresult with swift_retain. this is part of a series of commits
to remove reference forwarding for some of the ARC entry points. rdar://22724641. After this commit, swift_retain_noresult will be completely replaced by swift_retain and LLVMARCOpts.cpp will no longer canonicalize swift_retain to swift_retain_noresult as now swift_retain returns no reference. Swift SVN r32058
This commit is contained in:
@@ -276,11 +276,6 @@ extern "C" LLVM_LIBRARY_VISIBILITY
|
||||
void _swift_release_dealloc(HeapObject *object)
|
||||
__attribute__((noinline,used));
|
||||
|
||||
void
|
||||
swift::swift_retain_noresult(HeapObject *object) {
|
||||
swift_retain(object);
|
||||
}
|
||||
|
||||
void swift::swift_retain(HeapObject *object) {
|
||||
SWIFT_RETAIN();
|
||||
_swift_retain(object);
|
||||
|
||||
Reference in New Issue
Block a user