Print the right call set size

llvm-svn: 4688
This commit is contained in:
Chris Lattner 2002-11-11 00:01:02 +00:00
parent 6fa9a7f7f4
commit 773da868a0
1 changed files with 3 additions and 1 deletions

View File

@ -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";
}