mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Fix property and sequence line coverage (#8314)
Signed-off-by: Andrii Andrieiev <[email protected]>
This commit is contained in:
@@ -1114,6 +1114,16 @@ class CoverageVisitor final : public VNVisitor {
|
||||
}
|
||||
|
||||
// VISITORS - BOTH
|
||||
void visit(AstProperty* nodep) override {
|
||||
VL_RESTORER(m_state);
|
||||
m_state.m_on = false;
|
||||
iterateChildren(nodep);
|
||||
}
|
||||
void visit(AstSequence* nodep) override {
|
||||
VL_RESTORER(m_state);
|
||||
m_state.m_on = false;
|
||||
iterateChildren(nodep);
|
||||
}
|
||||
void visit(AstNode* nodep) override {
|
||||
iterateChildren(nodep);
|
||||
lineTrack(nodep);
|
||||
|
||||
Reference in New Issue
Block a user