Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
371:f2b608012699 | 372:83ade4f4025a |
---|---|
38 LLValue* DtoNestedContext(FuncDeclaration* func); | 38 LLValue* DtoNestedContext(FuncDeclaration* func); |
39 LLValue* DtoNestedVariable(VarDeclaration* vd); | 39 LLValue* DtoNestedVariable(VarDeclaration* vd); |
40 | 40 |
41 // basic operations | 41 // basic operations |
42 void DtoAssign(DValue* lhs, DValue* rhs); | 42 void DtoAssign(DValue* lhs, DValue* rhs); |
43 | |
44 // create a null dvalue | |
45 DValue* DtoNullValue(Type* t); | |
43 | 46 |
44 // casts | 47 // casts |
45 DValue* DtoCastInt(DValue* val, Type* to); | 48 DValue* DtoCastInt(DValue* val, Type* to); |
46 DValue* DtoCastPtr(DValue* val, Type* to); | 49 DValue* DtoCastPtr(DValue* val, Type* to); |
47 DValue* DtoCastFloat(DValue* val, Type* to); | 50 DValue* DtoCastFloat(DValue* val, Type* to); |