IRGen: Some progress toward tuple conformances

This commit is contained in:
Slava Pestov
2023-08-15 13:56:31 -04:00
parent 21090519a4
commit 99d68ba14c
7 changed files with 52 additions and 24 deletions

View File

@@ -43,8 +43,8 @@ ProtocolDecl *SILWitnessTable::getProtocol() const {
return getConformance()->getProtocol();
}
CanType SILWitnessTable::getConformingType() const {
return getConformance()->getType()->getCanonicalType();
NominalTypeDecl *SILWitnessTable::getConformingNominal() const {
return getConformance()->getDeclContext()->getSelfNominalTypeDecl();
}
void SILWitnessTable::addWitnessTable() {