1
0
Fork 0
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:
Brian Fiete 2020-09-21 23:38:50 -07:00
parent 989f9e6019
commit 6878183873
9 changed files with 61 additions and 7 deletions

View file

@ -415,6 +415,7 @@ public:
String mName;
BeConstant* mInitializer;
BfIRLinkageType mLinkageType;
BfIRStorageKind mStorageKind;
bool mIsConstant;
bool mIsTLS;
int mAlign;
@ -429,6 +430,7 @@ public:
if (mInitializer != NULL)
mInitializer->HashReference(hashCtx);
hashCtx.Mixin(mLinkageType);
hashCtx.Mixin(mStorageKind);
hashCtx.Mixin(mIsConstant);
hashCtx.Mixin(mIsTLS);
hashCtx.Mixin(mAlign);