[llvm] r179721 - Fixed typo.
Michael Gottesman
mgottesman at apple.com
Wed Apr 17 14:03:53 PDT 2013
Author: mgottesman
Date: Wed Apr 17 16:03:53 2013
New Revision: 179721
URL: http://llvm.org/viewvc/llvm-project?rev=179721&view=rev
Log:
Fixed typo.
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=179721&r1=179720&r2=179721&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp (original)
+++ llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp Wed Apr 17 16:03:53 2013
@@ -713,9 +713,9 @@ EnableARCAnnotations("enable-objc-arc-an
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;
More information about the llvm-commits
mailing list