Fix for r180693. = /.
authorMichael Gottesman <mgottesman@apple.com>
Mon, 29 Apr 2013 05:25:39 +0000 (05:25 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Mon, 29 Apr 2013 05:25:39 +0000 (05:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180694 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/ObjCARC/ObjCARCOpts.cpp

index a045582d53257d8a8c5bd4f5ba262cb8d6391c3a..4094623ac876a165e65942e2e149fcdf01c84235 100644 (file)
@@ -2584,7 +2584,8 @@ ObjCARCOpt::ConnectTDBUTraversals(DenseMap<const BasicBlock *, BBState>
   
 #ifdef ARC_ANNOTATIONS
   // Do not move calls if ARC annotations are requested.
-  return false;
+  if (EnableARCAnnotations)
+    return false;
 #endif // ARC_ANNOTATIONS
 
   Changed = true;