summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-23 21:10:58 +0000
committerChris Lattner <sabre@nondot.org>2004-05-23 21:10:58 +0000
commit746e1e1808cc3ff0bb0e9878bb63421cb2416a4d (patch)
tree7fd2cdfc26e49f4d3f371051e6b5f9c6eaf491ad /llvm/lib
parent020e1fc7332618a65ee5dd67099576a81353fb1c (diff)
downloadbcm5719-llvm-746e1e1808cc3ff0bb0e9878bb63421cb2416a4d.tar.gz
bcm5719-llvm-746e1e1808cc3ff0bb0e9878bb63421cb2416a4d.zip
Rename a method
llvm-svn: 13676
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/AliasSetTracker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/AliasSetTracker.cpp b/llvm/lib/Analysis/AliasSetTracker.cpp
index 82b6edec935..342c7a3be8c 100644
--- a/llvm/lib/Analysis/AliasSetTracker.cpp
+++ b/llvm/lib/Analysis/AliasSetTracker.cpp
@@ -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
OpenPOWER on IntegriCloud