Use newline instead of endl, for fewer stream flushes

This commit is contained in:
Wilson Snyder
2023-11-24 11:45:52 -05:00
parent fae7f11222
commit 58d9a5ebac
11 changed files with 57 additions and 57 deletions
+4 -4
View File
@@ -768,16 +768,16 @@ public:
if (needsCleaning) ++resultOps;
if (debug() >= 9) { // LCOV_EXCL_START
cout << "- Bitop tree considered: " << endl;
cout << "- Bitop tree considered:\n";
for (AstNodeExpr* const termp : termps) termp->dumpTree("- Reduced term: ");
for (const std::pair<AstNodeExpr*, FrozenNodeInfo>& termp : visitor.m_frozenNodes) {
termp.first->dumpTree("- Frozen term with lsb "
+ std::to_string(termp.second.m_lsb) + " polarity "
+ std::to_string(termp.second.m_polarity) + ": ");
}
cout << "- Needs flipping: " << needsFlip << endl;
cout << "- Needs cleaning: " << needsCleaning << endl;
cout << "- Size: " << resultOps << " input size: " << visitor.m_ops << endl;
cout << "- Needs flipping: " << needsFlip << "\n";
cout << "- Needs cleaning: " << needsCleaning << "\n";
cout << "- Size: " << resultOps << " input size: " << visitor.m_ops << "\n";
} // LCOV_EXCL_END
// Sometimes we have no terms left after ignoring redundant terms