Internals: Clear 'isPure' cache in V3Depth
This commit is contained in:
parent
a4c5d2e29c
commit
cc910fa4c4
|
|
@ -150,6 +150,8 @@ public:
|
||||||
explicit DepthVisitor(AstNetlist* nodep)
|
explicit DepthVisitor(AstNetlist* nodep)
|
||||||
: m_tempNames{"__Vdeeptemp"} {
|
: m_tempNames{"__Vdeeptemp"} {
|
||||||
iterate(nodep);
|
iterate(nodep);
|
||||||
|
// Extracting expressions can effect purity
|
||||||
|
VIsCached::clearCacheTree();
|
||||||
}
|
}
|
||||||
~DepthVisitor() override = default;
|
~DepthVisitor() override = default;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue