diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-09-03 18:19:51 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-09-03 18:19:51 +0000 |
commit | 20aa474f8fbebde588edc101b90e834df28ce4ce (patch) | |
tree | b164de8ce2a8013f8996b831ba998e930f55182c /lib/Analysis/IntervalPartition.cpp | |
parent | ceca90415f982efe844b37b0cb3e5a228a0b7c57 (diff) |
Fixes to make LLVM compile with vc7.1.
Patch contributed by Paolo Invernizzi!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/IntervalPartition.cpp')
-rw-r--r-- | lib/Analysis/IntervalPartition.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/IntervalPartition.cpp b/lib/Analysis/IntervalPartition.cpp index 9253f721ab..4f178f4f64 100644 --- a/lib/Analysis/IntervalPartition.cpp +++ b/lib/Analysis/IntervalPartition.cpp @@ -14,6 +14,7 @@ #include "llvm/Analysis/IntervalIterator.h" #include "llvm/ADT/STLExtras.h" +#include <algorithm> namespace llvm { @@ -26,7 +27,7 @@ X("intervals", "Interval Partition Construction", true); // destroy - Reset state back to before function was analyzed void IntervalPartition::destroy() { - for_each(Intervals.begin(), Intervals.end(), deleter<Interval>); + std::for_each(Intervals.begin(), Intervals.end(), deleter<Interval>); IntervalMap.clear(); RootInterval = 0; } |