Mercurial > projects > ldc
diff gen/llvmhelpers.h @ 1255:9014d7f0433f
Rewrote runtime struct literal codegen.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Wed, 22 Apr 2009 03:08:28 +0200 |
parents | 83d3b25c2213 |
children | 0686701178d3 |
line wrap: on
line diff
--- a/gen/llvmhelpers.h Wed Apr 22 01:18:21 2009 +0200 +++ b/gen/llvmhelpers.h Wed Apr 22 03:08:28 2009 +0200 @@ -102,6 +102,8 @@ LLConstant* DtoConstExpInit(Loc loc, Type* t, Expression* exp); DValue* DtoInitializer(LLValue* target, Initializer* init); +LLValue* DtoExprValue(Type* type, Expression* e); + // annotation generator void DtoAnnotation(const char* str);