diff options
author | Dan Gohman <gohman@apple.com> | 2010-09-27 16:59:51 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-09-27 16:59:51 +0000 |
commit | cf935acf53e024bbc59b1d70ea421a5457a42c66 (patch) | |
tree | 12cfb71cbd55d4afbfc238d7e0db0317fec9b2a5 | |
parent | 16ef49686c95225b5d92ebf3551e3dd2445258a3 (diff) | |
download | bcm5719-llvm-cf935acf53e024bbc59b1d70ea421a5457a42c66.tar.gz bcm5719-llvm-cf935acf53e024bbc59b1d70ea421a5457a42c66.zip |
writeGraph doesn't need its ShortNames argument.
llvm-svn: 114842
-rw-r--r-- | llvm/include/llvm/Support/GraphWriter.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/include/llvm/Support/GraphWriter.h b/llvm/include/llvm/Support/GraphWriter.h index 3ff3fa8ffe1..2d29e525fb4 100644 --- a/llvm/include/llvm/Support/GraphWriter.h +++ b/llvm/include/llvm/Support/GraphWriter.h @@ -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; } |