Skip to content

Commit

Permalink
[objc-arc] Added debug statement saying when we are resetting a seque…
Browse files Browse the repository at this point in the history
…nce's progress.

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
  • Loading branch information
gottesmm committed Apr 20, 2013
1 parent da8768b commit 7e48a92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Transforms/ObjCARC/ObjCARCOpts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ namespace {
}

void ResetSequenceProgress(Sequence NewSeq) {
DEBUG(dbgs() << "Resetting sequence progress.\n");
SetSeq(NewSeq);
Partial = false;
RRI.clear();
Expand Down

0 comments on commit 7e48a92

Please sign in to comment.