summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ScheduleDAGPrinter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-12-16 00:55:00 +0000
committerDan Gohman <gohman@apple.com>2008-12-16 00:55:00 +0000
commitcb6accfea97f5e5802556468e51927b14230cef1 (patch)
tree0048f9c28d200e4f91e6c4671f052fd04ff901c0 /llvm/lib/CodeGen/ScheduleDAGPrinter.cpp
parentd050b95adaac542b2a25d0ac9de484f3fd888c32 (diff)
downloadbcm5719-llvm-cb6accfea97f5e5802556468e51927b14230cef1.tar.gz
bcm5719-llvm-cb6accfea97f5e5802556468e51927b14230cef1.zip
This getEdgeAttributes doesn't need a template argument.
llvm-svn: 61065
Diffstat (limited to 'llvm/lib/CodeGen/ScheduleDAGPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/ScheduleDAGPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
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<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())
OpenPOWER on IntegriCloud