comparison gen/arrays.h @ 295:895e1b50cf2a trunk

[svn r316] Fixed array slice assignments like: int[] arr = ...; arr[] = 42; There was problems with most non basic types... Added an option to premake so we can do: premake --target gnu --no-boehm to disable the Boehm GC.
author lindquist
date Mon, 23 Jun 2008 14:48:42 +0200
parents a3b7c19c866c
children 6b62e8cdf970
comparison
equal deleted inserted replaced
294:94435b0ab2dd 295:895e1b50cf2a
12 LLConstant* DtoConstStaticArray(const LLType* t, LLConstant* c); 12 LLConstant* DtoConstStaticArray(const LLType* t, LLConstant* c);
13 13
14 void DtoArrayCopySlices(DSliceValue* dst, DSliceValue* src); 14 void DtoArrayCopySlices(DSliceValue* dst, DSliceValue* src);
15 void DtoArrayCopyToSlice(DSliceValue* dst, DValue* src); 15 void DtoArrayCopyToSlice(DSliceValue* dst, DValue* src);
16 16
17 void DtoArrayInit(LLValue* l, LLValue* r); 17 void DtoArrayInit(DValue* array, DValue* value);
18 void DtoArrayInit(LLValue* ptr, LLValue* dim, LLValue* val);
19 void DtoArrayAssign(LLValue* l, LLValue* r); 18 void DtoArrayAssign(LLValue* l, LLValue* r);
20 void DtoSetArray(LLValue* arr, LLValue* dim, LLValue* ptr); 19 void DtoSetArray(LLValue* arr, LLValue* dim, LLValue* ptr);
21 void DtoSetArrayToNull(LLValue* v); 20 void DtoSetArrayToNull(LLValue* v);
22 21
23 DSliceValue* DtoNewDynArray(Type* arrayType, DValue* dim, bool defaultInit=true); 22 DSliceValue* DtoNewDynArray(Type* arrayType, DValue* dim, bool defaultInit=true);