mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Support for static field exporting
This commit is contained in:
parent
989f9e6019
commit
6878183873
9 changed files with 61 additions and 7 deletions
|
@ -4395,6 +4395,12 @@ void BfIRBuilder::GlobalVar_SetAlignment(BfIRValue globalVar, int alignment)
|
|||
NEW_CMD_INSERTED;
|
||||
}
|
||||
|
||||
void BfIRBuilder::GlobalVar_SetStorageKind(BfIRValue globalVar, BfIRStorageKind storageKind)
|
||||
{
|
||||
BfIRValue retVal = WriteCmd(BfIRCmd_GlobalVar_SetStorageKind, globalVar, (int)storageKind);
|
||||
NEW_CMD_INSERTED;
|
||||
}
|
||||
|
||||
BfIRValue BfIRBuilder::CreateGlobalStringPtr(const StringImpl& str)
|
||||
{
|
||||
BfIRValue retVal = WriteCmd(BfIRCmd_GlobalStringPtr, str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue