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

Method PrepareForIRWriting

IDEHelper/Compiler/BfModule.cpp:1218–1232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1216}
1217
1218void BfModule::PrepareForIRWriting(BfTypeInstance* typeInst)
1219{
1220 if (HasCompiledOutput())
1221 {
1222 // It's possible that the target's code hasn't changed but we're requesting a new generic method specialization
1223 if ((!mIsModuleMutable) && (!typeInst->IsUnspecializedType()) && (!typeInst->mResolvingVarField))
1224 {
1225 StartExtension();
1226 }
1227 }
1228 else
1229 {
1230 EnsureIRBuilder();
1231 }
1232}
1233
1234void BfModule::SetupIRBuilder(bool dbgVerifyCodeGen)
1235{

Callers 5

GetMethodInstanceMethod · 0.80
ProcessWorkListMethod · 0.80
PopulateTypeMethod · 0.80
AddMethodToWorkListMethod · 0.80

Calls 1

IsUnspecializedTypeMethod · 0.45

Tested by

no test coverage detected