Skip to content

Commit a9ee814

Browse files
committed
[Runtime] Fix the no-retain/release-overrides build.
We need a stub version of CALL_IMPL_SWIFT_REFCOUNT_CC for the !SWIFT_STDLIB_OVERRIDABLE_RETAIN_RELEASE case.
1 parent 2ba29d3 commit a9ee814

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/public/runtime/HeapObject.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ static HeapObject *_swift_tryRetain_(HeapObject *object)
186186
#define CALL_IMPL(name, args) \
187187
return _ ## name ## _ args;
188188

189+
#define CALL_IMPL_SWIFT_REFCOUNT_CC(name, args) \
190+
return _ ## name ## _ args;
191+
189192
#define CALL_IMPL_CHECK(name, args) \
190193
return _ ## name ## _ args;
191194

0 commit comments

Comments
 (0)