| 10655 | } |
| 10656 | |
| 10657 | void CeMachine::ClearTypeData(BfTypeInstance* typeInstance) |
| 10658 | { |
| 10659 | if (mTypeInfoMap.Remove(typeInstance)) |
| 10660 | { |
| 10661 | for (auto& methodGroup : typeInstance->mMethodInstanceGroups) |
| 10662 | { |
| 10663 | if (methodGroup.mDefault != NULL) |
| 10664 | mMethodInstanceSet.Remove(methodGroup.mDefault); |
| 10665 | if (methodGroup.mMethodSpecializationMap != NULL) |
| 10666 | { |
| 10667 | for (auto& kv : *methodGroup.mMethodSpecializationMap) |
| 10668 | mMethodInstanceSet.Remove(kv.mValue); |
| 10669 | } |
| 10670 | } |
| 10671 | } |
| 10672 | } |
| 10673 | |
| 10674 | void CeMachine::SetAppendAllocInfo(BfModule* module, BfIRValue allocValue, BfIRValue appendSizeValue) |
| 10675 | { |