mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Marshaling of hasThisPointer property
This commit is contained in:
parent
afa4994576
commit
db139d2b81
4 changed files with 32 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue