mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-13 08:26:02 +00:00
Print the right call set size
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4688 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -155,7 +155,9 @@ void DSGraph::writeGraphToFile(std::ostream &O, const string &GraphName) const {
|
|||||||
|
|
||||||
if (F.good()) {
|
if (F.good()) {
|
||||||
print(F);
|
print(F);
|
||||||
O << " [" << getGraphSize() << "+" << getFunctionCalls().size() << "]\n";
|
unsigned NumCalls = shouldPrintAuxCalls() ?
|
||||||
|
getAuxFunctionCalls().size() : getFunctionCalls().size();
|
||||||
|
O << " [" << getGraphSize() << "+" << NumCalls << "]\n";
|
||||||
} else {
|
} else {
|
||||||
O << " error opening file for writing!\n";
|
O << " error opening file for writing!\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user