Prepare SILType for more than just isAddress.

Swift SVN r6946
This commit is contained in:
John McCall
2013-08-06 20:23:12 +00:00
parent 7e5659f642
commit b0084f7204
16 changed files with 197 additions and 196 deletions

View File

@@ -3565,7 +3565,7 @@ static void forEachProtocolWitnessTable(IRGenFunction &IGF,
// If the source type is an archetype, look at what's locally bound.
if (auto *archetype = srcType.getAs<ArchetypeType>()) {
if (auto archetype = srcType.getAs<ArchetypeType>()) {
auto &archTI = getArchetypeInfo(IGF, archetype);
for (unsigned i = 0, e = protocols.size(); i < e; ++i) {