mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Allow [class_protocol] protocols to be [objc].
Swift SVN r5591
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user