Move DtoArrayBoundsCheck from llvmhelpers to arrays.

This commit is contained in:
Christian Kamm
2008-07-31 19:14:49 +02:00
parent fcd784d14f
commit 8f14ece3af
4 changed files with 80 additions and 81 deletions

View File

@@ -42,4 +42,7 @@ LLValue* DtoArrayPtr(DValue* v);
DValue* DtoCastArray(Loc& loc, DValue* val, Type* to);
// generates an array bounds check
void DtoArrayBoundsCheck(Loc& loc, DValue* arr, DValue* index, bool isslice);
#endif // LLVMC_GEN_ARRAYS_H