[SIL] Added unowned_copy_value.

This commit is contained in:
Nate Chandler
2023-08-03 06:33:21 -07:00
parent 0cb3ce5f3c
commit f938287710
21 changed files with 172 additions and 6 deletions

View File

@@ -848,6 +848,7 @@ RuntimeEffect swift::getRuntimeEffect(SILInstruction *inst, SILType &impactType)
#include "swift/AST/ReferenceStorage.def"
#undef ALWAYS_OR_SOMETIMES_LOADABLE_CHECKED_REF_STORAGE
case SILInstructionKind::UnownedCopyValueInst:
case SILInstructionKind::WeakCopyValueInst:
return RuntimeEffect::RefCounting;
#define REF_STORAGE(Name, ...) \