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:
Mark Lacey
2014-06-12 23:50:19 +00:00
parent 70fdc6d9ed
commit 904d73b71e
2 changed files with 2 additions and 4 deletions

View File

@@ -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,