Internals: Use pushDelete for empty unrolls. Theoretical problem only.
This commit is contained in:
parent
0d4270c979
commit
30aa180211
|
|
@ -404,7 +404,7 @@ private:
|
|||
// we'd need to initialize the variable to the initial
|
||||
// condition, but they'll become while's which can be
|
||||
// deleted by V3Const.
|
||||
nodep->unlinkFrBack()->deleteTree(); VL_DANGLING(nodep);
|
||||
pushDeletep(nodep->unlinkFrBack()); VL_DANGLING(nodep);
|
||||
} else if (forUnrollCheck(nodep, nodep->initsp(),
|
||||
NULL, nodep->condp(),
|
||||
nodep->incsp(), nodep->bodysp())) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue