[objc-arc-opts] Added debug statements when we set and unset whether a pointer is...
authorMichael Gottesman <mgottesman@apple.com>
Tue, 14 May 2013 00:08:09 +0000 (00:08 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Tue, 14 May 2013 00:08:09 +0000 (00:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181745 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/ObjCARC/ObjCARCOpts.cpp

index 2932af10c271eb0177faa7bdf0fc97623899ad0b..5db4797aebb28f63661084c7887db578ace1735c 100644 (file)
@@ -508,10 +508,12 @@ namespace {
                  Seq(S_None) {}
 
     void SetKnownPositiveRefCount() {
+      DEBUG(dbgs() << "Setting Known Positive.\n");
       KnownPositiveRefCount = true;
     }
 
     void ClearKnownPositiveRefCount() {
+      DEBUG(dbgs() << "Clearing Known Positive.\n");
       KnownPositiveRefCount = false;
     }