mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
IRGen: Some progress toward tuple conformances
This commit is contained in:
@@ -1284,10 +1284,7 @@ bool IRGenerator::canEmitWitnessTableLazily(SILWitnessTable *wt) {
|
||||
if (wt->getLinkage() == SILLinkage::Shared)
|
||||
return true;
|
||||
|
||||
NominalTypeDecl *ConformingTy =
|
||||
wt->getConformingType()->getNominalOrBoundGenericNominal();
|
||||
|
||||
switch (ConformingTy->getEffectiveAccess()) {
|
||||
switch (wt->getConformingNominal()->getEffectiveAccess()) {
|
||||
case AccessLevel::Private:
|
||||
case AccessLevel::FilePrivate:
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user