From 31431b9feda15cb347379b5bca79e6a78dbf3974 Mon Sep 17 00:00:00 2001 From: Leonard Grey Date: Wed, 29 Oct 2025 14:46:14 -0400 Subject: [PATCH] Define CALL_IMPL_SWIFT_REFCOUNT_CC when retain/release aren't overrideable --- stdlib/public/runtime/HeapObject.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stdlib/public/runtime/HeapObject.cpp b/stdlib/public/runtime/HeapObject.cpp index 4026929928429..aee7fe2fca1e2 100644 --- a/stdlib/public/runtime/HeapObject.cpp +++ b/stdlib/public/runtime/HeapObject.cpp @@ -186,6 +186,9 @@ static HeapObject *_swift_tryRetain_(HeapObject *object) #define CALL_IMPL(name, args) \ return _ ## name ## _ args; +#define CALL_IMPL_SWIFT_REFCOUNT_CC(name, args) \ + return _ ## name ## _ args; + #define CALL_IMPL_CHECK(name, args) \ return _ ## name ## _ args;