[llvm] r178605 - Improved comment. No functionality change.

Michael Gottesman mgottesman at apple.com
Tue Apr 2 18:57:17 PDT 2013


Author: mgottesman
Date: Tue Apr  2 20:57:16 2013
New Revision: 178605

URL: http://llvm.org/viewvc/llvm-project?rev=178605&view=rev
Log:
Improved comment. No functionality change.

Modified:
    llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp

Modified: llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp?rev=178605&r1=178604&r2=178605&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp (original)
+++ llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp Tue Apr  2 20:57:16 2013
@@ -1440,7 +1440,8 @@ void ObjCARCOpt::OptimizeIndividualCalls
       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);





More information about the llvm-commits mailing list