comparison ir/irstruct.h @ 435:74101be2a553

Added type param to DVarValue as DMD sometimes overrides the type of the VarDeclaration. Added support for align(1)/packed structs, other alignments are still ignored. Fixed some problems with accessing lazy arguments.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Wed, 30 Jul 2008 10:12:55 +0200
parents 7ade5e035beb
children eef8ac26c66c
comparison
equal deleted inserted replaced
433:b5f55f471e0b 435:74101be2a553
79 bool hasUnions; 79 bool hasUnions;
80 DUnion* dunion; 80 DUnion* dunion;
81 bool classDeclared; 81 bool classDeclared;
82 bool classDefined; 82 bool classDefined;
83 83
84 bool packed; // true for: align(1) struct S { ... }
85
84 LLGlobalVariable* dwarfComposite; 86 LLGlobalVariable* dwarfComposite;
85 }; 87 };
86 88
87 #endif 89 #endif