mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Ensure the transitive completion of type arguments and the superclass
before declaring nominal type metadata complete. Also, future-proof MetadataState.
This commit is contained in:
@@ -1910,9 +1910,8 @@ namespace {
|
||||
void emitStoreOfSuperclass(IRGenFunction &IGF, CanType superclassType,
|
||||
llvm::Value *metadata,
|
||||
MetadataDependencyCollector *collector) {
|
||||
auto request =
|
||||
DynamicMetadataRequest::getNonBlocking(MetadataState::Complete,
|
||||
collector);
|
||||
auto request = DynamicMetadataRequest::getNonBlocking(
|
||||
MetadataState::NonTransitiveComplete, collector);
|
||||
|
||||
llvm::Value *superMetadata =
|
||||
emitClassHeapMetadataRef(IGF, superclassType,
|
||||
|
||||
Reference in New Issue
Block a user