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:
Geza Lore
2021-06-16 14:24:28 +01:00
parent 6c332a2f8e
commit 729bd268de
7 changed files with 14 additions and 25 deletions
+1 -1
View File
@@ -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);