Mercurial > projects > ldc
diff gen/llvmhelpers.h @ 778:4adf0f742896
Get rid of DtoBoolean - use DtoCast(... Type::tbool) instead.
Fixed some casts to bool that were using truncation.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 22 Nov 2008 18:35:52 +0100 |
parents | 46d0755451a4 |
children | 6e7a4c3b64d2 |
line wrap: on
line diff
--- a/gen/llvmhelpers.h Sat Nov 22 13:41:36 2008 +0100 +++ b/gen/llvmhelpers.h Sat Nov 22 18:35:52 2008 +0100 @@ -108,9 +108,6 @@ // target stuff void findDefaultTarget(); -/// Converts any value to a boolean (llvm i1) -LLValue* DtoBoolean(Loc& loc, DValue* dval); - /// get the default initializer of the type LLConstant* DtoDefaultInit(Type* t);