projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
998c49c
)
Print the right call set size
author
Chris Lattner
<sabre@nondot.org>
Mon, 11 Nov 2002 00:01:02 +0000
(
00:01
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 11 Nov 2002 00:01:02 +0000
(
00:01
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4688
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DataStructure/Printer.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DataStructure/Printer.cpp
b/lib/Analysis/DataStructure/Printer.cpp
index 483d2235350594df5725746467d0f794b23adb51..8b6bdcf6dc1b68084f03b73163e338601bb67690 100644
(file)
--- 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";
}