Mercurial > projects > ldc
diff gen/tollvm.h @ 51:61bc1b4ad3c4 trunk
[svn r55] Foreach was always generating code as if the value variable was 'ref'
Other not-so-major improvements
author | lindquist |
---|---|
date | Mon, 22 Oct 2007 17:25:44 +0200 |
parents | 6fcc08a4d406 |
children | 06ccc817acd4 |
line wrap: on
line diff
--- a/gen/tollvm.h Mon Oct 22 15:40:56 2007 +0200 +++ b/gen/tollvm.h Mon Oct 22 17:25:44 2007 +0200 @@ -7,8 +7,8 @@ Type* LLVM_DtoDType(Type* t); const llvm::Type* LLVM_DtoStructType(Type* t); -llvm::Value* LLVM_DtoStructZeroInit(TypeStruct* t, llvm::Value* v); -llvm::Value* LLVM_DtoStructCopy(TypeStruct* t, llvm::Value* dst, llvm::Value* src); +llvm::Value* LLVM_DtoStructZeroInit(llvm::Value* v); +llvm::Value* LLVM_DtoStructCopy(llvm::Value* dst, llvm::Value* src); llvm::Constant* LLVM_DtoConstStructInitializer(StructInitializer* si); const llvm::FunctionType* LLVM_DtoFunctionType(Type* t, const llvm::Type* thisparam = 0); @@ -56,4 +56,6 @@ llvm::Value* LLVM_DtoNestedVariable(VarDeclaration* vd); +void LLVM_DtoAssign(Type* lhsType, llvm::Value* lhs, llvm::Value* rhs); + #include "enums.h"