1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Improvements to multi-extension virtual overrides

This commit is contained in:
Brian Fiete 2022-07-04 10:21:31 -07:00
parent a27ef9beda
commit cbc4888853
9 changed files with 109 additions and 19 deletions

View file

@ -2647,6 +2647,14 @@ void BeIRCodeGen::HandleNextCmd()
func->mName += StrFormat("__RENAME%d", curId);
}
break;
case BfIRCmd_Func_SafeRenameFrom:
{
CMD_PARAM(BeFunction*, func);
CMD_PARAM(String, prevName);
if (func->mName == prevName)
func->mName += StrFormat("__RENAME%d", curId);
}
break;
case BfIRCmd_Func_SetLinkage:
{
CMD_PARAM(BeFunction*, func);