Revert "[SIL] Distributed: Remove logic related to ad-hoc requirements from SILFunction"

This reverts commit 1909b12370.
This commit is contained in:
Pavel Yaskevich
2024-02-20 21:18:11 -08:00
parent dfe9d330ff
commit 65d164a9c3
14 changed files with 112 additions and 13 deletions

View File

@@ -278,6 +278,7 @@ void SILFunction::createSnapshot(int id) {
newSnapshot->DeclCtxt = DeclCtxt;
newSnapshot->Profiler = Profiler;
newSnapshot->ReplacedFunction = ReplacedFunction;
newSnapshot->RefAdHocRequirementFunction = RefAdHocRequirementFunction;
newSnapshot->ObjCReplacementFor = ObjCReplacementFor;
newSnapshot->SemanticsAttrSet = SemanticsAttrSet;
newSnapshot->SpecializeAttrSet = SpecializeAttrSet;