Mercurial > projects > ldc
diff gen/arrays.h @ 98:6789050b5ad1 trunk
[svn r102] Further delayed emission of function bodies to avoid problems with circular-forward-references.
Now uses the DMD _adEq(void[], void[], TypeInfo) runtime function for array equality comparison.
author | lindquist |
---|---|
date | Wed, 14 Nov 2007 23:39:10 +0100 |
parents | fd32135dca3e |
children | a676a7743642 |
line wrap: on
line diff
--- a/gen/arrays.h Wed Nov 14 20:18:01 2007 +0100 +++ b/gen/arrays.h Wed Nov 14 23:39:10 2007 +0100 @@ -27,9 +27,8 @@ void DtoStaticArrayCopy(llvm::Value* dst, llvm::Value* src); -llvm::Value* DtoStaticArrayCompare(TOK op, llvm::Value* l, llvm::Value* r); +llvm::Value* DtoArrayEquals(TOK op, DValue* l, DValue* r); -llvm::Value* DtoDynArrayCompare(TOK op, llvm::Value* l, llvm::Value* r); llvm::Value* DtoDynArrayIs(TOK op, llvm::Value* l, llvm::Value* r); llvm::Value* DtoArrayCastLength(llvm::Value* len, const llvm::Type* elemty, const llvm::Type* newelemty);