add VL_RESTORER for m_clonedConstraints

This commit is contained in:
Yilou Wang 2025-11-05 11:17:53 +01:00
parent 2f3a7549cb
commit d16f3988de
1 changed files with 1 additions and 0 deletions

View File

@ -335,6 +335,7 @@ class RandomizeMarkVisitor final : public VNVisitor {
void visit(AstClass* nodep) override {
VL_RESTORER(m_classp);
VL_RESTORER(m_modp);
VL_RESTORER(m_clonedConstraints);
m_modp = m_classp = nodep;
iterateChildrenConst(nodep);
if (nodep->extendsp()) {