Fix purity calculation during V3Const simplifying Ast

This commit is contained in:
Wilson Snyder
2023-10-15 06:25:42 -04:00
parent 46f8a659b3
commit 684aba0e90
9 changed files with 12 additions and 43 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ private:
// MethodCalls not currently supported by inliner, so keep linked
if (!nodep->classOrPackagep() && !VN_IS(nodep, MethodCall)) {
nodep->taskp(nullptr);
nodep->clearCachedPurity();
VIsCached::clearCacheTree();
}
iterateChildren(nodep);
}