mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL: Rename SILFunction::hasSelfMetadataParam()/getSelfMetadataArgument()
These are only for class types and are related to the usage of the
DynamicSelfType, so rename them to {has,get}DynamicSelfMetadata().
This commit is contained in:
@@ -850,7 +850,7 @@ void LifetimeChecker::handleLoadForTypeOfSelfUse(DIMemoryUse &Use) {
|
||||
break;
|
||||
}
|
||||
assert(valueMetatype);
|
||||
SILValue metatypeArgument = load->getFunction()->getSelfMetadataArgument();
|
||||
SILValue metatypeArgument = load->getFunction()->getDynamicSelfMetadata();
|
||||
|
||||
// SILFunction parameter types never have a DynamicSelfType, since it only
|
||||
// makes sense in the context of a given method's body. Since the
|
||||
|
||||
Reference in New Issue
Block a user