summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-23 21:59:34 +0000
committerChris Lattner <sabre@nondot.org>2005-03-23 21:59:34 +0000
commit65512d25258ab78e488b95642b5f5c57d071f1e1 (patch)
tree44c837dac3dc22562b0ed310f769fe91cb39ce54 /include
parentcf9f20189f55d4036df598c88371e13512b075b2 (diff)
downloadllvm-65512d25258ab78e488b95642b5f5c57d071f1e1.tar.gz
llvm-65512d25258ab78e488b95642b5f5c57d071f1e1.tar.bz2
llvm-65512d25258ab78e488b95642b5f5c57d071f1e1.tar.xz
a hack to allow count-aa to work with ds-aa :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20791 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/DataStructure/DataStructure.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/llvm/Analysis/DataStructure/DataStructure.h b/include/llvm/Analysis/DataStructure/DataStructure.h
index a12467eb99..d2331e1bbd 100644
--- a/include/llvm/Analysis/DataStructure/DataStructure.h
+++ b/include/llvm/Analysis/DataStructure/DataStructure.h
@@ -112,7 +112,7 @@ protected:
/// with other global values in the DSGraphs.
EquivalenceClasses<GlobalValue*> GlobalECs;
public:
- ~BUDataStructures() { releaseMemory(); }
+ ~BUDataStructures() { releaseMyMemory(); }
virtual bool runOnModule(Module &M);
@@ -143,10 +143,9 @@ public:
///
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();