Silence a warning.

Swift SVN r10563
This commit is contained in:
Doug Gregor
2013-11-19 23:15:37 +00:00
parent 20e58dcf93
commit 2f8a60d718

View File

@@ -798,7 +798,7 @@ static CanSILFunctionType buildThunkType(SILGenFunction &gen,
auto generics = gen.F.getLoweredFunctionType()->getGenericParams();
if (generics) {
for (auto archetype : generics->getAllArchetypes())
subs.push_back({ archetype, archetype});
subs.push_back({ archetype, archetype, { }});
}
// Add the function type as the parameter.