mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 00:20:11 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user