mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
runtime: add and switch to SWIFT_NOINLINE (NFC)
This switches the `LLVM_ATTRIBUTE_NOINLINE` to a local copy which is namespaced in Swift.
This commit is contained in:
@@ -327,8 +327,8 @@ HeapObject *swift::swift_allocEmptyBox() {
|
||||
}
|
||||
|
||||
// Forward-declare this, but define it after swift_release.
|
||||
extern "C" SWIFT_LIBRARY_VISIBILITY LLVM_ATTRIBUTE_NOINLINE LLVM_ATTRIBUTE_USED
|
||||
void _swift_release_dealloc(HeapObject *object);
|
||||
extern "C" SWIFT_LIBRARY_VISIBILITY SWIFT_NOINLINE LLVM_ATTRIBUTE_USED void
|
||||
_swift_release_dealloc(HeapObject *object);
|
||||
|
||||
static HeapObject *_swift_retain_(HeapObject *object) {
|
||||
SWIFT_RT_TRACK_INVOCATION(object, swift_retain);
|
||||
|
||||
Reference in New Issue
Block a user