mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +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:
+5
-6
@@ -541,9 +541,9 @@ public:
|
||||
continue;
|
||||
} else if (ifacerefp->ifaceViaCellp()->dead()
|
||||
|| !existsNodeSym(ifacerefp->ifaceViaCellp())) {
|
||||
UASSERT_OBJ(false, ifacerefp->ifaceViaCellp(),
|
||||
"Interface referenced by virtual iface is dead. "
|
||||
"Dead interfaces have required linking steps skipped");
|
||||
ifacerefp->ifaceViaCellp()->v3fatalSrc(
|
||||
"Interface referenced by virtual iface is dead. "
|
||||
"Dead interfaces have required linking steps skipped");
|
||||
}
|
||||
VSymEnt* const ifaceSymp = getNodeSym(ifacerefp->ifaceViaCellp());
|
||||
VSymEnt* ifOrPortSymp = ifaceSymp;
|
||||
@@ -2664,8 +2664,7 @@ class LinkDotResolveVisitor final : public VNVisitor {
|
||||
if (classExtendsp->argsp()) pinsp = classExtendsp->argsp()->cloneTree(true);
|
||||
AstNew* const newExprp = new AstNew{fl, pinsp};
|
||||
newExprp->isImplicit(true);
|
||||
AstDot* const superNewp
|
||||
= new AstDot{fl, false, new AstParseRef{fl, VParseRefExp::PX_ROOT, "super"}, newExprp};
|
||||
AstDot* const superNewp = new AstDot{fl, false, new AstParseRef{fl, "super"}, newExprp};
|
||||
AstNodeStmt* const superNewStmtp = superNewp->makeStmt();
|
||||
for (AstNode* stmtp = nodep->stmtsp(); stmtp; stmtp = stmtp->nextp()) {
|
||||
// super.new shall be the first statement (IEEE 1800-2023 8.15)
|
||||
@@ -3510,7 +3509,7 @@ class LinkDotResolveVisitor final : public VNVisitor {
|
||||
allowVar = true;
|
||||
} else {
|
||||
UINFO(1, "ds=" << m_ds.ascii());
|
||||
nodep->v3fatalSrc("Unhandled VParseRefExp");
|
||||
nodep->v3fatalSrc("Unhandled DotPosition");
|
||||
}
|
||||
// Lookup
|
||||
VSymEnt* foundp;
|
||||
|
||||
Reference in New Issue
Block a user