mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SILGen: More general re-abstraction thunks
Kill the two Transform subclasses, OrigToSubst and SubstToOrig. Instead, Transform::transform() and other functions take an abstraction pattern for both the input and the output value. This simplifies the code in preparation for resilience expansion thunks.
This commit is contained in: