mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
var-return support for const eval methods
This commit is contained in:
parent
585e2575e8
commit
706fe9e04b
15 changed files with 292 additions and 60 deletions
|
@ -3522,7 +3522,11 @@ void BfIRCodeGen::HandleNextCmd()
|
|||
NULL, llvm::GlobalValue::NotThreadLocal);
|
||||
}
|
||||
else
|
||||
func->addAttribute(argIdx, LLVMMapAttribute(attribute));
|
||||
{
|
||||
auto attr = LLVMMapAttribute(attribute);
|
||||
if (attr != llvm::Attribute::None)
|
||||
func->addAttribute(argIdx, attr);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case BfIRCmd_Func_AddAttribute1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue