Internals: Optimize updates of Vtogcov signals. No functional change intended. (#6110)

This commit is contained in:
Ryszard Rozak
2025-08-04 13:29:56 +01:00
committed by GitHub
parent 52ac3b3a0d
commit 7d2b6bd921
22 changed files with 448 additions and 158 deletions
+1 -1
View File
@@ -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