Mercurial > projects > ldc
comparison gen/llvmhelpers.h @ 365:bfb9d28f045a trunk
[svn r386] Fixed broken DtoBoolean.
Some code cleanup.
author | lindquist |
---|---|
date | Tue, 15 Jul 2008 00:17:03 +0200 |
parents | 44daf304421c |
children | 83ade4f4025a |
comparison
equal
deleted
inserted
replaced
364:8014dbd24605 | 365:bfb9d28f045a |
---|---|
96 * @param thismem Optionally the LLValue for the 'this' argument. | 96 * @param thismem Optionally the LLValue for the 'this' argument. |
97 * @return The function call's return value. | 97 * @return The function call's return value. |
98 */ | 98 */ |
99 DValue* DtoCallDFunc(FuncDeclaration* fdecl, Array* arguments, TypeClass* type=0, LLValue* thismem=0); | 99 DValue* DtoCallDFunc(FuncDeclaration* fdecl, Array* arguments, TypeClass* type=0, LLValue* thismem=0); |
100 | 100 |
101 /// Converts any value to a boolean (llvm i1) | |
102 LLValue* DtoBoolean(DValue* dval); | |
103 | |
101 #endif | 104 #endif |