Internals: Add addNextNull. No functional change intended.

This commit is contained in:
Wilson Snyder
2026-02-16 08:09:29 -05:00
parent 821eacebea
commit 14a94b6de9
5 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -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)) {