mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Add VL_DO_DANGLING in some missing places. No functional change intended.
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ class LocalizeVisitor final : public VNVisitor {
|
||||
|
||||
// Yank the VarScope from it's parent and schedule them for deletion. Leave the Var
|
||||
// for now, as not all VarScopes referencing this Var might be localized.
|
||||
pushDeletep(nodep->unlinkFrBack());
|
||||
pushDeletep(nodep->unlinkFrBack()); // TODO nodep used past here
|
||||
|
||||
// In each referencing function, create a replacement local variable
|
||||
AstVar* const oldVarp = nodep->varp();
|
||||
|
||||
Reference in New Issue
Block a user