Stop printing Function*

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12857 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-04-12 04:06:56 +00:00
parent d08ddd3300
commit 85eb157d96

View 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);