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:
aa0b468
)
Fix logic
author
Chris Lattner
<sabre@nondot.org>
Sat, 9 Nov 2002 21:40:58 +0000
(21:40 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 9 Nov 2002 21:40:58 +0000
(21:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4664
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 bbd9c2d18b22a61b0678195f84e8d30ea530536b..91ae7cabdf2311d8382dcc516dee541c817f066c 100644
(file)
--- a/
lib/Analysis/DataStructure/Printer.cpp
+++ b/
lib/Analysis/DataStructure/Printer.cpp
@@
-184,7
+184,7
@@
static void printCollection(const Collection &C, std::ostream &O,
DSGraph &GG = C.getGlobalsGraph();
TotalNumNodes += GG.getGraphSize();
TotalCallNodes += GG.getFunctionCalls().size();
- if (OnlyPrintMain) {
+ if (
!
OnlyPrintMain) {
GG.writeGraphToFile(O, Prefix+"GlobalsGraph");
} else {
O << "Skipped Writing '" << Prefix << "GlobalsGraph.dot'... ["