mirror of
https://github.com/verilator/verilator.git
synced 2026-09-04 00:30:34 +02:00
Internals: Add missing VL_DO_DANGLING. No functional change intended.
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ class PremitVisitor final : public VNVisitor {
|
||||
// Extract into constant pool.
|
||||
const bool merge = v3Global.opt.fMergeConstPool();
|
||||
varp = v3Global.rootp()->constPoolp()->findConst(constp, merge)->varp();
|
||||
nodep->deleteTree();
|
||||
VL_DO_DANGLING(nodep->deleteTree(), nodep);
|
||||
++m_extractedToConstPool;
|
||||
} else {
|
||||
// Keep as local temporary.
|
||||
|
||||
Reference in New Issue
Block a user