New guardStore

This commit is contained in:
caheckman 2019-06-25 16:53:49 -04:00
parent cb39d39a23
commit 171602e1ce
6 changed files with 42 additions and 16 deletions

View file

@ -112,20 +112,6 @@ void AddrSpace::truncateSpace(uint4 newsize)
calcScaleMask();
}
/// Check if this space contains \b id2.
/// \param id2 is the space to check
/// \return \b true if \b id2 is contained
bool AddrSpace::contain(AddrSpace *id2) const
{
while(this != id2) {
id2 = id2->getContain();
if (id2 == (AddrSpace *)0)
return false; // No containment
}
return true;
}
/// Write the main XML attributes for an address within this space
/// The caller provides only the \e offset, and this routine fills
/// in other details pertaining to this particular space.