Mercurial > projects > ldc
diff gen/arrays.h @ 58:2c3cd3596187 trunk
[svn r62] Added support for TypeInfo _Array, _Function, _Pointer, _Delegate, _Enum
Added initial support for CatExp aka 'a ~ b'
Fixed global constant static arrays initialized with string literals
Fixed casting any dynamic array to void*
Fixed new expression with temporary storage
Fixed alias declarations in function scope
Fixed relational comparisons of pointers
author | lindquist |
---|---|
date | Thu, 25 Oct 2007 09:02:55 +0200 |
parents | 28e99b04a132 |
children | b688ad419f8c |
line wrap: on
line diff
--- a/gen/arrays.h Thu Oct 25 02:39:53 2007 +0200 +++ b/gen/arrays.h Thu Oct 25 09:02:55 2007 +0200 @@ -14,10 +14,11 @@ void LLVM_DtoSetArray(llvm::Value* arr, llvm::Value* dim, llvm::Value* ptr); void LLVM_DtoNullArray(llvm::Value* v); -void LLVM_DtoNewDynArray(llvm::Value* dst, llvm::Value* dim, Type* dty, bool doinit=true); +llvm::Value* LLVM_DtoNewDynArray(llvm::Value* dst, llvm::Value* dim, Type* dty, bool doinit=true); void LLVM_DtoResizeDynArray(llvm::Value* arr, llvm::Value* sz); -void LLVM_DtoCatArrayElement(llvm::Value* arr, Expression* exp); +void LLVM_DtoCatAssignElement(llvm::Value* arr, Expression* exp); +void LLVM_DtoCatArrays(llvm::Value* arr, Expression* e1, Expression* e2); void LLVM_DtoStaticArrayCopy(llvm::Value* dst, llvm::Value* src);