MCPcopy Create free account
hub / github.com/beefytech/Beef / ClearTypeData

Method ClearTypeData

IDEHelper/Compiler/CeMachine.cpp:10657–10672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10655}
10656
10657void 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
10674void CeMachine::SetAppendAllocInfo(BfModule* module, BfIRValue allocValue, BfIRValue appendSizeValue)
10675{

Callers 1

RebuildTypeMethod · 0.80

Calls 1

RemoveMethod · 0.45

Tested by

no test coverage detected