mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Teach the serialization of SIL generic environments, which used to be a trailing record following the SIL function definition, to use the same uniqued "generic environment IDs" that are used for the AST generic environments. Many of them overlap anyway, and SIL functions tend to have AST generic environments anyway. This approach guarantees that the AST + SIL deserialization provide the same uniqueness of generic environments present prior to serialization.
28 KiB
28 KiB