mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Optimize updates of Vtogcov signals. No functional change intended. (#6110)
This commit is contained in:
@@ -75,7 +75,7 @@ class CoverageJoinVisitor final : public VNVisitor {
|
||||
// The CoverDecl the duplicate pointed to now needs to point to the
|
||||
// original's data. I.e. the duplicate will get the coverage number
|
||||
// from the non-duplicate
|
||||
AstCoverDecl* const datadeclp = nodep->incp()->declp()->dataDeclThisp();
|
||||
AstNodeCoverDecl* const datadeclp = nodep->incp()->declp()->dataDeclThisp();
|
||||
removep->incp()->declp()->dataDeclp(datadeclp);
|
||||
UINFO(8, " new " << removep->incp()->declp());
|
||||
// Mark the found node as a duplicate of the first node
|
||||
|
||||
Reference in New Issue
Block a user