| 4211 | } |
| 4212 | |
| 4213 | void BfModule::MarkDerivedDirty(BfTypeInstance* typeInst) |
| 4214 | { |
| 4215 | if (!mCompiler->IsHotCompile()) |
| 4216 | return; |
| 4217 | |
| 4218 | typeInst->mDirty = true; |
| 4219 | |
| 4220 | for (auto& dep : typeInst->mDependencyMap) |
| 4221 | { |
| 4222 | auto depType = dep.mKey; |
| 4223 | auto depFlags = dep.mValue.mFlags; |
| 4224 | |
| 4225 | if ((depFlags & BfDependencyMap::DependencyFlag_DerivedFrom) != 0) |
| 4226 | { |
| 4227 | MarkDerivedDirty(depType->ToTypeInstance()); |
| 4228 | } |
| 4229 | } |
| 4230 | } |
| 4231 | |
| 4232 | void BfModule::CreateStaticField(BfFieldInstance* fieldInstance, bool isThreadLocal) |
| 4233 | { |
nothing calls this directly
no test coverage detected