From 9af37fd979d17c534ef2288be19c92ad14c50e7a Mon Sep 17 00:00:00 2001 From: Tomasz Gorochowik Date: Tue, 31 Dec 2024 21:49:26 +0100 Subject: [PATCH] Revert the case changes for now Signed-off-by: Tomasz Gorochowik --- src/V3Coverage.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/V3Coverage.cpp b/src/V3Coverage.cpp index caec48c643..d2fc446198 100644 --- a/src/V3Coverage.cpp +++ b/src/V3Coverage.cpp @@ -525,11 +525,8 @@ class CoverageVisitor final : public VNVisitor { createHandle(nodep); iterateAndNextNull(nodep->stmtsp()); if (m_state.lineCoverageOn(nodep)) { // if the case body didn't disable it - UINFO(4, " COVER: " << nodep << endl); - nodep->addStmtsp(newCoverInc(nodep->fileline(), "", "v_branch", comment, - linesCov(m_state, nodep), 1, - traceNameForLine(nodep, "case"))); lineTrack(nodep); + UINFO(4, " COVER: " << nodep << endl); nodep->addStmtsp(newCoverInc(nodep->fileline(), "", "v_line", comment, linesCov(m_state, nodep), 0, traceNameForLine(nodep, "case")));