mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Added GetFieldReference, ability to explicitly reference in Variant
This commit is contained in:
parent
5cfe9e6196
commit
78dd56d6c5
11 changed files with 279 additions and 54 deletions
|
@ -6312,6 +6312,7 @@ BfIRValue BfModule::CreateTypeData(BfType* type, Dictionary<int, int>& usedStrin
|
|||
{
|
||||
typeDataVar = mBfIRBuilder->CreateGlobalVariable(typeInstanceDataType, true,
|
||||
BfIRLinkageType_External, typeInstanceData, typeDataName);
|
||||
mBfIRBuilder->GlobalVar_SetAlignment(typeDataVar, mSystem->mPtrSize);
|
||||
|
||||
if (mBfIRBuilder->DbgHasInfo())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue