commit | b03527a9a395168762ad8e25e59a7a272dd74561 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Wed Oct 17 04:53:31 2012 +0000 |
committer | John McCall <rjmccall@apple.com> | Wed Oct 17 04:53:31 2012 +0000 |
tree | a4a42c8954972b200a301649c487a5869c32739a | |
parent | 621915c7a454307ad06ed2363379d52e2695a870 [diff] |
Set a special flag in class metadata when an Objective-C class has ivars that require destruction, but none that require anything except zero-initialization. This is common in ARC and (when true throughout a class hierarchy) permits the elimination of an unnecessary message-send during allocation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166088 91177308-0d34-0410-b5e6-96231b3b80d8