commit | cba681af356e24ec4335bcf2b6bb6515072ace99 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Sat May 14 21:12:11 2011 +0000 |
committer | John McCall <rjmccall@apple.com> | Sat May 14 21:12:11 2011 +0000 |
tree | 4a14349fc9fe3ffb93f5d932367adcef7d896063 | |
parent | 02c5116db6a40e806534c416e0abb22b8840831e [diff] |
Only perform the null-initialization of an aggregate result of a message send if the receiver is null. Normally it's not worthwhile to check this, but avoiding the null-initialization is nice, and this also avoids nasty problems where the null-initialization is visible within the call because we use an aliased result buffer. rdar://problem/9402992 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131366 91177308-0d34-0410-b5e6-96231b3b80d8