Internals: Remove AstCondBound and AstNodeCond (#6293) (#6294)

Fixes #6293
This commit is contained in:
Geza Lore
2025-08-15 15:49:06 -07:00
committed by GitHub
parent d273e2cbd0
commit 6f69c990fd
18 changed files with 70 additions and 114 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ class CastVisitor final : public VNVisitor {
if (nodep->sizeMattersLhs()) ensureCast(nodep->lhsp());
if (nodep->sizeMattersRhs()) ensureCast(nodep->rhsp());
}
void visit(AstNodeCond* nodep) override {
void visit(AstCond* nodep) override {
// All class types are castable to each other. If they are of different types,
// a compilation error will be thrown, so an explicit cast is required. Types were
// already checked by V3Width and dtypep of a condition operator is a type of their