Remove ShortNames from getNodeLabel in DOTGraphTraits
[oota-llvm.git] / tools / opt / GraphPrinters.cpp
index 2eeac3da87eff07065e09752c0b3144add266d3b..bbf8d122e7c7ef01c524010f56fe000b5b76438b 100644 (file)
@@ -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