| 247 | } |
| 248 | |
| 249 | void BfContext::EnsureHotMangledVirtualMethodNames() |
| 250 | { |
| 251 | BP_ZONE("BfContext::EnsureHotMangledVirtualMethodNames"); |
| 252 | |
| 253 | for (auto type : mResolvedTypes) |
| 254 | { |
| 255 | auto typeInst = type->ToTypeInstance(); |
| 256 | if (typeInst == NULL) |
| 257 | continue; |
| 258 | |
| 259 | for (auto& methodEntry : typeInst->mVirtualMethodTable) |
| 260 | { |
| 261 | BfMethodInstance* methodInstance = methodEntry.mImplementingMethod; |
| 262 | if ((methodInstance != NULL) && (methodInstance->GetMethodInfoEx()->mMangledName.IsEmpty())) |
| 263 | BfMangler::Mangle(methodInstance->GetMethodInfoEx()->mMangledName, mCompiler->GetMangleKind(), methodInstance); |
| 264 | } |
| 265 | } |
| 266 | } |
| 267 | |
| 268 | void BfContext::CheckLockYield() |
| 269 | { |
no test coverage detected