[objc-arc-opts] Added debug statements when we set and unset whether a pointer is known positive.

llvm-svn: 181745
This commit is contained in:
Michael Gottesman 2013-05-14 00:08:09 +00:00
parent 6afa8f1609
commit f3f9e3b10a
1 changed files with 2 additions and 0 deletions

View 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;
}