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:
Wilson Snyder
2008-12-05 10:54:14 -05:00
parent de61015e08
commit d3d1291d5a
8 changed files with 263 additions and 64 deletions
-5
View File
@@ -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);