mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 17:31:50 +00:00
minor simplification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62232 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f46bb8178
commit
6104626b46
@ -247,8 +247,8 @@ void CallGraphNode::print(std::ostream &OS) const {
|
||||
OS << "Call graph node <<null function: 0x" << this << ">>:\n";
|
||||
|
||||
for (const_iterator I = begin(), E = end(); I != E; ++I)
|
||||
if (I->second->getFunction())
|
||||
OS << " Calls function '" << I->second->getFunction()->getName() <<"'\n";
|
||||
if (Function *FI = I->second->getFunction())
|
||||
OS << " Calls function '" << FI->getName() <<"'\n";
|
||||
else
|
||||
OS << " Calls external node\n";
|
||||
OS << "\n";
|
||||
|
Loading…
Reference in New Issue
Block a user