summaryrefslogtreecommitdiff
path: root/lib/Analysis/AliasSetTracker.cpp
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
commitc43e0ae35094266028c3900116a4dfbee5769388 (patch)
tree0f69727c16d77ae2cac15d3d487dd5f3884e32c0 /lib/Analysis/AliasSetTracker.cpp
parent7911ce2578fd143f37ef4de7aa3e5795c18df4a6 (diff)
downloadllvm-c43e0ae35094266028c3900116a4dfbee5769388.tar.gz
llvm-c43e0ae35094266028c3900116a4dfbee5769388.tar.bz2
llvm-c43e0ae35094266028c3900116a4dfbee5769388.tar.xz
Rename a method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13676 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/AliasSetTracker.cpp')
-rw-r--r--lib/Analysis/AliasSetTracker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/AliasSetTracker.cpp b/lib/Analysis/AliasSetTracker.cpp
index 82b6edec93..342c7a3be8 100644
--- a/lib/Analysis/AliasSetTracker.cpp
+++ b/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