aboutsummaryrefslogtreecommitdiffstats
path: root/tools
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
commit810b18c4cc8b022f79f0dd886cc9092a3e4f6d2c (patch)
tree904086d0665c9d480a8f0f3b1da2d78330406567 /tools
parente2c3aec2cf16ee6ea233d3ec13a83e71e21523b9 (diff)
downloadexternal_llvm-810b18c4cc8b022f79f0dd886cc9092a3e4f6d2c.zip
external_llvm-810b18c4cc8b022f79f0dd886cc9092a3e4f6d2c.tar.gz
external_llvm-810b18c4cc8b022f79f0dd886cc9092a3e4f6d2c.tar.bz2
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')
-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 2eeac3d..bbf8d12 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