forked from github/verilator
const var fix
This commit is contained in:
parent
240c4e98ac
commit
61394bdece
@ -2095,8 +2095,8 @@ public:
|
|||||||
static int uniqueNumInc() { return ++s_uniqueNum; }
|
static int uniqueNumInc() { return ++s_uniqueNum; }
|
||||||
const char* charIQWN() const { return (isString() ? "N" : isWide() ? "W" : isQuad() ? "Q" : "I"); }
|
const char* charIQWN() const { return (isString() ? "N" : isWide() ? "W" : isQuad() ? "Q" : "I"); }
|
||||||
bool matching(const AstNodeDType* typep) const {
|
bool matching(const AstNodeDType* typep) const {
|
||||||
if (VN_IS(typep, RefDType)) {
|
if (VN_IS(typep, RefDType) || VN_IS(typep, ConstDType)) {
|
||||||
// Follow RefDTypes
|
// Unwrap type wrappers
|
||||||
return typep->match(this);
|
return typep->match(this);
|
||||||
} else {
|
} else {
|
||||||
return match(typep);
|
return match(typep);
|
||||||
|
Loading…
Reference in New Issue
Block a user