| commit | 58df509fc0dc288f6859cd3b61ff980d364baf6d | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Wed Jun 22 16:12:01 2011 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Wed Jun 22 16:12:01 2011 +0000 |
| tree | 83ec8750fc9ef7b24b397a85eab8f3bc37bfbcab | |
| parent | 08d0f3550a87f04fdd75e118eed163c441e2e494 [diff] |
When binding a reference to an Automatic Reference Counting temporary, retain/release the temporary object appropriately. Previously, we would only perform the retain/release operations when the reference would extend the lifetime of the temporary, but this does the wrong thing across calls. llvm-svn: 133620