Skip to content

Commit

Permalink
Revert the case changes for now
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Gorochowik <[email protected]>
  • Loading branch information
tgorochowik committed Dec 31, 2024
1 parent d48366a commit 9af37fd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/V3Coverage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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")));
Expand Down

0 comments on commit 9af37fd

Please sign in to comment.