mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Use lifetime extension for mixin results
This commit is contained in:
parent
1639542fed
commit
ccb1646990
12 changed files with 105 additions and 44 deletions
|
@ -4907,6 +4907,13 @@ BfIRValue BfIRBuilder::CreateLifetimeEnd(BfIRValue val)
|
|||
return retVal;
|
||||
}
|
||||
|
||||
BfIRValue BfIRBuilder::CreateLifetimeSoftEnd(BfIRValue val)
|
||||
{
|
||||
BfIRValue retVal = WriteCmd(BfIRCmd_LifetimeSoftEnd, val);
|
||||
NEW_CMD_INSERTED;
|
||||
return retVal;
|
||||
}
|
||||
|
||||
BfIRValue BfIRBuilder::CreateLifetimeExtend(BfIRValue val)
|
||||
{
|
||||
BfIRValue retVal = WriteCmd(BfIRCmd_LifetimeExtend, val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue