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/LoopInfo.cpp | |
parent | ceca90415f982efe844b37b0cb3e5a228a0b7c57 (diff) | |
download | external_llvm-20aa474f8fbebde588edc101b90e834df28ce4ce.zip external_llvm-20aa474f8fbebde588edc101b90e834df28ce4ce.tar.gz external_llvm-20aa474f8fbebde588edc101b90e834df28ce4ce.tar.bz2 |
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/LoopInfo.cpp')
-rw-r--r-- | lib/Analysis/LoopInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp index 710f74a..8b9b11a 100644 --- a/lib/Analysis/LoopInfo.cpp +++ b/lib/Analysis/LoopInfo.cpp @@ -33,7 +33,7 @@ X("loops", "Natural Loop Construction", true); // Loop implementation // bool Loop::contains(const BasicBlock *BB) const { - return find(Blocks.begin(), Blocks.end(), BB) != Blocks.end(); + return std::find(Blocks.begin(), Blocks.end(), BB) != Blocks.end(); } bool Loop::isLoopExit(const BasicBlock *BB) const { |