forked from github/verilator
Remove unnecesasry and incorrect trace class CUse.
This commit is contained in:
parent
17cc452f79
commit
1691bbfe25
@ -201,11 +201,6 @@ class CUseVisitor final : public AstNVisitor {
|
|||||||
|
|
||||||
// VISITORS
|
// VISITORS
|
||||||
virtual void visit(AstNodeModule* nodep) override {
|
virtual void visit(AstNodeModule* nodep) override {
|
||||||
if (v3Global.opt.trace()) {
|
|
||||||
AstCUse* const usep
|
|
||||||
= m_state.newUse(nodep, VUseType::INT_FWD_CLASS, v3Global.opt.traceClassBase());
|
|
||||||
usep->protect(false);
|
|
||||||
}
|
|
||||||
makeUseCells(nodep);
|
makeUseCells(nodep);
|
||||||
{ CUseDTypeVisitor dtypeVisitor{nodep, m_state}; }
|
{ CUseDTypeVisitor dtypeVisitor{nodep, m_state}; }
|
||||||
if (AstClass* const classp = VN_CAST(nodep, Class)) {
|
if (AstClass* const classp = VN_CAST(nodep, Class)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user