Don't use TypeFunction::funcdecl as it is about to be removed

This commit is contained in:
Alexey Prokhin 2013-10-05 17:34:29 +04:00
parent b819975c84
commit 8fea7484fe
3 changed files with 6 additions and 28 deletions

View file

@ -29,7 +29,7 @@ namespace llvm
class Value;
}
llvm::FunctionType* DtoFunctionType(Type* t, IrFuncTy &irFty, Type* thistype, Type* nesttype, bool ismain = false);
llvm::FunctionType* DtoFunctionType(Type* t, IrFuncTy &irFty, Type* thistype, Type* nesttype, bool isMain = false, bool isCtor = false);
llvm::FunctionType* DtoFunctionType(FuncDeclaration* fdecl);
llvm::FunctionType* DtoBaseFunctionType(FuncDeclaration* fdecl);