aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-12 04:06:56 +0000
committerChris Lattner <sabre@nondot.org>2004-04-12 04:06:56 +0000
commit85eb157d966c6015262ec0d7f0353c7f416dee7b (patch)
treebb4462a560071a38cbdec5c8fa7349187f193aed /lib
parentd08ddd3300d5244012c1765d34b21cc9e11a80ad (diff)
downloadexternal_llvm-85eb157d966c6015262ec0d7f0353c7f416dee7b.zip
external_llvm-85eb157d966c6015262ec0d7f0353c7f416dee7b.tar.gz
external_llvm-85eb157d966c6015262ec0d7f0353c7f416dee7b.tar.bz2
Stop printing Function*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/IPO/Inliner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp
index 325631a..808d393 100644
--- a/lib/Transforms/IPO/Inliner.cpp
+++ b/lib/Transforms/IPO/Inliner.cpp
@@ -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);