Stop printing Function*

llvm-svn: 12857
This commit is contained in:
Chris Lattner 2004-04-12 04:06:56 +00:00
parent d041dcd92f
commit 08f201bee5
1 changed files with 1 additions and 1 deletions

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