forked from OSchip/llvm-project
parent
6fa9a7f7f4
commit
773da868a0
|
@ -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