Skip to content

Commit f05c2ce

Browse files
authored
Merge pull request #17253 from millenomi/bundle-spi-darwin
Expose swift_getTypeContextDescriptor() on Darwin.
2 parents 13dfae7 + ce6316e commit f05c2ce

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

include/swift/Runtime/Metadata.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -721,13 +721,9 @@ void swift_getFieldAt(
721721
void verifyMangledNameRoundtrip(const Metadata *metadata);
722722
#endif
723723

724-
#if !SWIFT_OBJC_INTEROP
725-
726724
SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_API
727725
const TypeContextDescriptor *swift_getTypeContextDescriptor(const Metadata *type);
728726

729-
#endif // !SWIFT_OBJC_INTEROP
730-
731727
} // end namespace swift
732728

733729
#endif // SWIFT_RUNTIME_METADATA_H

stdlib/public/runtime/Metadata.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3941,10 +3941,6 @@ void swift::verifyMangledNameRoundtrip(const Metadata *metadata) {
39413941
}
39423942
#endif
39433943

3944-
#if !SWIFT_OBJC_INTEROP
3945-
39463944
const TypeContextDescriptor *swift::swift_getTypeContextDescriptor(const Metadata *type) {
39473945
return type->getTypeContextDescriptor();
39483946
}
3949-
3950-
#endif // !SWIFT_OBJC_INTEROP

0 commit comments

Comments
 (0)