mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: make AstCFunc::m_isStatic a bool.
All functions are now known to be static or not static when they are created, so turn the isStatic flag into a bool (from VBoolOrUnknown).
This commit is contained in:
@@ -61,7 +61,7 @@ private:
|
||||
if (VN_IS(m_modp, Class)) {
|
||||
funcp->argTypes(EmitCBaseVisitor::symClassVar());
|
||||
callp->argTypes("vlSymsp");
|
||||
} else if (funcp->isStatic().falseUnknown()) {
|
||||
} else if (!funcp->isStatic()) {
|
||||
callp->selfPointer("this");
|
||||
}
|
||||
UINFO(6, " New " << callp << endl);
|
||||
|
||||
Reference in New Issue
Block a user