mirror of
https://github.com/verilator/verilator.git
synced 2026-08-31 18:14:33 +02:00
Internals: Make AstArg into an AstNode, not Expr (#7122)
This commit is contained in:
@@ -699,6 +699,12 @@ class RandomizeMarkVisitor final : public VNVisitor {
|
||||
|| (nodep->op3p() && nodep->op3p()->user1())
|
||||
|| (nodep->op4p() && nodep->op4p()->user1()));
|
||||
}
|
||||
void visit(AstArg* nodep) override {
|
||||
iterateChildrenConst(nodep);
|
||||
if (!m_constraintExprGenp && !m_inStdWith) return;
|
||||
nodep->user1(nodep->exprp() && nodep->exprp()->user1());
|
||||
}
|
||||
|
||||
void visit(AstNode* nodep) override { iterateChildrenConst(nodep); }
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user