Mercurial > projects > ldc
diff gen/functions.h @ 213:7816aafeea3c trunk
[svn r229] Updated the object.d implementation to the latest Tango.
Fixed a bunch of the built-in typeinfos for arrays, they did not inherit TypeInfo_Array.
Applied patch to tango/text/convert/Layout.d by fvbommel, closes #47 .
Cleaned up some type code.
Replaced uses of llvm::Type with LLType (a typedef), same for Value and Constant.
Fixed a few cases where typeinfo for user structs could be emitted multiple times, seems to still be some cases of this :/
author | lindquist |
---|---|
date | Fri, 30 May 2008 19:32:04 +0200 |
parents | 5825d48b27d1 |
children | 9760f54af0b7 |
line wrap: on
line diff
--- a/gen/functions.h Tue May 27 22:14:24 2008 +0200 +++ b/gen/functions.h Fri May 30 19:32:04 2008 +0200 @@ -1,7 +1,7 @@ #ifndef LLVMDC_GEN_FUNCTIONS_H #define LLVMDC_GEN_FUNCTIONS_H -const llvm::FunctionType* DtoFunctionType(Type* t, const llvm::Type* thistype, bool ismain = false); +const llvm::FunctionType* DtoFunctionType(Type* t, const LLType* thistype, bool ismain = false); const llvm::FunctionType* DtoFunctionType(FuncDeclaration* fdecl); const llvm::FunctionType* DtoBaseFunctionType(FuncDeclaration* fdecl); @@ -11,7 +11,7 @@ void DtoDefineFunc(FuncDeclaration* fd); DValue* DtoArgument(Argument* fnarg, Expression* argexp); -void DtoVariadicArgument(Expression* argexp, llvm::Value* dst); +void DtoVariadicArgument(Expression* argexp, LLValue* dst); void DtoMain();