UASSERT_OBJ
This commit is contained in:
parent
b6b745ffa3
commit
14be536c83
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue