Instantiate DefaultDOTGraphTraits
[oota-llvm.git] / tools / opt / GraphPrinters.cpp
index 1ae6be253f781dafab07889c8c1e0b1f13663ff6..2eeac3da87eff07065e09752c0b3144add266d3b 100644 (file)
@@ -46,6 +46,9 @@ static void WriteGraphToFile(std::ostream &O, const std::string &GraphName,
 namespace llvm {
   template<>
   struct DOTGraphTraits<CallGraph*> : public DefaultDOTGraphTraits {
+
+  DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {}
+
     static std::string getGraphName(CallGraph *F) {
       return "Call Graph";
     }