mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Support for marking append-allocated objects (mHasAppendWantMark)
This commit is contained in:
parent
9ae172c43f
commit
9baf0ead21
18 changed files with 475 additions and 103 deletions
|
@ -2670,10 +2670,13 @@ void BFGC::WriteDebugDumpState()
|
|||
{
|
||||
//const bf::System::Type* bfTypeRootData = ((bf::System::Type*)obj->GetTypeSafe())->mTypeRootData;
|
||||
bf::System::Type* bfType = obj->GetTypeSafe();
|
||||
while ((int) debugInfoVector.size() <= bfType->mTypeId)
|
||||
|
||||
auto typeData = bfType->GetTypeData();
|
||||
|
||||
while ((int) debugInfoVector.size() <= typeData->mTypeId)
|
||||
debugInfoVector.push_back(DebugInfo());
|
||||
|
||||
DebugInfo* debugInfo = &debugInfoVector[bfType->mTypeId];
|
||||
DebugInfo* debugInfo = &debugInfoVector[typeData->mTypeId];
|
||||
debugInfo->mType = obj->GetTypeSafe();
|
||||
debugInfo->mCount++;
|
||||
int objSize = BFGetObjectSize(obj);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue