mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed enum with extension with ToString override
This commit is contained in:
parent
38d2eff3f6
commit
f09a9b41f1
6 changed files with 25 additions and 14 deletions
|
@ -3520,6 +3520,12 @@ void BfIRCodeGen::HandleNextCmd()
|
|||
((llvm::Function*)func)->deleteBody();
|
||||
}
|
||||
break;
|
||||
case BfIRCmd_Func_SafeRename:
|
||||
{
|
||||
CMD_PARAM(llvm::Function*, func);
|
||||
func->setName((Beefy::String(func->getName()) + StrFormat("__RENAME%d", curId)).c_str());
|
||||
}
|
||||
break;
|
||||
case BfIRCmd_Func_SetLinkage:
|
||||
{
|
||||
CMD_PARAM(llvm::Function*, func);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue