Mercurial > projects > ldc
diff gen/arrays.h @ 54:28e99b04a132 trunk
[svn r58] Fixed cond expression resulting in a non-basic type.
Fixed identity expression for dynamic arrays.
Revamped the system to keep track of lvalues and rvalues and their relations.
Typedef declaration now generate the custom typeinfo.
Other bugfixes.
author | lindquist |
---|---|
date | Wed, 24 Oct 2007 01:37:34 +0200 |
parents | 0c77619e803b |
children | 2c3cd3596187 |
line wrap: on
line diff
--- a/gen/arrays.h Tue Oct 23 07:16:02 2007 +0200 +++ b/gen/arrays.h Wed Oct 24 01:37:34 2007 +0200 @@ -22,7 +22,9 @@ 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_DtoDynArrayIs(TOK op, llvm::Value* l, llvm::Value* r); llvm::Value* LLVM_DtoArrayCastLength(llvm::Value* len, const llvm::Type* elemty, const llvm::Type* newelemty);