Rename SILBuilder::emitDestroyAddr => SILBuilder::emitDestroyAddrAndFold.

Now it matches SILBuilder::emit{StrongRelease,ReleaseValue}AndFold which perform
the same operation but on object types.

Swift SVN r27806
This commit is contained in:
Michael Gottesman
2015-04-27 17:29:50 +00:00
parent 3549d46d3b
commit 9006fca42b
9 changed files with 14 additions and 13 deletions

View File

@@ -1140,7 +1140,7 @@ public:
/// Try to fold a destroy_addr operation into the previous instructions, or
/// generate an explicit one if that fails. If this inserts a new
/// instruction, it returns it, otherwise it returns null.
DestroyAddrInst *emitDestroyAddr(SILLocation Loc, SILValue Operand);
DestroyAddrInst *emitDestroyAddrAndFold(SILLocation Loc, SILValue Operand);
/// Perform a strong_release instruction at the current location, attempting
/// to fold it locally into nearby retain instructions or emitting an explicit