comparison gen/aa.h @ 458:121624c14053

Fixed AA Rvalue-only access (like indexing an AA return value immediately).
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sat, 02 Aug 2008 22:35:24 +0200
parents 0e6b4d65d3f8
children eef8ac26c66c
comparison
equal deleted inserted replaced
457:d82ebdba4191 458:121624c14053
1 #ifndef LLVMDC_GEN_AA_H 1 #ifndef LLVMDC_GEN_AA_H
2 #define LLVMDC_GEN_AA_H 2 #define LLVMDC_GEN_AA_H
3 3
4 DValue* DtoAAIndex(Loc& loc, Type* type, DValue* aa, DValue* key); 4 DValue* DtoAAIndex(Loc& loc, Type* type, DValue* aa, DValue* key, bool lvalue);
5 DValue* DtoAAIn(Loc& loc, Type* type, DValue* aa, DValue* key); 5 DValue* DtoAAIn(Loc& loc, Type* type, DValue* aa, DValue* key);
6 void DtoAARemove(Loc& loc, DValue* aa, DValue* key); 6 void DtoAARemove(Loc& loc, DValue* aa, DValue* key);
7 7
8 #endif // LLVMDC_GEN_AA_H 8 #endif // LLVMDC_GEN_AA_H