@@ -150,7 +150,7 @@ irgen::getTypeAndGenericSignatureForManglingOutlineFunction(SILType type) {
150150 env->getGenericSignature ().getCanonicalSignature ()};
151151}
152152
153- bool TypeInfo::withMetadataCollector (
153+ bool TypeInfo::withWitnessableMetadataCollector (
154154 IRGenFunction &IGF, SILType T, LayoutIsNeeded_t needsLayout,
155155 DeinitIsNeeded_t needsDeinit,
156156 llvm::function_ref<void (OutliningMetadataCollector &)> invocation) const {
@@ -177,11 +177,11 @@ bool TypeInfo::withMetadataCollector(
177177void TypeInfo::callOutlinedCopy (IRGenFunction &IGF, Address dest, Address src,
178178 SILType T, IsInitialization_t isInit,
179179 IsTake_t isTake) const {
180- if (withMetadataCollector (IGF, T, LayoutIsNeeded, DeinitIsNotNeeded,
181- [&](auto collector) {
182- collector.emitCallToOutlinedCopy (
183- dest, src, T, * this , isInit, isTake);
184- })) {
180+ if (withWitnessableMetadataCollector (
181+ IGF, T, LayoutIsNeeded, DeinitIsNotNeeded, [&](auto collector) {
182+ collector.emitCallToOutlinedCopy (dest, src, T, * this , isInit,
183+ isTake);
184+ })) {
185185 return ;
186186 }
187187
@@ -376,7 +376,7 @@ void TypeInfo::callOutlinedDestroy(IRGenFunction &IGF,
376376 if (IGF.IGM .getTypeLowering (T).isTrivial ())
377377 return ;
378378
379- if (withMetadataCollector (
379+ if (withWitnessableMetadataCollector (
380380 IGF, T, LayoutIsNeeded, DeinitIsNeeded, [&](auto collector) {
381381 collector.emitCallToOutlinedDestroy (addr, T, *this );
382382 })) {
0 commit comments