Mercurial > projects > ldc
comparison gen/tollvm.h @ 309:d59c363fccad trunk
[svn r330] Implemented synchronized statements.
Changed the tryfinally handlers to a more generalized EnclosingHandler.
Changed ClassInfoS to be mutable so they can be used as locks.
Added new BB after throw ala return/break etc.
author | lindquist |
---|---|
date | Sat, 28 Jun 2008 11:37:53 +0200 |
parents | a95056b3c996 |
children | 0d52412d5b1a |
comparison
equal
deleted
inserted
replaced
308:6b62e8cdf970 | 309:d59c363fccad |
---|---|
37 LLValue* DtoBoolean(LLValue* val); | 37 LLValue* DtoBoolean(LLValue* val); |
38 | 38 |
39 // some types | 39 // some types |
40 const LLType* DtoSize_t(); | 40 const LLType* DtoSize_t(); |
41 const LLStructType* DtoInterfaceInfoType(); | 41 const LLStructType* DtoInterfaceInfoType(); |
42 const LLStructType* DtoMutexType(); | |
42 | 43 |
43 // getelementptr helpers | 44 // getelementptr helpers |
44 LLValue* DtoGEP1(LLValue* ptr, LLValue* i0, const char* var=NULL, llvm::BasicBlock* bb=NULL); | 45 LLValue* DtoGEP1(LLValue* ptr, LLValue* i0, const char* var=NULL, llvm::BasicBlock* bb=NULL); |
45 LLValue* DtoGEP(LLValue* ptr, LLValue* i0, LLValue* i1, const char* var=NULL, llvm::BasicBlock* bb=NULL); | 46 LLValue* DtoGEP(LLValue* ptr, LLValue* i0, LLValue* i1, const char* var=NULL, llvm::BasicBlock* bb=NULL); |
46 LLValue* DtoGEPi(LLValue* ptr, const DStructIndexVector& src, const char* var=NULL, llvm::BasicBlock* bb=NULL); | 47 LLValue* DtoGEPi(LLValue* ptr, const DStructIndexVector& src, const char* var=NULL, llvm::BasicBlock* bb=NULL); |