Marshaling of hasThisPointer property

This commit is contained in:
caheckman 2020-07-23 14:48:03 -04:00
parent afa4994576
commit db139d2b81
4 changed files with 32 additions and 20 deletions

View file

@ -3683,8 +3683,6 @@ void FuncProto::saveXml(ostream &s) const
a_v_b(s,"constructor",true);
if (isDestructor())
a_v_b(s,"destructor",true);
if (hasThisPointer())
a_v_b(s,"hasthis",true);
s << ">\n";
ProtoParameter *outparam = store->getOutput();
s << " <returnsym";
@ -3828,10 +3826,6 @@ void FuncProto::restoreXml(const Element *el,Architecture *glb)
if (xml_readbool(el->getAttributeValue(i)))
flags |= is_destructor;
}
else if (attrname == "hasthis") {
if (xml_readbool(el->getAttributeValue(i)))
flags |= has_thisptr;
}
}
if (mod != (ProtoModel *)0) // If a model was specified
setModel(mod); // This sets extrapop to model default