]> granicus.if.org Git - clang/commit
Don't copy just to capture a strong block pointer under ARC.
authorJohn McCall <rjmccall@apple.com>
Mon, 8 Apr 2013 23:27:49 +0000 (23:27 +0000)
committerJohn McCall <rjmccall@apple.com>
Mon, 8 Apr 2013 23:27:49 +0000 (23:27 +0000)
commit4b9bcd667776932e9b4c84144a9e7e8d581ffa63
treeefb3ae39d700257c35085fd9c58ae905ebe25a4b
parent484f6fa0bd6b16b64e5c4cb40260f69a3dd52b4a
Don't copy just to capture a strong block pointer under ARC.
It turns out that the optimizer can't eliminate this without extra
information, for which there's a separate bug.

rdar://13588325

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179069 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBlocks.cpp
test/CodeGenObjC/arc-blocks.m