| commit | 75be84f3c2a5384fb7fb12ff832192c8d6d3ee0f | [log] [tgz] |
|---|---|---|
| author | Akira Hatanaka <ahatanaka@apple.com> | Wed Apr 05 03:44:09 2017 +0000 |
| committer | Akira Hatanaka <ahatanaka@apple.com> | Wed Apr 05 03:44:09 2017 +0000 |
| tree | 61678642c82b5fa5ac027f86f03787cd3f01cd41 | |
| parent | c8124ee9a310b68f5619bc5f88a1aa9251126b2c [diff] |
[ObjCArc] Do not dereference an invalidated iterator. Fix a bug in ARC contract pass where an iterator that pointed to a deleted instruction was dereferenced. It appears that tryToContractReleaseIntoStoreStrong was incorrectly assuming that a call to objc_retain would not immediately follow a call to objc_release. rdar://problem/25276306 llvm-svn: 299507