[llvm] r180694 - Fix for r180693. = /.

Michael Gottesman mgottesman at apple.com
Sun Apr 28 22:25:39 PDT 2013


Author: mgottesman
Date: Mon Apr 29 00:25:39 2013
New Revision: 180694

URL: http://llvm.org/viewvc/llvm-project?rev=180694&view=rev
Log:
Fix for r180693. = /.

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=180694&r1=180693&r2=180694&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp (original)
+++ llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp Mon Apr 29 00:25:39 2013
@@ -2584,7 +2584,8 @@ ObjCARCOpt::ConnectTDBUTraversals(DenseM
   
 #ifdef ARC_ANNOTATIONS
   // Do not move calls if ARC annotations are requested.
-  return false;
+  if (EnableARCAnnotations)
+    return false;
 #endif // ARC_ANNOTATIONS
 
   Changed = true;





More information about the llvm-commits mailing list