[objc-arc] Added debug statement saying when we are resetting a sequence's progress.
authorMichael Gottesman <mgottesman@apple.com>
Sat, 20 Apr 2013 23:36:57 +0000 (23:36 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Sat, 20 Apr 2013 23:36:57 +0000 (23:36 +0000)
This will make it clearer when we are actually resetting a sequence's progress
vs just changing state. This is an important distinction because the former case
clears any pointers that we are tracking while the later does not.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179963 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/ObjCARC/ObjCARCOpts.cpp

index 9c52a55b35108fbd5b786aebec8b0f88bd0cfd2f..1516d854451ab026e06a4eed383da395c2cafc1e 100644 (file)
@@ -472,6 +472,7 @@ namespace {
     }
 
     void ResetSequenceProgress(Sequence NewSeq) {
+      DEBUG(dbgs() << "Resetting sequence progress.\n");
       SetSeq(NewSeq);
       Partial = false;
       RRI.clear();