[llvm-commits] CVS: llvm/include/llvm/Analysis/AliasSetTracker.h

Chris Lattner lattner at cs.uiuc.edu
Wed Nov 30 11:31:34 PST 2005



Changes in directory llvm/include/llvm/Analysis:

AliasSetTracker.h updated: 1.25 -> 1.26
---
Log message:

Add a simple clear() method


---
Diffs of the changes:  (+5 -0)

 AliasSetTracker.h |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/include/llvm/Analysis/AliasSetTracker.h
diff -u llvm/include/llvm/Analysis/AliasSetTracker.h:1.25 llvm/include/llvm/Analysis/AliasSetTracker.h:1.26
--- llvm/include/llvm/Analysis/AliasSetTracker.h:1.25	Thu Apr 21 15:16:31 2005
+++ llvm/include/llvm/Analysis/AliasSetTracker.h	Wed Nov 30 13:31:23 2005
@@ -290,6 +290,11 @@
   bool remove(InvokeInst *II) { return remove(CallSite(II)); }
   bool remove(Instruction *I);
   void remove(AliasSet &AS);
+  
+  void clear() {
+    PointerMap.clear();
+    AliasSets.clear();
+  }
 
   /// getAliasSets - Return the alias sets that are active.
   ///






More information about the llvm-commits mailing list