Internals: Remove unneeded pure checks. No functional change.

This commit is contained in:
Wilson Snyder
2023-10-14 22:23:58 -04:00
parent b5a6b34968
commit 411f563cbe
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1884,7 +1884,7 @@ private:
AstNodeExpr* const ap = lhsp->lhsp()->unlinkFrBack();
AstNodeExpr* const bp = lhsp->rhsp()->unlinkFrBack();
AstNodeBiop* const shift1p = nodep;
AstNodeBiop* const shift2p = nodep->cloneTreePure(true);
AstNodeBiop* const shift2p = nodep->cloneTree(true);
shift1p->lhsp(ap);
shift1p->rhsp(shiftp->cloneTreePure(true));
shift2p->lhsp(bp);