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:
parent
c7f76f879a
commit
54fa1e0811
4 changed files with 35 additions and 38 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue