Clear the intervals list in "destroy", patch by

Prakash Prabhu!

llvm-svn: 55458
This commit is contained in:
Chris Lattner 2008-08-28 03:33:03 +00:00
parent 41be0d4445
commit 65df1188c6
1 changed files with 1 additions and 0 deletions

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;
}