mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Fixed some 'var' handling cases where module hasn't failed
This commit is contained in:
parent
7b29a4facb
commit
f830e23c52
3 changed files with 200 additions and 191 deletions
|
@ -2344,7 +2344,8 @@ void BfIRCodeGen::HandleNextCmd()
|
|||
{
|
||||
CMD_PARAM_NOTRANS(llvm::Value*, val);
|
||||
CMD_PARAM(String, name);
|
||||
val->setName(name.c_str());
|
||||
if (!val->getType()->isVoidTy())
|
||||
val->setName(name.c_str());
|
||||
}
|
||||
break;
|
||||
case BfIRCmd_CreateUndefValue:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue