diff options
author | Dan Gohman <gohman@apple.com> | 2008-12-16 00:55:00 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-12-16 00:55:00 +0000 |
commit | 3ee7449f3973fa467388d66d27124da22f45df85 (patch) | |
tree | d17de07aefb36cc4af333289bd68ebc4e86b85c2 /lib/CodeGen/ScheduleDAGPrinter.cpp | |
parent | c3df7a8884971e72a5f0f25c951da0007b4ea503 (diff) | |
download | external_llvm-3ee7449f3973fa467388d66d27124da22f45df85.zip external_llvm-3ee7449f3973fa467388d66d27124da22f45df85.tar.gz external_llvm-3ee7449f3973fa467388d66d27124da22f45df85.tar.bz2 |
This getEdgeAttributes doesn't need a template argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ScheduleDAGPrinter.cpp')
-rw-r--r-- | lib/CodeGen/ScheduleDAGPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/ScheduleDAGPrinter.cpp b/lib/CodeGen/ScheduleDAGPrinter.cpp index 2f0e662..2553960 100644 --- a/lib/CodeGen/ScheduleDAGPrinter.cpp +++ b/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()) |