Mercurial > projects > ldc
diff gen/arrays.h @ 52:0c77619e803b trunk
[svn r56] Initial support for TypeInfo.
Enums not work.
Several other bugfixes.
author | lindquist |
---|---|
date | Tue, 23 Oct 2007 05:55:12 +0200 |
parents | 4d171915a77b |
children | 28e99b04a132 |
line wrap: on
line diff
--- a/gen/arrays.h Mon Oct 22 17:25:44 2007 +0200 +++ b/gen/arrays.h Tue Oct 23 05:55:12 2007 +0200 @@ -20,6 +20,10 @@ void LLVM_DtoCatArrayElement(llvm::Value* arr, Expression* exp); void LLVM_DtoStaticArrayCopy(llvm::Value* dst, llvm::Value* src); + llvm::Value* LLVM_DtoStaticArrayCompare(TOK op, llvm::Value* l, llvm::Value* r); +llvm::Value* LLVM_DtoDynArrayCompare(TOK op, llvm::Value* l, llvm::Value* r); + +llvm::Value* LLVM_DtoArrayCastLength(llvm::Value* len, const llvm::Type* elemty, const llvm::Type* newelemty); #endif // LLVMC_GEN_ARRAYS_H