summaryrefslogtreecommitdiff
path: root/tools/opt/GraphPrinters.cpp
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2009-11-30 12:38:47 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2009-11-30 12:38:47 +0000
commit56f4ef3232850e29c4635d0923910acce8887bd0 (patch)
tree904086d0665c9d480a8f0f3b1da2d78330406567 /tools/opt/GraphPrinters.cpp
parenta10d598602308549d87d2c5d9848f5a72fda2b43 (diff)
downloadllvm-56f4ef3232850e29c4635d0923910acce8887bd0.tar.gz
llvm-56f4ef3232850e29c4635d0923910acce8887bd0.tar.bz2
llvm-56f4ef3232850e29c4635d0923910acce8887bd0.tar.xz
Remove ShortNames from getNodeLabel in DOTGraphTraits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90134 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/GraphPrinters.cpp')
-rw-r--r--tools/opt/GraphPrinters.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/opt/GraphPrinters.cpp b/tools/opt/GraphPrinters.cpp
index 2eeac3da87..bbf8d122e7 100644
--- a/tools/opt/GraphPrinters.cpp
+++ b/tools/opt/GraphPrinters.cpp
@@ -53,8 +53,7 @@ namespace llvm {
return "Call Graph";
}
- static std::string getNodeLabel(CallGraphNode *Node, CallGraph *Graph,
- bool ShortNames) {
+ static std::string getNodeLabel(CallGraphNode *Node, CallGraph *Graph) {
if (Node->getFunction())
return ((Value*)Node->getFunction())->getName();
else