[llvm] r179963 - [objc-arc] Added debug statement saying when we are resetting a sequence's progress.
Michael Gottesman
mgottesman at apple.com
Sat Apr 20 16:36:57 PDT 2013
Author: mgottesman
Date: Sat Apr 20 18:36:57 2013
New Revision: 179963
URL: http://llvm.org/viewvc/llvm-project?rev=179963&view=rev
Log:
[objc-arc] Added debug statement saying when we are resetting a sequence'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.
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=179963&r1=179962&r2=179963&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp (original)
+++ llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp Sat Apr 20 18:36:57 2013
@@ -472,6 +472,7 @@ namespace {
}
void ResetSequenceProgress(Sequence NewSeq) {
+ DEBUG(dbgs() << "Resetting sequence progress.\n");
SetSeq(NewSeq);
Partial = false;
RRI.clear();
More information about the llvm-commits
mailing list