1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Improved virtual overrides in extensions

This commit is contained in:
Brian Fiete 2022-05-07 11:40:55 -07:00
parent 8a84647bcd
commit e1d7939081
11 changed files with 116 additions and 11 deletions

View file

@ -2291,6 +2291,14 @@ void BeIRCodeGen::HandleNextCmd()
SetResult(curId, mBeModule->CreateFunction(type, linkageType, name));
}
break;
case BfIRCmd_SetFunctionName:
{
CMD_PARAM(BeValue*, func);
CMD_PARAM(String, name);
BeFunction* beFunc = BeValueDynCast<BeFunction>(func);
beFunc->mName = name;
}
break;
case BfIRCmd_EnsureFunctionPatchable:
{