Mercurial > projects > ldc
diff gen/arrays.h @ 11:d3ee9efe20e2 trunk
[svn r15] * Fixed a bunch problems with virtual calls. Seems I did some rather poor testing.
* Now 50/51 tests compile.
* Added a simple runalltests.d scripts that should be run with 'gdmd -run runalltests.d' - LLVMDC will not compile it yet.
author | lindquist |
---|---|
date | Tue, 02 Oct 2007 05:10:18 +0200 |
parents | e116aa1488e6 |
children | 8d45266bbabe |
line wrap: on
line diff
--- a/gen/arrays.h Mon Oct 01 23:32:29 2007 +0200 +++ b/gen/arrays.h Tue Oct 02 05:10:18 2007 +0200 @@ -1,9 +1,9 @@ #ifndef LLVMC_GEN_ARRAYS_H #define LLVMC_GEN_ARRAYS_H -llvm::StructType* LLVM_DtoArrayType(Type* t); +const llvm::StructType* LLVM_DtoArrayType(Type* t); -llvm::ArrayType* LLVM_DtoStaticArrayType(Type* t); +const llvm::ArrayType* LLVM_DtoStaticArrayType(Type* t); llvm::Value* LLVM_DtoNullArray(llvm::Value* v);