mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Explain change with a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30443 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -374,8 +374,8 @@ void AliasSetTracker::remove(AliasSet &AS) {
|
|||||||
++NumRefs;
|
++NumRefs;
|
||||||
|
|
||||||
// Finally, remove the entry.
|
// Finally, remove the entry.
|
||||||
Value *Remove = P->first;
|
Value *Remove = P->first; // Take a copy because it is invalid to pass
|
||||||
PointerMap.erase(Remove);
|
PointerMap.erase(Remove); // a reference to the data being erased.
|
||||||
}
|
}
|
||||||
|
|
||||||
// Stop using the alias set, removing it.
|
// Stop using the alias set, removing it.
|
||||||
|
Reference in New Issue
Block a user