mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Improve V3Ast function usage ergonomics (#3650)
Signed-off-by: HungMingWu <[email protected]>
This commit is contained in:
+1
-1
@@ -322,7 +322,7 @@ private:
|
||||
// And its children may now be killable too; correct counts
|
||||
// Recurse, as cells may not be directly under the module but in a generate
|
||||
if (!modp->dead()) { // If was dead didn't increment user1's
|
||||
modp->foreach<AstCell>([](const AstCell* cellp) { //
|
||||
modp->foreach([](const AstCell* cellp) { //
|
||||
cellp->modp()->user1Inc(-1);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user