mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge CheckedCastValueBranch with new master
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user