mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
Fix logic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4664 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aa0b468f6d
commit
f76e754c2e
@ -184,7 +184,7 @@ static void printCollection(const Collection &C, std::ostream &O,
|
|||||||
DSGraph &GG = C.getGlobalsGraph();
|
DSGraph &GG = C.getGlobalsGraph();
|
||||||
TotalNumNodes += GG.getGraphSize();
|
TotalNumNodes += GG.getGraphSize();
|
||||||
TotalCallNodes += GG.getFunctionCalls().size();
|
TotalCallNodes += GG.getFunctionCalls().size();
|
||||||
if (OnlyPrintMain) {
|
if (!OnlyPrintMain) {
|
||||||
GG.writeGraphToFile(O, Prefix+"GlobalsGraph");
|
GG.writeGraphToFile(O, Prefix+"GlobalsGraph");
|
||||||
} else {
|
} else {
|
||||||
O << "Skipped Writing '" << Prefix << "GlobalsGraph.dot'... ["
|
O << "Skipped Writing '" << Prefix << "GlobalsGraph.dot'... ["
|
||||||
|
Loading…
x
Reference in New Issue
Block a user