mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Add VL_DO_DANGLING in some missing places. No functional change intended.
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user