mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #16344 from DougGregor/sil-substitution-maps-redux
[SIL] Replace more SubstitutionLists with SubstitutionMap
This commit is contained in:
@@ -98,6 +98,9 @@ class ReabstractionInfo {
|
||||
// callee archetypes.
|
||||
SubstitutionList ClonerParamSubs;
|
||||
|
||||
/// Substitution map form of ClonerParamSubs.
|
||||
SubstitutionMap ClonerParamSubMap;
|
||||
|
||||
// Reference to the original generic non-specialized callee function.
|
||||
SILFunction *Callee;
|
||||
|
||||
@@ -217,6 +220,10 @@ public:
|
||||
return ClonerParamSubs;
|
||||
}
|
||||
|
||||
SubstitutionMap getClonerParamSubstitutionMap() const {
|
||||
return ClonerParamSubMap;
|
||||
}
|
||||
|
||||
SubstitutionList getCalleeParamSubstitutions() const {
|
||||
return CalleeParamSubs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user