forked from github/verilator
Speed up V3Width by pulling skip condition before node iteration.
This commit is contained in:
parent
008b8d5b56
commit
76494891cf
@ -6125,6 +6125,7 @@ private:
|
||||
}
|
||||
void userIterateAndNext(AstNode* nodep, WidthVP* vup) {
|
||||
if (!nodep) return;
|
||||
if (nodep->didWidth()) return; // Avoid iterating list we have already iterated
|
||||
{
|
||||
VL_RESTORER(m_vup);
|
||||
m_vup = vup;
|
||||
|
Loading…
Reference in New Issue
Block a user