Rename unconditional_checked_cast_opaque to unconditional_checked_cast_value

This commit is contained in:
Joe Shajrawi
2017-03-07 18:52:25 -08:00
parent 69ae6cd588
commit 33b0cf653f
26 changed files with 63 additions and 64 deletions

View File

@@ -2838,20 +2838,19 @@ public:
/// Perform an unconditional checked cast that aborts if the cast fails.
/// The result of the checked cast is left in the destination.
class UnconditionalCheckedCastOpaqueInst final
class UnconditionalCheckedCastValueInst final
: public UnaryInstructionWithTypeDependentOperandsBase<
ValueKind::UnconditionalCheckedCastOpaqueInst,
UnconditionalCheckedCastOpaqueInst, ConversionInst, true> {
ValueKind::UnconditionalCheckedCastValueInst,
UnconditionalCheckedCastValueInst, ConversionInst, true> {
friend SILBuilder;
UnconditionalCheckedCastOpaqueInst(SILDebugLocation DebugLoc,
SILValue Operand,
ArrayRef<SILValue> TypeDependentOperands,
SILType DestTy)
UnconditionalCheckedCastValueInst(SILDebugLocation DebugLoc, SILValue Operand,
ArrayRef<SILValue> TypeDependentOperands,
SILType DestTy)
: UnaryInstructionWithTypeDependentOperandsBase(
DebugLoc, Operand, TypeDependentOperands, DestTy) {}
static UnconditionalCheckedCastOpaqueInst *
static UnconditionalCheckedCastValueInst *
create(SILDebugLocation DebugLoc, SILValue Operand, SILType DestTy,
SILFunction &F, SILOpenedArchetypesState &OpenedArchetypes);
};