Mercurial > projects > ldc
comparison gen/arrays.h @ 234:9760f54af0b7 trunk
[svn r250] Fixed the warning about dropping arguments to _Dmain when optimizing.
Did a few cleanups in inline asm code.
author | lindquist |
---|---|
date | Sun, 08 Jun 2008 08:03:19 +0200 |
parents | 7816aafeea3c |
children | a95056b3c996 |
comparison
equal
deleted
inserted
replaced
233:76ee1bbe487e | 234:9760f54af0b7 |
---|---|
1 #ifndef LLVMC_GEN_ARRAYS_H | 1 #ifndef LLVMC_GEN_ARRAYS_H |
2 #define LLVMC_GEN_ARRAYS_H | 2 #define LLVMC_GEN_ARRAYS_H |
3 | 3 |
4 struct DSliceValue; | 4 struct DSliceValue; |
5 | 5 |
6 const llvm::StructType* DtoArrayType(Type* t); | 6 const llvm::StructType* DtoArrayType(Type* arrayTy); |
7 const llvm::ArrayType* DtoStaticArrayType(Type* t); | 7 const llvm::StructType* DtoArrayType(const LLType* elemTy); |
8 const llvm::ArrayType* DtoStaticArrayType(Type* sarrayTy); | |
8 | 9 |
9 LLConstant* DtoConstArrayInitializer(ArrayInitializer* si); | 10 LLConstant* DtoConstArrayInitializer(ArrayInitializer* si); |
10 LLConstant* DtoConstSlice(LLConstant* dim, LLConstant* ptr); | 11 LLConstant* DtoConstSlice(LLConstant* dim, LLConstant* ptr); |
11 LLConstant* DtoConstStaticArray(const llvm::Type* t, LLConstant* c); | 12 LLConstant* DtoConstStaticArray(const llvm::Type* t, LLConstant* c); |
12 | 13 |