mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
4fccd2f6fc
This adds various MetadataReader methods to support closure layout: - Reading generic arguments from metadata - Reading parent metadata - Reading capture descriptor from heap metadata To a large extent, this is not currently taken advantage of, because SILGen always wraps address-only captures in SIL box types. Tests are in the next patch.