forked from OSchip/llvm-project
Clear the intervals list in "destroy", patch by
Prakash Prabhu! llvm-svn: 55458
This commit is contained in:
parent
41be0d4445
commit
65df1188c6
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue