diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-07-15 23:48:56 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-07-15 23:48:56 +0000 |
commit | a6fe4bfdf5d789eec07cab1c6b50b20ae7284977 (patch) | |
tree | 61d29f30865e0a87e9f8e83cdd38a1bf0dec0a1e /llvm/lib/CodeGen/SplitKit.cpp | |
parent | 9dd75c88869daad7905fbc457809c9be77d6688b (diff) | |
download | bcm5719-llvm-a6fe4bfdf5d789eec07cab1c6b50b20ae7284977.tar.gz bcm5719-llvm-a6fe4bfdf5d789eec07cab1c6b50b20ae7284977.zip |
[arcmt] It's not safe to remove the -release on "[[someivar delegate] release];" since it's very likely
that, after migration, the object that was passed to 'setDelegate:' will not be properly retained, e.g:
-whatever {
id x = [[MyDoHicky alloc] init];
[someivar setDelegate: x]; // x won't get retained in ARC.
}
-dealloc {
[[someivar delegate] release]; // give migration error here.
}
rdar://8858009
llvm-svn: 135327
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions