mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 06:00:28 +00:00
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:
parent
d08ddd3300
commit
85eb157d96
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user