Mercurial > projects > ldc
diff 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 |
line wrap: on
line diff
--- a/gen/arrays.h Sun Jun 08 06:45:54 2008 +0200 +++ b/gen/arrays.h Sun Jun 08 08:03:19 2008 +0200 @@ -3,8 +3,9 @@ struct DSliceValue; -const llvm::StructType* DtoArrayType(Type* t); -const llvm::ArrayType* DtoStaticArrayType(Type* t); +const llvm::StructType* DtoArrayType(Type* arrayTy); +const llvm::StructType* DtoArrayType(const LLType* elemTy); +const llvm::ArrayType* DtoStaticArrayType(Type* sarrayTy); LLConstant* DtoConstArrayInitializer(ArrayInitializer* si); LLConstant* DtoConstSlice(LLConstant* dim, LLConstant* ptr);