comparison gen/arrays.h @ 1643:8f121883bce8

Apply patch from klickverbot. This is his 'proper fix' patch for bug #395.
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Mon, 08 Mar 2010 23:37:40 -0700
parents 5c0cebff9be8
children
comparison
equal deleted inserted replaced
1642:f49cb50c6064 1643:8f121883bce8
22 22
23 DSliceValue* DtoNewDynArray(Loc& loc, Type* arrayType, DValue* dim, bool defaultInit=true); 23 DSliceValue* DtoNewDynArray(Loc& loc, Type* arrayType, DValue* dim, bool defaultInit=true);
24 DSliceValue* DtoNewMulDimDynArray(Loc& loc, Type* arrayType, DValue** dims, size_t ndims, bool defaultInit=true); 24 DSliceValue* DtoNewMulDimDynArray(Loc& loc, Type* arrayType, DValue** dims, size_t ndims, bool defaultInit=true);
25 DSliceValue* DtoResizeDynArray(Type* arrayType, DValue* array, DValue* newdim); 25 DSliceValue* DtoResizeDynArray(Type* arrayType, DValue* array, DValue* newdim);
26 26
27 void DtoCatAssignElement(Type* type, DValue* arr, Expression* exp); 27 void DtoCatAssignElement(Loc& loc, Type* type, DValue* arr, Expression* exp);
28 DSliceValue* DtoCatAssignArray(DValue* arr, Expression* exp); 28 DSliceValue* DtoCatAssignArray(DValue* arr, Expression* exp);
29 DSliceValue* DtoCatArrays(Type* type, Expression* e1, Expression* e2); 29 DSliceValue* DtoCatArrays(Type* type, Expression* e1, Expression* e2);
30 DSliceValue* DtoCatArrayElement(Type* type, Expression* exp1, Expression* exp2); 30 DSliceValue* DtoCatArrayElement(Type* type, Expression* exp1, Expression* exp2);
31 31
32 void DtoStaticArrayCopy(LLValue* dst, LLValue* src); 32 void DtoStaticArrayCopy(LLValue* dst, LLValue* src);