mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL: remove the pinning instructions: strong_pin, strong_unpin, is_unique_or_pinned
They are not used anymore after removing the pinning addressors.
This commit is contained in:
@@ -191,7 +191,6 @@ bool ArrayAllocation::recursivelyCollectUses(ValueBase *Def) {
|
||||
auto *User = Opd->getUser();
|
||||
// Ignore reference counting and debug instructions.
|
||||
if (isa<RefCountingInst>(User) ||
|
||||
isa<StrongPinInst>(User) ||
|
||||
isa<DebugValueInst>(User))
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user