mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SIL-opaque] Removed [Unconditional]CheckedCastValue
This commit is contained in:
@@ -759,7 +759,6 @@ bool swift::isIdentityAndOwnershipPreservingRefCast(
|
||||
case SILInstructionKind::BridgeObjectToRefInst:
|
||||
return true;
|
||||
case SILInstructionKind::UnconditionalCheckedCastInst:
|
||||
case SILInstructionKind::UnconditionalCheckedCastValueInst:
|
||||
return SILDynamicCastInst(svi).isRCIdentityPreserving();
|
||||
// Ignore markers
|
||||
case SILInstructionKind::MarkUninitializedInst:
|
||||
@@ -2620,7 +2619,6 @@ void swift::visitAccessedAddress(SILInstruction *I,
|
||||
case SILInstructionKind::BeginUnpairedAccessInst:
|
||||
case SILInstructionKind::BindMemoryInst:
|
||||
case SILInstructionKind::RebindMemoryInst:
|
||||
case SILInstructionKind::CheckedCastValueBranchInst:
|
||||
case SILInstructionKind::CondFailInst:
|
||||
case SILInstructionKind::CopyBlockInst:
|
||||
case SILInstructionKind::CopyBlockWithoutEscapingInst:
|
||||
@@ -2652,7 +2650,6 @@ void swift::visitAccessedAddress(SILInstruction *I,
|
||||
case SILInstructionKind::UncheckedOwnershipConversionInst:
|
||||
case SILInstructionKind::UncheckedRefCastAddrInst:
|
||||
case SILInstructionKind::UnconditionalCheckedCastAddrInst:
|
||||
case SILInstructionKind::UnconditionalCheckedCastValueInst:
|
||||
case SILInstructionKind::ValueMetatypeInst:
|
||||
// TODO: Is this correct?
|
||||
case SILInstructionKind::GetAsyncContinuationInst:
|
||||
|
||||
Reference in New Issue
Block a user