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
@@ -396,7 +396,7 @@ private:
UINFO(9, " New pkg-taskref " << nodep << endl);
} else if (!VN_IS(nodep, MethodCall)) {
nodep->taskp(nullptr);
nodep->clearCachedPurity();
VIsCached::clearCacheTree();
UINFO(9, " New pkg-taskref " << nodep << endl);
}
iterateChildren(nodep);