1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

IsThreadLocal fixes

This commit is contained in:
Brian Fiete 2024-03-02 06:04:44 -05:00
parent 5387313269
commit 43e718b24e
3 changed files with 4 additions and 8 deletions

View file

@ -19959,7 +19959,7 @@ void BfModule::EmitGCMarkMembers()
auto fieldDef = fieldInst.GetFieldDef();
if (fieldDef == NULL)
continue;
if (fieldInst.mIsThreadLocal)
if (IsThreadLocal(&fieldInst))
continue;
if (fieldDef->mIsStatic == methodDef->mIsStatic)
@ -20038,7 +20038,7 @@ void BfModule::EmitGCFindTLSMembers()
auto fieldDef = fieldInst.GetFieldDef();
if (fieldDef == NULL)
continue;
if (!fieldInst.mIsThreadLocal)
if (!IsThreadLocal(&fieldInst))
continue;
// For extensions, only handle these fields in the appropriate extension