summaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-12-08 16:12:20 +0000
committerChris Lattner <sabre@nondot.org>2004-12-08 16:12:20 +0000
commit17a213ad8b095f6372c1d5f8231a7dbe6e262b08 (patch)
tree0817793d23648ce9e0df39908327993056e4761e /lib/Transforms/Instrumentation
parent194ca80fdbb4e15db7527aaeff6ba1e36fd27fb0 (diff)
downloadllvm-17a213ad8b095f6372c1d5f8231a7dbe6e262b08.tar.gz
llvm-17a213ad8b095f6372c1d5f8231a7dbe6e262b08.tar.bz2
llvm-17a213ad8b095f6372c1d5f8231a7dbe6e262b08.tar.xz
Add support for compilers without argument dependent name lookup, contributed
by Bjørn Wennberg git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18627 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation')
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp b/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
index 28830afba8..21a6e93e04 100644
--- a/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
+++ b/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
@@ -383,7 +383,7 @@ Graph* Graph::getMaxSpanningTree(){
//keep pulling out vertex of min wt from vt
while(!vt.empty()){
- Node *u=*(min_element(vt.begin(), vt.end(), compare_nodes()));
+ Node *u=*(std::min_element(vt.begin(), vt.end(), compare_nodes()));
DEBUG(std::cerr<<"popped wt"<<(u)->getWeight()<<"\n";
printNode(u));