UASSERT_OBJ

This commit is contained in:
Edmund Lam 2026-07-08 10:18:51 -04:00
parent b6b745ffa3
commit 14be536c83
1 changed files with 1 additions and 1 deletions

View File

@ -1323,7 +1323,7 @@ class ParamProcessor final {
if (!structp) break;
AstMemberDType* const foundMemp = VN_CAST(
m_memberMap.findMember(structp, fieldRefp->name()), MemberDType);
if (!foundMemp) break;
UASSERT_OBJ(foundMemp, outerDotp, "member not found in struct/union");
if (!foundMemp->subDTypep()) break;
totalLsb += foundMemp->lsb();
sliceWidth = foundMemp->width();