mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SIL] Added unowned_copy_value.
This commit is contained in:
@@ -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, ...) \
|
||||
|
||||
Reference in New Issue
Block a user