mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-16 00:16:50 +00:00
Print the right call set size
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4688 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
998c49c247
commit
6052594209
@ -155,7 +155,9 @@ void DSGraph::writeGraphToFile(std::ostream &O, const string &GraphName) const {
|
||||
|
||||
if (F.good()) {
|
||||
print(F);
|
||||
O << " [" << getGraphSize() << "+" << getFunctionCalls().size() << "]\n";
|
||||
unsigned NumCalls = shouldPrintAuxCalls() ?
|
||||
getAuxFunctionCalls().size() : getFunctionCalls().size();
|
||||
O << " [" << getGraphSize() << "+" << NumCalls << "]\n";
|
||||
} else {
|
||||
O << " error opening file for writing!\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user