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

Method QueueMethod

IDEHelper/Compiler/CeMachine.cpp:10634–10644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10632}
10633
10634CeFunction* CeMachine::QueueMethod(BfMethodInstance* methodInstance, BfIRValue func)
10635{
10636 if (mPreparingFunction != NULL)
10637 {
10638 auto curOwner = mPreparingFunction->mMethodInstance->GetOwner();
10639 curOwner->mModule->AddDependency(methodInstance->GetOwner(), curOwner, BfDependencyMap::DependencyFlag_ConstEval);
10640 }
10641
10642 bool added = false;
10643 return GetFunction(methodInstance, func, added);
10644}
10645
10646void CeMachine::QueueMethod(BfModuleMethodInstance moduleMethodInstance)
10647{

Callers 6

EmitDtorBodyMethod · 0.80
EmitCtorBodyMethod · 0.80
ExecuteMethod · 0.80
LoadFieldMethod · 0.80
CreateCallMethod · 0.80

Calls 2

AddDependencyMethod · 0.80
GetOwnerMethod · 0.45

Tested by

no test coverage detected