mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add a new entry point for getting generic metadata which adds the canonical metadata records attached to the nominal type descriptor to the metadata cache. Change the implementation of the primary entry-point swift_getGenericMetadata to stop looking through canonical prespecialized records. Change the implementation of swift_getCanonicalSpecializedMetadata to use the caching token attached to the nominal type descriptor to add canonical prespecialized metadata records to the metadata cache only once rather than using the cache variables to limit the number of times the attempt was made.
37 KiB
37 KiB