mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: add a few userIncs, No functional change
This commit is contained in:
+1
-2
@@ -131,8 +131,7 @@ private:
|
||||
|
||||
// Make sure all parameters are constantified
|
||||
virtual void visit(AstVar* nodep, AstNUser*) {
|
||||
if (!nodep->user5()) {
|
||||
nodep->user5(1); // Mark done
|
||||
if (!nodep->user5Inc()) { // Process once
|
||||
nodep->iterateChildren(*this);
|
||||
if (nodep->isParam()) {
|
||||
if (!nodep->hasSimpleInit()) { nodep->v3fatalSrc("Parameter without initial value"); }
|
||||
|
||||
Reference in New Issue
Block a user