comparison gen/llvmhelpers.h @ 747:46d0755451a4

Added DtoRawVarDeclaration routine to handle special variables in some statements.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sat, 01 Nov 2008 18:25:10 +0100
parents 30b42a283c8e
children 4adf0f742896
comparison
equal deleted inserted replaced
746:693d681c846c 747:46d0755451a4
81 void DtoForceConstInitDsymbol(Dsymbol* dsym); 81 void DtoForceConstInitDsymbol(Dsymbol* dsym);
82 void DtoForceDefineDsymbol(Dsymbol* dsym); 82 void DtoForceDefineDsymbol(Dsymbol* dsym);
83 83
84 // declaration inside a declarationexp 84 // declaration inside a declarationexp
85 DValue* DtoDeclarationExp(Dsymbol* declaration); 85 DValue* DtoDeclarationExp(Dsymbol* declaration);
86 LLValue* DtoRawVarDeclaration(VarDeclaration* var);
86 87
87 // initializer helpers 88 // initializer helpers
88 LLConstant* DtoConstInitializer(Type* type, Initializer* init); 89 LLConstant* DtoConstInitializer(Type* type, Initializer* init);
89 LLConstant* DtoConstFieldInitializer(Type* type, Initializer* init); 90 LLConstant* DtoConstFieldInitializer(Type* type, Initializer* init);
90 DValue* DtoInitializer(LLValue* target, Initializer* init); 91 DValue* DtoInitializer(LLValue* target, Initializer* init);