diff options
| author | Tobias Grosser <grosser@fim.uni-passau.de> | 2009-11-30 12:38:13 +0000 |
|---|---|---|
| committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2009-11-30 12:38:13 +0000 |
| commit | 90d334032a55963463b7abcb107147feb626cf62 (patch) | |
| tree | 7c4724783f5f2b9a508d59e816fecd2a8a0d4e43 /llvm/lib/CodeGen/ScheduleDAGPrinter.cpp | |
| parent | 8d6f6b74b14c1ea620a0f59e6bdd488f5f60052b (diff) | |
| download | bcm5719-llvm-90d334032a55963463b7abcb107147feb626cf62.tar.gz bcm5719-llvm-90d334032a55963463b7abcb107147feb626cf62.zip | |
Instantiate DefaultDOTGraphTraits
llvm-svn: 90133
Diffstat (limited to 'llvm/lib/CodeGen/ScheduleDAGPrinter.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/ScheduleDAGPrinter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/ScheduleDAGPrinter.cpp b/llvm/lib/CodeGen/ScheduleDAGPrinter.cpp index 4851d496bdb..5855f961041 100644 --- a/llvm/lib/CodeGen/ScheduleDAGPrinter.cpp +++ b/llvm/lib/CodeGen/ScheduleDAGPrinter.cpp @@ -32,6 +32,9 @@ using namespace llvm; namespace llvm { template<> struct DOTGraphTraits<ScheduleDAG*> : public DefaultDOTGraphTraits { + + DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} + static std::string getGraphName(const ScheduleDAG *G) { return G->MF.getFunction()->getName(); } |

