We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f911be8 commit 4cfaeeeCopy full SHA for 4cfaeee
stdlib/public/runtime/Private.h
@@ -211,7 +211,7 @@ class TypeInfo {
211
static inline
212
bool objectUsesNativeSwiftReferenceCounting(const void *object) {
213
assert(!isObjCTaggedPointerOrNull(object));
214
-#if SWIFT_HAS_OPAQUE_ISAS
+#if SWIFT_OBJC_INTEROP && SWIFT_HAS_OPAQUE_ISAS
215
// Fast path for opaque ISAs. We don't want to call
216
// _swift_getClassOfAllocated as that will call object_getClass.
217
// Instead we can look at the bits in the ISA and tell if its a
0 commit comments