Internals: Add VL_DO_DANGLING in some missing places. No functional change intended.

This commit is contained in:
Wilson Snyder
2026-09-23 18:27:40 -04:00
parent 7fd68b58ca
commit 3d386f8fa5
24 changed files with 58 additions and 57 deletions
+2 -2
View File
@@ -1549,7 +1549,7 @@ private:
"Unsupported: $sampled inside disabled condition of a sequence");
m_disablep = new AstConst{m_disablep->fileline(), AstConst::BitFalse{}};
// always a copy is used, so remove it now
pushDeletep(m_disablep);
pushDeletep(m_disablep); // m_disablep used later
}
FileLine* const flp = nodep->fileline();
// Add counter which counts times the condition turned true
@@ -1587,7 +1587,7 @@ private:
= new AstIf{flp, new AstEq{flp, new AstVarRef{flp, initialCntp, VAccess::READ},
readCntRefp->cloneTree(false)}};
// Delete it, because it is always copied before insetion to the AST
pushDeletep(m_disableSeqIfp);
pushDeletep(m_disableSeqIfp); // m_disableSeqIfp used later
}
iterateChildren(nodep);
}