Internals: add a few userIncs, No functional change

This commit is contained in:
Wilson Snyder
2011-01-18 21:19:12 -05:00
parent 48df52d743
commit 481b261458
2 changed files with 2 additions and 5 deletions
+1 -2
View File
@@ -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"); }