Rename a method
authorChris Lattner <sabre@nondot.org>
Sun, 23 May 2004 21:10:58 +0000 (21:10 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 23 May 2004 21:10:58 +0000 (21:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13676 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/AliasSetTracker.h
lib/Analysis/AliasSetTracker.cpp

index c6bdddfffced4e977e9411e253ef35dfe3228877..4996f5a4cf965b0eed596870cb50d8df8ae401cf 100644 (file)
@@ -264,12 +264,12 @@ public:
   void add(BasicBlock &BB);       // Add all instructions in basic block
   void add(const AliasSetTracker &AST); // Add alias relations from another AST
 
-  /// remove method - This method is used to remove a pointer value from the
-  /// AliasSetTracker entirely.  It should be used when an instruction is
+  /// 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 remove(Value *PtrVal);
+  void deleteValue(Value *PtrVal);
 
   /// getAliasSets - Return the alias sets that are active.
   const ilist<AliasSet> &getAliasSets() const { return AliasSets; }
index 82b6edec935ec47b63f2485aea8fc66088cbdcd3..342c7a3be8c7a4d007393a74ce99db7ced1eaea7 100644 (file)
@@ -277,12 +277,12 @@ void AliasSetTracker::add(const AliasSetTracker &AST) {
 }
 
 
-// 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