[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Dec 8 08:12:33 PST 2004



Changes in directory llvm/lib/Transforms/Instrumentation/ProfilePaths:

Graph.cpp updated: 1.18 -> 1.19
---
Log message:

Add support for compilers without argument dependent name lookup, contributed
by Bjørn Wennberg


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
diff -u llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp:1.18 llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp:1.19
--- llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp:1.18	Wed Sep  1 17:55:36 2004
+++ llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp	Wed Dec  8 10:12:20 2004
@@ -383,7 +383,7 @@
 
   //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));
 






More information about the llvm-commits mailing list