OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e00a8a2
)
Clear the intervals list in "destroy", patch by
author
Chris Lattner
<sabre@nondot.org>
Thu, 28 Aug 2008 03:33:03 +0000
(
03:33
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 28 Aug 2008 03:33:03 +0000
(
03:33
+0000)
Prakash Prabhu!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55458
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/IntervalPartition.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/IntervalPartition.cpp
b/lib/Analysis/IntervalPartition.cpp
index
2d5f1cd
..
7280f8f
100644
(file)
--- a/
lib/Analysis/IntervalPartition.cpp
+++ b/
lib/Analysis/IntervalPartition.cpp
@@
-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;
}