diff options
author | John McCall <rjmccall@apple.com> | 2012-10-17 02:28:37 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2012-10-17 02:28:37 +0000 |
commit | e68b8f4dcc2b3a6ab03326ad4167f1164cae61e4 (patch) | |
tree | 52ff6180b7eaa5d763de780d9a521ae5b60d631c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 6f7206132fa567268b561608268639db5edafdcb (diff) | |
download | bcm5719-llvm-e68b8f4dcc2b3a6ab03326ad4167f1164cae61e4.tar.gz bcm5719-llvm-e68b8f4dcc2b3a6ab03326ad4167f1164cae61e4.zip |
At -O0, prefer objc_storeStrong with a null new value to the
combination of a load+objc_release; this is generally better
for tools that try to track why values are retained and
released. Also use objc_storeStrong when copying a block
(again, only at -O0), which requires us to do a preliminary
store of null in order to compensate for objc_storeStrong's
assign semantics.
llvm-svn: 166085
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions