Internals: Rename AstNode::userp to user1p for easier searching

and to disambiguate from the vertex/edge-> userp.
This commit is contained in:
Wilson Snyder
2008-11-25 09:03:49 -05:00
parent 5563c9666c
commit 5bdb8674ed
41 changed files with 289 additions and 291 deletions
+3 -3
View File
@@ -34,10 +34,10 @@ that visitor class. For example:
// NODE STATE
// Cleared entire netlist
// AstModule::userp() // bool. True to inline this module
// AstModule::user1p() // bool. True to inline this module
This says that at the AstNetlist userClearTree() is called. Each
AstModule's is user() is used to indicate if we're going to inline it.
This says that at the AstNetlist user1ClearTree() is called. Each
AstModule's is user1() is used to indicate if we're going to inline it.
These comments are important to make sure a user#() on a given AstNode type
is never being used for two different purposes.