diff --git a/src/V3Const.cpp b/src/V3Const.cpp index abe512fef..146386acc 100644 --- a/src/V3Const.cpp +++ b/src/V3Const.cpp @@ -2975,7 +2975,7 @@ private: AstNode* const thensp = nodep->thensp()->unlinkFrBackWithNext(); AstNode* const elsesp = nodep->elsesp()->unlinkFrBackWithNext(); AstIf* const ifp = new AstIf{nodep->fileline(), condp, elsesp, thensp}; - ifp->isBoundsCheck(nodep->isBoundsCheck()); // Copy bounds check info + ifp->isBoundsCheck(nodep->isBoundsCheck()); // Copy bounds check info ifp->branchPred(nodep->branchPred().invert()); nodep->replaceWith(ifp); VL_DO_DANGLING(nodep->deleteTree(), nodep);