mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Rename a method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13676 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user