writeGraph doesn't need its ShortNames argument.

llvm-svn: 114842
This commit is contained in:
Dan Gohman 2010-09-27 16:59:51 +00:00
parent 4222dd7f87
commit 8443b40d5f

View 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;
}