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
@@ -513,7 +513,7 @@ private:
|
||||
newmodp = nodep->modp();
|
||||
}
|
||||
// Find cell cross-references
|
||||
nodep->modp()->foreach<AstCell>([](AstCell* cellp) {
|
||||
nodep->modp()->foreach([](AstCell* cellp) {
|
||||
// clonep is nullptr when inlining the last instance, if so the use original node
|
||||
cellp->user4p(cellp->clonep() ? cellp->clonep() : cellp);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user