Skip to content

Commit 4d2318d

Browse files
committed
Merge remote-tracking branch 'origin/master' into master-rebranch
2 parents 12c6b32 + 4cfaeee commit 4d2318d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/Private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class TypeInfo {
211211
static inline
212212
bool objectUsesNativeSwiftReferenceCounting(const void *object) {
213213
assert(!isObjCTaggedPointerOrNull(object));
214-
#if SWIFT_HAS_OPAQUE_ISAS
214+
#if SWIFT_OBJC_INTEROP && SWIFT_HAS_OPAQUE_ISAS
215215
// Fast path for opaque ISAs. We don't want to call
216216
// _swift_getClassOfAllocated as that will call object_getClass.
217217
// Instead we can look at the bits in the ISA and tell if its a

0 commit comments

Comments
 (0)