summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IntervalPartition.cpp
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
commite6fe88391a8952e055b555688b3baad8672ff1de (patch)
tree8e34bc009f947a54ac1f4b9b5ee705b47376e0a0 /llvm/lib/Analysis/IntervalPartition.cpp
parentb011a8f611a89d0830f70c19ec9600b0f7ecbb18 (diff)
downloadbcm5719-llvm-e6fe88391a8952e055b555688b3baad8672ff1de.tar.gz
bcm5719-llvm-e6fe88391a8952e055b555688b3baad8672ff1de.zip
rename destroy -> releaseMemory to properly hook into passmgr.
llvm-svn: 55508
Diffstat (limited to 'llvm/lib/Analysis/IntervalPartition.cpp')
-rw-r--r--llvm/lib/Analysis/IntervalPartition.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/IntervalPartition.cpp b/llvm/lib/Analysis/IntervalPartition.cpp
index 7280f8f02dd..adb6e9df24f 100644
--- a/llvm/lib/Analysis/IntervalPartition.cpp
+++ b/llvm/lib/Analysis/IntervalPartition.cpp
@@ -23,8 +23,8 @@ X("intervals", "Interval Partition Construction", true, true);
// IntervalPartition Implementation
//===----------------------------------------------------------------------===//
-// destroy - Reset state back to before function was analyzed
-void IntervalPartition::destroy() {
+// releaseMemory - Reset state back to before function was analyzed
+void IntervalPartition::releaseMemory() {
for (unsigned i = 0, e = Intervals.size(); i != e; ++i)
delete Intervals[i];
IntervalMap.clear();
OpenPOWER on IntegriCloud