comparison gen/arrays.h @ 442:76078c8ab5b9

Move DtoArrayBoundsCheck from llvmhelpers to arrays.
author Christian Kamm <kamm incasoftware de>
date Thu, 31 Jul 2008 19:14:49 +0200
parents c8d98ccad0cc
children e6bcc4d9e5ff
comparison
equal deleted inserted replaced
441:ca80e42d11e0 442:76078c8ab5b9
40 LLValue* DtoArrayLen(DValue* v); 40 LLValue* DtoArrayLen(DValue* v);
41 LLValue* DtoArrayPtr(DValue* v); 41 LLValue* DtoArrayPtr(DValue* v);
42 42
43 DValue* DtoCastArray(Loc& loc, DValue* val, Type* to); 43 DValue* DtoCastArray(Loc& loc, DValue* val, Type* to);
44 44
45 // generates an array bounds check
46 void DtoArrayBoundsCheck(Loc& loc, DValue* arr, DValue* index, bool isslice);
47
45 #endif // LLVMC_GEN_ARRAYS_H 48 #endif // LLVMC_GEN_ARRAYS_H