aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-04-29 05:25:39 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-04-29 05:25:39 +0000
commit210a496a6a43726e65bf0b07db98a84c308a7be1 (patch)
tree5cc1204e1c12836490c53c0a9bfa9c50cf82e6d5 /lib/Transforms/ObjCARC/ObjCARCOpts.cpp
parente056397e8115a8ef1b22908695fa45d6dfee9d71 (diff)
Fix for r180693. = /.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/ObjCARC/ObjCARCOpts.cpp')
-rw-r--r--lib/Transforms/ObjCARC/ObjCARCOpts.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
index a045582d53..4094623ac8 100644
--- a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
+++ b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
@@ -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;