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
@@ -331,7 +331,7 @@ private:
// We're going to need the expression several times in the expanded code,
// so might as well make it a common expression
createDeepTemp(nodep->condp(), false);
nodep->clearCachedPurity();
VIsCached::clearCacheTree();
}
checkNode(nodep);
}