Skip to content

Commit

Permalink
Replace cloneTree call with cloneTreePure call
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Bieganski <[email protected]>
  • Loading branch information
kbieganski committed Oct 30, 2023
1 parent d1814f0 commit 732f082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/V3SenExprBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class SenExprBuilder final {
const auto& pair = createTerm(senItemp);
if (AstNodeExpr* termp = pair.first) {
AstNodeExpr* const condp = senItemp->condp();
if (condp) termp = new AstAnd{flp, condp->cloneTree(false), termp};
if (condp) termp = new AstAnd{flp, condp->cloneTreePure(false), termp};
resultp = resultp ? new AstOr{flp, resultp, termp} : termp;
firedAtInitialization |= pair.second;
}
Expand Down

0 comments on commit 732f082

Please sign in to comment.