Mercurial > projects > ldc
view gen/functions.h @ 357:82af71383b8a trunk
[svn r378] Make some errors fatal to prevent segfaults. Error instead of assert on missing label.
Fixes: nocompile/
finally_02, 03, 07, 08
goto_16_A, 16_B, 12, 13, 14
author | ChristianK |
---|---|
date | Mon, 14 Jul 2008 12:11:30 +0200 |
parents | 9760f54af0b7 |
children | a34078905d01 |
line wrap: on
line source
#ifndef LLVMDC_GEN_FUNCTIONS_H #define LLVMDC_GEN_FUNCTIONS_H const llvm::FunctionType* DtoFunctionType(Type* t, const LLType* thistype, bool ismain = false); const llvm::FunctionType* DtoFunctionType(FuncDeclaration* fdecl); const llvm::FunctionType* DtoBaseFunctionType(FuncDeclaration* fdecl); void DtoResolveFunction(FuncDeclaration* fdecl); void DtoDeclareFunction(FuncDeclaration* fdecl); void DtoDefineFunc(FuncDeclaration* fd); DValue* DtoArgument(Argument* fnarg, Expression* argexp); void DtoVariadicArgument(Expression* argexp, LLValue* dst); #endif