mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/main' into rebranch
This commit is contained in:
@@ -1319,6 +1319,8 @@ bool IRGenerator::canEmitWitnessTableLazily(SILWitnessTable *wt) {
|
||||
}
|
||||
|
||||
void IRGenerator::addLazyWitnessTable(const ProtocolConformance *Conf) {
|
||||
assert(!SIL.getASTContext().LangOpts.hasFeature(Feature::Embedded));
|
||||
|
||||
if (auto *wt = SIL.lookUpWitnessTable(Conf)) {
|
||||
// Add it to the queue if it hasn't already been put there.
|
||||
if (canEmitWitnessTableLazily(wt) &&
|
||||
|
||||
Reference in New Issue
Block a user