mirror of
https://github.com/verilator/verilator.git
synced 2026-09-07 01:52:17 +02:00
Fix line coverage of public functions.
Line coverage now aggregates by hierarchy automatically. Previously this would be done inside SystemPerl, which was slower.
This commit is contained in:
@@ -133,11 +133,6 @@ private:
|
||||
m_funcp->isStatic(false);
|
||||
}
|
||||
}
|
||||
virtual void visit(AstCoverInc* nodep, AstNUser*) {
|
||||
// OPTIMIZE: For now this needs this->__Vcoverage, but could be globalized
|
||||
needNonStaticFunc(nodep);
|
||||
visitStmt(nodep);
|
||||
}
|
||||
virtual void visit(AstUCFunc* nodep, AstNUser*) {
|
||||
needNonStaticFunc(nodep);
|
||||
nodep->iterateChildren(*this);
|
||||
|
||||
Reference in New Issue
Block a user