summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-09-27 16:59:51 +0000
committerDan Gohman <gohman@apple.com>2010-09-27 16:59:51 +0000
commitcf935acf53e024bbc59b1d70ea421a5457a42c66 (patch)
tree12cfb71cbd55d4afbfc238d7e0db0317fec9b2a5
parent16ef49686c95225b5d92ebf3551e3dd2445258a3 (diff)
downloadbcm5719-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.h5
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;
}
OpenPOWER on IntegriCloud