[llvm-commits] CVS: llvm/lib/Analysis/AliasSetTracker.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun May 23 16:13:01 PDT 2004


Changes in directory llvm/lib/Analysis:

AliasSetTracker.cpp updated: 1.15 -> 1.16

---
Log message:

Rename a method


---
Diffs of the changes:  (+2 -2)

Index: llvm/lib/Analysis/AliasSetTracker.cpp
diff -u llvm/lib/Analysis/AliasSetTracker.cpp:1.15 llvm/lib/Analysis/AliasSetTracker.cpp:1.16
--- llvm/lib/Analysis/AliasSetTracker.cpp:1.15	Tue Apr 27 10:12:45 2004
+++ llvm/lib/Analysis/AliasSetTracker.cpp	Sun May 23 16:10:58 2004
@@ -277,12 +277,12 @@
 }
 
 
-// remove method - This method is used to remove a pointer value from the
+// deleteValue method - This method is used to remove a pointer value from the
 // AliasSetTracker entirely.  It should be used when an instruction is deleted
 // from the program to update the AST.  If you don't use this, you would have
 // dangling pointers to deleted instructions.
 //
-void AliasSetTracker::remove(Value *PtrVal) {
+void AliasSetTracker::deleteValue(Value *PtrVal) {
   // First, look up the PointerRec for this pointer...
   hash_map<Value*, AliasSet::PointerRec>::iterator I = PointerMap.find(PtrVal);
   if (I == PointerMap.end()) return;  // Noop





More information about the llvm-commits mailing list