1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Temporarily revert decl change due to reification bug

This commit is contained in:
Brian Fiete 2022-06-28 08:53:22 -07:00
parent 1aca5f6771
commit 96de5c9994

View file

@ -2717,6 +2717,9 @@ void BfIRBuilder::CreateTypeDeclaration(BfType* type, bool forceDbgDefine)
if ((typeInstance != NULL) && (typeInstance->mModule != NULL))
populateModule = typeInstance->mModule;
//TODO: Temporary
populateModule = mModule;
bool wantDIData = DbgHasInfo() && (!type->IsUnspecializedType());
// Types that don't have a proper 'defining module' need to be defined in every module they are used