Mercurial > projects > ldc
comparison gen/llvmhelpers.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 | b5f55f471e0b |
children | 47b64d06eb9f |
comparison
equal
deleted
inserted
replaced
433:b5f55f471e0b | 435:74101be2a553 |
---|---|
104 | 104 |
105 /// convert DMD calling conv to LLVM | 105 /// convert DMD calling conv to LLVM |
106 unsigned DtoCallingConv(LINK l); | 106 unsigned DtoCallingConv(LINK l); |
107 | 107 |
108 /// | 108 /// |
109 TypeFunction* DtoTypeFunction(Type* type); | 109 TypeFunction* DtoTypeFunction(DValue* fnval); |
110 | 110 |
111 /// | 111 /// |
112 DValue* DtoVaArg(Loc& loc, Type* type, Expression* valistArg); | 112 DValue* DtoVaArg(Loc& loc, Type* type, Expression* valistArg); |
113 | 113 |
114 /// | 114 /// |