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

Chris Lattner lattner at cs.uiuc.edu
Wed Mar 23 13:59:44 PST 2005



Changes in directory llvm/include/llvm/Analysis/DataStructure:

DataStructure.h updated: 1.88 -> 1.89
---
Log message:

a hack to allow count-aa to work with ds-aa  :(


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

 DataStructure.h |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)


Index: llvm/include/llvm/Analysis/DataStructure/DataStructure.h
diff -u llvm/include/llvm/Analysis/DataStructure/DataStructure.h:1.88 llvm/include/llvm/Analysis/DataStructure/DataStructure.h:1.89
--- llvm/include/llvm/Analysis/DataStructure/DataStructure.h:1.88	Mon Mar 21 14:29:56 2005
+++ llvm/include/llvm/Analysis/DataStructure/DataStructure.h	Wed Mar 23 15:59:31 2005
@@ -112,7 +112,7 @@
   /// with other global values in the DSGraphs.
   EquivalenceClasses<GlobalValue*> GlobalECs;
 public:
-  ~BUDataStructures() { releaseMemory(); }
+  ~BUDataStructures() { releaseMyMemory(); }
 
   virtual bool runOnModule(Module &M);
 
@@ -143,10 +143,9 @@
   ///
   void print(std::ostream &O, const Module *M) const;
 
-  /// releaseMemory - if the pass pipeline is done with this pass, we can
-  /// release our memory...
-  ///
-  virtual void releaseMemory();
+  // FIXME: Once the pass manager is straightened out, rename this to
+  // releaseMemory.
+  void releaseMyMemory();
 
   virtual void getAnalysisUsage(AnalysisUsage &AU) const {
     AU.setPreservesAll();






More information about the llvm-commits mailing list