mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
[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.
This commit is contained in:
32
gen/llvm.h
32
gen/llvm.h
@@ -20,25 +20,25 @@ using llvm::IRBuilder;
|
||||
|
||||
// shortcuts for the common llvm types
|
||||
|
||||
typedef llvm::Type LLType;
|
||||
typedef llvm::FunctionType LLFunctionType;
|
||||
typedef llvm::PointerType LLPointerType;
|
||||
typedef llvm::StructType LLStructType;
|
||||
typedef llvm::ArrayType LLArrayType;
|
||||
typedef llvm::IntegerType LLIntegerType;
|
||||
typedef llvm::OpaqueType LLOpaqueType;
|
||||
#define LLType llvm::Type
|
||||
#define LLFunctionType llvm::FunctionType
|
||||
#define LLPointerType llvm::PointerType
|
||||
#define LLStructType llvm::StructType
|
||||
#define LLArrayType llvm::ArrayType
|
||||
#define LLIntegerType llvm::IntegerType
|
||||
#define LLOpaqueType llvm::OpaqueType
|
||||
|
||||
typedef llvm::Value LLValue;
|
||||
typedef llvm::GlobalValue LLGlobalValue;
|
||||
typedef llvm::GlobalVariable LLGlobalVariable;
|
||||
typedef llvm::Function LLFunction;
|
||||
#define LLValue llvm::Value
|
||||
#define LLGlobalValue llvm::GlobalValue
|
||||
#define LLGlobalVariable llvm::GlobalVariable
|
||||
#define LLFunction llvm::Function
|
||||
|
||||
typedef llvm::Constant LLConstant;
|
||||
typedef llvm::ConstantStruct LLConstantStruct;
|
||||
typedef llvm::ConstantArray LLConstantArray;
|
||||
typedef llvm::ConstantInt LLConstantInt;
|
||||
#define LLConstant llvm::Constant
|
||||
#define LLConstantStruct llvm::ConstantStruct
|
||||
#define LLConstantArray llvm::ConstantArray
|
||||
#define LLConstantInt llvm::ConstantInt
|
||||
|
||||
typedef llvm::PATypeHolder LLPATypeHolder;
|
||||
#define LLPATypeHolder llvm::PATypeHolder
|
||||
|
||||
#define LLSmallVector llvm::SmallVector
|
||||
|
||||
|
||||
Reference in New Issue
Block a user