- Make PClass derive from DObject so that it can participate in garbage collection.
- Import VM. SVN r1841 (scripting)
This commit is contained in:
parent
45842e28bd
commit
fefc306a54
12 changed files with 3399 additions and 19 deletions
|
|
@ -327,6 +327,15 @@ static void MarkRoot()
|
|||
SectorMarker->SecNum = 0;
|
||||
}
|
||||
Mark(SectorMarker);
|
||||
// Mark symbol tables
|
||||
for (unsigned j = 0; j < PClass::m_Types.Size(); ++j)
|
||||
{
|
||||
PClass *cls = PClass::m_Types[j];
|
||||
if (cls != NULL)
|
||||
{
|
||||
cls->Symbols.MarkSymbols();
|
||||
}
|
||||
}
|
||||
// Mark bot stuff.
|
||||
Mark(bglobal.firstthing);
|
||||
Mark(bglobal.body1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue