mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove unused parameters to TypeSubstCloner ctor.
These are used by a helper in the generic specializer, but not need for the cloner class itself. Swift SVN r18848
This commit is contained in:
@@ -56,8 +56,8 @@ public:
|
||||
TypeSubstitutionMap &ContextSubs,
|
||||
StringRef NewName,
|
||||
ApplyInst *Caller)
|
||||
: TypeSubstCloner(*initCloned(F, InterfaceSubs, NewName), *F, InterfaceSubs,
|
||||
ContextSubs, NewName, Caller) {}
|
||||
: TypeSubstCloner(*initCloned(F, InterfaceSubs, NewName), *F, ContextSubs,
|
||||
Caller) {}
|
||||
/// Clone and remap the types in \p F according to the substitution
|
||||
/// list in \p Subs.
|
||||
static SILFunction *cloneFunction(SILFunction *F,
|
||||
|
||||
Reference in New Issue
Block a user