Changes in directory llvm/lib/Analysis:
AliasSetTracker.cpp updated: 1.42 -> 1.43 --- Log message: Explain change with a comment. --- Diffs of the changes: (+2 -2) AliasSetTracker.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Analysis/AliasSetTracker.cpp diff -u llvm/lib/Analysis/AliasSetTracker.cpp:1.42 llvm/lib/Analysis/AliasSetTracker.cpp:1.43 --- llvm/lib/Analysis/AliasSetTracker.cpp:1.42 Sun Sep 17 11:23:36 2006 +++ llvm/lib/Analysis/AliasSetTracker.cpp Sun Sep 17 12:51:00 2006 @@ -374,8 +374,8 @@ ++NumRefs; // Finally, remove the entry. - Value *Remove = P->first; - PointerMap.erase(Remove); + Value *Remove = P->first; // Take a copy because it is invalid to pass + PointerMap.erase(Remove); // a reference to the data being erased. } // Stop using the alias set, removing it. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits