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

Method SetActiveFunction

IDEHelper/Compiler/BfIRBuilder.cpp:5547–5561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5545}
5546
5547void BfIRBuilder::SetActiveFunction(BfIRFunction func)
5548{
5549 //BfLogSys(mModule->mSystem, "BfIRBuilder::SetActiveFunction: %d\n", func.mId);
5550
5551 if (mActiveFunctionHasBody)
5552 mNumFunctionsWithBodies++;
5553
5554 mActiveFunction = func;
5555 mActiveFunctionHasBody = false;
5556 if (!func.IsFake())
5557 {
5558 WriteCmd(BfIRCmd_SetActiveFunction, func);
5559 NEW_CMD_INSERTED;
5560 }
5561}
5562
5563BfIRFunction BfIRBuilder::GetActiveFunction()
5564{

Callers 9

CreateTypeDataMethod · 0.45
ProcessMethodMethod · 0.45
DbgFinishMethod · 0.45
CreateVDataMethod · 0.45
VisitMethod · 0.45
GetLambdaInstanceMethod · 0.45

Calls 1

IsFakeMethod · 0.45

Tested by

no test coverage detected