mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Introduce new SubstitutionList type to replace ArrayRef<Substitution>
SubstitutionList is going to be a more compact representation of a SubstitutionMap, suitable for inline allocation inside another object. For now, it's just a typedef for ArrayRef<Substitution>.
This commit is contained in:
@@ -533,7 +533,7 @@ void SILFunction::convertToDeclaration() {
|
||||
getBlocks().clear();
|
||||
}
|
||||
|
||||
ArrayRef<Substitution> SILFunction::getForwardingSubstitutions() {
|
||||
SubstitutionList SILFunction::getForwardingSubstitutions() {
|
||||
if (ForwardingSubs)
|
||||
return *ForwardingSubs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user