- Make TypeTable a GC root.
- Instantiate some basic types. SVN r2298 (scripting)
This commit is contained in:
parent
ee55e0319f
commit
dde5e1928f
3 changed files with 345 additions and 16 deletions
|
|
@ -356,11 +356,8 @@ static void MarkRoot()
|
|||
Mark(*(afunc->VMPointer));
|
||||
}
|
||||
}
|
||||
// Mark classes
|
||||
for (unsigned j = 0; j < PClass::AllClasses.Size(); ++j)
|
||||
{
|
||||
Mark(PClass::AllClasses[j]);
|
||||
}
|
||||
// Mark types
|
||||
TypeTable.Mark();
|
||||
// Mark bot stuff.
|
||||
Mark(bglobal.firstthing);
|
||||
Mark(bglobal.body1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue