Internals: Remove some unneeded this->. No functional change.
This commit is contained in:
parent
8026b2a7f3
commit
9632dfdf93
|
|
@ -532,7 +532,7 @@ public:
|
|||
AstCDType(FileLine* fl, const string& name)
|
||||
: ASTGEN_SUPER_CDType(fl)
|
||||
, m_name{name} {
|
||||
this->dtypep(this);
|
||||
dtypep(this);
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
@ -572,8 +572,8 @@ public:
|
|||
AstClassRefDType(FileLine* fl, AstClass* classp, AstPin* paramsp)
|
||||
: ASTGEN_SUPER_ClassRefDType(fl)
|
||||
, m_classp{classp} {
|
||||
this->dtypep(this);
|
||||
this->addParamsp(paramsp);
|
||||
dtypep(this);
|
||||
addParamsp(paramsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstClassRefDType;
|
||||
// METHODS
|
||||
|
|
@ -1075,7 +1075,7 @@ class AstQueueDType final : public AstNodeDType {
|
|||
public:
|
||||
AstQueueDType(FileLine* fl, VFlagChildDType, AstNodeDType* dtp, AstNodeExpr* boundp)
|
||||
: ASTGEN_SUPER_QueueDType(fl) {
|
||||
this->childDTypep(dtp);
|
||||
childDTypep(dtp);
|
||||
this->boundp(boundp);
|
||||
refDTypep(nullptr);
|
||||
dtypep(nullptr); // V3Width will resolve
|
||||
|
|
@ -1135,7 +1135,7 @@ public:
|
|||
AstRefDType(FileLine* fl, const string& name, AstNodeExpr* classOrPackagep, AstPin* paramsp)
|
||||
: ASTGEN_SUPER_RefDType(fl)
|
||||
, m_name{name} {
|
||||
this->classOrPackageOpp(classOrPackagep);
|
||||
classOrPackageOpp(classOrPackagep);
|
||||
addParamsp(paramsp);
|
||||
}
|
||||
class FlagTypeOfExpr {}; // type(expr) for parser only
|
||||
|
|
@ -1352,7 +1352,7 @@ class AstUnpackArrayDType final : public AstNodeArrayDType {
|
|||
public:
|
||||
AstUnpackArrayDType(FileLine* fl, VFlagChildDType, AstNodeDType* dtp, AstRange* rangep)
|
||||
: ASTGEN_SUPER_UnpackArrayDType(fl) {
|
||||
this->childDTypep(dtp); // Only for parser
|
||||
childDTypep(dtp); // Only for parser
|
||||
this->rangep(rangep);
|
||||
refDTypep(nullptr);
|
||||
dtypep(nullptr); // V3Width will resolve
|
||||
|
|
|
|||
|
|
@ -243,12 +243,12 @@ protected:
|
|||
AstNodeFTaskRef(VNType t, FileLine* fl, AstNode* namep, AstNodeExpr* pinsp)
|
||||
: AstNodeExpr{t, fl} {
|
||||
this->namep(namep);
|
||||
this->addPinsp(pinsp);
|
||||
addPinsp(pinsp);
|
||||
}
|
||||
AstNodeFTaskRef(VNType t, FileLine* fl, const string& name, AstNodeExpr* pinsp)
|
||||
: AstNodeExpr{t, fl}
|
||||
, m_name{name} {
|
||||
this->addPinsp(pinsp);
|
||||
addPinsp(pinsp);
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
@ -648,7 +648,7 @@ public:
|
|||
: ASTGEN_SUPER_CMethodHard(fl)
|
||||
, m_name{name} {
|
||||
this->fromp(fromp);
|
||||
this->addPinsp(pinsp);
|
||||
addPinsp(pinsp);
|
||||
setPurity();
|
||||
}
|
||||
ASTGEN_MEMBERS_AstCMethodHard;
|
||||
|
|
@ -675,7 +675,7 @@ public:
|
|||
AstCast(FileLine* fl, AstNodeExpr* fromp, VFlagChildDType, AstNodeDType* dtp)
|
||||
: ASTGEN_SUPER_Cast(fl) {
|
||||
this->fromp(fromp);
|
||||
this->childDTypep(dtp);
|
||||
childDTypep(dtp);
|
||||
dtypeFrom(dtp);
|
||||
}
|
||||
AstCast(FileLine* fl, AstNodeExpr* fromp, AstNodeDType* dtp)
|
||||
|
|
@ -729,7 +729,7 @@ public:
|
|||
AstCellArrayRef(FileLine* fl, const string& name, AstNodeExpr* selp)
|
||||
: ASTGEN_SUPER_CellArrayRef(fl)
|
||||
, m_name{name} {
|
||||
this->addSelp(selp);
|
||||
addSelp(selp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstCellArrayRef;
|
||||
// ACCESSORS
|
||||
|
|
@ -770,7 +770,7 @@ public:
|
|||
: ASTGEN_SUPER_ClassOrPackageRef(fl)
|
||||
, m_name{name}
|
||||
, m_classOrPackageNodep{classOrPackageNodep} {
|
||||
this->addParamsp(paramsp);
|
||||
addParamsp(paramsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstClassOrPackageRef;
|
||||
// METHODS
|
||||
|
|
@ -877,7 +877,7 @@ public:
|
|||
AstConsPackMember* membersp = nullptr)
|
||||
: ASTGEN_SUPER_ConsPackUOrStruct(fl) {
|
||||
this->dtypep(dtypep);
|
||||
this->addMembersp(membersp);
|
||||
addMembersp(membersp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstConsPackUOrStruct;
|
||||
const char* broken() const override {
|
||||
|
|
@ -1163,7 +1163,7 @@ public:
|
|||
AstDist(FileLine* fl, AstNodeExpr* exprp, AstDistItem* itemsp)
|
||||
: ASTGEN_SUPER_Inside(fl) {
|
||||
this->exprp(exprp);
|
||||
this->addItemsp(itemsp);
|
||||
addItemsp(itemsp);
|
||||
dtypeSetBit();
|
||||
}
|
||||
ASTGEN_MEMBERS_AstDist;
|
||||
|
|
@ -1553,7 +1553,7 @@ public:
|
|||
AstInside(FileLine* fl, AstNodeExpr* exprp, AstNodeExpr* itemsp)
|
||||
: ASTGEN_SUPER_Inside(fl) {
|
||||
this->exprp(exprp);
|
||||
this->addItemsp(itemsp);
|
||||
addItemsp(itemsp);
|
||||
dtypeSetBit();
|
||||
}
|
||||
ASTGEN_MEMBERS_AstInside;
|
||||
|
|
@ -1745,7 +1745,7 @@ class AstPatMember final : public AstNodeExpr {
|
|||
public:
|
||||
AstPatMember(FileLine* fl, AstNodeExpr* lhssp, AstNode* keyp, AstNodeExpr* repp)
|
||||
: ASTGEN_SUPER_PatMember(fl) {
|
||||
this->addLhssp(lhssp);
|
||||
addLhssp(lhssp);
|
||||
this->keyp(keyp);
|
||||
this->repp(repp);
|
||||
}
|
||||
|
|
@ -1942,7 +1942,7 @@ public:
|
|||
AstSScanF(FileLine* fl, const string& text, AstNode* fromp, AstNode* exprsp)
|
||||
: ASTGEN_SUPER_SScanF(fl)
|
||||
, m_text{text} {
|
||||
this->addExprsp(exprsp);
|
||||
addExprsp(exprsp);
|
||||
this->fromp(fromp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstSScanF;
|
||||
|
|
@ -2030,7 +2030,7 @@ public:
|
|||
AstSelLoopVars(FileLine* fl, AstNodeExpr* fromp, AstNode* elementsp)
|
||||
: ASTGEN_SUPER_SelLoopVars(fl) {
|
||||
this->fromp(fromp);
|
||||
this->addElementsp(elementsp);
|
||||
addElementsp(elementsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstSelLoopVars;
|
||||
bool sameNode(const AstNode* /*samep*/) const override { return true; }
|
||||
|
|
@ -2151,7 +2151,7 @@ class AstSysIgnore final : public AstNodeExpr {
|
|||
public:
|
||||
AstSysIgnore(FileLine* fl, AstNode* exprsp)
|
||||
: ASTGEN_SUPER_SysIgnore(fl) {
|
||||
this->addExprsp(exprsp);
|
||||
addExprsp(exprsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstSysIgnore;
|
||||
string verilogKwd() const override { return "$ignored"; }
|
||||
|
|
@ -2262,7 +2262,7 @@ class AstUCFunc final : public AstNodeExpr {
|
|||
public:
|
||||
AstUCFunc(FileLine* fl, AstNode* exprsp)
|
||||
: ASTGEN_SUPER_UCFunc(fl) {
|
||||
this->addExprsp(exprsp);
|
||||
addExprsp(exprsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstUCFunc;
|
||||
bool cleanOut() const override { return false; }
|
||||
|
|
@ -2344,7 +2344,7 @@ public:
|
|||
: ASTGEN_SUPER_With(fl) {
|
||||
this->indexArgRefp(indexArgRefp);
|
||||
this->valueArgRefp(valueArgRefp);
|
||||
this->addExprp(exprp);
|
||||
addExprp(exprp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstWith;
|
||||
bool sameNode(const AstNode* /*samep*/) const override { return true; }
|
||||
|
|
@ -2369,7 +2369,7 @@ public:
|
|||
AstWithParse(FileLine* fl, AstNodeExpr* funcrefp, AstNode* exprsp)
|
||||
: ASTGEN_SUPER_WithParse(fl) {
|
||||
this->funcrefp(funcrefp);
|
||||
this->addExprsp(exprsp);
|
||||
addExprsp(exprsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstWithParse;
|
||||
bool sameNode(const AstNode* /*samep*/) const override { return true; }
|
||||
|
|
|
|||
|
|
@ -388,7 +388,7 @@ protected:
|
|||
AstNodeCase(VNType t, FileLine* fl, AstNodeExpr* exprp, AstCaseItem* itemsp)
|
||||
: AstNodeStmt{t, fl} {
|
||||
this->exprp(exprp);
|
||||
this->addItemsp(itemsp);
|
||||
addItemsp(itemsp);
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
@ -414,7 +414,7 @@ public:
|
|||
, m_type{type}
|
||||
, m_directive{directive} {
|
||||
this->propp(propp);
|
||||
this->addPasssp(passsp);
|
||||
addPasssp(passsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstNodeCoverOrAssert;
|
||||
string name() const override VL_MT_STABLE { return m_name; } // * = Var name
|
||||
|
|
@ -440,10 +440,10 @@ protected:
|
|||
AstNodeFor(VNType t, FileLine* fl, AstNode* initsp, AstNodeExpr* condp, AstNode* incsp,
|
||||
AstNode* stmtsp)
|
||||
: AstNodeStmt{t, fl} {
|
||||
this->addInitsp(initsp);
|
||||
addInitsp(initsp);
|
||||
this->condp(condp);
|
||||
this->addIncsp(incsp);
|
||||
this->addStmtsp(stmtsp);
|
||||
addIncsp(incsp);
|
||||
addStmtsp(stmtsp);
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
@ -459,7 +459,7 @@ public:
|
|||
AstNodeForeach(VNType t, FileLine* fl, AstNode* arrayp, AstNode* stmtsp)
|
||||
: AstNodeStmt(t, fl) {
|
||||
this->arrayp(arrayp);
|
||||
this->addStmtsp(stmtsp);
|
||||
addStmtsp(stmtsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstNodeForeach;
|
||||
bool isGateOptimizable() const override { return false; }
|
||||
|
|
@ -477,8 +477,8 @@ protected:
|
|||
AstNodeIf(VNType t, FileLine* fl, AstNodeExpr* condp, AstNode* thensp, AstNode* elsesp)
|
||||
: AstNodeStmt{t, fl} {
|
||||
this->condp(condp);
|
||||
this->addThensp(thensp);
|
||||
this->addElsesp(elsesp);
|
||||
addThensp(thensp);
|
||||
addElsesp(elsesp);
|
||||
isBoundsCheck(false);
|
||||
}
|
||||
|
||||
|
|
@ -598,7 +598,7 @@ public:
|
|||
: ASTGEN_SUPER_Bind(fl)
|
||||
, m_name{name} {
|
||||
UASSERT_OBJ(VN_IS(cellsp, Cell), cellsp, "Only instances allowed to be bound");
|
||||
this->addCellsp(cellsp);
|
||||
addCellsp(cellsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstBind;
|
||||
// ACCESSORS
|
||||
|
|
@ -762,7 +762,7 @@ class AstCLocalScope final : public AstNode {
|
|||
public:
|
||||
AstCLocalScope(FileLine* fl, AstNode* stmtsp)
|
||||
: ASTGEN_SUPER_CLocalScope(fl) {
|
||||
this->addStmtsp(stmtsp);
|
||||
addStmtsp(stmtsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstCLocalScope;
|
||||
};
|
||||
|
|
@ -790,8 +790,8 @@ class AstCaseItem final : public AstNode {
|
|||
public:
|
||||
AstCaseItem(FileLine* fl, AstNodeExpr* condsp, AstNode* stmtsp)
|
||||
: ASTGEN_SUPER_CaseItem(fl) {
|
||||
this->addCondsp(condsp);
|
||||
this->addStmtsp(stmtsp);
|
||||
addCondsp(condsp);
|
||||
addStmtsp(stmtsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstCaseItem;
|
||||
int instrCount() const override { return widthInstrs() + INSTR_COUNT_BRANCH; }
|
||||
|
|
@ -824,8 +824,8 @@ public:
|
|||
, m_hasIfaceVar{false}
|
||||
, m_recursive{false}
|
||||
, m_trace{true} {
|
||||
this->addPinsp(pinsp);
|
||||
this->addParamsp(paramsp);
|
||||
addPinsp(pinsp);
|
||||
addParamsp(paramsp);
|
||||
this->rangep(rangep);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstCell;
|
||||
|
|
@ -1037,7 +1037,7 @@ public:
|
|||
AstConstraint(FileLine* fl, const string& name, AstNode* itemsp)
|
||||
: ASTGEN_SUPER_Constraint(fl)
|
||||
, m_name(name) {
|
||||
this->addItemsp(itemsp);
|
||||
addItemsp(itemsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstConstraint;
|
||||
void dump(std::ostream& str) const override;
|
||||
|
|
@ -1067,8 +1067,8 @@ class AstConstraintBefore final : public AstNode {
|
|||
public:
|
||||
AstConstraintBefore(FileLine* fl, AstNodeExpr* lhssp, AstNodeExpr* rhssp)
|
||||
: ASTGEN_SUPER_ConstraintBefore(fl) {
|
||||
this->addLhssp(lhssp);
|
||||
this->addRhssp(rhssp);
|
||||
addLhssp(lhssp);
|
||||
addRhssp(rhssp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstConstraintBefore;
|
||||
bool isGateOptimizable() const override { return false; }
|
||||
|
|
@ -1187,7 +1187,7 @@ class AstImplicit final : public AstNode {
|
|||
public:
|
||||
AstImplicit(FileLine* fl, AstNode* exprsp)
|
||||
: ASTGEN_SUPER_Implicit(fl) {
|
||||
this->addExprsp(exprsp);
|
||||
addExprsp(exprsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstImplicit;
|
||||
};
|
||||
|
|
@ -1250,7 +1250,7 @@ public:
|
|||
AstModport(FileLine* fl, const string& name, AstNode* varsp)
|
||||
: ASTGEN_SUPER_Modport(fl)
|
||||
, m_name{name} {
|
||||
this->addVarsp(varsp);
|
||||
addVarsp(varsp);
|
||||
}
|
||||
string verilogKwd() const override { return "modport"; }
|
||||
string name() const override VL_MT_STABLE { return m_name; }
|
||||
|
|
@ -1645,7 +1645,7 @@ class AstSenTree final : public AstNode {
|
|||
public:
|
||||
AstSenTree(FileLine* fl, AstSenItem* sensesp)
|
||||
: ASTGEN_SUPER_SenTree(fl) {
|
||||
this->addSensesp(sensesp);
|
||||
addSensesp(sensesp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstSenTree;
|
||||
void dump(std::ostream& str) const override;
|
||||
|
|
@ -1797,7 +1797,7 @@ class AstUdpTable final : public AstNode {
|
|||
public:
|
||||
AstUdpTable(FileLine* fl, AstUdpTableLine* linesp)
|
||||
: ASTGEN_SUPER_UdpTable(fl) {
|
||||
this->addLinesp(linesp);
|
||||
addLinesp(linesp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstUdpTable;
|
||||
};
|
||||
|
|
@ -2783,7 +2783,7 @@ class AstCStmt final : public AstNodeStmt {
|
|||
public:
|
||||
AstCStmt(FileLine* fl, AstNode* exprsp)
|
||||
: ASTGEN_SUPER_CStmt(fl) {
|
||||
this->addExprsp(exprsp);
|
||||
addExprsp(exprsp);
|
||||
}
|
||||
inline AstCStmt(FileLine* fl, const string& textStmt);
|
||||
ASTGEN_MEMBERS_AstCStmt;
|
||||
|
|
@ -2832,7 +2832,7 @@ class AstConstraintUnique final : public AstNodeStmt {
|
|||
public:
|
||||
AstConstraintUnique(FileLine* fl, AstNode* rangesp)
|
||||
: ASTGEN_SUPER_ConstraintUnique(fl) {
|
||||
this->addRangesp(rangesp);
|
||||
addRangesp(rangesp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstConstraintUnique;
|
||||
bool isGateOptimizable() const override { return false; }
|
||||
|
|
@ -2998,14 +2998,14 @@ public:
|
|||
AstNodeExpr* exprsp, char missingArgChar = 'd')
|
||||
: ASTGEN_SUPER_Display(fl)
|
||||
, m_displayType{dispType} {
|
||||
this->fmtp(new AstSFormatF{fl, text, true, exprsp, missingArgChar});
|
||||
fmtp(new AstSFormatF{fl, text, true, exprsp, missingArgChar});
|
||||
this->filep(filep);
|
||||
}
|
||||
AstDisplay(FileLine* fl, VDisplayType dispType, AstNodeExpr* filep, AstNodeExpr* exprsp,
|
||||
char missingArgChar = 'd')
|
||||
: ASTGEN_SUPER_Display(fl)
|
||||
, m_displayType{dispType} {
|
||||
this->fmtp(new AstSFormatF{fl, AstSFormatF::NoFormat{}, exprsp, missingArgChar});
|
||||
fmtp(new AstSFormatF{fl, AstSFormatF::NoFormat{}, exprsp, missingArgChar});
|
||||
this->filep(filep);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstDisplay;
|
||||
|
|
@ -3078,7 +3078,7 @@ public:
|
|||
AstEventControl(FileLine* fl, AstSenTree* sensesp, AstNode* stmtsp)
|
||||
: ASTGEN_SUPER_EventControl(fl) {
|
||||
this->sensesp(sensesp);
|
||||
this->addStmtsp(stmtsp);
|
||||
addStmtsp(stmtsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstEventControl;
|
||||
string verilogKwd() const override { return "@(%l) %r"; }
|
||||
|
|
@ -3159,7 +3159,7 @@ public:
|
|||
// After construction must call ->labelp to associate with appropriate label
|
||||
AstJumpBlock(FileLine* fl, AstNode* stmtsp)
|
||||
: ASTGEN_SUPER_JumpBlock(fl) {
|
||||
this->addStmtsp(stmtsp);
|
||||
addStmtsp(stmtsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstJumpBlock;
|
||||
const char* broken() const override;
|
||||
|
|
@ -3291,7 +3291,7 @@ public:
|
|||
AstRepeat(FileLine* fl, AstNodeExpr* countp, AstNode* stmtsp)
|
||||
: ASTGEN_SUPER_Repeat(fl) {
|
||||
this->countp(countp);
|
||||
this->addStmtsp(stmtsp);
|
||||
addStmtsp(stmtsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstRepeat;
|
||||
bool isGateOptimizable() const override { return false; } // Not relevant - converted to FOR
|
||||
|
|
@ -3320,12 +3320,12 @@ public:
|
|||
AstSFormat(FileLine* fl, AstNodeExpr* lhsp, const string& text, AstNodeExpr* exprsp,
|
||||
char missingArgChar = 'd')
|
||||
: ASTGEN_SUPER_SFormat(fl) {
|
||||
this->fmtp(new AstSFormatF{fl, text, true, exprsp, missingArgChar});
|
||||
fmtp(new AstSFormatF{fl, text, true, exprsp, missingArgChar});
|
||||
this->lhsp(lhsp);
|
||||
}
|
||||
AstSFormat(FileLine* fl, AstNodeExpr* lhsp, AstNodeExpr* exprsp, char missingArgChar = 'd')
|
||||
: ASTGEN_SUPER_SFormat(fl) {
|
||||
this->fmtp(new AstSFormatF{fl, AstSFormatF::NoFormat{}, exprsp, missingArgChar});
|
||||
fmtp(new AstSFormatF{fl, AstSFormatF::NoFormat{}, exprsp, missingArgChar});
|
||||
this->lhsp(lhsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstSFormat;
|
||||
|
|
@ -3555,7 +3555,7 @@ class AstUCStmt final : public AstNodeStmt {
|
|||
public:
|
||||
AstUCStmt(FileLine* fl, AstNode* exprsp)
|
||||
: ASTGEN_SUPER_UCStmt(fl) {
|
||||
this->addExprsp(exprsp);
|
||||
addExprsp(exprsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstUCStmt;
|
||||
bool isGateOptimizable() const override { return false; }
|
||||
|
|
@ -3571,7 +3571,7 @@ public:
|
|||
AstWait(FileLine* fl, AstNodeExpr* condp, AstNode* stmtsp)
|
||||
: ASTGEN_SUPER_Wait(fl) {
|
||||
this->condp(condp);
|
||||
this->addStmtsp(stmtsp);
|
||||
addStmtsp(stmtsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstWait;
|
||||
bool isFirstInMyListOfStatements(AstNode* n) const override { return n == stmtsp(); }
|
||||
|
|
@ -3595,8 +3595,8 @@ public:
|
|||
AstWhile(FileLine* fl, AstNodeExpr* condp, AstNode* stmtsp = nullptr, AstNode* incsp = nullptr)
|
||||
: ASTGEN_SUPER_While(fl) {
|
||||
this->condp(condp);
|
||||
this->addStmtsp(stmtsp);
|
||||
this->addIncsp(incsp);
|
||||
addStmtsp(stmtsp);
|
||||
addIncsp(incsp);
|
||||
}
|
||||
ASTGEN_MEMBERS_AstWhile;
|
||||
void dump(std::ostream& str) const override;
|
||||
|
|
@ -3771,7 +3771,7 @@ public:
|
|||
AstAssert(FileLine* fl, AstNode* propp, AstNode* passsp, AstNode* failsp, VAssertType type,
|
||||
VAssertDirectiveType directive, const string& name = "")
|
||||
: ASTGEN_SUPER_Assert(fl, propp, passsp, type, directive, name) {
|
||||
this->addFailsp(failsp);
|
||||
addFailsp(failsp);
|
||||
}
|
||||
};
|
||||
class AstAssertIntrinsic final : public AstNodeCoverOrAssert {
|
||||
|
|
@ -3784,7 +3784,7 @@ public:
|
|||
// Intrinsic asserts are always enabled thus 'type' field is set to INTERNAL.
|
||||
: ASTGEN_SUPER_AssertIntrinsic(fl, propp, passsp, VAssertType::INTERNAL,
|
||||
VAssertDirectiveType::INTRINSIC, name) {
|
||||
this->addFailsp(failsp);
|
||||
addFailsp(failsp);
|
||||
}
|
||||
};
|
||||
class AstCover final : public AstNodeCoverOrAssert {
|
||||
|
|
|
|||
Loading…
Reference in New Issue