comparison gen/tollvm.h @ 365:bfb9d28f045a trunk

[svn r386] Fixed broken DtoBoolean. Some code cleanup.
author lindquist
date Tue, 15 Jul 2008 00:17:03 +0200
parents 8014dbd24605
children ac1fcc138e42
comparison
equal deleted inserted replaced
364:8014dbd24605 365:bfb9d28f045a
37 // convert DMD calling conv to LLVM 37 // convert DMD calling conv to LLVM
38 unsigned DtoCallingConv(LINK l); 38 unsigned DtoCallingConv(LINK l);
39 39
40 // TODO: this one should be removed!!! 40 // TODO: this one should be removed!!!
41 LLValue* DtoPointedType(LLValue* ptr, LLValue* val); 41 LLValue* DtoPointedType(LLValue* ptr, LLValue* val);
42
43 // casts any value to a boolean
44 LLValue* DtoBoolean(DValue* dval);
45 42
46 // some types 43 // some types
47 const LLType* DtoSize_t(); 44 const LLType* DtoSize_t();
48 const LLStructType* DtoInterfaceInfoType(); 45 const LLStructType* DtoInterfaceInfoType();
49 const LLStructType* DtoMutexType(); 46 const LLStructType* DtoMutexType();