aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-08-28 22:56:53 +0000
committerChris Lattner <sabre@nondot.org>2008-08-28 22:56:53 +0000
commitdb57ef1cb3ba87024c5b54ebc1a95aad8e8e8b49 (patch)
tree4715da3e8b27d1e4bc06c81369af0253f0b772e6 /include/llvm/Analysis
parentd046fc61ac28f65b209185a12a5e83716941d59b (diff)
downloadexternal_llvm-db57ef1cb3ba87024c5b54ebc1a95aad8e8e8b49.zip
external_llvm-db57ef1cb3ba87024c5b54ebc1a95aad8e8e8b49.tar.gz
external_llvm-db57ef1cb3ba87024c5b54ebc1a95aad8e8e8b49.tar.bz2
rename destroy -> releaseMemory to properly hook into passmgr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55508 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/IntervalPartition.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/llvm/Analysis/IntervalPartition.h b/include/llvm/Analysis/IntervalPartition.h
index 793f7d5..e724681 100644
--- a/include/llvm/Analysis/IntervalPartition.h
+++ b/include/llvm/Analysis/IntervalPartition.h
@@ -59,9 +59,6 @@ public:
//
IntervalPartition(IntervalPartition &I, bool);
- // Destructor - Free memory
- ~IntervalPartition() { destroy(); }
-
// print - Show contents in human readable format...
virtual void print(std::ostream &O, const Module* = 0) const;
void print(std::ostream *O, const Module* M = 0) const {
@@ -92,10 +89,10 @@ public:
// Interface to Intervals vector...
const std::vector<Interval*> &getIntervals() const { return Intervals; }
-private:
- // destroy - Reset state back to before function was analyzed
- void destroy();
+ // releaseMemory - Reset state back to before function was analyzed
+ void releaseMemory();
+private:
// addIntervalToPartition - Add an interval to the internal list of intervals,
// and then add mappings from all of the basic blocks in the interval to the
// interval itself (in the IntervalMap).