diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-11 00:01:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-11 00:01:02 +0000 |
commit | 60525942099d2a9e8e24f150eda491596a8929e7 (patch) | |
tree | 452540812f616736e32ae090fcad8b7389f12d4f /lib/Analysis/DataStructure/Printer.cpp | |
parent | 998c49c2472f29cfe2df0e87f35128858c178428 (diff) |
Print the right call set size
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Printer.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/Printer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/Printer.cpp b/lib/Analysis/DataStructure/Printer.cpp index 483d223535..8b6bdcf6dc 100644 --- a/lib/Analysis/DataStructure/Printer.cpp +++ b/lib/Analysis/DataStructure/Printer.cpp @@ -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"; } |