Clear the intervals list in "destroy", patch by

Prakash Prabhu!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55458 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-08-28 03:33:03 +00:00
parent e00a8a2a2e
commit 1e1ef3e2bd

View File

@ -28,6 +28,7 @@ void IntervalPartition::destroy() {
for (unsigned i = 0, e = Intervals.size(); i != e; ++i)
delete Intervals[i];
IntervalMap.clear();
Intervals.clear();
RootInterval = 0;
}