Commentary
This commit is contained in:
parent
6cd0948c8c
commit
2df0390c04
|
|
@ -423,7 +423,7 @@ static AstNode* createForeachLoopRanged(AstNodeForeach* nodep, AstNode* bodysp,
|
||||||
: VNType::atGteS);
|
: VNType::atGteS);
|
||||||
}
|
}
|
||||||
AstNode* V3Begin::convertToWhile(AstForeach* nodep) {
|
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);
|
const AstSelLoopVars* const loopsp = VN_CAST(nodep->arrayp(), SelLoopVars);
|
||||||
UASSERT_OBJ(loopsp, nodep, "No loop variables under foreach");
|
UASSERT_OBJ(loopsp, nodep, "No loop variables under foreach");
|
||||||
AstNodeExpr* const fromp = loopsp->fromp();
|
AstNodeExpr* const fromp = loopsp->fromp();
|
||||||
|
|
|
||||||
|
|
@ -2203,7 +2203,7 @@ class WidthVisitor final : public VNVisitor {
|
||||||
// if (debug()) nodep->backp()->dumpTree("- CastOutUpUp: ");
|
// if (debug()) nodep->backp()->dumpTree("- CastOutUpUp: ");
|
||||||
}
|
}
|
||||||
if (m_vup->final()) {
|
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(),
|
iterateCheck(nodep, "value", nodep->fromp(), SELF, FINAL, nodep->fromp()->dtypep(),
|
||||||
EXTEND_EXP, false);
|
EXTEND_EXP, false);
|
||||||
if (debug() >= 9) nodep->dumpTree("- CastFin: ");
|
if (debug() >= 9) nodep->dumpTree("- CastFin: ");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue