[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:
Michael Gottesman
2017-01-30 11:47:38 -08:00
parent dc8b994fc2
commit 554feff463
17 changed files with 66 additions and 10 deletions

View File

@@ -1339,6 +1339,7 @@ bool SILDeserializer::readSILInstruction(SILFunction *Fn, SILBasicBlock *BB,
REFCOUNTING_INSTRUCTION(ReleaseValue)
UNARY_INSTRUCTION(UnmanagedReleaseValue)
REFCOUNTING_INSTRUCTION(AutoreleaseValue)
UNARY_INSTRUCTION(UnmanagedAutoreleaseValue)
REFCOUNTING_INSTRUCTION(SetDeallocating)
UNARY_INSTRUCTION(DeinitExistentialAddr)
UNARY_INSTRUCTION(EndBorrowArgument)