From cb6accfea97f5e5802556468e51927b14230cef1 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 16 Dec 2008 00:55:00 +0000 Subject: This getEdgeAttributes doesn't need a template argument. llvm-svn: 61065 --- llvm/lib/CodeGen/ScheduleDAGPrinter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/ScheduleDAGPrinter.cpp') diff --git a/llvm/lib/CodeGen/ScheduleDAGPrinter.cpp b/llvm/lib/CodeGen/ScheduleDAGPrinter.cpp index 2f0e662c6bd..25539604576 100644 --- a/llvm/lib/CodeGen/ScheduleDAGPrinter.cpp +++ b/llvm/lib/CodeGen/ScheduleDAGPrinter.cpp @@ -48,8 +48,8 @@ namespace llvm { /// If you want to override the dot attributes printed for a particular /// edge, override this method. - template - 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()) -- cgit v1.2.3