diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-04-17 21:03:53 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-04-17 21:03:53 +0000 |
commit | 9739b65264f67fd9f42ae53b0cca886e94ff238c (patch) | |
tree | 34f3c8b2735dcca49c3e55dae4899485b7a1b523 /lib/Transforms/ObjCARC/ObjCARCOpts.cpp | |
parent | d58f773b96fdb5539d9da2192b8cf2ff6112239f (diff) |
Fixed typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/ObjCARC/ObjCARCOpts.cpp')
-rw-r--r-- | lib/Transforms/ObjCARC/ObjCARCOpts.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp index 5646e5285a..ba6c04e514 100644 --- a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp +++ b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp @@ -713,9 +713,9 @@ EnableARCAnnotations("enable-objc-arc-annotations", cl::init(false), cl::desc("Enable emission of arc data flow analysis " "annotations")); static cl::opt<bool> -EnableCheckForCFGHazards("enable-objc-arc-checkforcfghazards", cl::init(true), - cl::desc("Disable check for cfg hazards when " - "annotating")); +DisableCheckForCFGHazards("disable-objc-arc-checkforcfghazards", cl::init(false), + cl::desc("Disable check for cfg hazards when " + "annotating")); /// This function appends a unique ARCAnnotationProvenanceSourceMDKind id to an /// instruction so that we can track backwards when post processing via the llvm @@ -2177,7 +2177,7 @@ ObjCARCOpt::VisitTopDown(BasicBlock *BB, ANNOTATE_TOPDOWN_BBEND(MyStates, BB); #ifdef ARC_ANNOTATIONS - if (EnableARCAnnotations && EnableCheckForCFGHazards) + if (!(EnableARCAnnotations && DisableCheckForCFGHazards)) #endif CheckForCFGHazards(BB, BBStates, MyStates); return NestingDetected; |