aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-04-03 23:04:24 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-04-03 23:04:24 +0000
commit60d1c0bca35d78feb780ac831d42ba1688d73461 (patch)
treeb0c517f1cae7d9ca4e75a070a8bcf8cd18c0b81c /lib/Transforms/ObjCARC/ObjCARCOpts.cpp
parent7a424bd5deac40ad7520a9a31104723c6f08182b (diff)
Removed an old comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/ObjCARC/ObjCARCOpts.cpp')
-rw-r--r--lib/Transforms/ObjCARC/ObjCARCOpts.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
index 27bcf35ac9..f4ecf16270 100644
--- a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
+++ b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
@@ -2787,13 +2787,6 @@ bool ObjCARCOpt::OptimizeSequences(Function &F) {
/// ret i8* %3
/// \endcode
/// And delete the retain and autorelease.
-///
-/// Otherwise if it's just this:
-/// \code
-/// %3 = call i8* @objc_autorelease(i8* %2)
-/// ret i8* %3
-/// \endcode
-/// convert the autorelease to autoreleaseRV.
void ObjCARCOpt::OptimizeReturns(Function &F) {
if (!F.getReturnType()->isPointerTy())
return;