mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SIL: Add an autorelease_value instruction.
Give us a way to formally represent autoreleases in SIL separate from autoreleased returns, allowing us to lifetime-extend inner pointer parameters the lazy way and hopefully clean up some asmname hacks in the stdlib implementation too. Swift SVN r16632
This commit is contained in:
@@ -625,6 +625,7 @@ void SILSerializer::writeSILInstruction(const SILInstruction &SI) {
|
||||
case ValueKind::CondFailInst:
|
||||
case ValueKind::RetainValueInst:
|
||||
case ValueKind::ReleaseValueInst:
|
||||
case ValueKind::AutoreleaseValueInst:
|
||||
case ValueKind::DeallocStackInst:
|
||||
case ValueKind::DeallocRefInst:
|
||||
case ValueKind::DeinitExistentialInst:
|
||||
|
||||
Reference in New Issue
Block a user