mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rename unconditional_checked_cast_opaque to unconditional_checked_cast_value
This commit is contained in:
@@ -2045,7 +2045,7 @@ SILInstruction *CastOptimizer::simplifyCheckedCastValueBranchInst(
|
||||
}
|
||||
|
||||
if (!CastedValue)
|
||||
CastedValue = Builder.createUnconditionalCheckedCastOpaque(
|
||||
CastedValue = Builder.createUnconditionalCheckedCastValue(
|
||||
Loc, Op, LoweredTargetType);
|
||||
} else {
|
||||
CastedValue = SILUndef::get(LoweredTargetType, Mod);
|
||||
|
||||
Reference in New Issue
Block a user