Commentary

This commit is contained in:
Wilson Snyder 2025-06-25 21:14:25 -04:00
parent 6cd0948c8c
commit 2df0390c04
2 changed files with 2 additions and 2 deletions

View File

@ -423,7 +423,7 @@ static AstNode* createForeachLoopRanged(AstNodeForeach* nodep, AstNode* bodysp,
: VNType::atGteS);
}
AstNode* V3Begin::convertToWhile(AstForeach* nodep) {
// if (debug()) dumpTree(cout, "- foreach-old: ");
// if (debug()) dumpTree("- foreach-old: ");
const AstSelLoopVars* const loopsp = VN_CAST(nodep->arrayp(), SelLoopVars);
UASSERT_OBJ(loopsp, nodep, "No loop variables under foreach");
AstNodeExpr* const fromp = loopsp->fromp();

View File

@ -2203,7 +2203,7 @@ class WidthVisitor final : public VNVisitor {
// if (debug()) nodep->backp()->dumpTree("- CastOutUpUp: ");
}
if (m_vup->final()) {
if (debug() >= 9) nodep->dumpTree(cout, "- CastFPit: ");
if (debug() >= 9) nodep->dumpTree("- CastFPit: ");
iterateCheck(nodep, "value", nodep->fromp(), SELF, FINAL, nodep->fromp()->dtypep(),
EXTEND_EXP, false);
if (debug() >= 9) nodep->dumpTree("- CastFin: ");