mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fleshing out comptime debugging
This commit is contained in:
parent
ff2e40e3bf
commit
b334423106
28 changed files with 2079 additions and 780 deletions
|
@ -1719,14 +1719,14 @@ void BfContext::DeleteType(BfType* type, bool deferDepRebuilds)
|
|||
for (auto& methodInstGroup : typeInst->mMethodInstanceGroups)
|
||||
{
|
||||
if ((methodInstGroup.mDefault != NULL) && (methodInstGroup.mDefault->mInCEMachine))
|
||||
mCompiler->mCEMachine->RemoveMethod(methodInstGroup.mDefault);
|
||||
mCompiler->mCeMachine->RemoveMethod(methodInstGroup.mDefault);
|
||||
if (methodInstGroup.mMethodSpecializationMap != NULL)
|
||||
{
|
||||
for (auto& methodSpecializationItr : *methodInstGroup.mMethodSpecializationMap)
|
||||
{
|
||||
auto methodInstance = methodSpecializationItr.mValue;
|
||||
if (methodInstance->mInCEMachine)
|
||||
mCompiler->mCEMachine->RemoveMethod(methodInstance);
|
||||
mCompiler->mCeMachine->RemoveMethod(methodInstance);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue