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.
This commit is contained in:
Tomas Lindquist Olsen
2008-07-30 10:12:55 +02:00
parent 3b21ae25be
commit 905ca019dd
11 changed files with 43 additions and 32 deletions
+2
View File
@@ -48,6 +48,8 @@ IrStruct::IrStruct(Type* t)
classDeclared = false;
classDefined = false;
packed = false;
dwarfComposite = NULL;
}
+2
View File
@@ -81,6 +81,8 @@ public:
bool classDeclared;
bool classDefined;
bool packed; // true for: align(1) struct S { ... }
LLGlobalVariable* dwarfComposite;
};