mirror of
https://github.com/verilator/verilator.git
synced 2026-09-04 16:40:12 +02:00
No need for V3Signed to recurse into generate if.
This commit is contained in:
@@ -161,6 +161,13 @@ private:
|
||||
// so, it's just
|
||||
nodep->iterateChildren(*this);
|
||||
}
|
||||
virtual void visit(AstNodeIf* nodep, AstNUser*) {
|
||||
if (!nodep->castGenIf()) { // for m_paramsOnly
|
||||
nodep->ifsp()->iterateAndNext(*this);
|
||||
nodep->elsesp()->iterateAndNext(*this);
|
||||
}
|
||||
nodep->condp()->iterateAndNext(*this);
|
||||
}
|
||||
virtual void visit(AstPin* nodep, AstNUser*) {
|
||||
// Same as above taskref argument.
|
||||
nodep->iterateChildren(*this);
|
||||
|
||||
Reference in New Issue
Block a user