mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
@objc protocols don't have witness tables. However, both type metadata (in the nominal type descriptors) and the runtime code to demangle type names into metadata weren't acknowledging this. Fix type metadata emission to not count an "extra argument" for @objc protocol conformance requirements, and teach the runtime code to properly look for conformances to @objc protocols (through the Objective-C runtime) and not record witness tables for them.
27 KiB
27 KiB