mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Move DtoArrayBoundsCheck from llvmhelpers to arrays.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user