mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
@@ -447,6 +447,11 @@ class DeadVisitor final : public VNVisitor {
|
||||
checkDType(nodep);
|
||||
checkAll(nodep);
|
||||
}
|
||||
void visit(AstEnumDType* nodep) override {
|
||||
// Widthing during parameter evaluation may have populated the cache.
|
||||
nodep->tableMap().clear();
|
||||
visit(static_cast<AstNodeDType*>(nodep));
|
||||
}
|
||||
void visit(AstEnumItemRef* nodep) override {
|
||||
iterateChildren(nodep);
|
||||
checkAll(nodep);
|
||||
|
||||
Reference in New Issue
Block a user