mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[semantic-sil] Create unmanaged_autorelease_value.
This is an autorelease for use with Builtin.autorelease that does not need to be balanced as part of the ownership model. rdar://29791263
This commit is contained in:
@@ -345,6 +345,7 @@ InlineCost swift::instructionInlineCost(SILInstruction &I) {
|
||||
case ValueKind::UnmanagedReleaseValueInst:
|
||||
case ValueKind::DestroyValueInst:
|
||||
case ValueKind::AutoreleaseValueInst:
|
||||
case ValueKind::UnmanagedAutoreleaseValueInst:
|
||||
case ValueKind::DynamicMethodBranchInst:
|
||||
case ValueKind::DynamicMethodInst:
|
||||
case ValueKind::EnumInst:
|
||||
|
||||
Reference in New Issue
Block a user