mirror of
https://github.com/verilator/verilator.git
synced 2026-09-08 10:33:20 +02:00
Fix certain generate-if cells causing clone error.
This commit is contained in:
+2
-1
@@ -60,7 +60,8 @@ private:
|
||||
m_modp = holdmodp;
|
||||
}
|
||||
// For speed, don't recurse things that can't have cells
|
||||
virtual void visit(AstNodeStmt*, AstNUser*) {}
|
||||
// Must do statements to support Generates, math though...
|
||||
virtual void visit(AstNodeMath* nodep, AstNUser*) {}
|
||||
virtual void visit(AstNode* nodep, AstNUser*) {
|
||||
// Default: Just iterate
|
||||
nodep->iterateChildren(*this);
|
||||
|
||||
Reference in New Issue
Block a user