This getEdgeAttributes doesn't need a template argument.
authorDan Gohman <gohman@apple.com>
Tue, 16 Dec 2008 00:55:00 +0000 (00:55 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 16 Dec 2008 00:55:00 +0000 (00:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61065 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/ScheduleDAGPrinter.cpp

index 2f0e662c6bd41215bbbbcbf15feac31fd78f8aa8..25539604576408c41e259f427bc31209ccd98aa9 100644 (file)
@@ -48,8 +48,8 @@ namespace llvm {
     
     /// 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())