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
This commit is contained in:
Chris Lattner
2008-08-28 22:56:53 +00:00
parent d046fc61ac
commit db57ef1cb3
2 changed files with 5 additions and 8 deletions

View File

@ -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();