mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Fix some object-less asserts
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ class LinkIncVisitor final : public VNVisitor {
|
||||
} else if (m_modp) {
|
||||
stmtsp = m_modp->stmtsp();
|
||||
}
|
||||
UASSERT(stmtsp, "Variable not under FTASK/MODULE");
|
||||
UASSERT_OBJ(stmtsp, newp, "Variable not under FTASK/MODULE");
|
||||
newp->addNext(stmtsp->unlinkFrBackWithNext());
|
||||
if (m_ftaskp) {
|
||||
m_ftaskp->addStmtsp(newp);
|
||||
|
||||
Reference in New Issue
Block a user