mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 08:24:31 +02:00
Internals: Add addNextNull. No functional change intended.
This commit is contained in:
+1
-1
@@ -2673,7 +2673,7 @@ class RandomizeVisitor final : public VNVisitor {
|
||||
if (!structSelp->dtypep()) structSelp->dtypep(smemberp->subDTypep());
|
||||
randp = newRandStmtsp(fl, structSelp, nullptr, outputVarp);
|
||||
}
|
||||
stmtsp = stmtsp ? stmtsp->addNext(randp) : randp;
|
||||
stmtsp = AstNode::addNextNull(stmtsp, randp);
|
||||
}
|
||||
return stmtsp;
|
||||
} else if (const auto* const unionDtp = VN_CAST(memberDtp, UnionDType)) {
|
||||
|
||||
Reference in New Issue
Block a user