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

@@ -2045,7 +2045,7 @@ SILInstruction *CastOptimizer::simplifyCheckedCastValueBranchInst(
}
if (!CastedValue)
CastedValue = Builder.createUnconditionalCheckedCastOpaque(
CastedValue = Builder.createUnconditionalCheckedCastValue(
Loc, Op, LoweredTargetType);
} else {
CastedValue = SILUndef::get(LoweredTargetType, Mod);