mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Properly rebuild operatorInfo table
This commit is contained in:
parent
c76c19e852
commit
f0a6ec4870
1 changed files with 3 additions and 0 deletions
|
@ -1041,6 +1041,9 @@ void BfContext::RebuildType(BfType* type, bool deleteOnDemandTypes, bool rebuild
|
||||||
typeInst->mStaticSearchMap.Clear();
|
typeInst->mStaticSearchMap.Clear();
|
||||||
typeInst->mInterfaces.Clear();
|
typeInst->mInterfaces.Clear();
|
||||||
typeInst->mInterfaceMethodTable.Clear();
|
typeInst->mInterfaceMethodTable.Clear();
|
||||||
|
for (auto operatorInfo : typeInst->mOperatorInfo)
|
||||||
|
delete operatorInfo;
|
||||||
|
typeInst->mOperatorInfo.Clear();
|
||||||
typeInst->mMethodInstanceGroups.Clear();
|
typeInst->mMethodInstanceGroups.Clear();
|
||||||
typeInst->mFieldInstances.Clear();
|
typeInst->mFieldInstances.Clear();
|
||||||
for (auto methodInst : typeInst->mInternalMethods)
|
for (auto methodInst : typeInst->mInternalMethods)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue