mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Internals: Remove unneeded pure checks. No functional change.
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user