diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-04-03 01:57:16 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-04-03 01:57:16 +0000 |
commit | 003d5f946d3ad44cb42f7d25b0c40f04e9a5a0a2 (patch) | |
tree | 7fb468a4568589eb93a93671a2dae9ab6fc2a783 /lib/Transforms/ObjCARC/ObjCARCOpts.cpp | |
parent | 95a16c4dbb26ecf4e7477eb4bb00a24b34402731 (diff) |
Improved comment. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178605 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/ObjCARC/ObjCARCOpts.cpp')
-rw-r--r-- | lib/Transforms/ObjCARC/ObjCARCOpts.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp index 924fb0a9da..a956caeffe 100644 --- a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp +++ b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp @@ -1440,7 +1440,8 @@ void ObjCARCOpt::OptimizeIndividualCalls(Function &F) { break; } - // objc_autorelease(x) -> objc_release(x) if x is otherwise unused. + // objc_autorelease(x), objc_autoreleaseRV -> objc_release(x) if x is + // otherwise unused. if (IsAutorelease(Class) && Inst->use_empty()) { CallInst *Call = cast<CallInst>(Inst); const Value *Arg = Call->getArgOperand(0); |