mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Prepare SILType for more than just isAddress.
Swift SVN r6946
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user