mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Cache ConstExpr ToString, fix const arg int comparison in cast
This commit is contained in:
parent
337a94b8b5
commit
d341104a57
5 changed files with 27 additions and 11 deletions
|
@ -2193,9 +2193,14 @@ void BfContext::UpdateRevisedTypes()
|
|||
}
|
||||
|
||||
// Rebuild all types
|
||||
Array<BfType*> allTypes;
|
||||
for (auto type : mResolvedTypes)
|
||||
allTypes.Add(type);
|
||||
|
||||
for (auto type : allTypes)
|
||||
{
|
||||
RebuildType(type);
|
||||
if (!type->IsDeleting())
|
||||
RebuildType(type);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue