mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
merge fixup
This commit is contained in:
@@ -882,7 +882,7 @@ void IRGenModule::emitStructDecl(StructDecl *st) {
|
||||
void IRGenModule::emitFuncDecl(FuncDecl *fd) {
|
||||
// If there's an opaque return type for this function, emit its descriptor.
|
||||
if (auto opaque = fd->getOpaqueResultTypeDecl()) {
|
||||
if (!IRGen.tryEnableLazyTypeMetadata(opaque))
|
||||
if (!IRGen.hasLazyMetadata(opaque))
|
||||
emitOpaqueTypeDecl(opaque);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user