Merge CheckedCastValueBranch with new master

This commit is contained in:
Joe Shajrawi
2017-03-06 16:50:44 -08:00
425 changed files with 12013 additions and 6421 deletions

View File

@@ -233,6 +233,8 @@ InlineCost swift::instructionInlineCost(SILInstruction &I) {
case ValueKind::FunctionRefInst:
case ValueKind::AllocGlobalInst:
case ValueKind::GlobalAddrInst:
case ValueKind::EndLifetimeInst:
case ValueKind::UncheckedOwnershipConversionInst:
return InlineCost::Free;
// Typed GEPs are free.