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 | a5c04ee50f20861dd132aacdaf6f196d1cae0863 (patch) | |
| tree | 14edcdcb8ac10338aa7316ac2233b7152abf44e1 /llvm/lib/Analysis/LoopInfo.cpp | |
| parent | cb46e669831f85ad10502dfdaa086369dd92b959 (diff) | |
| download | bcm5719-llvm-a5c04ee50f20861dd132aacdaf6f196d1cae0863.tar.gz bcm5719-llvm-a5c04ee50f20861dd132aacdaf6f196d1cae0863.zip | |
Fixes to make LLVM compile with vc7.1.
Patch contributed by Paolo Invernizzi!
llvm-svn: 16152
Diffstat (limited to 'llvm/lib/Analysis/LoopInfo.cpp')
| -rw-r--r-- | llvm/lib/Analysis/LoopInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/LoopInfo.cpp b/llvm/lib/Analysis/LoopInfo.cpp index 710f74afe2d..8b9b11aadc1 100644 --- a/llvm/lib/Analysis/LoopInfo.cpp +++ b/llvm/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 { |

