Add support for files with more than 65280 sections. No testcase since
[oota-llvm.git] / include / llvm / Support / GraphWriter.h
index 3ff3fa8ffe1cba5f7f856f547d7c7132b242b2e1..2d29e525fb43d19938eb9ff6b39355c04e0c2ee2 100644 (file)
@@ -92,8 +92,7 @@ public:
     DTraits = DOTTraits(SN);
   }
 
-  void writeGraph(bool ShortNames = false,
-                  const std::string &Title = "") {
+  void writeGraph(const std::string &Title = "") {
     // Output the header for the graph...
     writeHeader(Title);
 
@@ -302,7 +301,7 @@ raw_ostream &WriteGraph(raw_ostream &O, const GraphType &G,
   GraphWriter<GraphType> W(O, G, ShortNames);
 
   // Emit the graph.
-  W.writeGraph(ShortNames, Title);
+  W.writeGraph(Title);
 
   return O;
 }