Mercurial > projects > ldc
diff gen/llvmhelpers.h @ 372:83ade4f4025a trunk
[svn r393] Started implementation for DtoNullValue.
author | ChristianK |
---|---|
date | Tue, 15 Jul 2008 14:53:16 +0200 |
parents | bfb9d28f045a |
children | 0e6b4d65d3f8 |
line wrap: on
line diff
--- a/gen/llvmhelpers.h Tue Jul 15 10:56:16 2008 +0200 +++ b/gen/llvmhelpers.h Tue Jul 15 14:53:16 2008 +0200 @@ -41,6 +41,9 @@ // basic operations void DtoAssign(DValue* lhs, DValue* rhs); +// create a null dvalue +DValue* DtoNullValue(Type* t); + // casts DValue* DtoCastInt(DValue* val, Type* to); DValue* DtoCastPtr(DValue* val, Type* to);