Stop printing Function*
authorChris Lattner <sabre@nondot.org>
Mon, 12 Apr 2004 04:06:56 +0000 (04:06 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 Apr 2004 04:06:56 +0000 (04:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12857 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/Inliner.cpp

index 325631a79227d5641c816eb578187715c5c22302..808d3930b60f6a6229b30e3675f229cc871060f6 100644 (file)
@@ -105,7 +105,7 @@ bool Inliner::runOnSCC(const std::vector<CallGraphNode*> &SCC) {
           if (Callee->use_empty() && Callee != Caller &&
               (Callee->hasInternalLinkage() || Callee->hasLinkOnceLinkage())) {
             DEBUG(std::cerr << "    -> Deleting dead function: "
-                  << (void*)Callee << Callee->getName() << "\n");
+                            << Callee->getName() << "\n");
             std::set<Function*>::iterator I = SCCFunctions.find(Callee);
             if (I != SCCFunctions.end())    // Remove function from this SCC.
               SCCFunctions.erase(I);