mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Remove dead code, fix or sign off coverage
Remove/fix/signoff uncontroversial code coverage holes. Also added a couple TODOs that should be investigated at some point
This commit is contained in:
@@ -170,7 +170,7 @@ class AstToDfgConverter final : public VNVisitor {
|
||||
} else if (newp->is<DfgVarArray>()) {
|
||||
newp->srcp(make<DfgSpliceArray>(newp->fileline(), newp->dtype()));
|
||||
} else {
|
||||
nodep->v3fatalSrc("Unhandled DfgVertexVar sub-type"); // LCOV_EXCL_LINE
|
||||
nodep->v3fatalSrc("Unhandled DfgVertexVar sub-type");
|
||||
}
|
||||
|
||||
// Use new temporary
|
||||
@@ -245,7 +245,7 @@ class AstToDfgConverter final : public VNVisitor {
|
||||
DfgSpliceArray* const newp = make<DfgSpliceArray>(flp, dtype);
|
||||
splicep->addDriver(newp, index, flp);
|
||||
} else {
|
||||
nodep->v3fatalSrc("Unhandled data type kind"); // LCOV_EXCL_LINE
|
||||
nodep->v3fatalSrc("Unhandled data type kind");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -345,7 +345,7 @@ class AstToDfgConverter final : public VNVisitor {
|
||||
sap->addDriver(item.m_rhsp, item.m_idx, flp);
|
||||
}
|
||||
} else {
|
||||
item.m_lhsp->v3fatalSrc("Unhandled DfgVertexSplice sub-type"); // LCOV_EXCL_LINE
|
||||
item.m_lhsp->v3fatalSrc("Unhandled DfgVertexSplice sub-type");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -894,7 +894,7 @@ class AstToDfgSynthesize final {
|
||||
} else if (var.is<DfgVarArray>()) {
|
||||
splicep = make<DfgSpliceArray>(var.fileline(), var.dtype());
|
||||
} else {
|
||||
var.v3fatalSrc("Unhandled DfgVertexVar sub-type"); // LCOV_EXCL_LINE
|
||||
var.v3fatalSrc("Unhandled DfgVertexVar sub-type");
|
||||
}
|
||||
for (const Driver& d : newDrivers) splicep->addDriver(d.m_vtxp, d.m_lo, d.m_flp);
|
||||
return splicep;
|
||||
|
||||
Reference in New Issue
Block a user