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

Changed debug info for enums

This commit is contained in:
Brian Fiete 2019-11-02 06:02:00 -07:00
parent c7f76f879a
commit 54fa1e0811
4 changed files with 35 additions and 38 deletions

View file

@ -999,17 +999,11 @@ bool DbgType::IsValueType()
}
bool DbgType::IsTypedPrimitive()
{
{
if (mTypeCode != DbgType_Struct)
return false;
auto baseType = GetBaseType();
if (baseType == NULL)
return false;
if (!baseType->IsPrimitiveType() && !baseType->IsTypedPrimitive())
return false;
if (mTypeParam == NULL)
mTypeParam = baseType;
return true;
return mTypeParam != NULL;
}
bool DbgType::IsBoolean()
@ -5007,9 +5001,6 @@ void DbgModule::CommitHotTargetSections()
void DbgModule::HotReplaceType(DbgType* newType)
{
if (!newType->IsCompositeType())
return;
auto linkedModule = GetLinkedModule();
newType->PopulateType();