mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Disable Subst when not pure
This commit is contained in:
+4
-1
@@ -198,7 +198,10 @@ private:
|
||||
}
|
||||
}
|
||||
void visit(AstConst*) override {} // Accelerate
|
||||
void visit(AstNode* nodep) override { iterateChildren(nodep); }
|
||||
void visit(AstNode* nodep) override {
|
||||
if (!nodep->isPure()) m_ok = false;
|
||||
iterateChildren(nodep);
|
||||
}
|
||||
|
||||
public:
|
||||
// CONSTRUCTORS
|
||||
|
||||
Reference in New Issue
Block a user