mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 00:55:49 +03:00
Reduce size of IrDsymbol even more
resolved/defined/declared/initialized are turned into flags.
This commit is contained in:
parent
18f33b1815
commit
32b1d4cc55
8 changed files with 76 additions and 64 deletions
|
@ -36,8 +36,8 @@ void DtoResolveStruct(StructDeclaration* sd)
|
|||
void DtoResolveStruct(StructDeclaration* sd, Loc& callerLoc)
|
||||
{
|
||||
// Make sure to resolve each struct type exactly once.
|
||||
if (sd->ir.resolved) return;
|
||||
sd->ir.resolved = true;
|
||||
if (sd->ir.isResolved()) return;
|
||||
sd->ir.setResolved();
|
||||
|
||||
IF_LOG Logger::println("Resolving struct type: %s (%s)", sd->toChars(), sd->loc.toChars());
|
||||
LOG_SCOPE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue