Mercurial > projects > ldc
comparison gen/tollvm.h @ 72:d7e764e62462 trunk
[svn r76] Fixed: TypeInfo for structs.
Fixed: PostExp was unable to allocate storage for parameters.
Fixed: Many types of functions and delegates were broken.
Misc cleanups.
author | lindquist |
---|---|
date | Mon, 29 Oct 2007 03:28:12 +0100 |
parents | 2c3cd3596187 |
children | 714057ff2dbb |
comparison
equal
deleted
inserted
replaced
71:53d3086b5ad3 | 72:d7e764e62462 |
---|---|
9 const llvm::Type* LLVM_DtoStructType(Type* t); | 9 const llvm::Type* LLVM_DtoStructType(Type* t); |
10 llvm::Value* LLVM_DtoStructZeroInit(llvm::Value* v); | 10 llvm::Value* LLVM_DtoStructZeroInit(llvm::Value* v); |
11 llvm::Value* LLVM_DtoStructCopy(llvm::Value* dst, llvm::Value* src); | 11 llvm::Value* LLVM_DtoStructCopy(llvm::Value* dst, llvm::Value* src); |
12 llvm::Constant* LLVM_DtoConstStructInitializer(StructInitializer* si); | 12 llvm::Constant* LLVM_DtoConstStructInitializer(StructInitializer* si); |
13 | 13 |
14 const llvm::FunctionType* LLVM_DtoFunctionType(Type* t, const llvm::Type* thisparam = 0); | 14 const llvm::FunctionType* LLVM_DtoFunctionType(Type* t, const llvm::Type* thistype, bool ismain = false); |
15 const llvm::FunctionType* LLVM_DtoFunctionType(FuncDeclaration* fdecl); | 15 const llvm::FunctionType* LLVM_DtoFunctionType(FuncDeclaration* fdecl); |
16 llvm::Function* LLVM_DtoDeclareFunction(FuncDeclaration* fdecl); | 16 llvm::Function* LLVM_DtoDeclareFunction(FuncDeclaration* fdecl); |
17 | 17 |
18 const llvm::StructType* LLVM_DtoDelegateType(Type* t); | 18 const llvm::StructType* LLVM_DtoDelegateType(Type* t); |
19 llvm::Value* LLVM_DtoNullDelegate(llvm::Value* v); | 19 llvm::Value* LLVM_DtoNullDelegate(llvm::Value* v); |