mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 10:48:27 +02:00
Internals: UINFO now includes newline itself. No functional change.
This commit is contained in:
@@ -80,7 +80,7 @@ private:
|
||||
return savedCount;
|
||||
}
|
||||
void endVisitBase(uint32_t savedCount, AstNode* nodep) {
|
||||
UINFO(8, "cost " << std::setw(6) << std::left << m_stackSize << " " << nodep << endl);
|
||||
UINFO(8, "cost " << std::setw(6) << std::left << m_stackSize << " " << nodep);
|
||||
if (!m_ignoreRemaining) m_stackSize += savedCount;
|
||||
}
|
||||
|
||||
@@ -91,13 +91,13 @@ private:
|
||||
iterateAndNextConstNull(nodep->condp());
|
||||
const uint32_t savedCount = m_stackSize;
|
||||
|
||||
UINFO(8, "thensp:\n");
|
||||
UINFO(8, "thensp:");
|
||||
reset();
|
||||
iterateAndNextConstNull(nodep->thensp());
|
||||
uint32_t ifCount = m_stackSize;
|
||||
if (nodep->branchPred().unlikely()) ifCount = 0;
|
||||
|
||||
UINFO(8, "elsesp:\n");
|
||||
UINFO(8, "elsesp:");
|
||||
reset();
|
||||
iterateAndNextConstNull(nodep->elsesp());
|
||||
uint32_t elseCount = m_stackSize;
|
||||
@@ -120,12 +120,12 @@ private:
|
||||
iterateAndNextConstNull(nodep->condp());
|
||||
const uint32_t savedCount = m_stackSize;
|
||||
|
||||
UINFO(8, "?\n");
|
||||
UINFO(8, "?");
|
||||
reset();
|
||||
iterateAndNextConstNull(nodep->thenp());
|
||||
const uint32_t ifCount = m_stackSize;
|
||||
|
||||
UINFO(8, ":\n");
|
||||
UINFO(8, ":");
|
||||
reset();
|
||||
iterateAndNextConstNull(nodep->elsep());
|
||||
const uint32_t elseCount = m_stackSize;
|
||||
|
||||
Reference in New Issue
Block a user