mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Preserve the AbstractCC of a function symbol when emitting a SIL ConstantRefInst by adding a new StaticFunction variant to LoweredValue. This lets us avoid a bunch of bitcasting noise for static functions that aren't used as values, and will lets us emit C-to-Swift-ABI thunks on demand when C functions are used as values. Swift SVN r4543
297 B
297 B