mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 10:33:13 +02:00
Internals: Add VL_DO_DANGLING in some missing places. No functional change intended.
This commit is contained in:
+1
-1
@@ -596,7 +596,7 @@ class TaskVisitor final : public VNVisitor {
|
||||
m_scopep->addVarsp(newvscp);
|
||||
AstVarRef* const repp = new AstVarRef{pinp->fileline(), newvscp, VAccess::WRITE};
|
||||
pinp->replaceWith(repp);
|
||||
pushDeletep(pinp);
|
||||
VL_DO_DANGLING(pushDeletep(pinp), pinp);
|
||||
pinp = repp;
|
||||
}
|
||||
if (inlineTask) {
|
||||
|
||||
Reference in New Issue
Block a user