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 16ef49686c
commit cf935acf53
1 changed files with 2 additions and 3 deletions

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