Remove the CheckedCastKind from SIL dynamic casts.

It is straightforward and less redundant to recover this
information from the operand types.

Swift SVN r19056
This commit is contained in:
John McCall
2014-06-20 22:43:53 +00:00
parent a9b7b01e08
commit 385879beea
40 changed files with 264 additions and 692 deletions

View File

@@ -2369,7 +2369,6 @@ ConstraintSystem::simplifyCheckedCastConstraint(
// FIXME: Check substitutability.
return SolutionKind::Solved;
case CheckedCastKind::Identical:
case CheckedCastKind::Downcast:
case CheckedCastKind::ExistentialToConcrete: {
// Peel off optionals metatypes from the types, because we might cast through