Allow [class_protocol] protocols to be [objc].

Swift SVN r5591
This commit is contained in:
Joe Groff
2013-06-15 00:41:32 +00:00
parent 491de4fc55
commit b1aff68da9
3 changed files with 32 additions and 7 deletions

View File

@@ -1546,6 +1546,7 @@ static void buildValueWitnessFunction(IRGenModule &IGM,
= emitTypeMetadataRefForClassBoundedExistential(IGF, existential,
concreteType);
IGF.Builder.CreateRet(result);
} else {
llvm::Value *result
= emitTypeMetadataRefForOpaqueExistential(IGF, obj, concreteType);