Mercurial > projects > ldc
diff gen/functions.h @ 1024:9167d492cbc2
Abstracted more (most) ABI details out of the normal codegen.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Tue, 03 Mar 2009 02:51:21 +0100 |
parents | 03d7c4aac654 |
children | 46f6365a50d7 |
line wrap: on
line diff
--- a/gen/functions.h Sun Mar 01 22:40:15 2009 +0100 +++ b/gen/functions.h Tue Mar 03 02:51:21 2009 +0100 @@ -1,7 +1,7 @@ #ifndef LDC_GEN_FUNCTIONS_H #define LDC_GEN_FUNCTIONS_H -const llvm::FunctionType* DtoFunctionType(Type* t, const LLType* thistype, const LLType* nesttype, bool ismain = false); +const llvm::FunctionType* DtoFunctionType(Type* t, Type* thistype, Type* nesttype, bool ismain = false); const llvm::FunctionType* DtoFunctionType(FuncDeclaration* fdecl); const llvm::FunctionType* DtoBaseFunctionType(FuncDeclaration* fdecl);