| 272 | } |
| 273 | |
| 274 | void BfCompiler::HotData::ClearUnused(bool isHotCompile) |
| 275 | { |
| 276 | BP_ZONE("BfCompiler::HotData::ClearUnused"); |
| 277 | |
| 278 | DeleteUnused(mThisType); |
| 279 | DeleteUnused(mAllocation); |
| 280 | DeleteUnused(mDevirtualizedMethods); |
| 281 | DeleteUnused(mVirtualDecls); |
| 282 | DeleteUnused(mInnerMethods); |
| 283 | |
| 284 | if (isHotCompile) |
| 285 | { |
| 286 | // We need to keep all function pointer references ever, since we can't tell if we still reference them or not |
| 287 | DeleteUnused(mFuncPtrs); |
| 288 | } |
| 289 | } |
| 290 | |
| 291 | BfHotThisType* BfCompiler::HotData::GetThisType(BfHotTypeVersion* hotVersion) |
| 292 | { |
no test coverage detected