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

Method MarkDerivedDirty

IDEHelper/Compiler/BfModule.cpp:4213–4230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4211}
4212
4213void 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
4232void BfModule::CreateStaticField(BfFieldInstance* fieldInstance, bool isThreadLocal)
4233{

Callers

nothing calls this directly

Calls 2

IsHotCompileMethod · 0.45
ToTypeInstanceMethod · 0.45

Tested by

no test coverage detected