[llvm-commits] [llvm] r61065 - /llvm/trunk/lib/CodeGen/ScheduleDAGPrinter.cpp

Dan Gohman gohman at apple.com
Mon Dec 15 16:55:00 PST 2008


Author: djg
Date: Mon Dec 15 18:55:00 2008
New Revision: 61065

URL: http://llvm.org/viewvc/llvm-project?rev=61065&view=rev
Log:
This getEdgeAttributes doesn't need a template argument.

Modified:
    llvm/trunk/lib/CodeGen/ScheduleDAGPrinter.cpp

Modified: llvm/trunk/lib/CodeGen/ScheduleDAGPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/ScheduleDAGPrinter.cpp?rev=61065&r1=61064&r2=61065&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/ScheduleDAGPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/ScheduleDAGPrinter.cpp Mon Dec 15 18:55:00 2008
@@ -48,8 +48,8 @@
     
     /// If you want to override the dot attributes printed for a particular
     /// edge, override this method.
-    template<typename EdgeIter>
-    static std::string getEdgeAttributes(const void *Node, EdgeIter EI) {
+    static std::string getEdgeAttributes(const SUnit *Node,
+                                         SUnitIterator EI) {
       if (EI.isArtificialDep())
         return "color=cyan,style=dashed";
       if (EI.isCtrlDep())





More information about the llvm-commits mailing list