comparison gen/llvmhelpers.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 d8dc221d3db7
children 45a67b6f1310
comparison
equal deleted inserted replaced
441:ca80e42d11e0 442:76078c8ab5b9
11 void DtoDeleteInterface(LLValue* inst); 11 void DtoDeleteInterface(LLValue* inst);
12 void DtoDeleteArray(DValue* arr); 12 void DtoDeleteArray(DValue* arr);
13 13
14 // assertion generator 14 // assertion generator
15 void DtoAssert(Loc* loc, DValue* msg); 15 void DtoAssert(Loc* loc, DValue* msg);
16 // array boundary check generator
17 void DtoArrayBoundsCheck(Loc& loc, DValue* arr, DValue* index, bool isslice);
18 16
19 // return the LabelStatement from the current function with the given identifier or NULL if not found 17 // return the LabelStatement from the current function with the given identifier or NULL if not found
20 LabelStatement* DtoLabelStatement(Identifier* ident); 18 LabelStatement* DtoLabelStatement(Identifier* ident);
21 // emit goto 19 // emit goto
22 void DtoGoto(Loc* loc, Identifier* target, EnclosingHandler* enclosingtryfinally, TryFinallyStatement* sourcetf); 20 void DtoGoto(Loc* loc, Identifier* target, EnclosingHandler* enclosingtryfinally, TryFinallyStatement* sourcetf);