From 1691bbfe253265daa7591782875aacbd1822840f Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Tue, 13 Jul 2021 14:20:17 +0100 Subject: [PATCH] Remove unnecesasry and incorrect trace class CUse. --- src/V3CUse.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/V3CUse.cpp b/src/V3CUse.cpp index 2964c2b8f..c4da89455 100644 --- a/src/V3CUse.cpp +++ b/src/V3CUse.cpp @@ -201,11 +201,6 @@ class CUseVisitor final : public AstNVisitor { // VISITORS 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); { CUseDTypeVisitor dtypeVisitor{nodep, m_state}; } if (AstClass* const classp = VN_CAST(nodep, Class)) {