Mercurial > projects > ldc
diff gen/tollvm.h @ 1501:8b9f236dd051
Build fix for LLVM >= r73431
author | Benjamin Kramer <benny.kra@gmail.com> |
---|---|
date | Tue, 16 Jun 2009 15:37:40 +0200 |
parents | b3ba2c6ff038 |
children |
line wrap: on
line diff
--- a/gen/tollvm.h Tue Jun 16 08:57:20 2009 -0600 +++ b/gen/tollvm.h Tue Jun 16 15:37:40 2009 +0200 @@ -37,7 +37,7 @@ LLValue* DtoPointedType(LLValue* ptr, LLValue* val); // some types -const LLType* DtoSize_t(); +const LLIntegerType* DtoSize_t(); const LLStructType* DtoInterfaceInfoType(); const LLStructType* DtoMutexType(); const LLStructType* DtoModuleReferenceType(); @@ -55,7 +55,7 @@ LLConstantInt* DtoConstUint(unsigned i); LLConstantInt* DtoConstInt(int i); LLConstantInt* DtoConstUbyte(unsigned char i); -llvm::ConstantFP* DtoConstFP(Type* t, long double value); +LLConstant* DtoConstFP(Type* t, long double value); LLConstant* DtoConstString(const char*); LLConstant* DtoConstStringPtr(const char* str, const char* section = 0);